diff options
Diffstat (limited to 'crates/ra_parser/src/syntax_kind')
-rw-r--r-- | crates/ra_parser/src/syntax_kind/generated.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index fe0fcdb33..af2945f57 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs | |||
@@ -100,6 +100,7 @@ pub enum SyntaxKind { | |||
100 | TRY_KW, | 100 | TRY_KW, |
101 | BOX_KW, | 101 | BOX_KW, |
102 | AWAIT_KW, | 102 | AWAIT_KW, |
103 | MACRO_KW, | ||
103 | AUTO_KW, | 104 | AUTO_KW, |
104 | DEFAULT_KW, | 105 | DEFAULT_KW, |
105 | EXISTENTIAL_KW, | 106 | EXISTENTIAL_KW, |
@@ -136,6 +137,7 @@ pub enum SyntaxKind { | |||
136 | TYPE_ALIAS_DEF, | 137 | TYPE_ALIAS_DEF, |
137 | MACRO_CALL, | 138 | MACRO_CALL, |
138 | TOKEN_TREE, | 139 | TOKEN_TREE, |
140 | MACRO_DEF, | ||
139 | PAREN_TYPE, | 141 | PAREN_TYPE, |
140 | TUPLE_TYPE, | 142 | TUPLE_TYPE, |
141 | NEVER_TYPE, | 143 | NEVER_TYPE, |
@@ -227,6 +229,7 @@ pub enum SyntaxKind { | |||
227 | TYPE_PARAM_LIST, | 229 | TYPE_PARAM_LIST, |
228 | LIFETIME_PARAM, | 230 | LIFETIME_PARAM, |
229 | TYPE_PARAM, | 231 | TYPE_PARAM, |
232 | CONST_PARAM, | ||
230 | TYPE_ARG_LIST, | 233 | TYPE_ARG_LIST, |
231 | LIFETIME_ARG, | 234 | LIFETIME_ARG, |
232 | TYPE_ARG, | 235 | TYPE_ARG, |
@@ -251,7 +254,7 @@ impl SyntaxKind { | |||
251 | | SUPER_KW | IN_KW | WHERE_KW | FOR_KW | LOOP_KW | WHILE_KW | CONTINUE_KW | 254 | | SUPER_KW | IN_KW | WHERE_KW | FOR_KW | LOOP_KW | WHILE_KW | CONTINUE_KW |
252 | | BREAK_KW | IF_KW | ELSE_KW | MATCH_KW | CONST_KW | STATIC_KW | MUT_KW | UNSAFE_KW | 255 | | BREAK_KW | IF_KW | ELSE_KW | MATCH_KW | CONST_KW | STATIC_KW | MUT_KW | UNSAFE_KW |
253 | | TYPE_KW | REF_KW | LET_KW | MOVE_KW | RETURN_KW | TRY_KW | BOX_KW | AWAIT_KW | 256 | | TYPE_KW | REF_KW | LET_KW | MOVE_KW | RETURN_KW | TRY_KW | BOX_KW | AWAIT_KW |
254 | | AUTO_KW | DEFAULT_KW | EXISTENTIAL_KW | UNION_KW => true, | 257 | | MACRO_KW | AUTO_KW | DEFAULT_KW | EXISTENTIAL_KW | UNION_KW => true, |
255 | _ => false, | 258 | _ => false, |
256 | } | 259 | } |
257 | } | 260 | } |
@@ -314,6 +317,7 @@ impl SyntaxKind { | |||
314 | "try" => TRY_KW, | 317 | "try" => TRY_KW, |
315 | "box" => BOX_KW, | 318 | "box" => BOX_KW, |
316 | "await" => AWAIT_KW, | 319 | "await" => AWAIT_KW, |
320 | "macro" => MACRO_KW, | ||
317 | _ => return None, | 321 | _ => return None, |
318 | }; | 322 | }; |
319 | Some(kw) | 323 | Some(kw) |
@@ -628,6 +632,9 @@ macro_rules! T { | |||
628 | ( await ) => { | 632 | ( await ) => { |
629 | $crate::SyntaxKind::AWAIT_KW | 633 | $crate::SyntaxKind::AWAIT_KW |
630 | }; | 634 | }; |
635 | ( macro ) => { | ||
636 | $crate::SyntaxKind::MACRO_KW | ||
637 | }; | ||
631 | ( auto ) => { | 638 | ( auto ) => { |
632 | $crate::SyntaxKind::AUTO_KW | 639 | $crate::SyntaxKind::AUTO_KW |
633 | }; | 640 | }; |