parseSpEL
Converts a SpEL string expression into a DefaultRuleGroupType or DefaultRuleGroupTypeIC.
Functions
| Function | Description |
|---|---|
| generateFlatAndOrList | - |
| generateMixedAndOrList | - |
| isSpELBetweenFields | - |
| isSpELBetweenValues | - |
| isSpELBooleanLiteral | - |
| isSpELCompoundNode | - |
| isSpELExpressionOperand | Whether a relation operand should be routed to getExpression: an arithmetic infix node or a method/function invocation. Bare identifiers, chains, and literals are not expression operands (they retain their normal handling). |
| isSpELIdentifier | - |
| isSpELListNode | - |
| isSpELMathOperation | A SpEL arithmetic infix node (op-plus/op-minus/op-multiply/op-divide/op-modulus). |
| isSpELMethodCall | A method/function invocation node (.toUpperCase(), T(java.lang.Math).abs(x), myFunc(a)). |
| isSpELMethodNode | - |
| isSpELNullLiteral | - |
| isSpELNumericLiteral | - |
| isSpELOpAnd | - |
| isSpELOpMatches | - |
| isSpELOpOr | - |
| isSpELPrimitive | - |
| isSpELPropertyNode | - |
| isSpELRelationOp | - |
| isSpELStringLiteral | - |
| normalizeOperator | - |
| parseSpEL | Converts a SpEL string expression into a query suitable for the index!QueryBuilder QueryBuilder component's query or defaultQuery props (DefaultRuleGroupType). |
| processCompiledExpression | - |
Interfaces
| Interface | Description |
|---|---|
| ParseSpELExpressionContext | Context passed to parseSpEL!ParseSpELOptions.getExpression. |
| ParseSpELOptions | Options object for !parseSpEL. |
| SpELBaseNode | - |
| SpELBetweenFields | - |
| SpELBetweenValues | - |
| SpELBooleanLiteral | - |
| SpELCompoundNode | - |
| SpELExpressionNode | - |
| SpELIdentifier | - |
| SpELListNode | - |
| SpELListOfFields | - |
| SpELListOfValues | - |
| SpELMethodCall | A method/function invocation. Arguments are stored as children; instance-call receivers are stored as SpELProcessedExpression.target, and static-call types as SpELProcessedExpression.typeRef. |
| SpELMethodNode | A SpEL method/function invocation node. Note that arguments are not children — they are exposed as raw (unprocessed) nodes through getRaw(). |
| SpELNullLiteral | - |
| SpELNumericLiteral | - |
| SpELOpAnd | - |
| SpELOpMatches | - |
| SpELOpOr | - |
| SpELProcessedExpression | - |
| SpELPropertyNode | - |
| SpELQualifiedIdentifierNode | The dotted segments of a T(...) type reference, e.g. ["java", "lang", "Math"]. |
| SpELRelation | - |
| SpELStringLiteral | - |
Type Aliases
| Type Alias | Description |
|---|---|
| SpELExpressionOperand | A SpEL operand subtree that parseSpEL!ParseSpELOptions.getExpression may receive — either an arithmetic infix node (op-plus/op-minus/op-multiply/op-divide/op-modulus) or a method/function invocation (SpELMethodCall), which covers T(java.lang.Math).abs/min/max(...), .toUpperCase()/.toLowerCase(), and custom calls like myFunc(a, b). |
| SpELIdentifierType | - |
| SpELNodeType | - |
| SpELPrimitive | - |
| SpELPrimitiveType | - |
| SpELRelOp | - |
| SpELRelOpType | - |
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.