Trait gll_pg_core::GrammarLabel
source · pub trait GrammarLabel: Debug {
type Symbol: GrammarSymbol;
// Required methods
fn first(&self) -> bool;
fn end(&self) -> Option<Self::Symbol>;
}
Expand description
A common trait that all labels should impl, the labels and impl are generated. You don’t need to impl it in your code.