addOperand, isConstant

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@394 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 5b71b2acbf
commit 2752c2b035
  1. 8
      jode/jode/expr/NopOperator.java

@ -41,10 +41,18 @@ public class NopOperator extends SimpleOperator {
return 0;
}
public Expression addOperand(Expression op) {
return op;
}
public int getOperandPriority(int i) {
return 0;
}
public boolean isConstant() {
return false;
}
public boolean equals(Object o) {
return (o instanceof NopOperator);
}

Loading…
Cancel
Save