public class DestructorID extends IDExpression
| Constructor and Description |
|---|
DestructorID(IDExpression class_name) |
| Modifier and Type | Method and Description |
|---|---|
DestructorID |
clone()
Creates and returns a deep copy of this expression.
|
static void |
defaultPrint(DestructorID d,
java.io.PrintWriter o)
Prints a destructor to a stream.
|
IDExpression |
getClassName() |
static void |
setClassPrintMethod(java.lang.reflect.Method m)
Overrides the class print method, so that all subsequently
created objects will use the supplied method.
|
findDeclaration, getName, setGlobal, setTypenamecompareTo, equals, findExpression, getChildren, getParent, getStatement, hashCode, needsParens, print, printSelf, removeChild, setChild, setParens, setParent, setPrintMethod, swapWith, toString, verifypublic DestructorID(IDExpression class_name)
public DestructorID clone()
Expressionclone in class IDExpressionpublic static void defaultPrint(DestructorID d, java.io.PrintWriter o)
d - The destructor to print.o - The writer on which to print the destructor.public IDExpression getClassName()
public static void setClassPrintMethod(java.lang.reflect.Method m)
m - The new print method.