Enum syntax::parse::parser::TokenTypeUnstable [-] [+] [src]

pub enum TokenType {
    Token(Token),
    Keyword(Keyword),
    Operator,
}

Variants

Token
Keyword
Operator

Trait Implementations

Derived Implementations

impl Clone for TokenType

fn clone(&self) -> TokenType

fn clone_from(&mut self, source: &Self)

impl Eq for TokenType

fn assert_receiver_is_total_eq(&self)

impl PartialEq for TokenType

fn eq(&self, __arg_0: &TokenType) -> bool

fn ne(&self, __arg_0: &TokenType) -> bool