diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast new file mode 100644 index 000000000..6e226de4b --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast | |||
@@ -0,0 +1,79 @@ | |||
1 | SOURCE_FILE@[0; 71) | ||
2 | TYPE_ALIAS_DEF@[0; 26) | ||
3 | TYPE_KW@[0; 4) "type" | ||
4 | WHITESPACE@[4; 5) " " | ||
5 | NAME@[5; 6) | ||
6 | IDENT@[5; 6) "X" | ||
7 | WHITESPACE@[6; 7) " " | ||
8 | EQ@[7; 8) "=" | ||
9 | WHITESPACE@[8; 9) " " | ||
10 | PATH_TYPE@[9; 25) | ||
11 | PATH@[9; 25) | ||
12 | PATH@[9; 17) | ||
13 | PATH_SEGMENT@[9; 17) | ||
14 | L_ANGLE@[9; 10) "<" | ||
15 | PATH_TYPE@[10; 11) | ||
16 | PATH@[10; 11) | ||
17 | PATH_SEGMENT@[10; 11) | ||
18 | NAME_REF@[10; 11) | ||
19 | IDENT@[10; 11) "A" | ||
20 | WHITESPACE@[11; 12) " " | ||
21 | AS_KW@[12; 14) "as" | ||
22 | WHITESPACE@[14; 15) " " | ||
23 | PATH_TYPE@[15; 16) | ||
24 | PATH@[15; 16) | ||
25 | PATH_SEGMENT@[15; 16) | ||
26 | NAME_REF@[15; 16) | ||
27 | IDENT@[15; 16) "B" | ||
28 | R_ANGLE@[16; 17) ">" | ||
29 | COLONCOLON@[17; 19) "::" | ||
30 | PATH_SEGMENT@[19; 25) | ||
31 | NAME_REF@[19; 25) | ||
32 | IDENT@[19; 25) "Output" | ||
33 | SEMI@[25; 26) ";" | ||
34 | WHITESPACE@[26; 27) "\n" | ||
35 | FN_DEF@[27; 70) | ||
36 | FN_KW@[27; 29) "fn" | ||
37 | WHITESPACE@[29; 30) " " | ||
38 | NAME@[30; 33) | ||
39 | IDENT@[30; 33) "foo" | ||
40 | PARAM_LIST@[33; 35) | ||
41 | L_PAREN@[33; 34) "(" | ||
42 | R_PAREN@[34; 35) ")" | ||
43 | WHITESPACE@[35; 36) " " | ||
44 | BLOCK_EXPR@[36; 70) | ||
45 | BLOCK@[36; 70) | ||
46 | L_CURLY@[36; 37) "{" | ||
47 | WHITESPACE@[37; 38) " " | ||
48 | EXPR_STMT@[38; 68) | ||
49 | CALL_EXPR@[38; 67) | ||
50 | PATH_EXPR@[38; 65) | ||
51 | PATH@[38; 65) | ||
52 | PATH@[38; 56) | ||
53 | PATH_SEGMENT@[38; 56) | ||
54 | L_ANGLE@[38; 39) "<" | ||
55 | PATH_TYPE@[39; 44) | ||
56 | PATH@[39; 44) | ||
57 | PATH_SEGMENT@[39; 44) | ||
58 | NAME_REF@[39; 44) | ||
59 | IDENT@[39; 44) "usize" | ||
60 | WHITESPACE@[44; 45) " " | ||
61 | AS_KW@[45; 47) "as" | ||
62 | WHITESPACE@[47; 48) " " | ||
63 | PATH_TYPE@[48; 55) | ||
64 | PATH@[48; 55) | ||
65 | PATH_SEGMENT@[48; 55) | ||
66 | NAME_REF@[48; 55) | ||
67 | IDENT@[48; 55) "Default" | ||
68 | R_ANGLE@[55; 56) ">" | ||
69 | COLONCOLON@[56; 58) "::" | ||
70 | PATH_SEGMENT@[58; 65) | ||
71 | NAME_REF@[58; 65) | ||
72 | IDENT@[58; 65) "default" | ||
73 | ARG_LIST@[65; 67) | ||
74 | L_PAREN@[65; 66) "(" | ||
75 | R_PAREN@[66; 67) ")" | ||
76 | SEMI@[67; 68) ";" | ||
77 | WHITESPACE@[68; 69) " " | ||
78 | R_CURLY@[69; 70) "}" | ||
79 | WHITESPACE@[70; 71) "\n" | ||