Skip to main content

parseSpEL

Converts a SpEL string expression into a DefaultRuleGroupType or DefaultRuleGroupTypeIC.

Functions

FunctionDescription
generateFlatAndOrList-
generateMixedAndOrList-
isSpELBetweenFields-
isSpELBetweenValues-
isSpELBooleanLiteral-
isSpELCompoundNode-
isSpELExpressionOperandWhether 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-
isSpELMathOperationA SpEL arithmetic infix node (op-plus/op-minus/op-multiply/op-divide/op-modulus).
isSpELMethodCallA method/function invocation node (.toUpperCase(), T(java.lang.Math).abs(x), myFunc(a)).
isSpELMethodNode-
isSpELNullLiteral-
isSpELNumericLiteral-
isSpELOpAnd-
isSpELOpMatches-
isSpELOpOr-
isSpELPrimitive-
isSpELPropertyNode-
isSpELRelationOp-
isSpELStringLiteral-
normalizeOperator-
parseSpELConverts a SpEL string expression into a query suitable for the index!QueryBuilder QueryBuilder component's query or defaultQuery props (DefaultRuleGroupType).
processCompiledExpression-

Interfaces

InterfaceDescription
ParseSpELExpressionContextContext passed to parseSpEL!ParseSpELOptions.getExpression.
ParseSpELOptionsOptions object for !parseSpEL.
SpELBaseNode-
SpELBetweenFields-
SpELBetweenValues-
SpELBooleanLiteral-
SpELCompoundNode-
SpELExpressionNode-
SpELIdentifier-
SpELListNode-
SpELListOfFields-
SpELListOfValues-
SpELMethodCallA method/function invocation. Arguments are stored as children; instance-call receivers are stored as SpELProcessedExpression.target, and static-call types as SpELProcessedExpression.typeRef.
SpELMethodNodeA 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-
SpELQualifiedIdentifierNodeThe dotted segments of a T(...) type reference, e.g. ["java", "lang", "Math"].
SpELRelation-
SpELStringLiteral-

Type Aliases

Type AliasDescription
SpELExpressionOperandA 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.