jellyj.syntaxtree
Class FloatLiteral

jellyj.syntaxtree.SyntaxTreeNode
  |
  +--jellyj.syntaxtree.ExpressionNode
        |
        +--jellyj.syntaxtree.Literal
              |
              +--jellyj.syntaxtree.FloatLiteral

public class FloatLiteral
extends Literal


Field Summary
 Floatvalue_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
FloatLiteral(Float value)
           

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

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

Field Detail

value_d

public Float value_d
Constructor Detail

FloatLiteral

public FloatLiteral(Float value)
Method Detail

addToConstantPool

public int addToConstantPool(ClassGen classGen)

evaluate

public BigDecimal evaluate(SymbolTable stable)
throws jellyj.util.NotConstant

translate

public void translate(ClassGen classGen, MethodGen methodGen)

typeCheck

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

Association Links

to Class java.lang.Float