All Packages Class Hierarchy This Package Previous Next Index
Class espresso.syntaxtree.FieldDeclarationNode
java.lang.Object
|
+----espresso.syntaxtree.SyntaxTreeNode
|
+----espresso.syntaxtree.ClassBodyDeclarationNode
|
+----espresso.syntaxtree.FieldDeclarationNode
- public class FieldDeclarationNode
- extends ClassBodyDeclarationNode
-
fields_d
- A Symbol vector with the fields declared.
-
NUMBER_FIELDS
-
-
FieldDeclarationNode()
-
-
encodeType()
- Move ['s from the field name to the type.
-
translate(ClassGen)
-
-
typeCheck(SymbolTable)
-
fields_d
public Vector fields_d
- A Symbol vector with the fields declared. The type of the
elements is VariableDeclaratorNode.
NUMBER_FIELDS
static final int NUMBER_FIELDS
FieldDeclarationNode
public FieldDeclarationNode()
encodeType
public void encodeType()
- Move ['s from the field name to the type.
- Overrides:
- encodeType in class ClassBodyDeclarationNode
typeCheck
public Type typeCheck(SymbolTable stable) throws TypeCheckError
- Overrides:
- typeCheck in class ClassBodyDeclarationNode
translate
public void translate(ClassGen classGen)
- Overrides:
- translate in class ClassBodyDeclarationNode
All Packages Class Hierarchy This Package Previous Next Index