rust/src/libsyntax
Nicholas Nethercote 6872377357 Change TokenTreeOrTokenTreeVec to TokenTreeOrTokenTreeSlice.
This avoids a `to_owned` call that can be hot, speeding up the various
runs of html5ever by 1--5%, and some runs of crates.io by 2--3%.
2018-05-17 20:41:38 +10:00
..
diagnostics Allow raw identifiers in diagnostic macros. 2018-03-18 13:27:56 -05:00
ext Change TokenTreeOrTokenTreeVec to TokenTreeOrTokenTreeSlice. 2018-05-17 20:41:38 +10:00
parse Fix tuple struct field spans 2018-05-10 09:15:47 -07:00
print Fix assertion message generation 2018-05-06 12:13:32 +09:00
util AST/HIR: Merge field access expressions for named and numeric fields 2018-04-12 23:02:09 +03:00
ast.rs make it compile again 2018-05-02 12:05:13 +02:00
attr.rs Auto merge of #50030 - flip1995:rfc2103, r=petrochenkov 2018-05-03 11:52:03 +00:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
codemap.rs CodeMap functions refactored. 2018-03-18 20:46:29 -03:00
config.rs Rename ast::Variant_::name into ident + Fix rebase 2018-04-06 11:48:19 +03:00
diagnostic_list.rs Auto merge of #50030 - flip1995:rfc2103, r=petrochenkov 2018-05-03 11:52:03 +00:00
edition.rs Rename the 2018 edition lint names 2018-05-10 11:28:11 -07:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs rustc: Allow an edition's feature on that edition 2018-05-12 08:39:05 -06:00
fold.rs AST/HIR: Merge field access expressions for named and numeric fields 2018-04-12 23:02:09 +03:00
json.rs Approximate -> Applicability 2018-04-25 14:55:25 -07:00
lib.rs Add a Rayon thread pool 2018-05-13 01:28:20 +02:00
ptr.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
README.md Replace many of the last references to readmes 2018-03-16 12:43:22 -05:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs Reorder injection of std to get better compilation error 2018-04-16 12:28:30 -07:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Fixed tidy errors. 2018-04-26 17:49:24 +03:00
test_snippet.rs Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
tokenstream.rs proc_macro: Stay on the "use the cache" path more 2018-04-18 19:36:48 -07:00
visit.rs rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03: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: