You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
505 B
24 lines
505 B
package jode;
|
|
import sun.tools.java.Type;
|
|
|
|
public class PopOperator extends SimpleOperator {
|
|
int count;
|
|
|
|
public PopOperator(int a, int l, int count) {
|
|
super(a,l, Type.tVoid, 0, 1);
|
|
operandTypes[0] = UnknownType.tUnknown;
|
|
this.count = count;
|
|
}
|
|
|
|
public int getPriority() {
|
|
return 0;
|
|
}
|
|
|
|
public int getOperandPriority(int i) {
|
|
return 0;
|
|
}
|
|
|
|
public String toString(CodeAnalyzer ca, String[] operands) {
|
|
return operands[0];
|
|
}
|
|
}
|
|
|