diff options
author | Aleksey Kladov <[email protected]> | 2018-08-24 17:27:30 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-24 17:27:30 +0100 |
commit | 7edab6ae6b4c5d0c411e88f10e923b91dca31de3 (patch) | |
tree | 4c17856285f568c56adb7c02024ef80e821dd367 /crates/libsyntax2/src/syntax_kinds/generated.rs | |
parent | 4d293003964c8f9fabadb1ceb77eab29c0438de3 (diff) |
nodes for blocks
Diffstat (limited to 'crates/libsyntax2/src/syntax_kinds/generated.rs')
-rw-r--r-- | crates/libsyntax2/src/syntax_kinds/generated.rs | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/crates/libsyntax2/src/syntax_kinds/generated.rs b/crates/libsyntax2/src/syntax_kinds/generated.rs index 61d527f93..6c7f44aee 100644 --- a/crates/libsyntax2/src/syntax_kinds/generated.rs +++ b/crates/libsyntax2/src/syntax_kinds/generated.rs | |||
@@ -147,6 +147,7 @@ pub enum SyntaxKind { | |||
147 | PLACEHOLDER_PAT, | 147 | PLACEHOLDER_PAT, |
148 | PATH_PAT, | 148 | PATH_PAT, |
149 | STRUCT_PAT, | 149 | STRUCT_PAT, |
150 | FIELD_PAT_LIST, | ||
150 | TUPLE_STRUCT_PAT, | 151 | TUPLE_STRUCT_PAT, |
151 | TUPLE_PAT, | 152 | TUPLE_PAT, |
152 | SLICE_PAT, | 153 | SLICE_PAT, |
@@ -166,10 +167,12 @@ pub enum SyntaxKind { | |||
166 | BLOCK_EXPR, | 167 | BLOCK_EXPR, |
167 | RETURN_EXPR, | 168 | RETURN_EXPR, |
168 | MATCH_EXPR, | 169 | MATCH_EXPR, |
170 | MATCH_ARM_LIST, | ||
169 | MATCH_ARM, | 171 | MATCH_ARM, |
170 | MATCH_GUARD, | 172 | MATCH_GUARD, |
171 | STRUCT_LIT, | 173 | STRUCT_LIT, |
172 | STRUCT_LIT_FIELD, | 174 | NAMED_FIELD_LIST, |
175 | NAMED_FIELD, | ||
173 | CALL_EXPR, | 176 | CALL_EXPR, |
174 | INDEX_EXPR, | 177 | INDEX_EXPR, |
175 | METHOD_CALL_EXPR, | 178 | METHOD_CALL_EXPR, |
@@ -180,13 +183,20 @@ pub enum SyntaxKind { | |||
180 | PREFIX_EXPR, | 183 | PREFIX_EXPR, |
181 | RANGE_EXPR, | 184 | RANGE_EXPR, |
182 | BIN_EXPR, | 185 | BIN_EXPR, |
183 | EXTERN_BLOCK_EXPR, | 186 | BLOCK, |
187 | EXTERN_BLOCK, | ||
188 | EXTERN_ITEM_LIST, | ||
184 | ENUM_VARIANT, | 189 | ENUM_VARIANT, |
185 | NAMED_FIELD, | 190 | NAMED_FIELD_DEF_LIST, |
191 | NAMED_FIELD_DEF, | ||
192 | POS_FIELD_LIST, | ||
186 | POS_FIELD, | 193 | POS_FIELD, |
194 | ENUM_VARIANT_LIST, | ||
195 | ITEM_LIST, | ||
187 | ATTR, | 196 | ATTR, |
188 | META_ITEM, | 197 | META_ITEM, |
189 | USE_TREE, | 198 | USE_TREE, |
199 | USE_TREE_LIST, | ||
190 | PATH, | 200 | PATH, |
191 | PATH_SEGMENT, | 201 | PATH_SEGMENT, |
192 | LITERAL, | 202 | LITERAL, |
@@ -397,6 +407,7 @@ impl SyntaxKind { | |||
397 | PLACEHOLDER_PAT => &SyntaxInfo { name: "PLACEHOLDER_PAT" }, | 407 | PLACEHOLDER_PAT => &SyntaxInfo { name: "PLACEHOLDER_PAT" }, |
398 | PATH_PAT => &SyntaxInfo { name: "PATH_PAT" }, | 408 | PATH_PAT => &SyntaxInfo { name: "PATH_PAT" }, |
399 | STRUCT_PAT => &SyntaxInfo { name: "STRUCT_PAT" }, | 409 | STRUCT_PAT => &SyntaxInfo { name: "STRUCT_PAT" }, |
410 | FIELD_PAT_LIST => &SyntaxInfo { name: "FIELD_PAT_LIST" }, | ||
400 | TUPLE_STRUCT_PAT => &SyntaxInfo { name: "TUPLE_STRUCT_PAT" }, | 411 | TUPLE_STRUCT_PAT => &SyntaxInfo { name: "TUPLE_STRUCT_PAT" }, |
401 | TUPLE_PAT => &SyntaxInfo { name: "TUPLE_PAT" }, | 412 | TUPLE_PAT => &SyntaxInfo { name: "TUPLE_PAT" }, |
402 | SLICE_PAT => &SyntaxInfo { name: "SLICE_PAT" }, | 413 | SLICE_PAT => &SyntaxInfo { name: "SLICE_PAT" }, |
@@ -416,10 +427,12 @@ impl SyntaxKind { | |||
416 | BLOCK_EXPR => &SyntaxInfo { name: "BLOCK_EXPR" }, | 427 | BLOCK_EXPR => &SyntaxInfo { name: "BLOCK_EXPR" }, |
417 | RETURN_EXPR => &SyntaxInfo { name: "RETURN_EXPR" }, | 428 | RETURN_EXPR => &SyntaxInfo { name: "RETURN_EXPR" }, |
418 | MATCH_EXPR => &SyntaxInfo { name: "MATCH_EXPR" }, | 429 | MATCH_EXPR => &SyntaxInfo { name: "MATCH_EXPR" }, |
430 | MATCH_ARM_LIST => &SyntaxInfo { name: "MATCH_ARM_LIST" }, | ||
419 | MATCH_ARM => &SyntaxInfo { name: "MATCH_ARM" }, | 431 | MATCH_ARM => &SyntaxInfo { name: "MATCH_ARM" }, |
420 | MATCH_GUARD => &SyntaxInfo { name: "MATCH_GUARD" }, | 432 | MATCH_GUARD => &SyntaxInfo { name: "MATCH_GUARD" }, |
421 | STRUCT_LIT => &SyntaxInfo { name: "STRUCT_LIT" }, | 433 | STRUCT_LIT => &SyntaxInfo { name: "STRUCT_LIT" }, |
422 | STRUCT_LIT_FIELD => &SyntaxInfo { name: "STRUCT_LIT_FIELD" }, | 434 | NAMED_FIELD_LIST => &SyntaxInfo { name: "NAMED_FIELD_LIST" }, |
435 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, | ||
423 | CALL_EXPR => &SyntaxInfo { name: "CALL_EXPR" }, | 436 | CALL_EXPR => &SyntaxInfo { name: "CALL_EXPR" }, |
424 | INDEX_EXPR => &SyntaxInfo { name: "INDEX_EXPR" }, | 437 | INDEX_EXPR => &SyntaxInfo { name: "INDEX_EXPR" }, |
425 | METHOD_CALL_EXPR => &SyntaxInfo { name: "METHOD_CALL_EXPR" }, | 438 | METHOD_CALL_EXPR => &SyntaxInfo { name: "METHOD_CALL_EXPR" }, |
@@ -430,13 +443,20 @@ impl SyntaxKind { | |||
430 | PREFIX_EXPR => &SyntaxInfo { name: "PREFIX_EXPR" }, | 443 | PREFIX_EXPR => &SyntaxInfo { name: "PREFIX_EXPR" }, |
431 | RANGE_EXPR => &SyntaxInfo { name: "RANGE_EXPR" }, | 444 | RANGE_EXPR => &SyntaxInfo { name: "RANGE_EXPR" }, |
432 | BIN_EXPR => &SyntaxInfo { name: "BIN_EXPR" }, | 445 | BIN_EXPR => &SyntaxInfo { name: "BIN_EXPR" }, |
433 | EXTERN_BLOCK_EXPR => &SyntaxInfo { name: "EXTERN_BLOCK_EXPR" }, | 446 | BLOCK => &SyntaxInfo { name: "BLOCK" }, |
447 | EXTERN_BLOCK => &SyntaxInfo { name: "EXTERN_BLOCK" }, | ||
448 | EXTERN_ITEM_LIST => &SyntaxInfo { name: "EXTERN_ITEM_LIST" }, | ||
434 | ENUM_VARIANT => &SyntaxInfo { name: "ENUM_VARIANT" }, | 449 | ENUM_VARIANT => &SyntaxInfo { name: "ENUM_VARIANT" }, |
435 | NAMED_FIELD => &SyntaxInfo { name: "NAMED_FIELD" }, | 450 | NAMED_FIELD_DEF_LIST => &SyntaxInfo { name: "NAMED_FIELD_DEF_LIST" }, |
451 | NAMED_FIELD_DEF => &SyntaxInfo { name: "NAMED_FIELD_DEF" }, | ||
452 | POS_FIELD_LIST => &SyntaxInfo { name: "POS_FIELD_LIST" }, | ||
436 | POS_FIELD => &SyntaxInfo { name: "POS_FIELD" }, | 453 | POS_FIELD => &SyntaxInfo { name: "POS_FIELD" }, |
454 | ENUM_VARIANT_LIST => &SyntaxInfo { name: "ENUM_VARIANT_LIST" }, | ||
455 | ITEM_LIST => &SyntaxInfo { name: "ITEM_LIST" }, | ||
437 | ATTR => &SyntaxInfo { name: "ATTR" }, | 456 | ATTR => &SyntaxInfo { name: "ATTR" }, |
438 | META_ITEM => &SyntaxInfo { name: "META_ITEM" }, | 457 | META_ITEM => &SyntaxInfo { name: "META_ITEM" }, |
439 | USE_TREE => &SyntaxInfo { name: "USE_TREE" }, | 458 | USE_TREE => &SyntaxInfo { name: "USE_TREE" }, |
459 | USE_TREE_LIST => &SyntaxInfo { name: "USE_TREE_LIST" }, | ||
440 | PATH => &SyntaxInfo { name: "PATH" }, | 460 | PATH => &SyntaxInfo { name: "PATH" }, |
441 | PATH_SEGMENT => &SyntaxInfo { name: "PATH_SEGMENT" }, | 461 | PATH_SEGMENT => &SyntaxInfo { name: "PATH_SEGMENT" }, |
442 | LITERAL => &SyntaxInfo { name: "LITERAL" }, | 462 | LITERAL => &SyntaxInfo { name: "LITERAL" }, |