junc.ast
Class StatementNode

java.lang.Object
  |
  +--antlr.BaseAST
        |
        +--antlr.CommonAST
              |
              +--junc.ast.JUnCASTNode
                    |
                    +--junc.ast.StatementNode
All Implemented Interfaces:
antlr.collections.AST, java.io.Serializable
Direct Known Subclasses:
BlockNode, BreakStatementNode, ContinueStatementNode, DoStatementNode, EmptyStatementNode, ForStatementNode, IfStatementNode, LabeledStatementNode, LocalVarDeclarationNode, ReturnStatementNode, StatementExpListNode, StatementExpNode, SwitchLabelNode, SwitchStatementNode, SynchronizedStatementNode, ThrowStatementNode, TryStatementNode, WhileStatementNode

public abstract class StatementNode
extends JUnCASTNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
StatementNode()
           
 
Method Summary
 void translate(org.apache.bcel.generic.ClassGen classGen, org.apache.bcel.generic.MethodGen methodGen)
           
abstract  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
 

Constructor Detail

StatementNode

public StatementNode()
Method Detail

typeCheck

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

translate

public void translate(org.apache.bcel.generic.ClassGen classGen,
                      org.apache.bcel.generic.MethodGen methodGen)