Struct synoptic::tokens::FullToken [−][src]
pub struct FullToken { pub text: String, pub kind: String, pub start: usize, pub end: usize, pub multi: bool, }
Expand description
For storing all the data in a token to prevent overwriting This contains the contents, type, start and end of the token This is used to compare tokens to each other to prevent tokens inside tokens
Fields
text: String
kind: String
start: usize
end: usize
multi: bool
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FullToken
impl UnwindSafe for FullToken
Blanket Implementations
Mutably borrows from an owned value. Read more