about summary refs log tree commit diff
path: root/src/libsyntax/parse/classify.rs
AgeCommit message (Collapse)AuthorLines
2015-11-10Use deref coercionsSeo Sanghyeon-1/+1
2014-10-10Teach libsyntax about `while let`John Gallagher-0/+1
2014-09-30Teach libsyntax about `if let`Kevin Ballard-0/+1
2014-09-14syntax: fix fallout from using ptr::P.Eduard Burtescu-9/+8
2014-07-09syntax: doc comments all the thingsCorey Richardson-10/+10
2014-06-11syntax: Move the AST from @T to Gc<T>Alex Crichton-2/+3
2014-04-27Fix repeated module documentationAlexandre Gagnon-3/+3
2014-02-14Removed the obsolete ast::CallSugar (previously used by `do`).Eduard Burtescu-9/+7
2014-01-29Removing support for the do syntax from libsyntax and librustc.Scott Lawrence-2/+0
Fixes #10815.
2014-01-27Demote self to an (almost) regular argument and remove the env param.Eduard Burtescu-2/+2
Fixes #10667 and closes #10259.
2013-12-01Box Block, fn_decl, variant and Ty in the AST, as they were inflating ↵Eduard Burtescu-3/+1
critical enum sizes.
2013-11-28Register new snapshotsAlex Crichton-8/+8
2013-09-03Modernized a few more types in syntax::astMarvin Löbel-20/+20
2013-07-30syntax: implement foreach .. in .. { .. } via desugaring.Graydon Hoare-0/+1
2013-07-29New naming convention for ast::{node_id, local_crate, crate_node_id, ↵Michael Woerister-1/+1
blk_check_mode, ty_field, ty_method}
2013-07-22Ast spanned<T> refactoring, renaming: crate, local, blk, crate_num, crate_cfg.Michael Woerister-1/+1
`crate => Crate` `local => Local` `blk => Block` `crate_num => CrateNum` `crate_cfg => CrateConfig` Also, Crate and Local are not wrapped in spanned<T> anymore.
2013-07-17Made ast::blk not use spanned<T> anymore.Michael Woerister-3/+1
2013-06-01syntax: move callee_id into the expr_ variantsErick Tryzelaar-2/+2
2013-04-28parser commentsJohn Clements-0/+10
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-1/+1
2013-03-04Remove unused imports throughout src/Alex Crichton-1/+0
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-2/+4
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-31test cases, cleanupJohn Clements-1/+3
2013-01-29libsyntax: De-export a lot of libsyntax. rs=deëxportingPatrick Walton-3/+3
2013-01-14convert ast::blk_ into a structErick Tryzelaar-2/+3
2013-01-09syntax: convert ast::spanned into a structErick Tryzelaar-1/+2
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+1
contain at least two components. r=graydon
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-30librustc: Make `a.b()` always a method call. r=nmatsakisPatrick Walton-3/+7
2012-11-29Allow for macros to occur in statement position.Paul Stansifer-12/+9
2012-10-30Preserve parenthesization in the ASTTim Chevalier-36/+0
Maintain explicit "paren" nodes in the AST so we can pretty-print without having to guess where parens should go. We may revisit this in the future. r=graydon
2012-10-23Remove <- operator from the compilerTim Chevalier-3/+1
Yield an obsolete syntax error on things like "let foo <- bar;" and "foo <- bar;" r=brson Progress on #3466
2012-09-04libsyntax: "import" -> "use"Patrick Walton-1/+1
2012-08-26Camel case the option typeBrian Anderson-1/+1
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-22Eliminate many match checks in rustcTim Chevalier-2/+2
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-1/+1
2012-08-07syntax: Rename expr_alt to expr_matchBrian Anderson-1/+1
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-2/+9
Require comma separators for all expression types except the plain block
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-7/+7
2012-08-05Switch alts to use arrowsBrian Anderson-33/+26
2012-08-01Convert ret to returnBrian Anderson-3/+3
2012-07-14remove typestate from code, tests, and docsNiko Matsakis-5/+4
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-0/+3
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
2012-07-03Remove rule requiring non-nil block-style statements to be semi-terminatedBrian Anderson-3/+0
This is a subtle rule that no longer seems to be required.
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-1/+2
2012-06-14Further work on integer literal suffix inference (#1425)Lindsey Kuper-1/+1
In this commit: * Change the lit_int_unsuffixed AST node to not carry a type, since it doesn't need one * Don't print "(unsuffixed)" when pretty-printing unsuffixed integer literals * Just print "I" instead of "(integral)" for integral type variables * Set up trans to use the information that will be gathered during typeck to construct the appropriate constants for unsuffixed int literals * Add logic for handling int_ty_sets in typeck::infer * Clean up unnecessary code in typeck::infer * Add missing mk_ functions to middle::ty * Add ty_var_integral to a few of the type utility functions it was missing from in middle::ty
2012-06-11Add a new AST node for unsuffixed integer types.Lindsey Kuper-1/+8
2012-05-31Rename librustsyntax to libsyntaxKevin Cantu-0/+69
Per issue #2418.