net.jangaroo.jooc.ast
Class LiteralExpr

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Expr
          extended by net.jangaroo.jooc.ast.LiteralExpr
All Implemented Interfaces:
AstNode, CodeGenerator

public class LiteralExpr
extends Expr

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
LiteralExpr(JooSymbol value)
           
 
Method Summary
 JooSymbol getSymbol()
           
 JooSymbol getValue()
           
 boolean isCompileTimeConstant()
           
 void scope(Scope scope)
           
 void setValue(JooSymbol value)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.Expr
getType, setType
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, analyze, generate, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralExpr

public LiteralExpr(JooSymbol value)
Method Detail

visit

public void visit(AstVisitor visitor)
           throws IOException
Throws:
IOException

scope

public void scope(Scope scope)

getSymbol

public JooSymbol getSymbol()

isCompileTimeConstant

public boolean isCompileTimeConstant()
Overrides:
isCompileTimeConstant in class Expr

getValue

public JooSymbol getValue()

setValue

public void setValue(JooSymbol value)


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.