ParserRecursionLimit adjusts the AST depth the parser will tolerate. Defaults defined in the parser package.
(limit int)
| 988 | // ParserRecursionLimit adjusts the AST depth the parser will tolerate. |
| 989 | // Defaults defined in the parser package. |
| 990 | func ParserRecursionLimit(limit int) EnvOption { |
| 991 | return setLimit(limitParseRecursionDepth, limit) |
| 992 | } |
| 993 | |
| 994 | // ParserErrorRecoveryLimit sets the number of attemtps the parser will take |
| 995 | // to recover after encountering an error. |