pub trait CommonGeneratorConfig {
// Required methods
fn user_type_name(&self) -> &str;
fn module_name(&self) -> &str;
fn minimize_boxed_types(&self) -> bool;
fn range(&self) -> bool;
}
Expand description
Common configuration of both parser generator an user trait generator.
Required Methods§
Sourcefn user_type_name(&self) -> &str
fn user_type_name(&self) -> &str
User type that implements the language processing
Sourcefn module_name(&self) -> &str
fn module_name(&self) -> &str
User type’s module name
Sourcefn minimize_boxed_types(&self) -> bool
fn minimize_boxed_types(&self) -> bool
Activate the minimization of boxed types in the generated parser