rust/src/libsyntax
Guillaume Gomez 2917ac6b59 Rollup merge of #46827 - petrochenkov:assocrecov2, r=estebank
syntax: Follow-up to the incorrect qpath recovery PR

cc https://github.com/rust-lang/rust/pull/46788

Add tests checking that "priority" of qpath recovery is higher than priority of unary and binary operators
Fix regressed parsing of paths with fn-like generic arguments
r? @estebank
2017-12-21 13:18:18 +01:00
..
diagnostics Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
ext Implement non-mod.rs mod statements 2017-12-19 14:58:51 -08:00
parse Rollup merge of #46827 - petrochenkov:assocrecov2, r=estebank 2017-12-21 13:18:18 +01:00
print Fix whitespacing issues in pretty-printing of bounds 2017-12-20 00:23:18 +03:00
util Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs Move impls for qpath recovery trait from ast.rs 2017-12-20 22:43:47 +03:00
attr.rs Use Try syntax for Option in place of macros or match 2017-12-09 14:18:33 -08:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Remove rustc_bitflags; use the bitflags crate 2017-09-17 14:19:24 -04:00
codemap.rs incr.comp.: Revert hashing optimization that caused regression. 2017-12-15 16:50:07 -06:00
config.rs syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
diagnostic_list.rs Add support for ..= syntax 2017-09-22 22:05:18 +02:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Auto merge of #46531 - cramertj:no-mo-modrs, r=nikomatsakis 2017-12-21 05:24:45 +00:00
fold.rs add trait aliases to AST 2017-12-14 12:56:26 -05:00
json.rs Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
lib.rs syntax: recovery for incorrect associated item paths like [T; N]::clone 2017-12-17 19:00:50 +03:00
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 syntax: Rename P::unwrap into P::into_inner 2017-12-17 02:21:29 +03:00
test_snippet.rs Use PathBuf instead of String where applicable 2017-12-14 11:22:08 +01:00
tokenstream.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
visit.rs add trait aliases to AST 2017-12-14 12:56:26 -05: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.