about summary refs log tree commit diff
path: root/src/libsyntax/ext/tt
AgeCommit message (Collapse)AuthorLines
2013-03-05core: convert vec::{last,last_opt} to return referencesErick Tryzelaar-1/+1
2013-03-04Remove unused imports throughout src/Alex Crichton-6/+0
2013-03-02libsyntax: add some more explicit copies for vecs_implicitly_copyable)Erick Tryzelaar-7/+8
2013-03-01Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-0/+2
2013-02-28Fix implicit leaks of imports throughout librariesAlex Crichton-0/+2
Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub'
2013-02-26libsyntax: add some more explicit copiesErick Tryzelaar-10/+15
2013-02-26libsyntax: remove vecs_implicitly_copyable from the syntax extensionsErick Tryzelaar-24/+30
2013-02-26libsyntax: change token::to_str to take &TokenErick Tryzelaar-2/+2
2013-02-25libsyntax: add some explicit copiesErick Tryzelaar-1/+1
2013-02-25libsyntax: convert visit to pass ty_params by referenceErick Tryzelaar-4/+9
2013-02-22libsyntax: De-mut the parser. rs=demutingPatrick Walton-4/+4
2013-02-22libsyntax: De-mut the macro parser. rs=demutingPatrick Walton-12/+12
2013-02-22libsyntax: De-mut the pipe compilerPatrick Walton-1/+1
2013-02-21librustc: De-mut some of transPatrick Walton-6/+6
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-17/+26
2013-02-19libsyntax: make enum variants take refsErick Tryzelaar-5/+6
2013-02-15libsyntax: Get rid of uses of `move` and don't parse it.Luqman Aden-14/+14
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-3/+3
2013-02-08oldmap: get rid of legacy _ref suffixesDaniel Micay-1/+1
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-68/+83
2013-02-04lines too longJohn Clements-11/+12
2013-02-04demodeing, un-gc-ingJohn Clements-26/+27
It looks to me like the string_reader and tt_reader structs are GC pointers only because they predate the modern borrow system. This commit leaves the type names string_reader and tt_reader alone (they still refer to GC-ed pointers), but internally the functions now use borrowed pointers to refer to these structures. My guess would be that it's possible to move this change outward and not use the GCed pointers at all, but that change looks like it could be a larger one. Actually, I'm delighted at how quick this change was.
2013-02-03oldmap: use &K instead of K in find and getDaniel Micay-3/+3
2013-02-03oldmap: get rid of the legacy contains_key methodDaniel Micay-1/+1
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-6/+6
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-01-31test cases, cleanupJohn Clements-13/+12
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-3/+3
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-28/+29
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-3/+5
2013-01-23renaming to adhere to conventionsJohn Clements-11/+8
2013-01-20Convert many libsyntax records into structsErick Tryzelaar-3/+6
Specifically: ast_map::ctx ast_util::id_range diagnostic::{handler_t,codemap_t} auto_encode::field ext::base::{macro_def,syntax_expander_tt,syntax_expander_tt_item} ext::pipes::proto::next_state
2013-01-15librustc: Make the default sigil for block lambdas `&` instead of `@`.Graydon Hoare-2/+2
2013-01-09syntax: convert ast::spanned into a structErick Tryzelaar-4/+4
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-4/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2013-01-08Rename identifiers that still use 'alt' to use 'match'Lindsey Kuper-1/+1
This'll be less confusing for anyone who works on match in future.
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-21/+38
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-4/+5
2012-12-04librustc: Long lines. rs=rustbotPatrick Walton-6/+15
2012-12-04librustc: Implement moves based on type. r=nmatsakisPatrick Walton-2/+2
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-37/+37
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+30
2012-11-29Properly sync macro_parser.rs after it escapes out to the Rust parser. ↵Paul Stansifer-5/+1
Closes #3201.
2012-11-29No longer parse the delimiters of the RHS of a macro as part of the expansion.Paul Stansifer-3/+10
2012-11-29Make it possible to expand stmt macros.Paul Stansifer-3/+4
2012-11-29Make it possible to invoke item macros without passing identifier arguments.Paul Stansifer-2/+2
2012-11-29Allow `macro_rules!` macros to expand to expressions or items.Paul Stansifer-5/+8
2012-11-18Remove unused file_type enum from the parserBrian Anderson-4/+4
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-3/+3