pub trait GrammarNode {
// Required method
fn name() -> Vec<String>;
}Expand description
The trait that makes it possible to add a grammar node to the compiler.
Use the grammar_name macro to derive it automatically.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".