rust/src/libsyntax/ext/pipes
bors 6351515d98 auto merge of #5005 : alexcrichton/rust/bitv++, r=catamorphism
These commits take the old bitv implementation and modernize it with an explicit self, some minor touchups, and using what I think is some more recent patterns (like `::new` instead of `Type()`).

Additionally, this adds an implementation of `container::Set` on top of a bit vector to have as a set of `uint`s. I initially tried to parameterize the type for the set to be `T: NumCast` but I was hitting build problems in stage0 which I think means that it's not in a snapshot yet, so it's just hardcoded as a set of `uint`s now. In the future perhaps it could be parameterized. I'm not sure if it would really add anything, though, so maybe it's nicer to be hardcoded anyway.

I also added some extra methods to do normal bit vector operations on the set in-place, but these aren't a part of the `Set` trait right now. I haven't benchmarked any of these operations just yet, but I imagine that there's quite a lot of room for optimization here and there.
2013-02-18 18:40:33 -08:00
..
ast_builder.rs auto merge of #5004 : luqmana/rust/rename-use-import, r=catamorphism 2013-02-18 17:48:34 -08:00
check.rs libsyntax: Explicit-self-ify pipes compiler. 2013-02-17 05:25:26 -05:00
liveness.rs Modernize bitv mut fields and explicit self 2013-02-17 23:09:20 -05:00
mod.rs libsyntax: De-export libsyntax. rs=deexporting 2013-01-29 14:42:23 -08:00
parse_proto.rs libsyntax: Explicit-self-ify pipes compiler. 2013-02-17 05:25:26 -05:00
pipec.rs libsyntax: Long lines. 2013-02-17 05:25:26 -05:00
proto.rs libsyntax: Explicit-self-ify pipes compiler. 2013-02-17 05:25:26 -05:00