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.
19 lines
434 B
19 lines
434 B
package jode;
|
|
import sun.tools.java.Type;
|
|
|
|
public class LocalPostFixOperator extends NoArgOperator {
|
|
IIncOperator iinc;
|
|
|
|
public LocalPostFixOperator(Type type, int op, IIncOperator iinc) {
|
|
super(type, op);
|
|
this.iinc = iinc;
|
|
}
|
|
|
|
public int getPriority() {
|
|
return 800;
|
|
}
|
|
|
|
public String toString(String[] operands) {
|
|
return iinc.getLocalInfo().getName() + getOperatorString();
|
|
}
|
|
}
|
|
|