diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast b/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast new file mode 100644 index 000000000..9d7982684 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast | |||
@@ -0,0 +1,46 @@ | |||
1 | SOURCE_FILE@[0; 51) | ||
2 | UNION_DEF@[0; 12) | ||
3 | UNION_KW@[0; 5) "union" | ||
4 | WHITESPACE@[5; 6) " " | ||
5 | NAME@[6; 9) | ||
6 | IDENT@[6; 9) "Foo" | ||
7 | WHITESPACE@[9; 10) " " | ||
8 | RECORD_FIELD_DEF_LIST@[10; 12) | ||
9 | L_CURLY@[10; 11) "{" | ||
10 | R_CURLY@[11; 12) "}" | ||
11 | WHITESPACE@[12; 13) "\n" | ||
12 | UNION_DEF@[13; 50) | ||
13 | UNION_KW@[13; 18) "union" | ||
14 | WHITESPACE@[18; 19) " " | ||
15 | NAME@[19; 22) | ||
16 | IDENT@[19; 22) "Foo" | ||
17 | WHITESPACE@[22; 23) " " | ||
18 | RECORD_FIELD_DEF_LIST@[23; 50) | ||
19 | L_CURLY@[23; 24) "{" | ||
20 | WHITESPACE@[24; 29) "\n " | ||
21 | RECORD_FIELD_DEF@[29; 35) | ||
22 | NAME@[29; 30) | ||
23 | IDENT@[29; 30) "a" | ||
24 | COLON@[30; 31) ":" | ||
25 | WHITESPACE@[31; 32) " " | ||
26 | PATH_TYPE@[32; 35) | ||
27 | PATH@[32; 35) | ||
28 | PATH_SEGMENT@[32; 35) | ||
29 | NAME_REF@[32; 35) | ||
30 | IDENT@[32; 35) "i32" | ||
31 | COMMA@[35; 36) "," | ||
32 | WHITESPACE@[36; 41) "\n " | ||
33 | RECORD_FIELD_DEF@[41; 47) | ||
34 | NAME@[41; 42) | ||
35 | IDENT@[41; 42) "b" | ||
36 | COLON@[42; 43) ":" | ||
37 | WHITESPACE@[43; 44) " " | ||
38 | PATH_TYPE@[44; 47) | ||
39 | PATH@[44; 47) | ||
40 | PATH_SEGMENT@[44; 47) | ||
41 | NAME_REF@[44; 47) | ||
42 | IDENT@[44; 47) "f32" | ||
43 | COMMA@[47; 48) "," | ||
44 | WHITESPACE@[48; 49) "\n" | ||
45 | R_CURLY@[49; 50) "}" | ||
46 | WHITESPACE@[50; 51) "\n" | ||