|
||||||||||
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.TypeDeclarationNode | +--junc.ast.ClassDeclarationNode
Describe class ClassDeclarationNode
here.
Field Summary | |
junc.symtab.Symbol |
superClassName
Describe variable superClassName here. |
Fields inherited from class junc.ast.TypeDeclarationNode |
accessFlags, body, interfaces, isRooted, name |
Fields inherited from class antlr.BaseAST |
down, right |
Constructor Summary | |
ClassDeclarationNode()
Creates a new ClassDeclarationNode instance. |
Method Summary | |
void |
translate()
Describe translate method here. |
junc.types.JUnCBaseType |
typeCheck(junc.symtab.SymbolTable stable)
Describe typeCheck method here. |
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 junc.symtab.Symbol superClassName
superClassName
here.
Constructor Detail |
public ClassDeclarationNode()
ClassDeclarationNode
instance.
Method Detail |
public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable) throws TypeCheckError
typeCheck
method here.
typeCheck
in class TypeDeclarationNode
stable
- a SymbolTable
value
JUnCBaseType
value
TypeCheckError
- if an error occurspublic void translate()
translate
method here.
translate
in class TypeDeclarationNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |