Struct clang::token::Token[][src]

pub struct Token<'tu> { /* fields omitted */ }

A lexed piece of a source file.

Methods

impl<'tu> Token<'tu>
[src]

Returns the categorization of this token.

Returns the textual representation of this token.

Returns the source location of this token.

Returns the source range of this token.

Trait Implementations

impl<'tu> Copy for Token<'tu>
[src]

impl<'tu> Clone for Token<'tu>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tu> Debug for Token<'tu>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'tu> !Send for Token<'tu>

impl<'tu> !Sync for Token<'tu>