2 releases (1 stable)
new 1.83.0 | Nov 29, 2024 |
---|---|
0.1.0 | Nov 29, 2024 |
#326 in Programming languages
237 downloads per month
Used in 6 crates
1.5MB
33K
SLoC
The rustc_ast
crate contains those things concerned purely with syntax
– that is, the AST ("abstract syntax tree"), along with some definitions for tokens and token streams, data structures/traits for mutating ASTs, and shared definitions for other AST-related parts of the compiler (like the lexer and macro-expansion).
For more information about how these things work in rustc, see the rustc dev guide:
lib.rs
:
The Rust Abstract Syntax Tree (AST).
Note
This API is completely unstable and subject to change.
Dependencies
~8–36MB
~585K SLoC