Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deny clippy | Aleksey Kladov | 2020-08-12 | 1 | -1/+0 |
| | |||||
* | Rename RecordLit -> RecordExpr | Aleksey Kladov | 2020-07-30 | 1 | -3/+3 |
| | |||||
* | Allow attributes on expressions | Aleksey Kladov | 2020-06-15 | 1 | -4/+2 |
| | | | | https://github.com/rust-lang/rust/pull/69201/ | ||||
* | Support raw_ref_op's raw reference operator | robojumper | 2020-05-28 | 1 | -1/+15 |
| | |||||
* | Fix parsing of blocks without `{` | Aleksey Kladov | 2020-05-02 | 1 | -14/+1 |
| | |||||
* | Introduce EffectExpr | Aleksey Kladov | 2020-05-02 | 1 | -11/+2 |
| | |||||
* | Make records grammar more orthogonal | Aleksey Kladov | 2020-04-11 | 1 | -12/+25 |
| | | | | | | | | | | | | We used name [: expr] grammar before, now it is [name :] expr which makes things simpler | ||||
* | Rename some tokens | Aleksey Kladov | 2020-04-10 | 1 | -1/+2 |
| | |||||
* | Cleanups | Aleksey Kladov | 2020-04-03 | 1 | -2/+2 |
| | |||||
* | Fix parsing of stement-ish binary expressions | Aleksey Kladov | 2020-03-11 | 1 | -2/+8 |
| | | | | closes #3512 | ||||
* | Parse attr in rhs of let stmts | Edwin Cheng | 2020-02-28 | 1 | -1/+2 |
| | |||||
* | Nest attrs into exprs in function args | Aleksey Kladov | 2020-01-17 | 1 | -4/+1 |
| | |||||
* | Extract expr_with_attrs | Aleksey Kladov | 2020-01-17 | 1 | -0/+20 |
| | |||||
* | Merge pull request #2813 from jyn514/arg_attributes | Aleksey Kladov | 2020-01-17 | 1 | -0/+5 |
|\ | | | | | Allow attributes before function arguments | ||||
| * | move inline function closer to relevant code | Joshua Nelson | 2020-01-17 | 1 | -4/+4 |
| | | | | | | | | also updates generated inline tests | ||||
| * | shrink inline tes | Joshua Nelson | 2020-01-16 | 1 | -9/+3 |
| | | |||||
| * | Allow attributes before function arguments | Joshua Nelson | 2020-01-12 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for function calls of the form: ```rust ( #[attr(...)] 1.2, #[attr_one(...)] #[attr_two(...)] 1.5, ... etc ... ) ``` Closes https://github.com/rust-analyzer/rust-analyzer/issues/2801 | ||||
* | | Fix array element attribute position | Edwin Cheng | 2020-01-16 | 1 | -2/+2 |
|/ | |||||
* | Move inclusive range check to validation | Geoffry Song | 2019-11-15 | 1 | -3/+0 |
| | |||||
* | Fix parsing of "postfix" range expressions. | Geoffry Song | 2019-11-15 | 1 | -30/+24 |
| | | | | | | | | | | Right now they are handled in `postfix_dot_expr`, but that doesn't allow it to correctly handle precedence. Integrate it more tightly with the Pratt parser instead. Also includes a drive-by fix for parsing `match .. {}`. Fixes #2242. | ||||
* | Merge #1951 | bors[bot] | 2019-10-08 | 1 | -1/+10 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 1951: Lower the precedence of the `as` operator. r=matklad a=goffrie Previously, the `as` operator was being parsed like a postfix expression, and therefore being given the highest possible precedence. That caused it to bind more tightly than prefix operators, which it should not. Instead, parse it somewhat like a normal binary expression with some special-casing. Fixes #1851. Co-authored-by: Geoffry Song <[email protected]> | ||||
| * | Move tests around | Geoffry Song | 2019-10-06 | 1 | -6/+5 |
| | | |||||
| * | Lower the precedence of the `as` operator. | Geoffry Song | 2019-10-03 | 1 | -2/+12 |
| | | | | | | | | | | | | | | Previously, the `as` operator was being parsed like a postfix expression, and therefore being given the highest possible precedence. That caused it to bind more tightly than prefix operators, which it should not. Instead, parse it somewhat like a normal binary expression with some special-casing. | ||||
* | | Fix parsing of block expressions in "forbid_structs" contexts. | Geoffry Song | 2019-10-03 | 1 | -5/+20 |
|/ | | | | | | Forbidding block expressions entirely is too strict; instead, we should only forbid them in contexts where we are parsing an optional RHS (i.e. the RHS of a range expression). | ||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Replace usages of bump_any with bump | kjeremy | 2019-09-19 | 1 | -10/+10 |
| | |||||
* | cleanup dollar handling in expressions | Aleksey Kladov | 2019-09-10 | 1 | -40/+9 |
| | |||||
* | WIP: switch to fully decomposed tokens internally | Aleksey Kladov | 2019-09-10 | 1 | -91/+107 |
| | |||||
* | rename bump -> bump_any | Aleksey Kladov | 2019-09-09 | 1 | -19/+19 |
| | |||||
* | tiny simplification | Aleksey Kladov | 2019-09-09 | 1 | -2/+2 |
| | |||||
* | always wrap block into an expression | Aleksey Kladov | 2019-09-02 | 1 | -0/+5 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -7/+7 |
| | |||||
* | Merge #1676 | bors[bot] | 2019-08-14 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | 1676: Fix for<'lifetime> for types specified by path r=matklad a=eupn Fixes #1467. Co-authored-by: Evgenii P <[email protected]> | ||||
| * | Fix is_path_start to accept T![<], fix is_path_start usages | Evgenii P | 2019-08-13 | 1 | -1/+1 |
| | | |||||
* | | Merge #1636 | bors[bot] | 2019-08-13 | 1 | -7/+12 |
|\ \ | |/ |/| | | | | | | | | | | | 1636: fix block parse problem r=matklad a=bravomikekilo try to fix [issue-1598](https://github.com/rust-analyzer/rust-analyzer/issues/1598). Co-authored-by: bravomikekilo <[email protected]> | ||||
| * | add inline test | bravomikekilo | 2019-08-13 | 1 | -0/+6 |
| | | |||||
| * | fix block parse problem | bravomikekilo | 2019-08-03 | 1 | -7/+6 |
| | | |||||
* | | Move numeric names inside of `NameRef` | Aleksey Kladov | 2019-08-09 | 1 | -6/+4 |
| | | |||||
* | | Make name_ref to accept numeric names optionally | Evgenii P | 2019-08-09 | 1 | -3/+3 |
| | | |||||
* | | Parse tuple struct field initialization | Evgenii P | 2019-08-09 | 1 | -1/+2 |
|/ | |||||
* | add await to syntax, parser for await_expr | Unreal Hoang | 2019-07-20 | 1 | -0/+12 |
| | |||||
* | fixed #1384 | zjy | 2019-06-28 | 1 | -0/+11 |
| | |||||
* | fix: never type with binding | csmoe | 2019-06-07 | 1 | -1/+3 |
| | | | | Change-Id: I14e1bc628b9d2dfdb1f40de3d3707f4e872767f2 | ||||
* | Fix clippy::if_same_then_else | Alan Du | 2019-06-04 | 1 | -0/+1 |
| | |||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 1 | -78/+78 |
| | |||||
* | Simplify | kjeremy | 2019-04-26 | 1 | -6/+6 |
| | |||||
* | Add expr, pat, ty and macro_stmts | Edwin Cheng | 2019-04-18 | 1 | -10/+34 |
| | |||||
* | Add mbe stmt matcher | Edwin Cheng | 2019-04-17 | 1 | -72/+82 |
| | |||||
* | Fix bug and add expr , pat , ty matcher | Edwin Cheng | 2019-04-14 | 1 | -9/+41 |
| | |||||
* | Parse and infer tuple indices | robojumper | 2019-04-06 | 1 | -1/+12 |
| |