rust/src/libsyntax
Nicholas Nethercote 7d2173ed27 Use P for NtMeta.
This commit reduces the size of `Nonterminal` from a 72 bytes to 40 bytes (on
x86-64).
2020-01-30 11:19:40 +11:00
..
ast libsyntax: Unconfigure tests during normal build 2019-08-02 01:59:01 +03:00
attr remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
expand Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
print unused-parens: implement for block return values 2020-01-23 00:42:35 -05:00
util Rollup merge of #67849 - cjkenn:check-sorted-words, r=estebank 2020-01-09 00:29:12 +09:00
ast.rs Use P for NtTraitItem, NtImplItem, and NtForeignItem. 2020-01-30 11:18:56 +11:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
entry.rs Normalize syntax::symbol imports. 2020-01-02 13:57:04 +01:00
lib.rs slice_patterns: remove internal uses of gate 2020-01-18 19:33:47 +01:00
mut_visit.rs Use P for NtMeta. 2020-01-30 11:19:40 +11:00
ptr.rs Format the world 2019-12-22 17:42:47 -05:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
token.rs Use P for NtMeta. 2020-01-30 11:19:40 +11:00
tokenstream.rs Rename syntax_pos to rustc_span in source code 2020-01-01 09:15:18 +03:00
visit.rs Add constness field to ast::ItemKind::Impl 2020-01-19 23:41:42 -08:00

The syntax crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.

For more information about how these things work in rustc, see the rustc guide: