[−][src]Module syntax::ext::base
Re-exports
pub use SyntaxExtension::*; |
Structs
DummyResolver | |
DummyResult | Fill-in macro expansion result, to allow compilation to continue after hitting errors. |
ExpansionData | |
ExtCtxt | One of these is made during expansion and incrementally updated as we go;
when a macro expansion occurs, the resulting nodes have the |
MacEager |
|
ModuleData |
Enums
Annotatable | |
Determinacy | |
MacroKind | Represents different kinds of macro invocations that can be resolved. |
SyntaxExtension | An enum representing the different kinds of syntax extensions. |
Traits
AttrProcMacro | |
IdentMacroExpander | |
MacResult | The result of a macro expansion. The return values of the various methods are spliced into the AST at the callsite of the macro. |
MultiItemDecorator | |
MultiItemModifier | |
ProcMacro | |
Resolver | |
TTMacroExpander | Represents a thing that maps token trees to Macro Results |
Functions
check_zero_tts | Non-fatally assert that |
expr_to_spanned_string | Extracts a string literal from the macro expanded version of |
expr_to_string | |
get_exprs_from_tts | Extracts comma-separated expressions from |
get_single_str_from_tts | Interpreting |
Type Definitions
BuiltinDeriveFn | |
IdentMacroExpanderFn | |
MacroExpanderFn | |
NamedSyntaxExtension |