rust/src/libsyntax
bors bd455ef165 Auto merge of #52552 - eddyb:proc-macro-prep, r=alexcrichton
Prepare proc_macro for decoupling it from the rest of the compiler.

This is #49219 up to the point where the bridge is introduced. Aside from moving some code around, the largest change is the rewrite of `proc_macro::quote` to be simpler and do less introspection.

I'd like to also extend `quote!` with `${stmt;...;expr}` instead of just `$variable` (and maybe even `$(... $iter ...)*`), which seems pretty straight-forward now, but I don't know if/when I should.

r? @alexcrichton or @dtolnay cc @jseyfried @petrochenkov
2018-07-21 08:31:32 +00:00
..
attr Improving span of unknown lint tool error message 2018-07-04 14:28:44 +02:00
diagnostics Deny bare trait objects in in src/libsyntax 2018-07-10 21:06:26 +02:00
ext rustc: Fix two custom attributes with custom derive 2018-07-19 07:46:44 -07:00
parse Auto merge of #52552 - eddyb:proc-macro-prep, r=alexcrichton 2018-07-21 08:31:32 +00:00
print Implement existential types 2018-07-18 10:53:08 +02:00
util Remove some tests using AST comparisons, fix other tests 2018-07-14 14:57:14 +03:00
ast.rs Implement existential types 2018-07-18 10:53:08 +02:00
build.rs
Cargo.toml
codemap.rs Rollup merge of #52224 - ljedrz:dyn_libsyntax, r=oli-obk 2018-07-11 12:38:39 -06:00
config.rs
diagnostic_list.rs
entry.rs
feature_gate.rs Auto merge of #52445 - alexcrichton:wasm-import-module, r=eddyb 2018-07-20 06:40:10 +00:00
fold.rs Implement existential types 2018-07-18 10:53:08 +02:00
json.rs Deny bare trait objects in in src/libsyntax 2018-07-10 21:06:26 +02:00
lib.rs Deny bare trait objects in in src/libsyntax 2018-07-10 21:06:26 +02:00
ptr.rs Remove most of PartialEq impls from AST and HIR structures 2018-07-14 14:56:57 +03:00
README.md
show_span.rs
std_inject.rs Implement #[macro_export(local_inner_macros)] 2018-06-27 13:10:16 +03:00
str.rs
test_snippet.rs Remove the now redundant CodeMap::new_filemap_with_lines() method. 2018-06-27 14:00:34 +02:00
test.rs Address comments 2018-07-14 14:57:15 +03:00
tokenstream.rs Remove most of Hash impls from AST and HIR structures 2018-07-14 14:57:14 +03:00
visit.rs Implement existential types 2018-07-18 10:53:08 +02: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: