[−][src]Trait gearley::forest::Forest
Associated Types
Loading content...Associated Constants
Loading content...Required methods
fn begin_sum(&mut self)
fn push_summand(&mut self, item: CompletedItem<Self::NodeRef>)
fn sum(&mut self, lhs_sym: Symbol, origin: u32) -> Self::NodeRef
fn leaf(
&mut self,
token: Symbol,
pos: u32,
value: Self::LeafValue
) -> Self::NodeRef
&mut self,
token: Symbol,
pos: u32,
value: Self::LeafValue
) -> Self::NodeRef
fn nulling(&self, token: Symbol) -> Self::NodeRef
Implementors
impl Forest for NullForest
[src]
type NodeRef = ()
type LeafValue = ()
const FOREST_BYTES_PER_RECOGNIZER_BYTE: usize
[src]
fn leaf(&mut self, _: Symbol, _: u32, _: ())
[src]
fn nulling(&self, _: Symbol)
[src]
fn begin_sum(&mut self)
[src]
fn push_summand(&mut self, _item: CompletedItem<Self::NodeRef>)
[src]
fn sum(&mut self, _lhs_sym: Symbol, _origin: u32) -> Self::NodeRef
[src]
impl<G> Forest for Bocage<G> where
G: Borrow<InternalGrammar>,
[src]
G: Borrow<InternalGrammar>,
type NodeRef = NodeHandle
type LeafValue = u32
const FOREST_BYTES_PER_RECOGNIZER_BYTE: usize
[src]
fn begin_sum(&mut self)
[src]
fn push_summand(&mut self, item: CompletedItem<Self::NodeRef>)
[src]
fn sum(&mut self, lhs_sym: Symbol, _origin: u32) -> Self::NodeRef
[src]
fn leaf(
&mut self,
token: Symbol,
_pos: u32,
_value: Self::LeafValue
) -> Self::NodeRef
[src]
&mut self,
token: Symbol,
_pos: u32,
_value: Self::LeafValue
) -> Self::NodeRef