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)
| 1009 | // ParserExpressionSizeLimit adjusts the number of code points the expression parser is allowed to parse. |
| 1010 | // Defaults are defined in the parser package. A negative value means unbounded. |
| 1011 | func ParserExpressionSizeLimit(limit int) EnvOption { |
| 1012 | return setLimit(limitCodePointSize, limit) |
| 1013 | } |
| 1014 | |
| 1015 | // ExpressionNodeLimit adjusts the maximum number of expression nodes permitted during parsing |
| 1016 | // and checking, including nodes created by macro expansion. Defaults are defined in the parser |