[][src]Trait kari::pipeline::Stage

pub trait Stage {
    type Item;
    type Error;
    fn next(&mut self) -> Result<Self::Item, Self::Error>;
}

Associated Types

type Item

type Error

Loading content...

Required methods

fn next(&mut self) -> Result<Self::Item, Self::Error>

Loading content...

Implementations on Foreign Types

impl<'_, T> Stage for &'_ mut T where
    T: Stage
[src]

type Item = T::Item

type Error = T::Error

Loading content...

Implementors

impl<R> Stage for Reader<R> where
    R: Read
[src]

type Item = Char

type Error = Error

impl<Reader> Stage for Tokenizer<Reader> where
    Reader: Stage<Item = Char, Error = Error>, 
[src]

type Item = Token

type Error = Error

impl<Tokenizer> Stage for Parser<Tokenizer> where
    Tokenizer: Stage<Item = Token, Error = Error>, 
[src]

type Item = Expression

type Error = Error

Loading content...