Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename DotDotPat -> RestPat | Aleksey Kladov | 2020-07-31 | 1 | -2/+2 |
| | |||||
* | Rename BindPat -> IdentPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Rename PalceholderPat -> WildcardPat | Aleksey Kladov | 2020-07-31 | 1 | -1/+1 |
| | |||||
* | Allign RecordPat with RecordExpr | Aleksey Kladov | 2020-07-31 | 1 | -2/+2 |
| | |||||
* | Correctly parse <_> paths in patterns | Aleksey Kladov | 2020-06-09 | 1 | -2/+4 |
| | | | | closes #3659 | ||||
* | Minor, use `T!` | Aleksey Kladov | 2020-06-09 | 1 | -1/+1 |
| | |||||
* | Align grammar for record patterns and literals | Aleksey Kladov | 2020-04-11 | 1 | -27/+23 |
| | | | | | | The grammar now looks like this [name_ref :] pat | ||||
* | Macro patterns are not confused with expressions. | Aleksey Kladov | 2020-04-03 | 1 | -2/+2 |
| | | | | | | | | | | | We treat macro calls as expressions (there's appropriate Into impl), which causes problem if there's expresison and non-expression macro in the same node (like in the match arm). We fix this problem by nesting macor patterns into another node (the same way we nest path into PathExpr or PathPat). Ideally, we probably should add a similar nesting for macro expressions, but that needs some careful thinking about macros in blocks: `{ am_i_expression!() }`. | ||||
* | Cleanups | Aleksey Kladov | 2020-04-03 | 1 | -12/+11 |
| | |||||
* | Address review comments | Matthew Jasper | 2020-02-10 | 1 | -7/+8 |
| | |||||
* | Add or- and parenthesized-patterns | Matthew Jasper | 2020-02-09 | 1 | -10/+56 |
| | |||||
* | Fix parser for macro call in pattern position | Edwin Cheng | 2019-12-20 | 1 | -1/+1 |
| | |||||
* | Added test for check doc strings in crates. | Alexander Andreev | 2019-09-30 | 1 | -0/+2 |
| | | | | #1856 | ||||
* | Simplify match arm | kjeremy | 2019-09-20 | 1 | -2/+1 |
| | |||||
* | Apply suggestion | kjeremy | 2019-09-20 | 1 | -3/+2 |
| | |||||
* | Add indexing to record_field_pat | kjeremy | 2019-09-20 | 1 | -2/+13 |
| | |||||
* | Replace usages of bump_any with bump | kjeremy | 2019-09-19 | 1 | -7/+7 |
| | |||||
* | Parse `..` as a proper pattern | Dylan MacKenzie | 2019-09-15 | 1 | -10/+42 |
| | |||||
* | WIP: switch to fully decomposed tokens internally | Aleksey Kladov | 2019-09-10 | 1 | -14/+19 |
| | |||||
* | rename bump -> bump_any | Aleksey Kladov | 2019-09-09 | 1 | -11/+11 |
| | |||||
* | cleanup | Aleksey Kladov | 2019-09-02 | 1 | -1/+1 |
| | |||||
* | Handle `Struct { box i }` syntax | Dylan MacKenzie | 2019-08-24 | 1 | -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 MacKenzie | 2019-08-24 | 1 | -5/+0 |
| | |||||
* | Parse `BoxPat` | Dylan MacKenzie | 2019-08-24 | 1 | -19/+32 |
| | |||||
* | rename struct -> record, pos -> tuple | Aleksey Kladov | 2019-08-23 | 1 | -8/+8 |
| | |||||
* | Add BOX_KW to PATTERN_FIRST | Dylan MacKenzie | 2019-08-22 | 1 | -1/+1 |
| | |||||
* | Fix is_path_start to accept T![<], fix is_path_start usages | Evgenii P | 2019-08-13 | 1 | -2/+2 |
| | |||||
* | fix: box_pattern | csmoe | 2019-06-19 | 1 | -0/+3 |
| | | | | Change-Id: I45a856d74fb616d3bce33050f9e69d327186bd59 | ||||
* | apply T! macro where it is possible | Sergey Parilin | 2019-05-15 | 1 | -39/+39 |
| | |||||
* | Add macro pat parsing | Edwin Cheng | 2019-04-30 | 1 | -1/+10 |
| | |||||
* | Fix bug and add expr , pat , ty matcher | Edwin Cheng | 2019-04-14 | 1 | -1/+1 |
| | |||||
* | Allow MINUS at the start of a pattern. | Michael Chesser | 2019-03-14 | 1 | -1/+1 |
| | |||||
* | Introduce pattern_list to parse pipe separated patterns | Ville Penttinen | 2019-03-05 | 1 | -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 crate | Aleksey Kladov | 2019-02-21 | 1 | -0/+248 |