aboutsummaryrefslogtreecommitdiff
path: root/crates/parser
Commit message (Collapse)AuthorAgeFilesLines
* Wrap remaining self/super/crate in Name{Ref}Lukas Wirth2021-01-153-15/+30
|
* Handle self/super/crate in PathSegment as NameRefLukas Wirth2021-01-151-1/+5
|
* Add support for yiled keywordDaiki Ihara2021-01-152-2/+22
|
* Merge #7211bors[bot]2021-01-141-3/+13
|\ | | | | | | | | | | | | | | | | | | | | | | 7211: Fixed expr meta var after path colons in mbe r=matklad a=edwin0cheng Fixes #7207 Added `L_DOLLAR` in `ITEM_RECOVERY_SET` , but I don't know whether it is a good idea. r? @matklad Co-authored-by: Edwin Cheng <[email protected]>
| * Fixed expr meta var after path colons in mbeEdwin Cheng2021-01-101-3/+13
| |
* | Merge #7218bors[bot]2021-01-101-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 7218: Fix typos r=Veykril a=regexident Apart from the very last commit on this PR (which fixes a public type's name) all changes are non-breaking. Co-authored-by: Vincent Esche <[email protected]>
| * | Fixed typos in code commentsVincent Esche2021-01-091-1/+1
| |/
* | Replace SyntaxKind usage with T! macro where applicableLukas Wirth2021-01-105-19/+27
| |
* | Use T! for bool keywordsLaurențiu Nicola2021-01-101-1/+1
| |
* | Allow `true` and `false` keywords in const genericsCallym2021-01-101-1/+5
|/
* parser,syntax: Add separate parser for stmt with optional semicolonMarijn Suijten2021-01-032-0/+6
| | | | | Adjusting `grammar::fragments::stmt` to Optional or Yes will break original functionality and tests.
* Fix mbe fail to pass expr with attrEdwin Cheng2020-12-281-1/+1
|
* Fix macro_rules not accepting brackets or parenthesesLukas Wirth2020-12-241-2/+7
|
* Remove local ungrammar dependencyLukas Wirth2020-12-231-3/+1
|
* Parse const effect blockLukas Wirth2020-12-232-2/+14
|
* Parse ConstBlockPatLukas Wirth2020-12-231-0/+16
|
* Update ungrammar for const block patternsLukas Wirth2020-12-231-0/+1
|
* Merge #6965bors[bot]2020-12-212-12/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6965: Properly attach attributes to Param instead of parent ParamList r=matklad a=Veykril Fixes #2783, fixes #2781 The problem with `let _a = [0,#[cfg(feature = "L")]0];` has already been fixed some time ago it seems: <details> <summary>Syntax Tree for the const item</summary> ``` [email protected] [email protected] "let" [email protected] " " [email protected] [email protected] [email protected] "_a" [email protected] " " [email protected] "=" [email protected] " " [email protected] [email protected] "[" [email protected] [email protected] "0" [email protected] "," [email protected] [email protected] [email protected] "#" [email protected] "[" [email protected] [email protected] [email protected] [email protected] "cfg" [email protected] [email protected] "(" [email protected] "feature" [email protected] " " [email protected] "=" [email protected] " " [email protected] "\"L\"" [email protected] ")" [email protected] "]" [email protected] "0" [email protected] "]" [email protected] ";" ``` </details> Co-authored-by: Lukas Wirth <[email protected]>
| * Parse attributes in tuple expressionsLukas Wirth2020-12-201-3/+5
| |
| * Properly attach attributes to Param instead of parent ParamListLukas Wirth2020-12-201-9/+8
| |
* | Merge #6967bors[bot]2020-12-212-9/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | 6967: Correctly parse legacy trait objects with leading ForType r=matklad a=Veykril Fixes #1422 Co-authored-by: Lukas Wirth <[email protected]>
| * | Properly parse legacy trait objects with leading ForTypeLukas Wirth2020-12-202-9/+19
| |/
* / Use pattern_single instead of pattern in mbe patEdwin Cheng2020-12-202-2/+2
|/
* Implement `RawAttr::filter`Jonas Schievink2020-12-182-0/+7
|
* Node-ify lifetimesLukas Wirth2020-12-168-29/+48
|
* Move to upstream `macro_rules!` modelJonas Schievink2020-12-152-15/+36
|
* Parse unsafe extern blockDavid Tolnay2020-11-231-1/+9
|
* Kill RAW_ literalsAleksey Kladov2020-11-064-23/+5
| | | | | Syntactically, they are indistinguishable from non-raw versions, so it doesn't make sense to separate then *at the syntax* level.
* Don't interpret type path as part of visibility.Arif Roktim2020-10-241-1/+5
|
* Rename record_field_pat to record_pat_fieldPavan Kumar Sunkara2020-09-101-2/+2
|
* Up proc-macro2 to 1.20kjeremy2020-09-031-1/+1
| | | | This changes the way Display is implemented
* CONST LOOPS ARE HEREAleksey Kladov2020-08-277-28/+37
|
* Complete `pub` in fieldsAleksey Kladov2020-08-251-1/+8
|
* Add description for crates that will be publishedPavan Kumar Sunkara2020-08-241-0/+1
|
* Better recovery in `use foo::;`Aleksey Kladov2020-08-131-2/+14
|
* Align parser names with grammarAleksey Kladov2020-08-1315-146/+124
|
* Rename ra_syntax -> syntaxAleksey Kladov2020-08-122-2/+2
|
* Rename ra_parser -> parserAleksey Kladov2020-08-1222-0/+4884