Module syntax::parse::token [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Re-exports

pub use self::BinOpToken::*;
pub use self::Nonterminal::*;
pub use self::DelimToken::*;
pub use self::Lit::*;
pub use self::Token::*;

Structs

LazyTokenStream [
Experimental
]

Enums

BinOpToken [
Experimental
]
DelimToken [
Experimental
]

A delimiter token

Lit [
Experimental
]
Nonterminal [
Experimental
]

For interpolation during macro expansion.

Token [
Experimental
]

Functions

is_op [
Experimental
]
is_path_segment_keyword [
Experimental
]
is_raw_guess [
Experimental
]
is_reserved_ident [
Experimental
]

Returns true if the token is either a special identifier or a keyword.

is_special_ident [
Experimental
]
is_unused_keyword [
Experimental
]

Returns true if the token is a keyword reserved for possible future use.

is_used_keyword [
Experimental
]

Returns true if the token is a keyword used in the language.