pub trait NonTerminal<Term> {
// Required methods
fn is_auto_generated(&self) -> bool;
fn is_augmented(&self) -> bool;
}Expand description
A struct to hold information about non-terminal symbols
Required Methods§
Sourcefn is_auto_generated(&self) -> bool
fn is_auto_generated(&self) -> bool
Whether this non-terminal is auto-generated by rustylr. Some non-terminals could be auto-generated to handle regex patterns, character sets, etc.
Sourcefn is_augmented(&self) -> bool
fn is_augmented(&self) -> bool
Augmented rule will be generated for entry point of the grammar.