rust/src/rustc/middle/trans
Tim Chevalier f7bbe537c1 Allow explicit self-calls within classes
Allow writing self.f() within a class that has a method f. In a future
commit, this syntax will be required. For now, you can write either
self.f() or f().

I added a "privacy" field to all methods (whether class methods or not),
which allowed me to refactor the AST somewhat (getting rid of the
class_item type; now there's just class_member).
2012-03-28 20:30:07 -07:00
..
alt.rs Move some code over to iterator-for to see how it performs. 2012-03-27 15:46:33 +02:00
base.rs Allow explicit self-calls within classes 2012-03-28 20:30:07 -07:00
build.rs Move some code over to iterator-for to see how it performs. 2012-03-27 15:46:33 +02:00
closure.rs Move some code over to iterator-for to see how it performs. 2012-03-27 15:46:33 +02:00
common.rs Enforce mutability declarations in classes; correct shapes for classes 2012-03-27 22:11:58 -07:00
debuginfo.rs Bulk-edit mutable -> mut. 2012-03-26 18:35:18 -07:00
impl.rs Move some code over to iterator-for to see how it performs. 2012-03-27 15:46:33 +02:00
native.rs Move some code over to iterator-for to see how it performs. 2012-03-27 15:46:33 +02:00
reachable.rs Allow explicit self-calls within classes 2012-03-28 20:30:07 -07:00
shape.rs Enforce mutability declarations in classes; correct shapes for classes 2012-03-27 22:11:58 -07:00
tvec.rs Move some code over to iterator-for to see how it performs. 2012-03-27 15:46:33 +02:00
type_of.rs Move some code over to iterator-for to see how it performs. 2012-03-27 15:46:33 +02:00
type_use.rs Make sure type_use.rs doesn't get lost in recursive enums 2012-03-28 10:35:16 +02:00
uniq.rs Remove more needless context threading in trans 2012-03-23 14:45:47 +01:00