rust/src/libsyntax
bors ebec55406b Auto merge of #37824 - jseyfried:symbols, r=eddyb
Clean up `ast::Attribute`, `ast::CrateConfig`, and string interning

This PR
 - removes `ast::Attribute_` (changing `Attribute` from `Spanned<Attribute_>` to a struct),
 - moves a `MetaItem`'s name from the `MetaItemKind` variants to a field of `MetaItem`,
 - avoids needlessly wrapping `ast::MetaItem` with `P`,
 - moves string interning into `syntax::symbol` (`ast::Name` is a reexport of `symbol::Symbol` for now),
 - replaces `InternedString` with `Symbol` in the AST, HIR, and various other places, and
 - refactors `ast::CrateConfig` from a `Vec` to a `HashSet`.

r? @eddyb
2016-11-21 08:08:47 -06:00
..
diagnostics Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
ext Cleanup InternedString. 2016-11-21 09:00:56 +00:00
parse Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
print Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
util Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
abi.rs check target abi support 2016-10-24 15:59:53 +02:00
ast.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
attr.rs Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
Cargo.toml Change implementation of syntax::util::SmallVector to use data_structures::SmallVec. 2016-11-11 07:38:48 -07:00
codemap.rs Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
config.rs Move MetaItemKind's Name to a field of MetaItem. 2016-11-20 12:36:30 +00:00
diagnostic_list.rs Implement RFC#1559: allow all literals in attributes. 2016-08-25 13:25:22 -07:00
entry.rs Cleanup InternedString. 2016-11-21 09:00:56 +00:00
feature_gate.rs Auto merge of #37824 - jseyfried:symbols, r=eddyb 2016-11-21 08:08:47 -06:00
fold.rs Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
json.rs Allow supplying an error destination via the compiler driver 2016-09-28 16:20:30 +13:00
lib.rs Remove Rc from the interner. 2016-11-21 09:00:56 +00:00
ptr.rs Documentation for default types modified 2016-09-11 22:58:01 +05:30
show_span.rs Remove the type parameter from syntax::visit::Visitor 2016-06-14 07:40:32 +00:00
std_inject.rs Move syntax::util::interner -> syntax::symbol, cleanup. 2016-11-20 23:40:20 +00:00
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
symbol.rs Remove Rc from the interner. 2016-11-21 09:00:56 +00:00
test.rs Use Symbol instead of InternedString in the AST, HIR, and various other places. 2016-11-21 09:00:55 +00:00
tokenstream.rs Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
visit.rs syntax: don't fake a block around closures' bodies during parsing. 2016-11-10 01:44:45 +02:00