diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast new file mode 100644 index 000000000..ee55ee219 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast | |||
@@ -0,0 +1,70 @@ | |||
1 | SOURCE_FILE@[0; 71) | ||
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 | PATH_TYPE@[9; 12) | ||
11 | PATH@[9; 12) | ||
12 | PATH_SEGMENT@[9; 12) | ||
13 | NAME_REF@[9; 12) | ||
14 | IDENT@[9; 12) "Foo" | ||
15 | SEMI@[12; 13) ";" | ||
16 | WHITESPACE@[13; 14) "\n" | ||
17 | TYPE_ALIAS_DEF@[14; 29) | ||
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 | PATH_TYPE@[23; 28) | ||
26 | PATH@[23; 28) | ||
27 | PATH_SEGMENT@[23; 28) | ||
28 | COLONCOLON@[23; 25) "::" | ||
29 | NAME_REF@[25; 28) | ||
30 | IDENT@[25; 28) "Foo" | ||
31 | SEMI@[28; 29) ";" | ||
32 | WHITESPACE@[29; 30) "\n" | ||
33 | TYPE_ALIAS_DEF@[30; 49) | ||
34 | TYPE_KW@[30; 34) "type" | ||
35 | WHITESPACE@[34; 35) " " | ||
36 | NAME@[35; 36) | ||
37 | IDENT@[35; 36) "C" | ||
38 | WHITESPACE@[36; 37) " " | ||
39 | EQ@[37; 38) "=" | ||
40 | WHITESPACE@[38; 39) " " | ||
41 | PATH_TYPE@[39; 48) | ||
42 | PATH@[39; 48) | ||
43 | PATH@[39; 43) | ||
44 | PATH_SEGMENT@[39; 43) | ||
45 | SELF_KW@[39; 43) "self" | ||
46 | COLONCOLON@[43; 45) "::" | ||
47 | PATH_SEGMENT@[45; 48) | ||
48 | NAME_REF@[45; 48) | ||
49 | IDENT@[45; 48) "Foo" | ||
50 | SEMI@[48; 49) ";" | ||
51 | WHITESPACE@[49; 50) "\n" | ||
52 | TYPE_ALIAS_DEF@[50; 70) | ||
53 | TYPE_KW@[50; 54) "type" | ||
54 | WHITESPACE@[54; 55) " " | ||
55 | NAME@[55; 56) | ||
56 | IDENT@[55; 56) "D" | ||
57 | WHITESPACE@[56; 57) " " | ||
58 | EQ@[57; 58) "=" | ||
59 | WHITESPACE@[58; 59) " " | ||
60 | PATH_TYPE@[59; 69) | ||
61 | PATH@[59; 69) | ||
62 | PATH@[59; 64) | ||
63 | PATH_SEGMENT@[59; 64) | ||
64 | SUPER_KW@[59; 64) "super" | ||
65 | COLONCOLON@[64; 66) "::" | ||
66 | PATH_SEGMENT@[66; 69) | ||
67 | NAME_REF@[66; 69) | ||
68 | IDENT@[66; 69) "Foo" | ||
69 | SEMI@[69; 70) ";" | ||
70 | WHITESPACE@[70; 71) "\n" | ||