[][src]Trait gearley::forest::order::Order

pub trait Order {
    fn sum<'b>(&mut self, alternatives: &'b [Cell<u16>]) -> &'b [Cell<u16>] { ... }
fn product(&mut self, _factors: &[(Symbol, u32)]) -> Option<usize> { ... } }

Provided methods

fn sum<'b>(&mut self, alternatives: &'b [Cell<u16>]) -> &'b [Cell<u16>]

Apply the order to sum node alternatives.

fn product(&mut self, _factors: &[(Symbol, u32)]) -> Option<usize>

Apply the order to product node factors.

Loading content...

Implementors

impl Order for NullOrder[src]

Loading content...