# Uses of Class
org.springframework.expression.spel.ast.Literal

Packages that use Literal
Package
Description
org.springframework.expression.spel.ast
SpEL's abstract syntax tree.

## Uses of Literal in org.springframework.expression.spel.ast

Subclasses of Literal in org.springframework.expression.spel.ast
Modifier and Type
Class
Description
`class`
`BooleanLiteral`
Represents the literal values `TRUE` and `FALSE`.
`class`
`FloatLiteral`
Expression language AST node that represents a float literal.
`class`
`IntLiteral`
Expression language AST node that represents an integer literal.
`class`
`LongLiteral`
Expression language AST node that represents a long integer literal.
`class`
`NullLiteral`
Expression language AST node that represents null.
`class`
`RealLiteral`
Expression language AST node that represents a real literal.
`class`
`StringLiteral`
Expression language AST node that represents a string literal.
Methods in org.springframework.expression.spel.ast that return Literal
Modifier and Type
Method
Description
`static Literal`
Literal.`getIntLiteral(String numberToken, int startPos, int endPos, int radix)`
Process the string form of a number, using the specified base if supplied and return an appropriate literal to hold it.
`static Literal`
Literal.`getLongLiteral(String numberToken, int startPos, int endPos, int radix)`
`static Literal`
Literal.`getRealLiteral(String numberToken, int startPos, int endPos, boolean isFloat)`