Trait panini::Forest [] [src]

pub trait Forest<'a> where
    <Self::NodeBuilder as NodeBuilder>::NodeRef == Self::NodeRef
{ type NodeRef: 'a + Copy; type NodeBuilder: NodeBuilder; type LeafValue: 'a; fn build(&'a self, num_children: usize) -> Self::NodeBuilder; fn leaf(
        &'a self,
        token: Symbol,
        pos: u32,
        value: Self::LeafValue
    ) -> Self::NodeRef; fn nulling(&'a self, token: Symbol) -> Self::NodeRef; }

Associated Types

Reference to a node.

Required Methods

Implementors