Package | Description |
---|---|
org.springframework.expression.spel.ast |
SpEL's abstract syntax tree.
|
org.springframework.expression.spel.standard |
SpEL's standard parser implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
Assign
Represents assignment.
|
class |
BeanReference
Represents a bean reference to a type, for example @foo or @'foo.bar'.
|
class |
BooleanLiteral
Represents the literal values
TRUE and FALSE . |
class |
CompoundExpression
Represents a DOT separated expression sequence, such as
'property1.property2.methodOne()' . |
class |
ConstructorReference
Represents the invocation of a constructor.
|
class |
Elvis
Represents the elvis operator ?:.
|
class |
FloatLiteral
Expression language AST node that represents a float literal.
|
class |
FunctionReference
A function reference is of the form "#someFunction(a,b,c)".
|
class |
Identifier
An 'identifier'
SpelNode . |
class |
Indexer
An Indexer can index into some proceeding structure to access a particular piece of it.
|
class |
InlineList
Represent a list in an expression, e.g.
|
class |
InlineMap
Represent a map in an expression, e.g.
|
class |
IntLiteral
Expression language AST node that represents an integer literal.
|
class |
Literal
Common superclass for nodes representing literals (boolean, string, number, etc).
|
class |
LongLiteral
Expression language AST node that represents a long integer literal.
|
class |
MethodReference
Expression language AST node that represents a method reference.
|
class |
NullLiteral
Expression language AST node that represents null.
|
class |
OpAnd
Represents the boolean AND operation.
|
class |
OpDec
Decrement operator.
|
class |
OpDivide
Implements division operator.
|
class |
OpEQ
Implements the equality operator.
|
class |
Operator
Common supertype for operators that operate on either one or two operands.
|
class |
OperatorBetween
Represents the between operator.
|
class |
OperatorInstanceof
The operator 'instanceof' checks if an object is of the class specified in the right
hand operand, in the same way that
instanceof does in Java. |
class |
OperatorMatches
Implements the matches operator.
|
class |
OperatorNot
Represents a NOT operation.
|
class |
OperatorPower
The power operator.
|
class |
OpGE
Implements greater-than-or-equal operator.
|
class |
OpGT
Implements the greater-than operator.
|
class |
OpInc
Increment operator.
|
class |
OpLE
Implements the less-than-or-equal operator.
|
class |
OpLT
Implements the less-than operator.
|
class |
OpMinus
The minus operator supports:
subtraction of numbers
subtraction of an int from a string of one character
(effectively decreasing that character), so 'd'-3='a'
|
class |
OpModulus
Implements the modulus operator.
|
class |
OpMultiply
Implements the
multiply operator. |
class |
OpNE
Implements the not-equal operator.
|
class |
OpOr
Represents the boolean OR operation.
|
class |
OpPlus
The plus operator will:
add numbers
concatenate strings
|
class |
Projection
Represents projection, where a given operation is performed on all elements in some
input sequence, returning a new sequence of the same size.
|
class |
PropertyOrFieldReference
Represents a simple property or field reference.
|
class |
QualifiedIdentifier
Represents a dot separated sequence of strings that indicate a package qualified type
reference.
|
class |
RealLiteral
Expression language AST node that represents a real literal.
|
class |
Selection
Represents selection over a map or collection.
|
class |
StringLiteral
Expression language AST node that represents a string literal.
|
class |
Ternary
Represents a ternary expression, for example: "someCheck()?true:false".
|
class |
TypeReference
Represents a reference to a type, for example
"T(String)" or "T(com.somewhere.Foo)" . |
class |
VariableReference
Represents a variable reference, eg.
|
Modifier and Type | Field and Description |
---|---|
protected SpelNodeImpl[] |
SpelNodeImpl.children |
Modifier and Type | Method and Description |
---|---|
SpelNodeImpl |
Operator.getLeftOperand() |
SpelNodeImpl |
Operator.getRightOperand() |
SpelNodeImpl |
OpDec.getRightOperand() |
SpelNodeImpl |
OpPlus.getRightOperand() |
SpelNodeImpl |
OpInc.getRightOperand() |
SpelNodeImpl |
OpMinus.getRightOperand() |
Modifier and Type | Method and Description |
---|---|
protected static void |
SpelNodeImpl.generateCodeForArgument(MethodVisitor mv,
CodeFlow cf,
SpelNodeImpl argument,
java.lang.String paramDesc)
Ask an argument to generate its bytecode and then follow it up
with any boxing/unboxing/checkcasting to ensure it matches the expected parameter descriptor.
|
protected static void |
SpelNodeImpl.generateCodeForArguments(MethodVisitor mv,
CodeFlow cf,
java.lang.reflect.Member member,
SpelNodeImpl[] arguments)
Generate code that handles building the argument values for the specified method.
|
Constructor and Description |
---|
Assign(int pos,
SpelNodeImpl... operands) |
CompoundExpression(int pos,
SpelNodeImpl... expressionComponents) |
ConstructorReference(int pos,
SpelNodeImpl... arguments)
Create a constructor reference.
|
ConstructorReference(int pos,
SpelNodeImpl[] dimensions,
SpelNodeImpl... arguments)
Create a constructor reference.
|
ConstructorReference(int pos,
SpelNodeImpl[] dimensions,
SpelNodeImpl... arguments)
Create a constructor reference.
|
Elvis(int pos,
SpelNodeImpl... args) |
FunctionReference(java.lang.String functionName,
int pos,
SpelNodeImpl... arguments) |
Indexer(int pos,
SpelNodeImpl expr) |
InlineList(int pos,
SpelNodeImpl... args) |
InlineMap(int pos,
SpelNodeImpl... args) |
MethodReference(boolean nullSafe,
java.lang.String methodName,
int pos,
SpelNodeImpl... arguments) |
OpAnd(int pos,
SpelNodeImpl... operands) |
OpDec(int pos,
boolean postfix,
SpelNodeImpl... operands) |
OpDivide(int pos,
SpelNodeImpl... operands) |
OpEQ(int pos,
SpelNodeImpl... operands) |
Operator(java.lang.String payload,
int pos,
SpelNodeImpl... operands) |
OperatorBetween(int pos,
SpelNodeImpl... operands) |
OperatorInstanceof(int pos,
SpelNodeImpl... operands) |
OperatorMatches(int pos,
SpelNodeImpl... operands) |
OperatorNot(int pos,
SpelNodeImpl operand) |
OperatorPower(int pos,
SpelNodeImpl... operands) |
OpGE(int pos,
SpelNodeImpl... operands) |
OpGT(int pos,
SpelNodeImpl... operands) |
OpInc(int pos,
boolean postfix,
SpelNodeImpl... operands) |
OpLE(int pos,
SpelNodeImpl... operands) |
OpLT(int pos,
SpelNodeImpl... operands) |
OpMinus(int pos,
SpelNodeImpl... operands) |
OpModulus(int pos,
SpelNodeImpl... operands) |
OpMultiply(int pos,
SpelNodeImpl... operands) |
OpNE(int pos,
SpelNodeImpl... operands) |
OpOr(int pos,
SpelNodeImpl... operands) |
OpPlus(int pos,
SpelNodeImpl... operands) |
Projection(boolean nullSafe,
int pos,
SpelNodeImpl expression) |
QualifiedIdentifier(int pos,
SpelNodeImpl... operands) |
Selection(boolean nullSafe,
int variant,
int pos,
SpelNodeImpl expression) |
SpelNodeImpl(int pos,
SpelNodeImpl... operands) |
Ternary(int pos,
SpelNodeImpl... args) |
TypedValueHolderValueRef(TypedValue typedValue,
SpelNodeImpl node) |
TypeReference(int pos,
SpelNodeImpl qualifiedId) |
TypeReference(int pos,
SpelNodeImpl qualifiedId,
int dims) |
Modifier and Type | Method and Description |
---|---|
CompiledExpression |
SpelCompiler.compile(SpelNodeImpl expression)
Attempt compilation of the supplied expression.
|
Constructor and Description |
---|
SpelExpression(java.lang.String expression,
SpelNodeImpl ast,
SpelParserConfiguration configuration)
Construct an expression, only used by the parser.
|