summary refs log tree commit diff
path: root/src/libsyntax/ast_map.rs
AgeCommit message (Collapse)AuthorLines
2012-10-08Revert "remove ctor from ast"Tim Chevalier-1/+19
This reverts commit ed3689d57c988e1dd477930d957c4308c37d1a64.
2012-10-08remove ctor from astNiko Matsakis-19/+1
2012-09-28demode vecNiko Matsakis-1/+1
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-2/+2
2012-09-26turn ast::ident into a structErick Tryzelaar-4/+4
This will help with the auto_serialize2 migration. We have to change ident from a type alias to uint into a unique type. We need to use a struct instead of a "enum ident = token::str_num" because structs support constants, but newtypes do not.
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-22/+0
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-1/+1
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+22
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-7/+7
2012-09-19Remove redundant hashmap constructor functions.Graydon Hoare-1/+1
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-2/+4
Note that the method foo.each() is not de-moded, nor the other vec routines.
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-4/+2
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-2/+4
2012-09-10Convert std::map to camel caseBrian Anderson-2/+2
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+1
2012-09-04Allow anonymous extern modsTim Chevalier-1/+8
Now you can write: extern { f() -> int; } and f will be accessible in the enclosing scope.
2012-09-04Remove 'with'Brian Anderson-2/+2
2012-09-04libsyntax: "import" -> "use"Patrick Walton-7/+7
2012-08-31rustc: Implement "use mod"Patrick Walton-1/+1
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-1/+24
2012-08-27rustc: more pattern cleanupErick Tryzelaar-4/+4
2012-08-26Camel case the option typeBrian Anderson-14/+14
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-20/+20
2012-08-23Infer variance of types with respect to the region parameter.Niko Matsakis-1/+14
A similar approach could be used for type parameters. Fixes #2282.
2012-08-22intern identifiersPaul Stansifer-18/+19
2012-08-17make borrowck more conservative around rvalues.Niko Matsakis-1/+12
this will require more temporaries, but is probably less magical. also, it means that borrowck matches trans better, so fewer crashes. bonus. Finally, stop warning about implicit copies when we are actually borrowing. Also, one test (vec-res-add) stopped failing due to #2587, and hence I added an xfail-test. Fixes #3217, #2977, #3067
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-2/+1
2012-08-15Convert more core types to camel caseBrian Anderson-2/+2
2012-08-08Convert impls to new syntaxBrian Anderson-1/+0
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-2/+2
2012-08-07rustc: Box struct_defsPatrick Walton-1/+1
2012-08-07libsyntax: Break struct definitions out of classes internally in a few more ↵Patrick Walton-13/+19
places
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-3/+3
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-1/+1
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-10/+10
2012-08-05Switch alts to use arrowsBrian Anderson-46/+44
2012-08-03rustc: Parse, serialize, and deserialize trait inheritancePatrick Walton-1/+9
2012-08-02Extend ast_map to know about method declarations in traits.Michael Sullivan-8/+20
2012-08-01Convert ret to returnBrian Anderson-2/+2
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-1/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-18/+18
2012-07-17Support attributes on class ctors and dtorsTim Chevalier-7/+7
Closes #2660
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-5/+5
#2907.
2012-07-13Refactor how impl self types are storedTim Chevalier-3/+9
In order to avoid a confusing use of the tcache, I added an extra node ID field to trait refs. Now trait refs have a "ref ID" (the one that resolve3 resolves) and an "impl ID" (the one that you look up in the tcache to get the self type). Closes #2434
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-3/+3
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-3/+3
2012-07-03syntax: Add native module names correctly when building up the paths in the ↵Patrick Walton-1/+1
AST map
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-9/+9