diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast new file mode 100644 index 000000000..6a9f3bf72 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast | |||
@@ -0,0 +1,32 @@ | |||
1 | SOURCE_FILE@[0; 27) | ||
2 | FN_DEF@[0; 26) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) "(" | ||
9 | R_PAREN@[7; 8) ")" | ||
10 | WHITESPACE@[8; 9) " " | ||
11 | BLOCK_EXPR@[9; 26) | ||
12 | BLOCK@[9; 26) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 11) " " | ||
15 | EXPR_STMT@[11; 24) | ||
16 | CALL_EXPR@[11; 23) | ||
17 | PATH_EXPR@[11; 21) | ||
18 | PATH@[11; 21) | ||
19 | PATH@[11; 16) | ||
20 | PATH_SEGMENT@[11; 16) | ||
21 | CRATE_KW@[11; 16) "crate" | ||
22 | COLONCOLON@[16; 18) "::" | ||
23 | PATH_SEGMENT@[18; 21) | ||
24 | NAME_REF@[18; 21) | ||
25 | IDENT@[18; 21) "foo" | ||
26 | ARG_LIST@[21; 23) | ||
27 | L_PAREN@[21; 22) "(" | ||
28 | R_PAREN@[22; 23) ")" | ||
29 | SEMI@[23; 24) ";" | ||
30 | WHITESPACE@[24; 25) " " | ||
31 | R_CURLY@[25; 26) "}" | ||
32 | WHITESPACE@[26; 27) "\n" | ||