junc.ast
Class TypeDeclarationNode

java.lang.Object
  |
  +--antlr.BaseAST
        |
        +--antlr.CommonAST
              |
              +--junc.ast.JUnCASTNode
                    |
                    +--junc.ast.TypeDeclarationNode
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable
Direct Known Subclasses:
ClassDeclarationNode, InterfaceDeclarationNode

public abstract class TypeDeclarationNode
extends JUnCASTNode

See Also:
Serialized Form

Field Summary
 int accessFlags
           
 java.util.Vector body
           
 java.util.Vector interfaces
           
 boolean isRooted
           
 junc.symtab.Symbol name
           
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
TypeDeclarationNode()
           
TypeDeclarationNode(antlr.Token token)
           
 
Method Summary
abstract  void translate()
           
 junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
           
 
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

name

public junc.symtab.Symbol name

body

public java.util.Vector body

accessFlags

public int accessFlags

isRooted

public boolean isRooted

interfaces

public java.util.Vector interfaces
Constructor Detail

TypeDeclarationNode

public TypeDeclarationNode(antlr.Token token)

TypeDeclarationNode

public TypeDeclarationNode()
Method Detail

typeCheck

public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
                                  throws TypeCheckError
Specified by:
typeCheck in class JUnCASTNode
TypeCheckError

translate

public abstract void translate()