about summary refs log tree commit diff
path: root/src/libsyntax/ast_util.rs
AgeCommit message (Collapse)AuthorLines
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-2/+2
2012-09-26turn ast::ident into a structErick Tryzelaar-1/+1
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-26Revert "fix modes on dtors"Tim Chevalier-1/+1
This reverts commit d38b97a170eaea47933c30937cee5f525573116d. (Accidentally checked this in, oops)
2012-09-26fix modes on dtorsTim Chevalier-1/+1
2012-09-21De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachiNiko Matsakis-1/+1
2012-09-19demode the each() method on vec and other iterables.Niko Matsakis-10/+18
2012-09-19Remove redundant hashmap constructor functions.Graydon Hoare-4/+0
2012-09-19De-mode vec::each() and many of the str iteration routinesNiko Matsakis-33/+35
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-35/+33
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-33/+35
2012-09-12fixup mutability of vec::each, make iter_bytes pureNiko Matsakis-1/+1
also, change DVec() to work with imm vectors rather than mut ones
2012-09-10Make all moves explicit in libsyntaxTim Chevalier-3/+3
2012-09-10Convert std::map to camel caseBrian Anderson-2/+2
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-1/+1
2012-09-07Migrate std::map to use core::hash::Hash trait. Disable many hokey hashes.Graydon Hoare-19/+7
2012-09-07Implement &-patternsTim Chevalier-1/+1
Closes #2855
2012-09-07rustc: Make "ne" use traitsPatrick Walton-1/+2
2012-09-04libsyntax: "import" -> "use"Patrick Walton-2/+2
2012-08-31Make utility funs in core::int, core::uint, etc. not by-referenceTim Chevalier-2/+2
Closes #3302
2012-08-31rustc: Implement "use mod"Patrick Walton-3/+3
2012-08-29rustc: Make `<=`, `>=`, and `>` use traits as wellPatrick Walton-1/+4
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-1/+3
2012-08-29core: Demode int/uint modsBrian Anderson-2/+2
2012-08-26Camel case the option typeBrian Anderson-24/+24
2012-08-24fix some unused pattern binding warningsNiko Matsakis-3/+3
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-3/+4
2012-08-22intern identifiersPaul Stansifer-4/+6
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-4/+4
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-37/+10
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-1/+1
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-3/+4
2012-08-07rustc: Box struct_defsPatrick Walton-1/+1
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-1/+1
2012-08-07libsyntax: Allow users of the visitor to visit struct defsPatrick Walton-0/+4
2012-08-07Add missing commaBrian Anderson-1/+1
2012-08-07rustc: Add stub support for struct variants to the ASTPatrick Walton-5/+6
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-4/+4
Require comma separators for all expression types except the plain block
2012-08-06rustc: Implement pattern matching for structsPatrick Walton-1/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-40/+40
2012-08-05Switch alts to use arrowsBrian Anderson-151/+157
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-1/+1
cc #3071
2012-08-02Make typeck::collect aware of provided methods in traits.Lindsey Kuper-0/+12
2012-08-02Extend ast_map to know about method declarations in traits.Michael Sullivan-0/+13
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-5/+5
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-01Convert ret to returnBrian Anderson-49/+49
2012-08-01syntax: Allow any block-like expr to be used as alt arm w/o comma separatorBrian Anderson-7/+0
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-2/+2
2012-07-31accept naked exprs with commas in pattern armsNiko Matsakis-0/+7
pretty printing will use them, but indentation is slightly off if the expr is long
2012-07-31Fix pretty-printer breakage: `1000f` -> `1000`.Paul Stansifer-1/+1