Skip to content

Commit

Permalink
Add clarification for the syn::DeriveInput explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
1Git2Clone committed Jan 14, 2025
1 parent b2f99e9 commit 8d5559c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ making a parser for the complex syntax of the language.
![Visual representation of syn being the front-end and quote as the back-end](./assets/front-end-ir-back-end.png "Visual representation of syn being the front-end and quote as the back-end")

1. Syn handles the parsing (usually as
[`syn::DeriveInput`](https://docs.rs/syn/latest/syn/struct.DeriveInput.html)).
[`syn::DeriveInput`](https://docs.rs/syn/latest/syn/struct.DeriveInput.html)
for derive macros).
2. We work with the parsed data.
3. Our work gets tokenized by the
[`quote::quote!`](https://docs.rs/quote/latest/quote/macro.quote.html)
Expand Down

0 comments on commit 8d5559c

Please sign in to comment.