aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/grammar/patterns.rs
Commit message (Collapse)AuthorAgeFilesLines
* cleanupAleksey Kladov2019-09-021-1/+1
|
* Handle `Struct { box i }` syntaxDylan MacKenzie2019-08-241-0/+3
| | | | | | Named structs can have `box` patterns that will bind to their fields. This is similar to the behavior of the `ref` and `mut` fields, but is at least a little bit surprising.
* Centralize `box` pattern tests in `patterns.rs`Dylan MacKenzie2019-08-241-5/+0
|
* Parse `BoxPat`Dylan MacKenzie2019-08-241-19/+32
|
* rename struct -> record, pos -> tupleAleksey Kladov2019-08-231-8/+8
|
* Add BOX_KW to PATTERN_FIRSTDylan MacKenzie2019-08-221-1/+1
|
* Fix is_path_start to accept T![<], fix is_path_start usagesEvgenii P2019-08-131-2/+2
|
* fix: box_patterncsmoe2019-06-191-0/+3
| | | | Change-Id: I45a856d74fb616d3bce33050f9e69d327186bd59
* apply T! macro where it is possibleSergey Parilin2019-05-151-39/+39
|
* Add macro pat parsingEdwin Cheng2019-04-301-1/+10
|
* Fix bug and add expr , pat , ty matcherEdwin Cheng2019-04-141-1/+1
|
* Allow MINUS at the start of a pattern.Michael Chesser2019-03-141-1/+1
|
* Introduce pattern_list to parse pipe separated patternsVille Penttinen2019-03-051-0/+16
| | | | | 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.
* move parser to a separate crateAleksey Kladov2019-02-211-0/+248