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

Variable Index

 o fields_d
A Symbol vector with the fields declared.
 o NUMBER_FIELDS

Constructor Index

 o FieldDeclarationNode()

Method Index

 o encodeType()
Move ['s from the field name to the type.
 o translate(ClassGen)
 o typeCheck(SymbolTable)

Variables

 o fields_d
 public Vector fields_d
A Symbol vector with the fields declared. The type of the elements is VariableDeclaratorNode.

 o NUMBER_FIELDS
 static final int NUMBER_FIELDS

Constructors

 o FieldDeclarationNode
 public FieldDeclarationNode()

Methods

 o encodeType
 public void encodeType()
Move ['s from the field name to the type.

Overrides:
encodeType in class ClassBodyDeclarationNode
 o typeCheck
 public Type typeCheck(SymbolTable stable) throws TypeCheckError
Overrides:
typeCheck in class ClassBodyDeclarationNode
 o translate
 public void translate(ClassGen classGen)
Overrides:
translate in class ClassBodyDeclarationNode

All Packages  Class Hierarchy  This Package  Previous  Next  Index