jellyj.syntaxtree
Class ConditionalExpNode

jellyj.syntaxtree.SyntaxTreeNode
  |
  +--jellyj.syntaxtree.ExpressionNode
        |
        +--jellyj.syntaxtree.ConditionalExpNode

public class ConditionalExpNode
extends ExpressionNode


Field Summary
 ExpressionNodefalseCase_d
           
 ExpressionNodetest_d
           
 ExpressionNodetrueCase_d
           

Fields inherited from class jellyj.syntaxtree.ExpressionNode
falseList_d, leftValue_d, statementExp_d, trueList_d, type_d

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

Constructor Summary
ConditionalExpNode(ExpressionNode test, ExpressionNode trueCase, ExpressionNode falseCase)
           

Method Summary
 voidtranslate(ClassGen classGen, MethodGen methodGen)
           
 TypetypeCheck(SymbolTable stable)
           

Methods inherited from class jellyj.syntaxtree.ExpressionNode
addFalseList, addTrueList, appendToFalseList, appendToTrueList, backPatch, desynthesize, evaluate, evaluateExp, leftValue, lookupPrimop, superExp, synthesize, thisExp, thisOrSuperExp, translateSynthesized, type, typeExp, variableExp

Field Detail

falseCase_d

public ExpressionNode falseCase_d

test_d

public ExpressionNode test_d

trueCase_d

public ExpressionNode trueCase_d
Constructor Detail

ConditionalExpNode

public ConditionalExpNode(ExpressionNode test, ExpressionNode trueCase, ExpressionNode falseCase)
Method Detail

translate

public void translate(ClassGen classGen, MethodGen methodGen)

typeCheck

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

Association Links

to Class jellyj.syntaxtree.ExpressionNode

to Class jellyj.syntaxtree.ExpressionNode

to Class jellyj.syntaxtree.ExpressionNode