Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Little utility to parse a Rust source file into a syn::File and print out a debug representation of the syntax tree.

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

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.

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.