|
||||||||||
| 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.ExpressionNode
|
+--junc.ast.Literal
|
+--junc.ast.NullLiteral
| Field Summary |
| Fields inherited from class junc.ast.ExpressionNode |
falseList, leftValue, statementExpression, trueList, type |
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
NullLiteral()
|
|
| Method Summary | |
int |
addToConstantPool(org.apache.bcel.generic.ClassGen classGen)
|
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.ExpressionNode |
addFalseList, addTrueList, appendToFalseList, appendToTrueList, backPatch, desynthesize, evaluate, evaluateExp, leftValue, lookupPrimop, superExp, synthesize, thisExp, thisOrSuperExp, translateSynthesized, type, typeExp, variableExp |
| 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 |
public NullLiteral()
| Method Detail |
public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable)
throws TypeCheckError
ExpressionNodetypeCheck method here.
typeCheck in class Literalstable - 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)
ExpressionNodetranslate method here.
translate in class ExpressionNodeclassGen - a ClassGen valuemethodGen - a MethodGen valuepublic int addToConstantPool(org.apache.bcel.generic.ClassGen classGen)
addToConstantPool in class Literal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||