|
||||||||||
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.SymbolExpNode
Field Summary | |
junc.symtab.Symbol |
name
|
Fields inherited from class junc.ast.ExpressionNode |
falseList, leftValue, statementExpression, trueList, type |
Fields inherited from class antlr.BaseAST |
down, right |
Constructor Summary | |
protected |
SymbolExpNode(java.lang.String name)
|
protected |
SymbolExpNode(java.lang.String prefix,
junc.symtab.Symbol suffix)
|
protected |
SymbolExpNode(junc.symtab.Symbol name)
|
protected |
SymbolExpNode(junc.symtab.Symbol prefix,
java.lang.String suffix)
|
protected |
SymbolExpNode(junc.symtab.Symbol prefix,
junc.symtab.Symbol suffix)
|
Method Summary | |
junc.symtab.Symbol |
name()
|
java.lang.String |
toString()
|
junc.symtab.Symbol |
toSymbol()
|
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, translate, 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, 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 junc.symtab.Symbol name
Constructor Detail |
protected SymbolExpNode(junc.symtab.Symbol name)
protected SymbolExpNode(java.lang.String name)
protected SymbolExpNode(junc.symtab.Symbol prefix, junc.symtab.Symbol suffix)
protected SymbolExpNode(java.lang.String prefix, junc.symtab.Symbol suffix)
protected SymbolExpNode(junc.symtab.Symbol prefix, java.lang.String suffix)
Method Detail |
public junc.symtab.Symbol name()
public junc.symtab.Symbol toSymbol()
public java.lang.String toString()
toString
in interface antlr.collections.AST
toString
in class antlr.BaseAST
public junc.types.JUnCBaseType typeCheck(junc.symtab.SymbolTable stable) throws TypeCheckError
ExpressionNode
typeCheck
method here.
typeCheck
in class ExpressionNode
stable
- a SymbolTable
value
JUnCBaseType
value
TypeCheckError
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |