diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast new file mode 100644 index 000000000..29b268b55 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast | |||
@@ -0,0 +1,60 @@ | |||
1 | SOURCE_FILE@[0; 48) | ||
2 | FN_DEF@[0; 47) | ||
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; 47) | ||
12 | BLOCK@[9; 47) | ||
13 | L_CURLY@[9; 10) "{" | ||
14 | WHITESPACE@[10; 15) "\n " | ||
15 | EXPR_STMT@[15; 21) | ||
16 | FIELD_EXPR@[15; 20) | ||
17 | PATH_EXPR@[15; 16) | ||
18 | PATH@[15; 16) | ||
19 | PATH_SEGMENT@[15; 16) | ||
20 | NAME_REF@[15; 16) | ||
21 | IDENT@[15; 16) "x" | ||
22 | DOT@[16; 17) "." | ||
23 | NAME_REF@[17; 20) | ||
24 | IDENT@[17; 20) "foo" | ||
25 | SEMI@[20; 21) ";" | ||
26 | WHITESPACE@[21; 26) "\n " | ||
27 | EXPR_STMT@[26; 34) | ||
28 | FIELD_EXPR@[26; 33) | ||
29 | FIELD_EXPR@[26; 29) | ||
30 | PATH_EXPR@[26; 27) | ||
31 | PATH@[26; 27) | ||
32 | PATH_SEGMENT@[26; 27) | ||
33 | NAME_REF@[26; 27) | ||
34 | IDENT@[26; 27) "x" | ||
35 | DOT@[27; 28) "." | ||
36 | NAME_REF@[28; 29) | ||
37 | INT_NUMBER@[28; 29) "0" | ||
38 | DOT@[29; 30) "." | ||
39 | NAME_REF@[30; 33) | ||
40 | IDENT@[30; 33) "bar" | ||
41 | SEMI@[33; 34) ";" | ||
42 | WHITESPACE@[34; 39) "\n " | ||
43 | EXPR_STMT@[39; 45) | ||
44 | CALL_EXPR@[39; 44) | ||
45 | FIELD_EXPR@[39; 42) | ||
46 | PATH_EXPR@[39; 40) | ||
47 | PATH@[39; 40) | ||
48 | PATH_SEGMENT@[39; 40) | ||
49 | NAME_REF@[39; 40) | ||
50 | IDENT@[39; 40) "x" | ||
51 | DOT@[40; 41) "." | ||
52 | NAME_REF@[41; 42) | ||
53 | INT_NUMBER@[41; 42) "0" | ||
54 | ARG_LIST@[42; 44) | ||
55 | L_PAREN@[42; 43) "(" | ||
56 | R_PAREN@[43; 44) ")" | ||
57 | SEMI@[44; 45) ";" | ||
58 | WHITESPACE@[45; 46) "\n" | ||
59 | R_CURLY@[46; 47) "}" | ||
60 | WHITESPACE@[47; 48) "\n" | ||