2020-03-01 16:56:03 -06:00
|
|
|
|
The `rustc_ast` crate contains those things concerned purely with syntax
|
2017-08-31 13:33:19 -05:00
|
|
|
|
– that is, the AST ("abstract syntax tree"), parser, pretty-printer,
|
|
|
|
|
lexer, macro expander, and utilities for traversing ASTs.
|
2018-03-16 12:43:22 -05:00
|
|
|
|
|
|
|
|
|
For more information about how these things work in rustc, see the
|
2020-03-05 15:07:42 -06:00
|
|
|
|
rustc dev guide:
|
2018-03-16 12:43:22 -05:00
|
|
|
|
|
2020-03-09 16:33:04 -05:00
|
|
|
|
- [Parsing](https://rustc-dev-guide.rust-lang.org/the-parser.html)
|
|
|
|
|
- [Macro Expansion](https://rustc-dev-guide.rust-lang.org/macro-expansion.html)
|