org.codehaus.janino
Class Java.Literal
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Rvalue
org.codehaus.janino.Java.Literal
- All Implemented Interfaces:
- Java.ArrayInitializerOrRvalue, Java.ElementValue, Java.Locatable
- Direct Known Subclasses:
- Java.BooleanLiteral, Java.CharacterLiteral, Java.FloatingPointLiteral, Java.IntegerLiteral, Java.NullLiteral, Java.StringLiteral
- Enclosing class:
- Java
public abstract static class Java.Literal
- extends Java.Rvalue
Abstract base class for the various Java™ literals; see JLS7 3.10.
|
Field Summary |
String |
value
The text of the literal token, as in the source code. |
value
public final String value
- The text of the literal token, as in the source code.
Java.Literal
public Java.Literal(Location location,
String value)
- Parameters:
value - The text of the literal token, as in the source code
toString
public String toString()
- Specified by:
toString in class Java.Atom