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, Java.TextBlock
- Enclosing class:
Java
Abstract base class for the various Java literals; see JLS7 3.10.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe text of the literal token, as in the source code.Fields inherited from class Java.Rvalue
CONSTANT_VALUE_UNKNOWN, constantValueFields inherited from class Java.Located
NOWHERE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Java.Rvalue
accept, accept, accept, accept, getEnclosingScope, getEnclosingScopeOrNull, setEnclosingScope, toRvalueMethods inherited from class Java.Atom
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptionMethods inherited from class Java.Located
getLocation, throwCompileExceptionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Java.Locatable
getLocation, throwCompileException
-
Field Details
-
value
-
-
Constructor Details
-
Literal
-
-
Method Details
-
toString
-