|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--antlr.BaseAST
|
+--antlr.CommonAST
|
+--junc.ast.JUnCASTNode
|
+--junc.ast.ClassBodyDeclarationNode
|
+--junc.ast.FieldDeclarationNode
Describe class FieldDeclarationNode here.
| Field Summary | |
java.util.Vector |
fields
A Symbol vector with the fields declared. |
| Fields inherited from class junc.ast.ClassBodyDeclarationNode |
accessFlags, type |
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
FieldDeclarationNode()
Creates a new FieldDeclarationNode instance. |
|
| Method Summary | |
void |
encodeType()
Move ['s from the field name to the type. |
void |
translate(org.apache.bcel.generic.ClassGen classGen)
Describe translate method here. |
junc.types.JUnCBaseType |
typeCheck(junc.symtab.SymbolTable stable)
Describe typeCheck method here. |
| Methods inherited from class junc.ast.ClassBodyDeclarationNode |
isFinal, isInstance, isPrivate, isProtected, isPublic, isStatic, type |
| Methods inherited from class junc.ast.JUnCASTNode |
getColumnNumber, getLineNumber, setColumnNumber, setLineNumber |
| Methods inherited from class antlr.CommonAST |
getText, getType, initialize, initialize, initialize, setText, setType |
| Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.util.Vector fields
| Constructor Detail |
public FieldDeclarationNode()
FieldDeclarationNode instance.
| Method Detail |
public void encodeType()
encodeType in class ClassBodyDeclarationNode
public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
throws TypeCheckError
typeCheck method here.
typeCheck in class ClassBodyDeclarationNodestable - a SymbolTable value
JUnCBaseType value
TypeCheckError - if an error occurspublic void translate(org.apache.bcel.generic.ClassGen classGen)
translate method here.
translate in class ClassBodyDeclarationNodeclassGen - a ClassGen value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||