rust/src/libsyntax
kennytm 297a6e580d
Rollup merge of #49299 - SimonSapin:ubiquity, r=nikomatsakis
Stabilize the copy_closures and clone_closures features

In addition to the `Fn*` family of traits, closures now implement `Copy` (and similarly `Clone`) if all of the captures do.

Tracking issue: https://github.com/rust-lang/rust/issues/44490
2018-03-25 01:30:12 +08:00
..
diagnostics Allow raw identifiers in diagnostic macros. 2018-03-18 13:27:56 -05:00
ext Clean up raw identifier handling when recovering tokens from AST. 2018-03-22 10:34:51 -05:00
parse Better diagnostics for '..' pattern fragment not in the last position 2018-03-24 07:54:20 +09:00
print Initial implementation of RFC 2151, Raw Identifiers 2018-03-18 10:07:19 -05:00
util Replace Rc with Lrc for shared data 2018-03-02 10:48:52 +01:00
abi.rs add thiscall calling convention support 2017-05-24 16:40:03 -04:00
ast.rs Initial implementation of RFC 2151, Raw Identifiers 2018-03-18 10:07:19 -05:00
attr.rs Initial implementation of RFC 2151, Raw Identifiers 2018-03-18 10:07:19 -05:00
build.rs rustc: Add some build scripts for librustc crates 2017-07-22 22:04:13 -07:00
Cargo.toml Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
codemap.rs CodeMap functions refactored. 2018-03-18 20:46:29 -03:00
config.rs rename epoch to edition 2018-03-20 10:27:02 -07:00
diagnostic_list.rs Stabilize inclusive_range_syntax language feature. 2018-03-15 16:58:02 +08:00
edition.rs change all appropriate EPOCH to EDITION 2018-03-20 10:27:02 -07:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Rollup merge of #49299 - SimonSapin:ubiquity, r=nikomatsakis 2018-03-25 01:30:12 +08:00
fold.rs Initial implementation of RFC 2151, Raw Identifiers 2018-03-18 10:07:19 -05:00
json.rs Require the code mapper to be thread-safe 2018-03-15 00:43:03 +01:00
lib.rs rename epoch to edition 2018-03-20 10:27:02 -07: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 Rename Span::empty to Span::shrink_to_lo, add Span::shrink_to_hi 2018-03-17 22:12:21 +03:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs Rollup merge of #49162 - tmandry:stabilize-termination-trait, r=nikomatsakis 2018-03-25 01:26:32 +08:00
test_snippet.rs Remove syntax and syntax_pos thread locals 2018-03-14 11:56:01 +01:00
tokenstream.rs Initial implementation of RFC 2151, Raw Identifiers 2018-03-18 10:07:19 -05:00
visit.rs AST: Make renames in imports closer to the source 2018-03-17 22:12:21 +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: