about summary refs log tree commit diff
path: root/src/libsyntax/ext/base.rs
AgeCommit message (Expand)AuthorLines
2019-10-16move syntax::ext to new crate syntax_expandMazdak Farrokhzad-1188/+0
2019-10-15syntax::parse::sess -> syntax::sessMazdak Farrokhzad-4/+5
2019-10-03proc_macro: Add `Span::mixed_site` exposing `macro_rules` hygieneVadim Petrochenkov-0/+6
2019-09-26Rename `Item.node` to `Item.kind`varkor-1/+1
2019-09-26Rename `Stmt.node` to `Stmt.kind`varkor-2/+2
2019-09-26Rename `Ty.node` to `Ty.kind`varkor-1/+1
2019-09-26Rename `Lit.node` to `Lit.kind`varkor-1/+1
2019-09-26Rename `Pat.node` to `Pat.kind`varkor-2/+2
2019-09-26Rename `Expr.node` to `Expr.kind`varkor-3/+3
2019-09-24Rollup merge of #64698 - Centril:infer-const-with-stash, r=estebankMazdak Farrokhzad-4/+0
2019-09-24Stabilize `str::len`, `[T]::len`, `is_empty` and `str::as_bytes` as const fnOliver Scherer-27/+3
2019-09-23cleanup librustc_errors Handler code.Mazdak Farrokhzad-4/+0
2019-09-17Remove unused methods from HandlerMark Rousskov-3/+0
2019-09-15Remove `with_legacy_ctxt`Matthew Jasper-7/+0
2019-09-15Give more `Idents` spansMatthew Jasper-2/+2
2019-09-09Resolve attributes in several placesCaio-0/+140
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: libsyntaxAlexander Regueiro-1/+1
2019-09-07Rollup merge of #63919 - matthewjasper:remove-gensymmed, r=petrochenkovMazdak Farrokhzad-7/+13
2019-09-05Add `with_{def_site,call_site,legacy}_ctxt,` methods to `Span`Vadim Petrochenkov-7/+7
2019-09-05Make use of hygiene in AST passesMatthew Jasper-2/+0
2019-09-05Allow ast passes to create hygienic spansMatthew Jasper-1/+9
2019-09-03use TokenStream rather than &[TokenTree] for built-in macrosAleksey Kladov-15/+12
2019-08-29Rollup merge of #63867 - petrochenkov:dhelpers, r=matthewjasperMazdak Farrokhzad-1/+19
2019-08-27Respect attributes on proc macro definitionsVadim Petrochenkov-2/+65
2019-08-27resolve: Block expansion of a derive container until all its derives are reso...Vadim Petrochenkov-1/+19
2019-08-23Remove default macro transparenciesVadim Petrochenkov-20/+0
2019-08-23Audit uses of `apply_mark` in built-in macrosVadim Petrochenkov-7/+23
2019-08-21resolve/expand: Rename some things for clarity and add commentsVadim Petrochenkov-2/+3
2019-08-21expand: Do not do questionable span adjustment before eagerly expanding an ex...Vadim Petrochenkov-4/+1
2019-08-17resolve/expand: Rename some things for clarityVadim Petrochenkov-4/+4
2019-08-15hygiene: `ExpnInfo` -> `ExpnData`Vadim Petrochenkov-9/+9
2019-08-15hygiene: Merge `ExpnInfo` and `InternalExpnData`Vadim Petrochenkov-2/+3
2019-08-15hygiene: Remove `Option`s from functions returning `ExpnInfo`Vadim Petrochenkov-14/+7
2019-08-15`Ident::with_empty_ctxt` -> `Ident::with_dummy_span`Vadim Petrochenkov-1/+1
2019-08-15syntax_pos: `NO_EXPANSION`/`SyntaxContext::empty()` -> `SyntaxContext::root()`Vadim Petrochenkov-1/+1
2019-08-15Remove `Spanned` from `mk_name_value_item_str` and `expr_to_spanned_string`Vadim Petrochenkov-4/+4
2019-08-14Rollup merge of #63537 - petrochenkov:novisit, r=alexcrichtonMazdak Farrokhzad-4/+10
2019-08-14expand: Unimplement `MutVisitor` on `MacroExpander`Vadim Petrochenkov-4/+10
2019-08-13syntax: Remove `DummyResult::expn_only`Vadim Petrochenkov-33/+6
2019-08-10resolve: Remove remaining special cases from built-in macrosVadim Petrochenkov-2/+2
2019-08-05Auto merge of #63248 - petrochenkov:nomarker, r=matthewjasperbors-2/+16
2019-08-03Move special treatment of `derive(Copy, PartialEq, Eq)` from expansion infras...Vadim Petrochenkov-2/+16
2019-07-30Point at type ascription before macro invocation on expansion parse errorEsteban Küber-0/+2
2019-07-27syntax_ext: `proc_macro_decls` -> `proc_macro_harness`Vadim Petrochenkov-1/+1
2019-07-27Break dependencies between `syntax_ext` and some other cratesVadim Petrochenkov-1/+1
2019-07-26Introduce built-in macros through libcoreVadim Petrochenkov-1/+5
2019-07-23Make path::resolve a method on ExtCtxtJonas Schievink-1/+26
2019-07-19Adjust other names after the `Mark` renamingVadim Petrochenkov-7/+7
2019-07-19libsyntax: Remove `Mark` into `ExpnId`Vadim Petrochenkov-7/+7
2019-07-11hygiene: Introduce a helper method for creating new expansionsVadim Petrochenkov-0/+2