Trait parol::ParserGeneratorConfig

source ·
pub trait ParserGeneratorConfig {
    // Required method
    fn trim_parse_tree(&self) -> bool;
}
Expand description

Configuration of parser generator

Required Methods§

source

fn trim_parse_tree(&self) -> bool

Enables trimming of the parse tree during parsing. Generates the call to trim_parse_tree on the parser object before the call of parse.

Implementors§