lexer 0.1.18

plugin based lexical reader
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::{Input, ReaderResult, Readers, State};

pub trait Reader<T, E> {
  fn read(
    &self,
    readers: &Readers<T, E>,
    input: &mut dyn Input,
    current: &State,
    next: &mut State,
  ) -> ReaderResult<T, E>;
}