logo
Expand description

Prelude to use essentials: use my_module::prelude::*.

Re-exports

pub use super::container_kind::prelude::*;
pub use super::generic_analyze::prelude::*;
pub use super::helper::prelude::*;
pub use super::name::prelude::*;
pub use super::split_with_name::prelude::*;
pub use super::syntax::prelude::*;
pub use ::syn;
pub use ::proc_macro2;
pub use quote;

Macros

A type-macro that expands to the name of the Rust type representation of a given token.

Parse a set of curly braces and expose their content to subsequent parsers.

Parse a set of square brackets and expose their content to subsequent parsers.

Define a type that supports parsing and printing a given identifier as if it were a keyword.

Define a type that supports parsing and printing a multi-character symbol as if it were a punctuation token.

Parse a set of parentheses and expose their content to subsequent parsers.

Parse the input TokenStream of a macro, triggering a compile error if the tokens fail to parse.

Quasi-quotation macro that accepts input like the quote! macro but uses type inference to figure out a return type for those tokens.

This macro is [parse_quote!] + quote_spanned!.

Type Definitions

Input to a Syn parser function.