aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser
Commit message (Collapse)AuthorAgeFilesLines
* Introduce pattern_list to parse pipe separated patternsVille Penttinen2019-03-052-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 patternsVille Penttinen2019-03-041-0/+10
|
* allow `mut ident` patterns in trait methodsAleksey Kladov2019-03-041-1/+2
| | | | closes #928
* allow aliases in underscoresAleksey Kladov2019-03-042-1/+4
| | | | | | | | this helps with use foo::Trait as _; syntax
* Merge #926bors[bot]2019-03-041-1/+6
|\ | | | | | | | | | | | | | | 926: allow vararg functions r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
| * allow vararg functionsAleksey Kladov2019-03-041-1/+6
| |
* | improve error recoveryAleksey Kladov2019-03-041-17/+7
| | | | | | | | parse the contents of error block as an expression
* | extract block contents into a functionAleksey Kladov2019-03-041-2/+6
|/
* rename type to type_alias in the AST as wellAleksey Kladov2019-02-252-3/+3
|
* docsAleksey Kladov2019-02-213-15/+39
|
* fix the testAleksey Kladov2019-02-211-2/+2
|
* fix compilationAleksey Kladov2019-02-211-7/+7
|
* move parser to a separate crateAleksey Kladov2019-02-2123-0/+4283