rust/src/libsyntax
Vadim Petrochenkov b003dd6d9b expand: Merge expand_{bang,attr,derive}_invoc into a single function
It's more convenient to have all this highly related stuff together on one screen (for future refactorings).
The `expand_invoc` function is compact enough now, after all the previous refactorings.
2019-07-11 00:12:57 +03:00
..
attr syntax: Migrate built-in macros to the regular stability checking 2019-07-07 13:04:07 +03:00
diagnostics Rollup merge of #61813 - matthewjasper:remove-unnecessary-symbol-ops, r=petrochenkov 2019-06-15 17:45:02 +02:00
ext expand: Merge expand_{bang,attr,derive}_invoc into a single function 2019-07-11 00:12:57 +03:00
parse syntax: Pre-intern names of all built-in macros 2019-07-07 13:04:07 +03:00
print Pretty-print $crate as crate/::my_crate in tokens 2019-07-09 22:17:44 +03:00
util Add missing lifetime specifier 2019-07-03 10:01:03 +02:00
ast.rs Fix clippy::redundant_field_names 2019-06-26 13:59:58 +02:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
config.rs Lint on 'cfg_attr(,).' 2019-06-22 12:11:01 +02:00
early_buffered_lints.rs Remove outdated question_mark_macro_sep lint 2019-06-26 20:34:12 +02:00
entry.rs Remove the equality operation between Symbol and strings. 2019-05-13 09:31:30 +10:00
error_codes.rs Added the E0704 error with a link to the Rust reference. 2019-05-01 12:01:52 +02:00
feature_gate.rs normalize use of backticks in compiler messages for libsyntax/feature_gate 2019-07-09 14:13:28 +02:00
json.rs syntax: Make def-site span mandatory in ExpnInfo/MacroBacktrace/DiagnosticSpanMacroExpansion 2019-07-11 00:12:07 +03:00
lib.rs Rollup merge of #61545 - flip1995:internal_lints, r=oli-obk 2019-07-05 20:26:51 +02:00
mut_visit.rs Remove io::Result from syntax::print 2019-06-29 09:10:17 -04:00
ptr.rs rustc: use a separate copy of P for HIR than for AST. 2019-07-01 14:34:34 +03:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
show_span.rs Rename rustc_errors dependency in rust 2018 crates 2019-02-13 00:28:52 +09:00
source_map.rs Rename some things in syntax_pos/hygiene 2019-07-11 00:12:07 +03:00
std_inject.rs hygiene: Introduce a helper method for creating new expansions 2019-07-11 00:12:57 +03:00
test.rs hygiene: Introduce a helper method for creating new expansions 2019-07-11 00:12:57 +03:00
test_snippet.rs Move edition outside the hygiene lock and avoid accessing it 2019-05-21 18:17:05 +02:00
tokenstream.rs Switch master to 1.38 2019-07-04 11:26:57 -04:00
visit.rs Auto merge of #62075 - Centril:guardless-match-arms, r=petrochenkov 2019-06-24 05:00:10 +00: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: