moxy-token 0.1.0

Rust token types/parsing/lexing
Documentation
1
2
3
4
5
6
7
8
9
mod cursor;
mod error;

pub use cursor::*;
pub use error::*;

pub trait Scan: Sized {
    fn scan(cursor: Cursor<'_>) -> Result<(Cursor<'_>, Self), LexError>;
}