Toggle navigation
1.
Introduction
2.
Macros, A Methodical Introduction
2.1.
Syntax Extensions
2.1.1.
Source Analysis
2.1.2.
Macros in the AST
2.1.3.
Expansion
2.2.
macro_rules!
2.3.
Minutiae
2.3.1.
Captures and Expansion Redux
2.3.2.
Hygiene
2.3.3.
Non-Identifier Identifiers
2.3.4.
Debugging
2.3.5.
Scoping
2.3.6.
Import/Export
3.
Macros, A Practical Introduction
4.
Patterns
4.1.
Callbacks
4.2.
Incremental TT Munchers
4.3.
Internal Rules
4.4.
Push-Down Accumulation
4.5.
Repetition Replacement
4.6.
Trailing Separators
4.7.
TT Bundling
4.8.
Visibility
4.9.
Provisional
5.
Building Blocks
5.1.
AST Coercion
5.2.
Counting
5.3.
Enum Parsing
6.
Annotated Examples
6.1.
Ook!
Building Blocks
Reusable snippets of macro code.