diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast new file mode 100644 index 000000000..14655d332 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast | |||
@@ -0,0 +1,64 @@ | |||
1 | SOURCE_FILE@[0; 111) | ||
2 | FN_DEF@[0; 110) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 18) | ||
6 | IDENT@[3; 18) "simple_function" | ||
7 | PARAM_LIST@[18; 20) | ||
8 | L_PAREN@[18; 19) "(" | ||
9 | R_PAREN@[19; 20) ")" | ||
10 | WHITESPACE@[20; 21) " " | ||
11 | BLOCK_EXPR@[21; 110) | ||
12 | BLOCK@[21; 110) | ||
13 | L_CURLY@[21; 22) "{" | ||
14 | WHITESPACE@[22; 27) "\n " | ||
15 | ENUM_DEF@[27; 75) | ||
16 | ENUM_KW@[27; 31) "enum" | ||
17 | WHITESPACE@[31; 32) " " | ||
18 | NAME@[32; 41) | ||
19 | IDENT@[32; 41) "LocalEnum" | ||
20 | WHITESPACE@[41; 42) " " | ||
21 | ENUM_VARIANT_LIST@[42; 75) | ||
22 | L_CURLY@[42; 43) "{" | ||
23 | WHITESPACE@[43; 52) "\n " | ||
24 | ENUM_VARIANT@[52; 55) | ||
25 | NAME@[52; 55) | ||
26 | IDENT@[52; 55) "One" | ||
27 | COMMA@[55; 56) "," | ||
28 | WHITESPACE@[56; 65) "\n " | ||
29 | ENUM_VARIANT@[65; 68) | ||
30 | NAME@[65; 68) | ||
31 | IDENT@[65; 68) "Two" | ||
32 | COMMA@[68; 69) "," | ||
33 | WHITESPACE@[69; 74) "\n " | ||
34 | R_CURLY@[74; 75) "}" | ||
35 | SEMI@[75; 76) ";" | ||
36 | WHITESPACE@[76; 81) "\n " | ||
37 | FN_DEF@[81; 90) | ||
38 | FN_KW@[81; 83) "fn" | ||
39 | WHITESPACE@[83; 84) " " | ||
40 | NAME@[84; 85) | ||
41 | IDENT@[84; 85) "f" | ||
42 | PARAM_LIST@[85; 87) | ||
43 | L_PAREN@[85; 86) "(" | ||
44 | R_PAREN@[86; 87) ")" | ||
45 | WHITESPACE@[87; 88) " " | ||
46 | BLOCK_EXPR@[88; 90) | ||
47 | BLOCK@[88; 90) | ||
48 | L_CURLY@[88; 89) "{" | ||
49 | R_CURLY@[89; 90) "}" | ||
50 | SEMI@[90; 91) ";" | ||
51 | WHITESPACE@[91; 96) "\n " | ||
52 | STRUCT_DEF@[96; 107) | ||
53 | STRUCT_KW@[96; 102) "struct" | ||
54 | WHITESPACE@[102; 103) " " | ||
55 | NAME@[103; 104) | ||
56 | IDENT@[103; 104) "S" | ||
57 | WHITESPACE@[104; 105) " " | ||
58 | RECORD_FIELD_DEF_LIST@[105; 107) | ||
59 | L_CURLY@[105; 106) "{" | ||
60 | R_CURLY@[106; 107) "}" | ||
61 | SEMI@[107; 108) ";" | ||
62 | WHITESPACE@[108; 109) "\n" | ||
63 | R_CURLY@[109; 110) "}" | ||
64 | WHITESPACE@[110; 111) "\n" | ||