[−][src]Module panini_common::rs
Macros
Token | A type-macro that expands to the name of the Rust type representation of a given token. |
Structs
Attribute | An attribute like |
Dollar |
|
Ident | A word of Rust code, which may be a keyword or legal variable name. |
Literal | A literal string ( |
Punct | An |
Span | A region of source code, along with macro expansion information. |
TokenStream | An abstract stream of tokens, or more concretely a sequence of token trees. |
Enums
Expr | A Rust expression. |
Meta | Content of a compile-time structured attribute. |
Pat | A pattern in a local binding, function signature, match expression, or various other places. |
Spacing | Whether an |
TokenTree | A single token or a delimited sequence of token trees (e.g. |
Traits
ToTokens | Types that can be interpolated inside a |
Token | Marker trait for types that represent single tokens. |
Functions
str_to_ident |