158 releases
new 0.0.207 | Mar 25, 2024 |
---|---|
0.0.203 | Feb 26, 2024 |
0.0.190 | Dec 18, 2023 |
0.0.187 | Nov 27, 2023 |
0.0.26 | Nov 30, 2020 |
#56 in Graphics APIs
9,625 downloads per month
Used in 26 crates
(3 directly)
150KB
3.5K
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 tests for this functionality live in another crate:
hir_def::macro_expansion_tests::mbe
.
Dependencies
~6–16MB
~168K SLoC