Methods
-
(static) .createGenericExpressionEvaluator(expressionText) : {(context: any)=> any}
-
Creates generic expression evaluator
Parameters:
Name Type Description expressionTextstring inner expression text not including any decorator characters that identify the string as an expression Returns:
an evaluator function that will take data context as a parameter -
(static) .getExpressionInfo(expression) : {Object}
-
Analyzes a string for a possible JET expression
Parameters:
Name Type Description expressionstring a string to be analyzed Returns:
an object with two keys: use the 'expr' key to get the expression text, and the 'downstreamOnly' to get a boolean indicating whether the expression is downstream-only, i.e. the flag will be true if the expression should not be used for writeback- Type
- {expr: (null|string), downstreamOnly: boolean}