diff options
Diffstat (limited to 'crates/ra_parser/src/syntax_kind/generated.rs')
-rw-r--r-- | crates/ra_parser/src/syntax_kind/generated.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index 036415eac..374fd5aec 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs | |||
@@ -104,6 +104,7 @@ pub enum SyntaxKind { | |||
104 | MOVE_KW, | 104 | MOVE_KW, |
105 | RETURN_KW, | 105 | RETURN_KW, |
106 | TRY_KW, | 106 | TRY_KW, |
107 | BOX_KW, | ||
107 | AUTO_KW, | 108 | AUTO_KW, |
108 | DEFAULT_KW, | 109 | DEFAULT_KW, |
109 | EXISTENTIAL_KW, | 110 | EXISTENTIAL_KW, |
@@ -187,6 +188,7 @@ pub enum SyntaxKind { | |||
187 | NAMED_FIELD_LIST, | 188 | NAMED_FIELD_LIST, |
188 | NAMED_FIELD, | 189 | NAMED_FIELD, |
189 | TRY_BLOCK_EXPR, | 190 | TRY_BLOCK_EXPR, |
191 | BOX_EXPR, | ||
190 | CALL_EXPR, | 192 | CALL_EXPR, |
191 | INDEX_EXPR, | 193 | INDEX_EXPR, |
192 | METHOD_CALL_EXPR, | 194 | METHOD_CALL_EXPR, |
@@ -335,6 +337,7 @@ macro_rules! T { | |||
335 | (move) => { $crate::SyntaxKind::MOVE_KW }; | 337 | (move) => { $crate::SyntaxKind::MOVE_KW }; |
336 | (return) => { $crate::SyntaxKind::RETURN_KW }; | 338 | (return) => { $crate::SyntaxKind::RETURN_KW }; |
337 | (try) => { $crate::SyntaxKind::TRY_KW }; | 339 | (try) => { $crate::SyntaxKind::TRY_KW }; |
340 | (box) => { $crate::SyntaxKind::BOX_KW }; | ||
338 | (auto) => { $crate::SyntaxKind::AUTO_KW }; | 341 | (auto) => { $crate::SyntaxKind::AUTO_KW }; |
339 | (default) => { $crate::SyntaxKind::DEFAULT_KW }; | 342 | (default) => { $crate::SyntaxKind::DEFAULT_KW }; |
340 | (existential) => { $crate::SyntaxKind::EXISTENTIAL_KW }; | 343 | (existential) => { $crate::SyntaxKind::EXISTENTIAL_KW }; |
@@ -394,6 +397,7 @@ impl SyntaxKind { | |||
394 | | MOVE_KW | 397 | | MOVE_KW |
395 | | RETURN_KW | 398 | | RETURN_KW |
396 | | TRY_KW | 399 | | TRY_KW |
400 | | BOX_KW | ||
397 | | AUTO_KW | 401 | | AUTO_KW |
398 | | DEFAULT_KW | 402 | | DEFAULT_KW |
399 | | EXISTENTIAL_KW | 403 | | EXISTENTIAL_KW |
@@ -567,6 +571,7 @@ impl SyntaxKind { | |||
567 | MOVE_KW => &SyntaxInfo { name: "MOVE_KW" }, | 571 | MOVE_KW => &SyntaxInfo { name: "MOVE_KW" }, |
568 | RETURN_KW => &SyntaxInfo { name: "RETURN_KW" }, | 572 | RETURN_KW => &SyntaxInfo { name: "RETURN_KW" }, |
569 | TRY_KW => &SyntaxInfo { name: "TRY_KW" }, | 573 | TRY_KW => &SyntaxInfo { name: "TRY_KW" }, |
574 | BOX_KW => &SyntaxInfo { name: "BOX_KW" }, | ||
570 | AUTO_KW => &SyntaxInfo { name: "AUTO_KW" }, | 575 | AUTO_KW => &SyntaxInfo { name: "AUTO_KW" }, |
571 | DEFAULT_KW => &SyntaxInfo { name: "DEFAULT_KW" }, | 576 | DEFAULT_KW => &SyntaxInfo { name: "DEFAULT_KW" }, |
572 | EXISTENTIAL_KW => &SyntaxInfo { name: "EXISTENTIAL_KW" }, | 577 | EXISTENTIAL_KW => &SyntaxInfo { name: "EXISTENTIAL_KW" }, |
@@ -650,6 +655,7 @@ impl SyntaxKind { | |||
650 | NAMED_FIELD_LIST => &SyntaxInfo { name: "NAMED_FIELD_LIST" }, | 655 | NAMED_FIELD_LIST => &SyntaxInfo { name: "NAMED_FIELD_LIST" }, |
651 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, | 656 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, |
652 | TRY_BLOCK_EXPR => &SyntaxInfo { name: "TRY_BLOCK_EXPR" }, | 657 | TRY_BLOCK_EXPR => &SyntaxInfo { name: "TRY_BLOCK_EXPR" }, |
658 | BOX_EXPR => &SyntaxInfo { name: "BOX_EXPR" }, | ||
653 | CALL_EXPR => &SyntaxInfo { name: "CALL_EXPR" }, | 659 | CALL_EXPR => &SyntaxInfo { name: "CALL_EXPR" }, |
654 | INDEX_EXPR => &SyntaxInfo { name: "INDEX_EXPR" }, | 660 | INDEX_EXPR => &SyntaxInfo { name: "INDEX_EXPR" }, |
655 | METHOD_CALL_EXPR => &SyntaxInfo { name: "METHOD_CALL_EXPR" }, | 661 | METHOD_CALL_EXPR => &SyntaxInfo { name: "METHOD_CALL_EXPR" }, |
@@ -745,6 +751,7 @@ impl SyntaxKind { | |||
745 | "move" => MOVE_KW, | 751 | "move" => MOVE_KW, |
746 | "return" => RETURN_KW, | 752 | "return" => RETURN_KW, |
747 | "try" => TRY_KW, | 753 | "try" => TRY_KW, |
754 | "box" => BOX_KW, | ||
748 | _ => return None, | 755 | _ => return None, |
749 | }; | 756 | }; |
750 | Some(kw) | 757 | Some(kw) |