jellyj.syntaxtree
Class FieldDeclarationNode
jellyj.syntaxtree.SyntaxTreeNode
|
+--jellyj.syntaxtree.ClassBodyDeclarationNode
|
+--jellyj.syntaxtree.FieldDeclarationNode
- public class FieldDeclarationNode
- extends ClassBodyDeclarationNode
Field Summary |
Vector | fields_d A Symbol vector with the fields declared. |
(package private) final static int | NUMBER_FIELDS |
fields_d
public Vector fields_d
- A Symbol vector with the fields declared. The type of the
elements is VariableDeclaratorNode.
NUMBER_FIELDS
final static int NUMBER_FIELDS
FieldDeclarationNode
public FieldDeclarationNode()
encodeType
public void encodeType()
- Move ['s from the field name to the type.
translate
public void translate(ClassGen classGen)
typeCheck
public Type typeCheck(SymbolTable stable)
throws jellyj.util.TypeCheckError
to Class java.util.Vector- A Symbol vector with the fields declared. The type of the
elements is VariableDeclaratorNode.