rust/src/libsyntax
kennytm bdb901c865
Rollup merge of #56336 - nnethercote:clean-up-pp, r=nikomatsakis
Clean up and streamline the pretty-printer

Some minor improvements.
2018-12-01 02:03:43 +08:00
..
attr Fix feature gate only being checked on first repr attr. 2018-10-31 03:28:06 +11:00
diagnostics Remove OneVector 2018-09-26 10:43:37 +02:00
ext Rollup merge of #56268 - nnethercote:fold_opt_expr-recycle, r=petrochenkov 2018-12-01 02:03:41 +08:00
parse Rollup merge of #56336 - nnethercote:clean-up-pp, r=nikomatsakis 2018-12-01 02:03:43 +08:00
print Split up pretty_print and print. 2018-11-29 17:14:57 +11:00
util Provide specific label for patern parsing error 2018-10-28 14:38:00 -07:00
ast.rs Rollup merge of #55750 - oli-obk:node_id_x, r=michaelwoerister 2018-11-15 11:04:35 +01:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Use optimized SmallVec implementation 2018-08-23 10:45:53 +03:00
config.rs fix typos in various places 2018-10-23 15:56:25 +02:00
diagnostic_list.rs Add a stub feature so we can still test E0705 2018-10-19 22:26:02 -07:00
early_buffered_lints.rs make it a migration lint 2018-07-23 21:55:51 -05:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs proc_macro: introduce a "bridge" between clients (proc macros) and servers (compiler front-ends). 2018-11-30 06:15:19 +02:00
fold.rs Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco 2018-11-07 21:27:00 +08:00
json.rs Rename other occs of (Code/File)Map to Source(Map/File) #51574 2018-10-29 21:26:13 +01:00
lib.rs remove uses of feature gate 2018-11-27 13:13:11 -06:00
ptr.rs Reuse the P in InvocationCollector::fold_{,opt_}expr. 2018-11-20 20:55:37 +11:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
source_map.rs Rename other occs of (Code/File)Map to Source(Map/File) #51574 2018-10-29 21:26:13 +01:00
std_inject.rs mv codemap source_map 2018-08-19 23:01:01 +02:00
str.rs Inline char_at() and record_width. 2018-05-13 17:16:02 +10:00
test.rs Remove redundant clone 2018-10-26 12:07:39 +09:00
test_snippet.rs Rename other occs of (Code/File)Map to Source(Map/File) #51574 2018-10-29 21:26:13 +01:00
tokenstream.rs Auto merge of #55971 - SergioBenitez:skip-non-semantic, r=alexcrichton 2018-11-19 19:57:02 +00:00
visit.rs Auto merge of #53815 - F001:if-let-guard, r=petrochenkov 2018-09-01 20:31:29 +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: