Class class_c
java.lang.Object
TreeNode
Class_
class_c
- Direct Known Subclasses:
- CgenNode
class class_c
- extends Class_
Defines AST constructor 'class_c'.
See TreeNode for full documentation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected AbstractSymbol name
parent
protected AbstractSymbol parent
features
protected Features features
filename
protected AbstractSymbol filename
class_c
public class_c(int lineNumber,
AbstractSymbol a1,
AbstractSymbol a2,
Features a3,
AbstractSymbol a4)
- Creates "class_c" AST node.
- Parameters:
lineNumber
- the line in the source file from which this node came.a1
- initial value for namea2
- initial value for parenta3
- initial value for featuresa4
- initial value for filename
copy
public TreeNode copy()
- Description copied from class:
TreeNode
- Creates a copy of this node.
- Specified by:
copy
in class TreeNode
- Returns:
- a copy of this node
dump
public void dump(java.io.PrintStream out,
int n)
- Description copied from class:
TreeNode
- Pretty-prints this node to this output stream.
- Specified by:
dump
in class TreeNode
- Parameters:
out
- the output streamn
- the number of spaces to indent the output
dump_with_types
public void dump_with_types(java.io.PrintStream out,
int n)
- Specified by:
dump_with_types
in class Class_
getName
public AbstractSymbol getName()
- Specified by:
getName
in class Class_
getParent
public AbstractSymbol getParent()
- Specified by:
getParent
in class Class_
getFilename
public AbstractSymbol getFilename()
- Specified by:
getFilename
in class Class_
getFeatures
public Features getFeatures()
- Specified by:
getFeatures
in class Class_