|
||||||||||
| 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.StatementNode
|
+--junc.ast.BlockNode
Describe class BlockNode here.
| Field Summary | |
java.util.Vector |
statements
Describe variable statements here. |
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
BlockNode()
Creates a new BlockNode instance. |
|
| Method Summary | |
void |
addStatement(junc.ast.StatementNode stmt)
Describe addStatement method here. |
int |
numberOfStatments()
Describe numberOfStatments method here. |
void |
reset()
Describe reset method here. |
junc.ast.StatementNode |
statementAt(int n)
Describe statementAt method here. |
void |
translate(org.apache.bcel.generic.ClassGen classGen,
org.apache.bcel.generic.MethodGen methodGen)
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 java.util.Vector statements
statements here.
| Constructor Detail |
public BlockNode()
BlockNode instance.
| Method Detail |
public void addStatement(junc.ast.StatementNode stmt)
addStatement method here.
stmt - a StatementNode valuepublic void reset()
reset method here.
public int numberOfStatments()
numberOfStatments method here.
int valuepublic junc.ast.StatementNode statementAt(int n)
statementAt method here.
n - an int value
StatementNode value
public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
throws TypeCheckError
typeCheck method here.
typeCheck in class StatementNodestable - a SymbolTable value
JUnCBaseType value
TypeCheckError - if an error occurs
public void translate(org.apache.bcel.generic.ClassGen classGen,
org.apache.bcel.generic.MethodGen methodGen)
translate method here.
translate in class StatementNodeclassGen - a ClassGen valuemethodGen - a MethodGen value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||