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

#[repr(C)]
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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TokenKind
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for TokenKind
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for TokenKind
[src]

impl Hash for TokenKind
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more