|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcetus.hir.Expression
cetus.hir.DeleteExpression
public class DeleteExpression
| Field Summary | |
|---|---|
protected static boolean |
global
if global == true, it prints "::" ahead of delelte expression |
| Fields inherited from class cetus.hir.Expression |
|---|
children, needs_parens, object_print_method, parent |
| Constructor Summary | |
|---|---|
DeleteExpression(boolean array,
Expression expr)
|
|
DeleteExpression(Expression expr)
|
|
| Method Summary | |
|---|---|
void |
clearGlobal()
disable printing "::" |
java.lang.Object |
clone()
Creates and returns a deep copy of this expression. |
static void |
defaultPrint(DeleteExpression expr,
java.io.OutputStream stream)
Prints a delete expression to a stream. |
Expression |
getExpression()
|
boolean |
isGlobal()
returns true if it is set to be global. |
void |
setGlobal()
force printing "::" |
java.lang.String |
toString()
Every expression class should override toString method. |
| Methods inherited from class cetus.hir.Expression |
|---|
compareTo, equals, equals2, findExpression, getChildren, getParent, getStatement, needsParens, print, printSelf, removeChild, setChild, setParens, setParent, setPrintMethod, swapWith, verify |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static boolean global
| Constructor Detail |
|---|
public DeleteExpression(Expression expr)
public DeleteExpression(boolean array,
Expression expr)
| Method Detail |
|---|
public void setGlobal()
public void clearGlobal()
public boolean isGlobal()
public java.lang.Object clone()
Expression
clone in class Expression
public static void defaultPrint(DeleteExpression expr,
java.io.OutputStream stream)
expr - The expression to print.stream - The stream on which to print the expression.public java.lang.String toString()
Expression
toString in class Expressionpublic Expression getExpression()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||