summary refs log tree commit diff
path: root/src/libproc_macro
AgeCommit message (Expand)AuthorLines
2018-02-06proc_macro: don't panic parsing ..= (fix #47950)Alex Burka-1/+1
2018-01-12Auto merge of #46551 - jseyfried:improve_legacy_modern_macro_interaction, r=nrcbors-1/+1
2018-01-06Auto merge of #47099 - SergioBenitez:master, r=jseyfriedbors-0/+15
2018-01-05Rollup merge of #47150 - dtolnay:join, r=jseyfriedkennytm-1/+1
2018-01-03Add 'Span.parent()' and 'Span.source()' to proc_macro API.Sergio Benitez-0/+15
2018-01-02Span::resolved_at and Span::located_at to combine behavior of two spansDavid Tolnay-0/+14
2018-01-02Return None from Span::join if in different filesDavid Tolnay-1/+1
2017-12-15Rollup merge of #46690 - mystor:pub_line_column, r=jseyfriedSteve Klabnik-2/+4
2017-12-14Use PathBuf instead of String where applicableOliver Schneider-10/+10
2017-12-13Improve interaction between macros 2.0 and `macro_rules!`.Jeffrey Seyfried-1/+1
2017-12-12Expose the line and column fields from the proc_macro::LineColumn structNika Layzell-2/+4
2017-11-28Fix hygiene bug.Jeffrey Seyfried-1/+1
2017-11-14Rename `Span::default` -> `Span::def_site`.Jeffrey Seyfried-5/+6
2017-11-09proc_macro: use the proc_macro API at runtime to construct quasi-quoted Token...Eduard-Mihai Burtescu-130/+118
2017-11-09proc_macro: process proc_macro tokens instead of libsyntax ones in the quasi-...Eduard-Mihai Burtescu-153/+167
2017-10-08Make the result of `Literal::string()` more readableChris Wong-1/+1
2017-10-05`proc_macro::Span` API improvementsAustin Bonander-3/+128
2017-09-22Add support for `..=` syntaxAlex Burka-2/+4
2017-09-18rustc: Forbid interpolated tokens in the HIRAlex Crichton-71/+5
2017-08-30Rollup merge of #44125 - SergioBenitez:master, r=nrcAlex Crichton-0/+157
2017-08-30Make fields of `Span` privateVadim Petrochenkov-9/+6
2017-08-28Initial diagnostic API for proc-macros.Sergio Benitez-0/+157
2017-08-25*: remove crate_{name,type} attributesTamir Duberstein-3/+0
2017-08-23Rollup merge of #44016 - steffengy:master, r=alexcrichtonCorey Farwell-2/+2
2017-08-21libproc_macro docs: fix brace and bracket mixupSteffen-2/+2
2017-08-20Add PartialEq/Eq impls to proc_macro::{Spacing, Delimiter}Lukas Kalbertodt-2/+2
2017-08-11Fix some more typos, this time words that are duplicated.Bastien Orivel-1/+1
2017-07-28syntax: Capture a `TokenStream` when parsing itemsAlex Crichton-6/+57
2017-07-28proc_macro: Use an item's tokens if availableAlex Crichton-8/+20
2017-07-17Add #[derive(Clone)] to TokenTreeIterChris Wong-0/+1
2017-07-15Auto merge of #43179 - oli-obk:mark_all_the_expansions, r=jseyfriedbors-2/+11
2017-07-12Rollup merge of #43098 - alexcrichton:more-proc-macro, r=jseyfriedMark Simulacrum-1/+1
2017-07-12Reintroduce expansion info for proc macros 1.1Oliver Schneider-2/+11
2017-07-07Address review commentspetrochenkov-1/+1
2017-07-06Add `isize` and `usize` constructors to LiteralAlex Crichton-1/+1
2017-06-26Address review comments.Jeffrey Seyfried-83/+123
2017-06-26Add `LazyTokenStream`.Jeffrey Seyfried-8/+28
2017-06-26Implement `quote!` and other `proc_macro` API.Jeffrey Seyfried-24/+710
2017-06-26Clean up `tokenstream::Cursor` and `proc_macro`.Jeffrey Seyfried-17/+11
2017-06-26Simplify `hygiene::Mark` application, andJeffrey Seyfried-12/+16
2017-06-15Update older URLs pointing to the first edition of the BookWonwoo Choi-1/+1
2017-03-12Add doc attributes to proc_macro crateOliver Middleton-0/+7
2017-03-10rustbuild: Build documentation for `proc_macro`Alex Crichton-1/+1
2017-03-03Integrate `TokenStream`.Jeffrey Seyfried-4/+3
2017-03-02Rollup merge of #40129 - abonander:proc_macro_bang, r=jseyfriedCorey Farwell-0/+4
2017-02-28Implement function-like procedural macros ( `#[proc_macro]`)Austin Bonander-0/+4
2017-02-28Add `syntax::ext::tt::quoted::{TokenTree, ..}` and remove `tokenstream::Token...Jeffrey Seyfried-2/+1
2017-01-22Refactor `TokenStream`.Jeffrey Seyfried-5/+6
2017-01-15Refactor `proc_macro::TokenStream` to use `syntax::tokenstream::TokenStream`;...Austin Bonander-26/+47
2017-01-08Auto merge of #38679 - alexcrichton:always-deny-warnings, r=nrcbors-1/+1