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 ๐Ÿ”’