rust/src/libsyntax
bors 64963d6cba auto merge of #6611 : huonw/rust/syntax-ext-no-dup, r=jbclements
Fixes https://github.com/mozilla/rust/issues/6578 by merging the 3 different ways to build an AST into a single `AstBuilder` trait, creating a more uniform and briefer interface.

Also, converts the `ext_ctxt` trait-object to be a plain struct, as well as renaming it to `ExtCtxt`.

Seems to make expansion slightly faster for the normal case (e.g. `libcore` and `libstd`), but slower for `librustc` (slightly) and `libsyntax` (0.3s -> 0.8s! I'm investigating this, but I'd prefer this patch to land relatively quickly.).

`git blame` suggests maybe @graydon or @erickt are familiar with this area of the code. r?
2013-05-21 10:43:17 -07:00
..
ext syntax/ext: convert all AstBuilder methods to a uniform syntax. 2013-05-22 00:30:52 +10:00
parse Correct span for expr_vec 2013-05-21 19:08:34 +09:00
print Remove all unnecessary allocations (as flagged by lint) 2013-05-20 16:10:40 -05:00
util getting rid of interner_key! macro 2013-05-20 11:49:21 -07:00
abi.rs Register snapshots 2013-05-19 23:34:32 -07:00
ast.rs getting rid of interner_key! macro 2013-05-20 11:49:21 -07:00
ast_map.rs Remove all unnecessary allocations (as flagged by lint) 2013-05-20 16:10:40 -05:00
ast_util.rs Remove all unnecessary allocations (as flagged by lint) 2013-05-20 16:10:40 -05:00
attr.rs Remove all unnecessary allocations (as flagged by lint) 2013-05-20 16:10:40 -05:00
codemap.rs Register snapshots 2013-05-19 23:34:32 -07:00
diagnostic.rs Remove all unnecessary allocations (as flagged by lint) 2013-05-20 16:10:40 -05:00
fold.rs minor automated whitespace fixes 2013-05-18 22:40:12 -04:00
opt_vec.rs auto merge of #6635 : brson/rust/snapshot, r=brson 2013-05-20 02:46:36 -07:00
syntax.rc getting rid of interner_key! macro 2013-05-20 11:49:21 -07:00
visit.rs syntax: Remove #[allow(vecs_implicitly_copyable)] 2013-05-14 12:24:43 -04:00