Oliver Schneider
c4d5a1e17b
Produce expansion info for more builtin macros
2017-09-04 11:03:19 +02:00
Jeffrey Seyfried
d4488b7df9
Simplify hygiene::Mark
application, and
...
remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`.
2017-06-26 02:05:45 +00:00
Vadim Petrochenkov
32575a0487
Give spans to individual path segments in AST
2017-03-10 08:21:45 -08:00
Jeffrey Seyfried
f10f50b426
Refactor how global paths are represented (for both ast and hir).
2016-12-22 06:14:35 +00:00
Jeffrey Seyfried
8e61ff25d8
Optimize ast::PathSegment
.
2016-12-19 20:57:00 +00:00
Jeffrey Seyfried
d2f8fb0a0a
Move syntax::util::interner
-> syntax::symbol
, cleanup.
2016-11-20 23:40:20 +00:00
Tim Neumann
b0dba7439d
make emit_feature_err take a ParseSess
2016-09-26 07:07:41 +02:00
Srinivas Reddy Thatiparthy
d652639524
run rustfmt on libsyntax_ext folder
2016-08-12 09:40:12 +05:30
Jeffrey Seyfried
8eddf02800
Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth
...
Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`.
2016-06-26 02:18:43 +00:00
Jeffrey Seyfried
82a15a6a0a
Rollup merge of #34385 - cgswords:tstream, r=nrc
...
syntax-[breaking-change] cc #31645
(Only breaking because ast::TokenTree is now tokenstream::TokenTree.)
This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566).
2016-06-26 02:11:59 +00:00
Jonathan Turner
6ae3502134
Move errors from libsyntax to its own crate
2016-06-23 08:07:35 -04:00
cgswords
d59accfb06
Refactored tokentrees into their own files in preparation for tokenstreams. Modified tests to point to the new file now.
2016-06-21 11:12:36 -07:00
Jeffrey Seyfried
5033eca65f
Generalize and abstract ThinAttributes
2016-06-19 00:01:55 +00:00
Niko Matsakis
75543c08c7
simplify HR subtyping back to what we did before
...
A lot of the refactors, however, seem helpful, so leave those in,
particularly since we may want to make this change in the future.
2016-05-31 19:42:22 -04:00
Jeffrey Seyfried
e992794282
Allow concat_idents!
in type positions as well as in expression positions
2016-05-19 09:25:59 +00:00
Vadim Petrochenkov
546c052d22
syntax: Get rid of token::IdentStyle
2016-04-24 20:59:44 +03:00
Oliver Schneider
80bf9ae18a
[breaking-change] don't glob export ast::Expr_ variants
2016-02-11 12:34:48 +01:00
Seo Sanghyeon
f9ba107824
Move built-in syntax extensions to a separate crate
2015-12-15 15:04:46 +09:00