diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt b/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt deleted file mode 100644 index ac44093e8..000000000 --- a/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt +++ /dev/null | |||
@@ -1,93 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 97) | ||
2 | STRUCT_DEF@[0; 9) | ||
3 | STRUCT_KW@[0; 6) "struct" | ||
4 | WHITESPACE@[6; 7) " " | ||
5 | NAME@[7; 8) | ||
6 | IDENT@[7; 8) "A" | ||
7 | SEMI@[8; 9) ";" | ||
8 | WHITESPACE@[9; 10) "\n" | ||
9 | STRUCT_DEF@[10; 21) | ||
10 | STRUCT_KW@[10; 16) "struct" | ||
11 | WHITESPACE@[16; 17) " " | ||
12 | NAME@[17; 18) | ||
13 | IDENT@[17; 18) "B" | ||
14 | WHITESPACE@[18; 19) " " | ||
15 | NAMED_FIELD_DEF_LIST@[19; 21) | ||
16 | L_CURLY@[19; 20) "{" | ||
17 | R_CURLY@[20; 21) "}" | ||
18 | WHITESPACE@[21; 22) "\n" | ||
19 | STRUCT_DEF@[22; 33) | ||
20 | STRUCT_KW@[22; 28) "struct" | ||
21 | WHITESPACE@[28; 29) " " | ||
22 | NAME@[29; 30) | ||
23 | IDENT@[29; 30) "C" | ||
24 | POS_FIELD_DEF_LIST@[30; 32) | ||
25 | L_PAREN@[30; 31) "(" | ||
26 | R_PAREN@[31; 32) ")" | ||
27 | SEMI@[32; 33) ";" | ||
28 | WHITESPACE@[33; 35) "\n\n" | ||
29 | STRUCT_DEF@[35; 74) | ||
30 | STRUCT_KW@[35; 41) "struct" | ||
31 | WHITESPACE@[41; 42) " " | ||
32 | NAME@[42; 43) | ||
33 | IDENT@[42; 43) "D" | ||
34 | WHITESPACE@[43; 44) " " | ||
35 | NAMED_FIELD_DEF_LIST@[44; 74) | ||
36 | L_CURLY@[44; 45) "{" | ||
37 | WHITESPACE@[45; 50) "\n " | ||
38 | NAMED_FIELD_DEF@[50; 56) | ||
39 | NAME@[50; 51) | ||
40 | IDENT@[50; 51) "a" | ||
41 | COLON@[51; 52) ":" | ||
42 | WHITESPACE@[52; 53) " " | ||
43 | PATH_TYPE@[53; 56) | ||
44 | PATH@[53; 56) | ||
45 | PATH_SEGMENT@[53; 56) | ||
46 | NAME_REF@[53; 56) | ||
47 | IDENT@[53; 56) "u32" | ||
48 | COMMA@[56; 57) "," | ||
49 | WHITESPACE@[57; 62) "\n " | ||
50 | NAMED_FIELD_DEF@[62; 72) | ||
51 | VISIBILITY@[62; 65) | ||
52 | PUB_KW@[62; 65) "pub" | ||
53 | WHITESPACE@[65; 66) " " | ||
54 | NAME@[66; 67) | ||
55 | IDENT@[66; 67) "b" | ||
56 | COLON@[67; 68) ":" | ||
57 | WHITESPACE@[68; 69) " " | ||
58 | PATH_TYPE@[69; 72) | ||
59 | PATH@[69; 72) | ||
60 | PATH_SEGMENT@[69; 72) | ||
61 | NAME_REF@[69; 72) | ||
62 | IDENT@[69; 72) "u32" | ||
63 | WHITESPACE@[72; 73) "\n" | ||
64 | R_CURLY@[73; 74) "}" | ||
65 | WHITESPACE@[74; 76) "\n\n" | ||
66 | STRUCT_DEF@[76; 96) | ||
67 | STRUCT_KW@[76; 82) "struct" | ||
68 | WHITESPACE@[82; 83) " " | ||
69 | NAME@[83; 84) | ||
70 | IDENT@[83; 84) "E" | ||
71 | POS_FIELD_DEF_LIST@[84; 95) | ||
72 | L_PAREN@[84; 85) "(" | ||
73 | POS_FIELD_DEF@[85; 90) | ||
74 | VISIBILITY@[85; 88) | ||
75 | PUB_KW@[85; 88) "pub" | ||
76 | WHITESPACE@[88; 89) " " | ||
77 | PATH_TYPE@[89; 90) | ||
78 | PATH@[89; 90) | ||
79 | PATH_SEGMENT@[89; 90) | ||
80 | NAME_REF@[89; 90) | ||
81 | IDENT@[89; 90) "x" | ||
82 | COMMA@[90; 91) "," | ||
83 | WHITESPACE@[91; 92) " " | ||
84 | POS_FIELD_DEF@[92; 93) | ||
85 | PATH_TYPE@[92; 93) | ||
86 | PATH@[92; 93) | ||
87 | PATH_SEGMENT@[92; 93) | ||
88 | NAME_REF@[92; 93) | ||
89 | IDENT@[92; 93) "y" | ||
90 | COMMA@[93; 94) "," | ||
91 | R_PAREN@[94; 95) ")" | ||
92 | SEMI@[95; 96) ";" | ||
93 | WHITESPACE@[96; 97) "\n" | ||