jellyj.syntaxtree
Class BlockNode

jellyj.syntaxtree.SyntaxTreeNode
  |
  +--jellyj.syntaxtree.StatementNode
        |
        +--jellyj.syntaxtree.BlockNode

public class BlockNode
extends StatementNode


Field Summary
 Vectorstmts_d
           

Fields inherited from class jellyj.syntaxtree.SyntaxTreeNode
column_d, line_d

Constructor Summary
BlockNode()
           

Method Summary
 voidaddStatement(StatementNode stmt)
           
 intnumberOfStatments()
           
 voidreset()
           
 StatementNodestatementAt(int n)
           
 voidtranslate(ClassGen classGen, MethodGen methodGen)
           
 TypetypeCheck(SymbolTable stable)
           

Field Detail

stmts_d

public Vector stmts_d
Constructor Detail

BlockNode

public BlockNode()
Method Detail

addStatement

public void addStatement(StatementNode stmt)

numberOfStatments

public int numberOfStatments()

reset

public void reset()

statementAt

public StatementNode statementAt(int n)

translate

public void translate(ClassGen classGen, MethodGen methodGen)

typeCheck

public Type typeCheck(SymbolTable stable)
throws jellyj.util.TypeCheckError

Association Links

to Class java.util.Vector