about summary refs log tree commit diff
path: root/src/libsyntax/parse/common.rs
AgeCommit message (Collapse)AuthorLines
2013-05-12librustc: Make `self` and `static` into keywordsPatrick Walton-1/+2
2013-05-03More accurate spansSeo Sanghyeon-1/+1
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-2/+2
2013-04-16add self.token_to_str and is_any_keyword convenience abstractionsJohn Clements-8/+27
2013-03-29commenting parserJohn Clements-1/+14
2013-03-26syntax: Removing uses of HashMapAlex Crichton-4/+4
2013-03-22librustc: Remove `pure` from libsyntax and librustc.Patrick Walton-1/+1
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-1/+1
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-6/+6
2013-03-06removed unused abstraction over paths and value_pathsJohn Clements-4/+0
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-03-03libsyntax: add &self to parser methodsErick Tryzelaar-23/+29
2013-02-28Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-18/+6
2013-02-27Introduce lifetime declarations into the lists of type parameters.Niko Matsakis-18/+8
Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846
2013-02-26libsyntax: change closures to take fn(&Parser)Erick Tryzelaar-9/+9
2013-02-26libsyntax: change token_is_word to take &TokenErick Tryzelaar-1/+1
2013-02-26libsyntax: change Parser::unexpected_last to take &TokenErick Tryzelaar-2/+2
2013-02-26libsyntax: more minor cleanupErick Tryzelaar-4/+4
2013-02-26libsyntax: change token::to_str to take &TokenErick Tryzelaar-21/+22
2013-02-26libsyntax: change attr::parse_seq_* to take &TokenErick Tryzelaar-11/+11
2013-02-25libsyntax: add some explicit copiesErick Tryzelaar-2/+2
2013-02-25libsyntax: change token_is_{word,keyword} to take &TokenErick Tryzelaar-6/+6
2013-02-25libsyntax: minor cleanupErick Tryzelaar-45/+88
2013-02-25libsyntax: change expect to take &token::TokenErick Tryzelaar-12/+13
2013-02-25libsyntax: change eat to take a &tokenErick Tryzelaar-2/+2
2013-02-25libsyntax: is_keyword should take a &~strErick Tryzelaar-21/+21
2013-02-22libsyntax: De-mut the parser. rs=demutingPatrick Walton-23/+23
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-13/+22
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-7/+7
2013-02-13cleanup, fix test caseJohn Clements-1/+0
2013-02-13Commenting, test cases, cleanupJohn Clements-3/+23
2013-02-08oldmap: get rid of legacy _ref suffixesDaniel Micay-4/+4
2013-02-03rename map -> oldmap and mark it as deprecatedDaniel Micay-1/+1
LinearMap is quite a bit faster, and is fully owned/sendable without requiring copies. The older std::map also doesn't use explicit self and relies on mutable fields.
2013-01-31test cases, cleanupJohn Clements-5/+6
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-8/+8
2013-01-14convert ast::pat_list_ident_ to a structErick Tryzelaar-1/+2
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-4/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+4
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-2/+6
contain at least two components. r=graydon
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-2/+2
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-4/+4
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29impls of traits cannot define methods on the anonymous traitBrian Anderson-35/+1
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-1/+1
2012-11-14Add types for character position and byte position in the codemapBrian Anderson-1/+1
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-47/+47
2012-09-26Demode vec::push (and convert to method)Niko Matsakis-2/+2
2012-09-19libsyntax: Remove the restricted keyword conceptBrian Anderson-24/+0