blob: fdd69d6a3b19947e15e36b2ff74ebb0ea42abc4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
### [`dump-syntax`](dump-syntax)
Little utility to parse a Rust source file into a `syn::File` and print out a
debug representation of the syntax tree.
### [`heapsize`](heapsize)
An example implementation of a derive macro that generates trait impls.
### [`lazy-static`](lazy-static)
An example of parsing a custom syntax within a `functionlike!(...)` procedural
macro. Demonstrates how to trigger custom warnings and error messages on
individual tokens of the input.
### [`trace-var`](trace-var)
An attribute procedural macro that uses a syntax tree traversal to transform
certain syntax tree nodes in a function body.
|