jellyj.syntaxtree
Class Literal

jellyj.syntaxtree.SyntaxTreeNode
  |
  +--jellyj.syntaxtree.ExpressionNode
        |
        +--jellyj.syntaxtree.Literal
Direct Known Subclasses:
BooleanLiteral, CharacterLiteral, DoubleLiteral, FloatLiteral, IntegerLiteral, LongLiteral, NullLiteral, StringLiteral

public abstract class Literal
extends ExpressionNode


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

Method Summary
 abstract intaddToConstantPool(ClassGen classGen)
           
 abstract TypetypeCheck(SymbolTable stable)
           

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

Method Detail

addToConstantPool

public abstract int addToConstantPool(ClassGen classGen)

typeCheck

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