abstract class Literal : SpelNodeImpl
Common superclass for nodes representing literals (boolean, string, number, etc).
Author
Andy Clement
Author
Juergen Hoeller
Literal(originalValue: String, pos: Int) |
open static fun getIntLiteral(numberToken: String, pos: Int, radix: Int): Literal
Process the string form of a number, using the specified base if supplied and return an appropriate literal to hold it. Any suffix to indicate a long will be taken into account (either 'l' or 'L' is supported). |
|
abstract fun getLiteralValue(): TypedValue |
|
open static fun getLongLiteral(numberToken: String, pos: Int, radix: Int): Literal |
|
fun getOriginalValue(): String |
|
open static fun getRealLiteral(numberToken: String, pos: Int, isFloat: Boolean): Literal |
|
fun getValueInternal(state: ExpressionState): TypedValue |
|
open fun toString(): String |
|
open fun toStringAST(): String |
open class BooleanLiteral : Literal
Represents the literal values |
|
open class FloatLiteral : Literal
Expression language AST node that represents a float literal. |
|
open class IntLiteral : Literal
Expression language AST node that represents an integer literal. |
|
open class LongLiteral : Literal
Expression language AST node that represents a long integer literal. |
|
open class NullLiteral : Literal
Expression language AST node that represents null. |
|
open class RealLiteral : Literal
Expression language AST node that represents a real literal. |
|
open class StringLiteral : Literal
Expression language AST node that represents a string literal. |