Module macros

Source

Structs§

Macro 🔒
MacroArgParser 🔒
Parses macro arguments on macro def.
MacroBranch 🔒
MacroParser 🔒
ParsedMacroArg 🔒

Enums§

MacroArg 🔒
MacroArgKind 🔒
MacroPosition 🔒
SpaceState 🔒

Constants§

FORCED_BRACKET_MACROS 🔒

Functions§

convert_try_mac 🔒
Tries to convert a macro use into a short hand try expression. Returns None when the macro is not an instance of try! (or parsing the inner expression failed).
delim_token_to_str 🔒
force_space_before 🔒
format_lazy_static 🔒
Format lazy_static! from https://crates.io/crates/lazy_static.
format_macro_args 🔒
handle_vec_semi 🔒
ident_like 🔒
last_tok 🔒
macro_style 🔒
next_space 🔒
register_metavariable 🔒
replace_names 🔒
return_macro_parse_failure_fallback 🔒
rewrite_empty_macro_def_body 🔒
rewrite_macro 🔒
rewrite_macro_def 🔒
rewrite_macro_inner 🔒
rewrite_macro_name 🔒
Rewrite macro name without using pretty-printer if possible.
rewrite_macro_with_items 🔒
span_for_token_stream 🔒
wrap_macro_args 🔒
wrap_macro_args_inner 🔒