Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
dump-syntax/ | 07-Sep-2024 | - | 193 | 143 | ||
heapsize/ | 07-Sep-2024 | - | 299 | 216 | ||
lazy-static/ | 07-Sep-2024 | - | 231 | 152 | ||
trace-var/ | 07-Sep-2024 | - | 298 | 202 | ||
README.md | D | 07-Sep-2024 | 627 | 20 | 12 |
README.md
1### [`dump-syntax`](dump-syntax) 2 3Little utility to parse a Rust source file into a `syn::File` and print out a 4debug representation of the syntax tree. 5 6### [`heapsize`](heapsize) 7 8An example implementation of a derive macro that generates trait impls. 9 10### [`lazy-static`](lazy-static) 11 12An example of parsing a custom syntax within a `functionlike!(...)` procedural 13macro. Demonstrates how to trigger custom warnings and error messages on 14individual tokens of the input. 15 16### [`trace-var`](trace-var) 17 18An attribute procedural macro that uses a syntax tree traversal to transform 19certain syntax tree nodes in a function body. 20