about summary refs log tree commit diff
path: root/src/libsyntax/ast_map.rs
AgeCommit message (Collapse)AuthorLines
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
2012-06-30Eliminate usages of old sugared call syntaxBrian Anderson-4/+4
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-5/+5
2012-06-28replace more vector + (issue #2719)Eric Holk-1/+1
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-8/+8
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-26Getting rid of lots more vector +=. (issue #2719)Eric Holk-2/+2
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-7/+7
2012-06-24Remove resourcesTim Chevalier-17/+4
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-26/+32
2012-06-14Comments only: annotate FIXMEsTim Chevalier-0/+2
2012-06-13Box AST identsBrian Anderson-13/+13
2012-06-12Handle class destructors correctly in metadataTim Chevalier-1/+1
This allows destructors to be inlined, which is necessary since classes can have both ty params and destructors.
2012-06-07syntax: Add a lot of copy keywordsPatrick Walton-17/+27
2012-06-07syntax: Remove a bunch of implicit copiesPatrick Walton-10/+12
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+309
Per issue #2418.