Module plugin_utils

Source

Traits§

InlineMacroCall
Trait providing a consistent interface for inline macro calls.
PluginResultTrait
Trait providing a consistent interface for the result of a macro plugins.

Functions§

escape_node
Escapes a node for use in a format string.
extract_single_unnamed_arg
Extracts a single unnamed argument.
extract_unnamed_args
Extracts n unnamed arguments.
try_extract_unnamed_arg
Gets the syntax of an argument, and extracts the value if it is unnamed.
unsupported_bracket_diagnostic
Returns diagnostics for an unsupported bracket type.