summary refs log tree commit diff
path: root/src/rustc/syntax/ast_util.rs
AgeCommit message (Collapse)AuthorLines
2012-03-26rustc: Move eval_const_expr to its own modBrian Anderson-166/+0
2012-03-26Enforce privacy declarations for class fields and methodsTim Chevalier-4/+17
2012-03-23Implement built-in native modules as an alternative to intrinsicsMarijn Haverbeke-0/+3
Issue #1981
2012-03-21add mut decls to rustc and make them mandatoryNiko Matsakis-4/+4
2012-03-21methods workTim Chevalier-1/+3
Cross-crate method calls don't work yet. Added run-pass/class-method-cross-crate to test that, but it's xfailed References to fields within methods don't work yet. Added run-pass/class-methods to test that, but it's also xfailed
2012-03-20Class methods WIPTim Chevalier-1/+15
In particular, use the ast::method type to represent a class method, and try to reuse as much iface code as possible. (This makes sense now since I'll be allowing polymorphic class methods.)
2012-03-14std: Rename the hashmap constructors to conform to new standardsBrian Anderson-1/+1
Instead of using the new_ prefix just name them after their type
2012-03-14Add crude support for casts in constant expressionsMarijn Haverbeke-21/+42
Only casts to integral and float types are supported Closes #1975
2012-03-13Overhaul constructor naming in libsBrian Anderson-1/+1
2012-03-09rustc: Add region def ids to the ASTPatrick Walton-1/+1
2012-03-09Revert "rustc: Create def IDs for region parameters"Patrick Walton-2/+1
This reverts commit 0d4cb759494f9589ba57c4f2c41f5a5737ab74e0.
2012-03-09rustc: Create def IDs for region parametersPatrick Walton-1/+2
2012-03-08Explicitly store self_ids use for self locals in methodsMarijn Haverbeke-1/+1
This makes it possible to move them between crates without confusion, and to instantiate them at a point where the monomorphizing substitutions are known. Issue #1944
2012-03-08rustc: Add the safe address-of operator to the ASTPatrick Walton-0/+1
2012-03-02Move src/comp to src/rustcGraydon Hoare-0/+443