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.
20 lines
434 B
20 lines
434 B
26 years ago
|
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();
|
||
|
}
|
||
|
}
|