jellyj.syntaxtree
Class FieldDeclarationNode

jellyj.syntaxtree.SyntaxTreeNode
  |
  +--jellyj.syntaxtree.ClassBodyDeclarationNode
        |
        +--jellyj.syntaxtree.FieldDeclarationNode

public class FieldDeclarationNode
extends ClassBodyDeclarationNode


Field Summary
 Vectorfields_d
          A Symbol vector with the fields declared.
 (package private) final static intNUMBER_FIELDS
           

Fields inherited from class jellyj.syntaxtree.ClassBodyDeclarationNode
accessFlags_d, type_d

Fields inherited from class jellyj.syntaxtree.SyntaxTreeNode
column_d, line_d

Constructor Summary
FieldDeclarationNode()
           

Method Summary
 voidencodeType()
          Move ['s from the field name to the type.
 voidtranslate(ClassGen classGen)
           
 TypetypeCheck(SymbolTable stable)
           

Methods inherited from class jellyj.syntaxtree.ClassBodyDeclarationNode
isFinal, isInstance, isPrivate, isProtected, isPublic, isStatic, type

Field Detail

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
Constructor Detail

FieldDeclarationNode

public FieldDeclarationNode()
Method Detail

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

Association Links

to Class java.util.Vector

A Symbol vector with the fields declared. The type of the elements is VariableDeclaratorNode.