jellyj.syntaxtree
Class BooleanLiteral
jellyj.syntaxtree.SyntaxTreeNode
|
+--jellyj.syntaxtree.ExpressionNode
|
+--jellyj.syntaxtree.Literal
|
+--jellyj.syntaxtree.BooleanLiteral
- public class BooleanLiteral
- extends Literal
Methods inherited from class jellyj.syntaxtree.ExpressionNode |
addFalseList, addTrueList, appendToFalseList, appendToTrueList, backPatch, desynthesize, evaluateExp, leftValue, lookupPrimop, superExp, synthesize, thisExp, thisOrSuperExp, type, typeExp, variableExp |
value_d
public Boolean value_d
BooleanLiteral
public BooleanLiteral(Boolean value)
BooleanLiteral
public BooleanLiteral(BigDecimal value)
addToConstantPool
public int addToConstantPool(ClassGen classGen)
evaluate
public BigDecimal evaluate(SymbolTable stable)
throws jellyj.util.NotConstant
translate
public void translate(ClassGen classGen, MethodGen methodGen)
translateSynthesized
public BranchHandle translateSynthesized(ClassGen classGen, MethodGen methodGen)
typeCheck
public Type typeCheck(SymbolTable stable)
throws jellyj.util.TypeCheckError
to Class java.lang.Boolean