Enum clang::token::TokenKind [] [src]

pub enum TokenKind {
    Comment,
    Identifier,
    Keyword,
    Literal,
    Punctuation,
}

Indicates the categorization of a token.

Variants

A comment token.

An identifier token.

A keyword token.

A literal token.

A puncuation token.

Trait Implementations

impl Copy for TokenKind
[src]

impl Clone for TokenKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TokenKind
[src]

Formats the value using the given formatter.

impl PartialEq for TokenKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TokenKind
[src]

impl Hash for TokenKind
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.