rust/src/libsyntax
Nicholas Nethercote b1aae607c5 Tweak naming and ordering in StringReader::bump().
This patch removes the "old"/"new" names in favour of "foo"/"next_foo",
which matches the field names.

It also moves the setting of `self.{ch,pos,next_pos}` in the common case
to the end, so that the meaning of "foo"/"next_foo" is consistent until
the end.
2018-05-13 17:16:02 +10:00
..
diagnostics
ext Auto merge of #50413 - kennytm:rollup, r=kennytm 2018-05-03 20:45:54 +00:00
parse Tweak naming and ordering in StringReader::bump(). 2018-05-13 17:16:02 +10: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
Cargo.toml rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
codemap.rs
config.rs
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
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
README.md
show_span.rs
std_inject.rs Reorder injection of std to get better compilation error 2018-04-16 12:28:30 -07:00
str.rs Inline char_at() and record_width. 2018-05-13 17:16:02 +10:00
test_snippet.rs
test.rs Fixed tidy errors. 2018-04-26 17:49:24 +03: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: