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)
| 1186 | // ParserExpressionSizeLimit adjusts the number of code points the expression parser is allowed to parse. |
| 1187 | // Defaults are defined in the parser package. A negative value means unbounded. |
| 1188 | func ParserExpressionSizeLimit(limit int) EnvOption { |
| 1189 | return setLimit(limitCodePointSize, limit) |
| 1190 | } |
| 1191 | |
| 1192 | // ExpressionNodeLimit adjusts the maximum number of expression nodes permitted during parsing |
| 1193 | // and checking, including nodes created by macro expansion. Defaults are defined in the parser |