Crate pmutil

Source
Expand description

Utils for implementing proc-macro. Works on stable.

Re-exports§

pub use spanned_quote::Quote;
pub use proc_macro2;
pub use quote;
pub use syn;

Modules§

comment
prelude
Prelude for convenience.
respan
Span support for quasi-quotting.
spanned_quote
Span-aware quasi quotting built on top of quote crate.
synom_ext
Utils for tokens from synom::tokens.

Macros§

q
Shortcut for Quote::new_call_site().quote_with(smart_quote!( $tokens ))
smart_quote
ide-friendly quasi quotting.

Traits§

IdentExt
Extension trait for syn::Ident.
SpanExt
Extension trait for Span and syn::Span.
ToTokensExt