public class DeleteExpression extends Expression
| Constructor and Description |
|---|
DeleteExpression(boolean array,
Expression expr) |
DeleteExpression(Expression expr) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearGlobal()
disable printing "::"
|
DeleteExpression |
clone()
Creates and returns a deep copy of this expression.
|
static void |
defaultPrint(DeleteExpression e,
java.io.PrintWriter o)
Prints a delete expression to a stream.
|
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.
|
Expression |
getExpression() |
boolean |
isGlobal()
returns true if it is set to be global.
|
void |
setGlobal()
force printing "::"
|
compareTo, findExpression, getChildren, getParent, getStatement, hashCode, needsParens, print, printSelf, removeChild, setChild, setParens, setParent, setPrintMethod, swapWith, toString, verifypublic DeleteExpression(Expression expr)
public DeleteExpression(boolean array,
Expression expr)
public void setGlobal()
public void clearGlobal()
public boolean isGlobal()
public DeleteExpression clone()
Expressionclone in class Expressionpublic static void defaultPrint(DeleteExpression e, java.io.PrintWriter o)
e - The expression to print.o - The writer on which to print the expression.public Expression getExpression()
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