public static final class Java.Literal extends Java.Rvalue
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
value |
CONSTANT_VALUE_NULL, JUMP_IF_FALSE, JUMP_IF_TRUE
NOWHERE
Constructor and Description |
---|
Java.Literal(Location location,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor.AtomVisitor visitor) |
void |
accept(Visitor.RvalueVisitor visitor) |
java.lang.String |
toString() |
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue
toLvalue, toLvalueOrPE, toRvalueOrPE, toType, toTypeOrPE
getLocation, throwCompileException
public Java.Literal(Location location, java.lang.Object value)
value
- An Integer
, Long
, Float
, Double
, String
, Character
, Boolean
, or null
public void accept(Visitor.AtomVisitor visitor)
public void accept(Visitor.RvalueVisitor visitor)
accept
in class Java.Rvalue
Copyright © 2001-2012. All Rights Reserved.