Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Use Marker argument for item parsers | pcpthm | 2019-03-18 | 6 | -71/+61 | |
| | | | | | | | | | | - Fix pub_expr - Fix incorrect parsing of crate::path | |||||
* | | Merge #987 | bors[bot] | 2019-03-18 | 2 | -84/+70 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | 987: Refactor maybe_item to use Marker argument r=pcpthm a=pcpthm As suggested at <https://github.com/rust-analyzer/rust-analyzer/pull/980#issuecomment-473659745>. For expression paring functions, changing signature - from `fn(&mut Parser) -> Option<CompletedMarker>` to `fn(&mut Parser, Marker) -> Result<CompletedMarker, Marker>` - from `fn(&mut Parser) -> CompletedMarker` to `fn(&mut Parser, Marker) -> CompletedMarker` is my plan. Co-authored-by: pcpthm <[email protected]> | |||||
| * | Apply stylistic changes suggested | pcpthm | 2019-03-18 | 2 | -17/+14 | |
| | | ||||||
| * | Refactor maybe_item to use Marker argument | pcpthm | 2019-03-17 | 2 | -86/+75 | |
| | | ||||||
* | | Merge #983 | bors[bot] | 2019-03-17 | 1 | -0/+1 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 983: support remainder assignment operator r=matklad a=JeanMertz `%=` was returning errors for me, turns out it wasn't added as a valid assignment operation. I'm not sure what the best location would be to add a test for this. Please let me know and I'll add one. Co-authored-by: Jean Mertz <[email protected]> | |||||
| * | | support remainder assignment operator | Jean Mertz | 2019-03-17 | 1 | -0/+1 | |
| | | | ||||||
* | | | Fix parse tree of attribute on match arm | pcpthm | 2019-03-17 | 1 | -15/+15 | |
| |/ |/| | ||||||
* | | Merge #985 | bors[bot] | 2019-03-17 | 1 | -57/+56 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | 985: simplify parsing blocks a bit r=pcpthm a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | | simplify parsing blocks a bit | Aleksey Kladov | 2019-03-17 | 1 | -57/+56 | |
| |/ | ||||||
* / | Allow attribute on struct literal field | pcpthm | 2019-03-17 | 1 | -1/+6 | |
|/ | ||||||
* | Allow MINUS at the start of a pattern. | Michael Chesser | 2019-03-14 | 1 | -1/+1 | |
| | ||||||
* | Add test for async block | Caio | 2019-03-10 | 1 | -1/+2 | |
| | ||||||
* | Add async keyword | Caio | 2019-03-09 | 3 | -1/+18 | |
| | ||||||
* | Introduce pattern_list to parse pipe separated patterns | Ville Penttinen | 2019-03-05 | 2 | -10/+18 | |
| | | | | | pattern_list comes in two variants, one uses the default PAT_RECOVERY_SET as the recovery set, while other allows the user to provide a recovery set. | |||||
* | Add support for parsing multiple if and while-let patterns | Ville Penttinen | 2019-03-04 | 1 | -0/+10 | |
| | ||||||
* | allow `mut ident` patterns in trait methods | Aleksey Kladov | 2019-03-04 | 1 | -1/+2 | |
| | | | | closes #928 | |||||
* | allow aliases in underscores | Aleksey Kladov | 2019-03-04 | 2 | -1/+4 | |
| | | | | | | | | this helps with use foo::Trait as _; syntax | |||||
* | Merge #926 | bors[bot] | 2019-03-04 | 1 | -1/+6 | |
|\ | | | | | | | | | | | | | | | 926: allow vararg functions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]> | |||||
| * | allow vararg functions | Aleksey Kladov | 2019-03-04 | 1 | -1/+6 | |
| | | ||||||
* | | improve error recovery | Aleksey Kladov | 2019-03-04 | 1 | -17/+7 | |
| | | | | | | | | parse the contents of error block as an expression | |||||
* | | extract block contents into a function | Aleksey Kladov | 2019-03-04 | 1 | -2/+6 | |
|/ | ||||||
* | rename type to type_alias in the AST as well | Aleksey Kladov | 2019-02-25 | 2 | -3/+3 | |
| | ||||||
* | docs | Aleksey Kladov | 2019-02-21 | 3 | -15/+39 | |
| | ||||||
* | fix the test | Aleksey Kladov | 2019-02-21 | 1 | -2/+2 | |
| | ||||||
* | fix compilation | Aleksey Kladov | 2019-02-21 | 1 | -7/+7 | |
| | ||||||
* | move parser to a separate crate | Aleksey Kladov | 2019-02-21 | 22 | -0/+4274 | |