Enum clang::token::TokenKind
[−]
[src]
#[repr(C)]pub enum TokenKind { Comment, Identifier, Keyword, Literal, Punctuation, }
Indicates the categorization of a token.
Variants
Comment
A comment token.
Identifier
An identifier token.
Keyword
A keyword token.
Literal
A literal token.
Punctuation
A puncuation token.
Trait Implementations
impl Copy for TokenKind
[src]
impl Clone for TokenKind
[src]
fn clone(&self) -> TokenKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TokenKind
[src]
impl PartialEq for TokenKind
[src]
fn eq(&self, __arg_0: &TokenKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.