ParserRecursionLimit adjusts the AST depth the parser will tolerate. Defaults defined in the parser package.
(limit int)
| 935 | // ParserRecursionLimit adjusts the AST depth the parser will tolerate. |
| 936 | // Defaults defined in the parser package. |
| 937 | func ParserRecursionLimit(limit int) EnvOption { |
| 938 | return setLimit(limitParseRecursionDepth, limit) |
| 939 | } |
| 940 | |
| 941 | // ParserErrorRecoveryLimit sets the number of attemtps the parser will take |
| 942 | // to recover after encountering an error. |