Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

DepthLimitedExpander
A macro expansion depth limiter.
DepthLimitedExpanderExt2
A depth-limited macro expander.
HygieneContext
A hygiene context for macro expansion.
HygieneContextExt2
A hygiene context tracks fresh name generation for macro expansion.
HygieneInfo
Hygiene information for macro expansion.
MacroCallSiteExt
A macro call site record.
MacroDef
A complete macro definition, potentially with multiple rules.
MacroDefinitionExt
A macro definition with a name, parameter list, and template.
MacroEnvironmentExt
A macro environment that stores all defined macros.
MacroError
An error that occurred during macro processing.
MacroExpander
The macro expansion engine.
MacroExpansionError
A macro error during expansion.
MacroExpansionErrorExt2
An error that occurred during macro expansion.
MacroExpansionTraceExt
A macro expansion trace for debugging.
MacroLibrary
A macro library with named groups.
MacroMatcher
A macro pattern matcher that checks if a token sequence matches a macro pattern.
MacroParser
Macro parser for parsing macro definitions.
MacroRule
A single macro rewrite rule: pattern => template.
MacroSignature
A macro signature: name + param count.
MacroStats
A macro statistics tracker.
MacroStatsExt2
Macro expansion statistics.
MacroSubst
A macro substitution record.
MacroVarExt
A macro template variable.
SyntaxDef
A syntax declaration that extends a syntactic category.

Enums§

MacroErrorKind
Kinds of macro errors.
MacroExpansionResult
A macro expansion result: either a string or an error.
MacroExpansionResultExt2
The result of a macro expansion attempt.
MacroTemplateNodeExt
A macro template node (either a literal token or a variable reference).
MacroToken
Token in macro pattern or template.
SyntaxItem
An item in a syntax parser specification.
SyntaxKind
Kind of syntactic category that a syntax declaration extends.