ParserExpressionSizeLimit adjusts the number of code points the expression parser is allowed to parse. Defaults are defined in the parser package. A negative value means unbounded.
(limit int)
| 947 | // ParserExpressionSizeLimit adjusts the number of code points the expression parser is allowed to parse. |
| 948 | // Defaults are defined in the parser package. A negative value means unbounded. |
| 949 | func ParserExpressionSizeLimit(limit int) EnvOption { |
| 950 | return setLimit(limitCodePointSize, limit) |
| 951 | } |
| 952 | |
| 953 | // EnableHiddenAccumulatorName sets the parser to use the identifier '@result' for accumulators |
| 954 | // which is not normally accessible from CEL source. |