Module rustfmt_nightly::macros
source ยท Structsยง
- Macro ๐
- MacroArgParser ๐Parses macro arguments on macro def.
- MacroBranch ๐
- MacroParser ๐
- ParsedMacroArg ๐
Enumsยง
- MacroArg ๐
- MacroArgKind ๐
- MacroPosition ๐
- SpaceState ๐
Constantsยง
Functionsยง
- convert_try_mac ๐Tries to convert a macro use into a short hand try expression. Returns
Nonewhen the macro is not an instance oftry!(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 ๐
- replace_names ๐
- rewrite_macro ๐
- rewrite_macro_def ๐
- rewrite_macro_inner ๐
- rewrite_macro_name ๐Rewrite macro name without using pretty-printer if possible.
- wrap_macro_args ๐