Set the nesting limit for this parser. The nesting limit controls how deep the abstract syntax tree is allowed to be. If the AST exceeds the given limit (e.g., with too many nested groups), then an error is returned by the parser. The purpose of this limit is to act as a heuristic to prevent stack overflow for consumers that do structural induction on an `Ast` using explicit recursion. While thi
(&mut self, limit: u32)
| 57 | /// in an obvious way in the concrete syntax, therefore, it should not be |
| 58 | /// used in a granular way. |
| 59 | pub fn nest_limit(&mut self, limit: u32) -> &mut ParserBuilder { |
| 60 | self.ast.nest_limit(limit); |
| 61 | self |
| 62 | } |
| 63 | |
| 64 | /// Whether to support octal syntax or not. |
| 65 | /// |