rust/src/libsyntax
kennytm dc9d93f220
Rollup merge of #48167 - Mark-Simulacrum:remove-allocation-codemap, r=estebank
Remove allocation from width of character function.

Locally this seems to eliminate the problem or at least resolve most of the
issue.

Fixes #48153.

r? @estebank
2018-02-14 18:25:27 +08:00
..
diagnostics Add error code for unstable feature errors 2018-01-15 10:28:00 +01:00
ext Auto merge of #47752 - mark-i-m:at-most-once-rep, r=nikomatsakis 2018-02-11 18:11:01 +00:00
parse Continue parsing function after finding ... arg 2018-02-11 22:10:35 -08:00
print Rollup merge of #47502 - petrochenkov:label, r=eddyb 2018-01-25 12:48:49 -06:00
util Move ExprPrecedence to libsyntax/util/parser.rs 2018-01-15 15:09:39 -08:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs stabilize match_beginning_vert 2018-01-30 16:00:55 -06:00
attr.rs Implement repr(transparent) 2018-01-16 08:58:32 +01:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Try to fix a perf regression by updating log 2018-01-07 16:54:05 +01:00
codemap.rs Remove allocation from width of character function. 2018-02-12 12:28:32 -07:00
config.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
diagnostic_list.rs Add error code for unstable feature errors 2018-01-15 10:28:00 +01:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Rollup merge of #48130 - ollie27:stab, r=Mark-Simulacrum 2018-02-14 18:25:16 +08:00
fold.rs stabilize match_beginning_vert 2018-01-30 16:00:55 -06:00
json.rs Auto merge of #47540 - Manishearth:suggestion, r=nrc 2018-02-01 04:47:46 +00:00
lib.rs Add internal-only rustc_serialize_exclude_null attribute for making the field only exist in the json if the flag is passed 2018-01-29 11:41:03 +05:30
ptr.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
README.md rework the README.md for rustc and add other readmes 2017-09-19 09:00:59 -04:00
show_span.rs use field init shorthand EVERYWHERE 2017-08-15 15:29:17 -07:00
std_inject.rs Improve pretty printing $crate:: paths. 2017-12-12 22:32:19 -08:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Do not capture stderr in the compiler. Instead just panic silently for fatal errors 2018-01-26 04:52:30 +01:00
test_snippet.rs Toggle span highlighting on -Zteach 2018-01-29 08:59:15 -08:00
tokenstream.rs Glued tokens can themselves be joint. 2018-01-10 17:20:04 -08:00
visit.rs Rollup merge of #47502 - petrochenkov:label, r=eddyb 2018-01-25 12:48:49 -06:00

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

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.