115 releases
0.0.149 | Jan 16, 2023 |
---|---|
0.0.145 | Dec 26, 2022 |
0.0.141 | Nov 28, 2022 |
0.0.122 | Jul 25, 2022 |
0.0.26 | Nov 30, 2020 |
7,827 downloads per month
Used in 24 crates
(3 directly)
135KB
3K
SLoC
mbe
(short for Macro By Example) crate contains code for handling
macro_rules
macros. It uses TokenTree
(from tt
package) as the
interface, although it contains some code to bridge SyntaxNode
s and
TokenTree
s as well!
The tes for this functionality live in another crate:
hir_def::macro_expansion_tests::mbe
.
Dependencies
~2.6–8MB
~137K SLoC