rust/src/libsyntax
Nicholas Nethercote 46fa818d34 Change String to &'static str in ParseResult::Failure.
This avoids 770,000 allocations when compiling the `html5ever`
benchmark, reducing instruction counts by up to 2%.
2019-01-09 15:16:19 +11:00
..
attr Remove licenses 2018-12-25 21:08:33 -07:00
diagnostics Remove licenses 2018-12-25 21:08:33 -07:00
ext Change String to &'static str in ParseResult::Failure. 2019-01-09 15:16:19 +11:00
parse Auto merge of #57251 - petrochenkov:reregr, r=varkor 2019-01-02 09:24:10 +00:00
print AST/HIR: Introduce ExprKind::Err for better error recovery in the front-end 2018-12-27 15:51:36 +03:00
util AST/HIR: Introduce ExprKind::Err for better error recovery in the front-end 2018-12-27 15:51:36 +03:00
ast.rs Get rid of Block::recovered 2018-12-27 15:51:36 +03:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Upgrade smallvec to 0.6.7 and use the new may_dangle feature. 2018-12-10 09:31:27 +11:00
config.rs Remove licenses 2018-12-25 21:08:33 -07:00
diagnostic_list.rs Remove licenses 2018-12-25 21:08:33 -07:00
early_buffered_lints.rs Remove licenses 2018-12-25 21:08:33 -07:00
entry.rs Remove licenses 2018-12-25 21:08:33 -07:00
feature_gate.rs Implement the re-rebalance coherence rfc 2019-01-03 22:26:40 +01:00
fold.rs Get rid of Block::recovered 2018-12-27 15:51:36 +03:00
json.rs Remove licenses 2018-12-25 21:08:33 -07:00
lib.rs make panictry! private to libsyntax 2019-01-02 11:02:30 -05:00
ptr.rs Remove licenses 2018-12-25 21:08:33 -07:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
show_span.rs Remove licenses 2018-12-25 21:08:33 -07:00
source_map.rs Remove licenses 2018-12-25 21:08:33 -07:00
std_inject.rs Remove licenses 2018-12-25 21:08:33 -07:00
test.rs Remove licenses 2018-12-25 21:08:33 -07:00
test_snippet.rs Remove licenses 2018-12-25 21:08:33 -07:00
tokenstream.rs Remove licenses 2018-12-25 21:08:33 -07:00
visit.rs AST/HIR: Introduce ExprKind::Err for better error recovery in the front-end 2018-12-27 15:51:36 +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: