getExpressionParserCEL()
getExpressionParserCEL(
customInverse?:Partial<CELInverse>,customMeta?:ExpressionFunctionMetaRegistry):CELExpressionParser
Defined in: expr/src/parsers/getExpressionParserCEL.ts:37
Generates a getExpression handler for @react-querybuilder/core/parseCEL!parseCEL.
Pass customInverse to add arithmetic operators / function-call names or override built-ins
(merged over defaultCELInverse), and customMeta to supply arity metadata for custom
functions. The returned handler builds an ExpressionNode from a CEL operand subtree and
auto-validates it, returning null (rule dropped) for unknown operators/functions or arity
mismatches — the import-side mirror of getExpressionRuleProcessorCEL.
Note: abs/upper/lower are not invertible — the CEL grammar cannot parse the constructs
their exporters emit.
Parameters
| Parameter | Type |
|---|---|
customInverse? | Partial<CELInverse> |
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.