Struct route_recognizer::nfa::NFA [] [src]

pub struct NFA<T> {
    // some fields omitted
}

Methods

impl<T> NFA<T>

fn new() -> NFA<T>

fn process<'a, I, F>(&self, string: &'a str, ord: F) -> Result<Match<'a>, String> where I: Ord, F: FnMut(usize) -> I

fn get<'a>(&'a self, state: usize) -> &'a State<T>

fn get_mut<'a>(&'a mut self, state: usize) -> &'a mut State<T>

fn put(&mut self, index: usize, chars: CharacterClass) -> usize

fn put_state(&mut self, index: usize, child: usize)

fn acceptance(&mut self, index: usize)

fn start_capture(&mut self, index: usize)

fn end_capture(&mut self, index: usize)

fn metadata(&mut self, index: usize, metadata: T)

Trait Implementations

Derived Implementations

impl<T: Clone> Clone for NFA<T>

fn clone(&self) -> NFA<T>

fn clone_from(&mut self, source: &Self)