summary refs log tree commit diff
path: root/src/libsyntax_pos/hygiene.rs
AgeCommit message (Collapse)AuthorLines
2017-09-23Compress "small" spans to 32 bits and intern "large" spansVadim Petrochenkov-1/+1
2017-08-18Auto merge of #43832 - huntiep:compiler-desugaring-enum, r=nikomatsakisbors-3/+23
Implement CompilerDesugaringKind enum This is the first step outlined in #35946. I think that the variants of `CompilerDesugaringKind` should be changed, I didn't know what the official names for `...` and `<-` are. I'm not to sure how tests for the compiler work, but I would imagine that tests should be added such that `Symbol::intern(s) == CompilerDesugaringKind::from(s).as_symbol()` for valid `s`.
2017-08-16Use direct references to CompilerDesugaringKindHunter Praska-12/+0
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-1/+1
Like #43008 (f668999), but _much more aggressive_.
2017-08-12Implement CompilerDesugaringKind enumHunter Praska-3/+35
2017-08-12syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros.Eduard-Mihai Burtescu-0/+3
2017-06-26Simplify `hygiene::Mark` application, andJeffrey Seyfried-15/+9
remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`.
2017-05-25Improve efficiency.Jeffrey Seyfried-6/+13
2017-05-25Hygienize `librustc_typeck`.Jeffrey Seyfried-1/+19
2017-05-25Hygienize `librustc_resolve`.Jeffrey Seyfried-22/+170
2017-03-29Merge `ExpnId` and `SyntaxContext`.Jeffrey Seyfried-7/+87
2017-03-29Move `syntax::ext::hygiene` to `syntax_pos::hygiene`.Jeffrey Seyfried-0/+122