lora_ast/lib.rs
1// AST node variants have deliberate size asymmetry (e.g. a full MATCH/WITH/RETURN
2// pipeline vs. a StandaloneCall). Boxing the large variants would trade fewer
3// stack copies for an extra heap allocation per parse — the opposite of what
4// the parser is tuned for. Self-referential cases that do need indirection
5// (e.g. `PatternElement::Parenthesized`) already box explicitly.
6#![allow(clippy::large_enum_variant)]
7
8pub mod ast;
9pub use ast::*;