"Fossies" - the Fresh Open Source Software Archive

Member "rustc-1.72.1-src/compiler/rustc_ast/README.md" (13 Sep 2023, 558 Bytes) of package /linux/misc/rustc-1.72.1-src.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

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: