Crate macros_utils
Source - lazy_static
- MacroStream
- A stream of tokens.
- ParseError
- A parse error encountered while parsing a
MacroStream. - Span
- A region of source code, along with macro expansion information.
- Delimiter
- The delimiter of a group of tokens
- LiteralKind
- The kind of literal.
- MacrosError
- The error type for this crate. Can be either a
Parse(ParseError) from this crate or a User(Box<dyn Error + Send + Sync>) user error. - Match
- A match of a
Pattern. - ParseErrorKind
- The specific kind of parse error encountered.
- Pattern
- A pattern to match against a
MacroStream in a parser from the parser! macro. - Spacing
- Whether a
Punct is followed immediately by another Punct or followed by
another token or whitespace. - Token
- A token in a macro.
- Parse
- Parse a
MacroStream into a Self. - ParserOutput
- The trait for the output of a parser created by the
parser! macro. - Repr
- The representation of an item as tokens to recreate it.
- call_site
- A shortcut for
proc_macro2::Span::call_site().
- ParseResult
- Type alias for the result of parsing to a
MacroStream.