Enum passerine::compiler::token::Token [−][src]
pub enum Token {
}
Expand description
These are the different tokens the lexer will output.
Token
s with data contain that data,
e.g. a boolean will be a Data::Boolean(...)
, not just a string.
Token
s can be spanned using Spanned<Token>
.
Variants
Keyword(String)
Tuple Fields of Keyword
0: String
Number(Data)
Tuple Fields of Number
0: Data
String(Data)
Tuple Fields of String
0: Data
Boolean(Data)
Tuple Fields of Boolean
0: Data
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Token
impl !UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more