Trait lexer::Input
[−]
[src]
pub trait Input { fn peek(&mut self, state: &State, offset: usize) -> Option<char>; fn read(&mut self, state: &mut State) -> Option<char> { ... } fn done(&mut self, state: &State) -> bool { ... } fn can_read(&mut self, state: &State, offset: usize) -> bool { ... } }