about summary refs log tree commit diff
path: root/src/libsyntax/ext/base.rs
AgeCommit message (Expand)AuthorLines
2019-08-27Respect attributes on proc macro definitionsVadim Petrochenkov-2/+65
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
2019-07-11resolve/expand: `resolve_macro_invocation` no longer returns determinate errorsVadim Petrochenkov-13/+4
2019-07-11resolve: Make proc macro stubs less stubbyVadim Petrochenkov-1/+21
2019-07-11hygiene: Reuse `MacroKind` in `ExpnKind`Vadim Petrochenkov-10/+2
2019-07-11syntax: Make def-site span mandatory in ExpnInfo/MacroBacktrace/DiagnosticSpa...Vadim Petrochenkov-3/+1
2019-07-11expand: Get rid of `resolve_macro_path`Vadim Petrochenkov-3/+0
2019-07-11Rename some things in `syntax_pos/hygiene`Vadim Petrochenkov-7/+7
2019-07-11Move `MacroKind` into `libsyntax_pos`Vadim Petrochenkov-28/+1
2019-07-11Remove `MacroKind::ProcMacroStub`Vadim Petrochenkov-3/+0
2019-07-09Resolve `$crate` in all hygienic contexts for pretty-pringingVadim Petrochenkov-1/+1
2019-07-07Support deprecation checking for macrosVadim Petrochenkov-2/+5
2019-07-07syntax: Keep full `Stability` in `SyntaxExtension`Vadim Petrochenkov-4/+4
2019-07-07resolve/expand: Move macro stability checking to an earlier pointVadim Petrochenkov-2/+0
2019-07-07syntax: Remove `NodeId` from `SyntaxExtension`Vadim Petrochenkov-4/+4
2019-06-18resolve/expand: Move expansion info setting to a single earlier pointVadim Petrochenkov-1/+1
2019-06-18syntax: Move `default_transparency` into `ExpnInfo`Vadim Petrochenkov-1/+2
2019-06-18syntax: Remove `DummyResolver`Vadim Petrochenkov-25/+0
2019-06-18syntax: Factor out common fields from `SyntaxExtension` variantsVadim Petrochenkov-61/+87
2019-06-10syntax: Rename variants of `SyntaxExtension` for consistencyVadim Petrochenkov-30/+25
2019-06-10syntax: Improve documentation of `SyntaxExtension`Vadim Petrochenkov-36/+54
2019-06-10syntax: Remove `SyntaxExtension::DeclMacro`Vadim Petrochenkov-13/+5
2019-06-10syntax: Use `MultiItemModifier` for built-in derivesVadim Petrochenkov-5/+2
2019-06-10syntax: Remove `SyntaxExtension::MultiDecorator` and `MultiItemDecorator`Vadim Petrochenkov-33/+0
2019-06-10syntax: Remove `SyntaxExtension::IdentTT` and `IdentMacroExpander`Vadim Petrochenkov-38/+0
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-2/+3