getExpressionParserSpEL()
getExpressionParserSpEL(
customInverse?:Partial<SpELInverse>,customMeta?:ExpressionFunctionMetaRegistry):SpELExpressionParser
Defined in: expr/src/parsers/getExpressionParserSpEL.ts:37
Generates a getExpression handler for @react-querybuilder/core/parseSpEL!parseSpEL.
Pass customInverse to add arithmetic operators, functions, or methods (or override built-ins;
merged over defaultSpELInverse), and customMeta to supply arity metadata. The returned
handler builds an ExpressionNode from a SpEL operand subtree and auto-validates it,
returning null (rule dropped) for unknown operators or arity mismatches — the import-side
mirror of getExpressionRuleProcessorSpEL.
Note: min/max serialize as nested binary calls, so a re-imported min/max of three or more
arguments comes back as a nested pair of two-argument calls rather than a single variadic call.
Parameters
| Parameter | Type |
|---|---|
customInverse? | Partial<SpELInverse> |
customMeta? | ExpressionFunctionMetaRegistry |
Returns
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.