Token format

Token

#![allow(unused)]
fn main() {
pub struct Token {
    /// Token Type
    pub kind: TokenKind,

    /// Start offset in source
    pub start: usize,

    /// End offset in source
    pub end: usize,

    pub value: TokenValue,
}
}

TokenValue

#![allow(unused)]
fn main() {
pub enum TokenValue {
    None,
    Number(f64),
    String(String),
}
}