junc.ast
Class VariableDeclaratorNode

java.lang.Object
  |
  +--antlr.BaseAST
        |
        +--antlr.CommonAST
              |
              +--junc.ast.JUnCASTNode
                    |
                    +--junc.ast.VariableDeclaratorNode
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable

public class VariableDeclaratorNode
extends JUnCASTNode

See Also:
Serialized Form

Field Summary
 junc.ast.ExpressionNode init
           
 boolean isField
           
 junc.symtab.Symbol name
           
 junc.types.JUnCBaseType type
           
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
VariableDeclaratorNode(boolean fieldFlag)
           
 
Method Summary
 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

type

public junc.types.JUnCBaseType type

init

public junc.ast.ExpressionNode init

isField

public boolean isField
Constructor Detail

VariableDeclaratorNode

public VariableDeclaratorNode(boolean fieldFlag)
Method Detail

typeCheck

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