third_party_rust_syn/examples
2022-08-31 00:35:49 -07:00
..
dump-syntax Ignore using destructuring assignment to wildcard pattern 2022-08-31 00:35:49 -07:00
heapsize Format examples with rustfmt 1.5.0 2022-06-18 17:33:21 -07:00
lazy-static Update outdated deps in all the examples 2022-06-06 14:57:22 -07:00
trace-var Distinguish examples that have a conflicting package name 2022-06-06 13:21:58 -07:00
README.md Update rustc requirements in preparation for release 2019-08-11 15:01:50 -07:00

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

An example implementation of a derive macro that generates trait impls.

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

An attribute procedural macro that uses a syntax tree traversal to transform certain syntax tree nodes in a function body.