public class OperatorID extends IDExpression
| Constructor and Description |
|---|
OperatorID(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Checks if the given object is has the same type with this expression and
its children is same with this expression's.
|
void |
print(java.io.PrintWriter o)
Prints the expression on the specified print writer.
|
clone, findDeclaration, getName, setGlobal, setTypenamecompareTo, findExpression, getChildren, getParent, getStatement, hashCode, needsParens, printSelf, removeChild, setChild, setParens, setParent, setPrintMethod, swapWith, toString, verifypublic void print(java.io.PrintWriter o)
Expressionprint in interface Printableprint in class Expressiono - the target print writer.public boolean equals(java.lang.Object o)
Expressionequals in class Expressiono - the object to be compared with.o!=null, this.getClass()==o.getClass(),
and this.children.equals(o.children) ||
this.children==o.children==null