blob: ea59c021ec3d859751728d7e8884963d386fdf1f [file] [log] [blame] [view]
David Tolnay48d27c32018-01-02 22:33:11 -08001### [`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
David Tolnay3be1b782018-10-28 17:41:41 -07008A complete working implementation of a custom derive. Works on any Rust compiler
David Tolnayb4f57242018-10-28 17:57:08 -070091.15+.
David Tolnay3c383c12018-01-04 11:47:24 -080010
11### [`lazy-static`](lazy-static)
12
13An example of parsing a custom syntax within a `functionlike!(...)` procedural
14macro. Demonstrates how to trigger custom warnings and error messages on
15individual tokens of the input.
David Tolnay56be6652018-01-06 15:55:29 -080016
17### [`trace-var`](trace-var)
18
19An attribute procedural macro that uses a syntax tree traversal to transform
20certain syntax tree nodes in a function body.