Module rustc_ast::token

source ·

Re-exports

pub use BinOpToken::*;
pub use LitKind::*;
pub use Nonterminal::*;
pub use TokenKind::*;

Modules

Structs

A literal token.

Enums

Describes how a sequence of token trees is delimited. Cannot use proc_macro::Delimiter directly because this structure should implement some additional traits. The None variant is also renamed to Invisible to be less confusing and better convey the semantics.
For interpolation during macro expansion.

Functions