diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast b/crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast new file mode 100644 index 000000000..fc0d452f4 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast | |||
@@ -0,0 +1,42 @@ | |||
1 | SOURCE_FILE@[0; 62) | ||
2 | FN_DEF@[0; 61) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "main" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) "(" | ||
9 | R_PAREN@[8; 9) ")" | ||
10 | WHITESPACE@[9; 10) " " | ||
11 | BLOCK_EXPR@[10; 61) | ||
12 | BLOCK@[10; 61) | ||
13 | L_CURLY@[10; 11) "{" | ||
14 | WHITESPACE@[11; 16) "\n " | ||
15 | EXPR_STMT@[16; 59) | ||
16 | CALL_EXPR@[16; 58) | ||
17 | PATH_EXPR@[16; 26) | ||
18 | PATH@[16; 26) | ||
19 | PATH_SEGMENT@[16; 26) | ||
20 | NAME_REF@[16; 26) | ||
21 | IDENT@[16; 26) "make_query" | ||
22 | ARG_LIST@[26; 58) | ||
23 | L_PAREN@[26; 27) "(" | ||
24 | PATH_EXPR@[27; 57) | ||
25 | PATH@[27; 57) | ||
26 | PATH@[27; 44) | ||
27 | PATH@[27; 32) | ||
28 | PATH_SEGMENT@[27; 32) | ||
29 | CRATE_KW@[27; 32) "crate" | ||
30 | COLONCOLON@[32; 34) "::" | ||
31 | PATH_SEGMENT@[34; 44) | ||
32 | NAME_REF@[34; 44) | ||
33 | IDENT@[34; 44) "module_map" | ||
34 | COLONCOLON@[44; 46) "::" | ||
35 | PATH_SEGMENT@[46; 57) | ||
36 | NAME_REF@[46; 57) | ||
37 | IDENT@[46; 57) "module_tree" | ||
38 | R_PAREN@[57; 58) ")" | ||
39 | SEMI@[58; 59) ";" | ||
40 | WHITESPACE@[59; 60) "\n" | ||
41 | R_CURLY@[60; 61) "}" | ||
42 | WHITESPACE@[61; 62) "\n" | ||