pub enum Token {
}Expand description
Token types produced by the lexer
Variants§
QueryOption(String)
Query option name (e.g., “$select”, “$top”)
Identifier(String)
Identifier (field name or keyword)
Number(String)
Number literal
StringLiteral(String)
String literal
Comma
Comma separator
Equals
Equals sign
Ampersand
Ampersand (query separator)
Semicolon
Semicolon (separator for nested options)
LParen
Left parenthesis Left parenthesis
RParen
Right parenthesis
Mul
Asterisk/multiplication
Colon
Colon (for lambda operators)
Slash
Slash (for path navigation)
Minus
Minus/hyphen
Eof
End of input
Trait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more