diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast b/crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast new file mode 100644 index 000000000..7642ea659 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast | |||
@@ -0,0 +1,50 @@ | |||
1 | SOURCE_FILE@[0; 54) | ||
2 | TYPE_ALIAS_DEF@[0; 13) | ||
3 | TYPE_KW@[0; 4) "type" | ||
4 | WHITESPACE@[4; 5) " " | ||
5 | NAME@[5; 6) | ||
6 | IDENT@[5; 6) "A" | ||
7 | WHITESPACE@[6; 7) " " | ||
8 | EQ@[7; 8) "=" | ||
9 | WHITESPACE@[8; 9) " " | ||
10 | REFERENCE_TYPE@[9; 12) | ||
11 | AMP@[9; 10) "&" | ||
12 | TUPLE_TYPE@[10; 12) | ||
13 | L_PAREN@[10; 11) "(" | ||
14 | R_PAREN@[11; 12) ")" | ||
15 | SEMI@[12; 13) ";" | ||
16 | WHITESPACE@[13; 14) "\n" | ||
17 | TYPE_ALIAS_DEF@[14; 35) | ||
18 | TYPE_KW@[14; 18) "type" | ||
19 | WHITESPACE@[18; 19) " " | ||
20 | NAME@[19; 20) | ||
21 | IDENT@[19; 20) "B" | ||
22 | WHITESPACE@[20; 21) " " | ||
23 | EQ@[21; 22) "=" | ||
24 | WHITESPACE@[22; 23) " " | ||
25 | REFERENCE_TYPE@[23; 34) | ||
26 | AMP@[23; 24) "&" | ||
27 | LIFETIME@[24; 31) "\'static" | ||
28 | WHITESPACE@[31; 32) " " | ||
29 | TUPLE_TYPE@[32; 34) | ||
30 | L_PAREN@[32; 33) "(" | ||
31 | R_PAREN@[33; 34) ")" | ||
32 | SEMI@[34; 35) ";" | ||
33 | WHITESPACE@[35; 36) "\n" | ||
34 | TYPE_ALIAS_DEF@[36; 53) | ||
35 | TYPE_KW@[36; 40) "type" | ||
36 | WHITESPACE@[40; 41) " " | ||
37 | NAME@[41; 42) | ||
38 | IDENT@[41; 42) "C" | ||
39 | WHITESPACE@[42; 43) " " | ||
40 | EQ@[43; 44) "=" | ||
41 | WHITESPACE@[44; 45) " " | ||
42 | REFERENCE_TYPE@[45; 52) | ||
43 | AMP@[45; 46) "&" | ||
44 | MUT_KW@[46; 49) "mut" | ||
45 | WHITESPACE@[49; 50) " " | ||
46 | TUPLE_TYPE@[50; 52) | ||
47 | L_PAREN@[50; 51) "(" | ||
48 | R_PAREN@[51; 52) ")" | ||
49 | SEMI@[52; 53) ";" | ||
50 | WHITESPACE@[53; 54) "\n" | ||