ParserErrorRecoveryLimit sets the number of attemtps the parser will take to recover after encountering an error.
(limit int)
| 1180 | // ParserErrorRecoveryLimit sets the number of attemtps the parser will take |
| 1181 | // to recover after encountering an error. |
| 1182 | func ParserErrorRecoveryLimit(limit int) EnvOption { |
| 1183 | return setLimit(limitParseErrorRecovery, limit) |
| 1184 | } |
| 1185 | |
| 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. |