diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.txt | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.txt b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.txt new file mode 100644 index 000000000..50d3b5def --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.txt | |||
@@ -0,0 +1,62 @@ | |||
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@[21; 110) | ||
12 | L_CURLY@[21; 22) "{" | ||
13 | WHITESPACE@[22; 27) "\n " | ||
14 | ENUM_DEF@[27; 75) | ||
15 | ENUM_KW@[27; 31) "enum" | ||
16 | WHITESPACE@[31; 32) " " | ||
17 | NAME@[32; 41) | ||
18 | IDENT@[32; 41) "LocalEnum" | ||
19 | WHITESPACE@[41; 42) " " | ||
20 | ENUM_VARIANT_LIST@[42; 75) | ||
21 | L_CURLY@[42; 43) "{" | ||
22 | WHITESPACE@[43; 52) "\n " | ||
23 | ENUM_VARIANT@[52; 55) | ||
24 | NAME@[52; 55) | ||
25 | IDENT@[52; 55) "One" | ||
26 | COMMA@[55; 56) "," | ||
27 | WHITESPACE@[56; 65) "\n " | ||
28 | ENUM_VARIANT@[65; 68) | ||
29 | NAME@[65; 68) | ||
30 | IDENT@[65; 68) "Two" | ||
31 | COMMA@[68; 69) "," | ||
32 | WHITESPACE@[69; 74) "\n " | ||
33 | R_CURLY@[74; 75) "}" | ||
34 | SEMI@[75; 76) ";" | ||
35 | WHITESPACE@[76; 81) "\n " | ||
36 | FN_DEF@[81; 90) | ||
37 | FN_KW@[81; 83) "fn" | ||
38 | WHITESPACE@[83; 84) " " | ||
39 | NAME@[84; 85) | ||
40 | IDENT@[84; 85) "f" | ||
41 | PARAM_LIST@[85; 87) | ||
42 | L_PAREN@[85; 86) "(" | ||
43 | R_PAREN@[86; 87) ")" | ||
44 | WHITESPACE@[87; 88) " " | ||
45 | BLOCK@[88; 90) | ||
46 | L_CURLY@[88; 89) "{" | ||
47 | R_CURLY@[89; 90) "}" | ||
48 | SEMI@[90; 91) ";" | ||
49 | WHITESPACE@[91; 96) "\n " | ||
50 | STRUCT_DEF@[96; 107) | ||
51 | STRUCT_KW@[96; 102) "struct" | ||
52 | WHITESPACE@[102; 103) " " | ||
53 | NAME@[103; 104) | ||
54 | IDENT@[103; 104) "S" | ||
55 | WHITESPACE@[104; 105) " " | ||
56 | NAMED_FIELD_DEF_LIST@[105; 107) | ||
57 | L_CURLY@[105; 106) "{" | ||
58 | R_CURLY@[106; 107) "}" | ||
59 | SEMI@[107; 108) ";" | ||
60 | WHITESPACE@[108; 109) "\n" | ||
61 | R_CURLY@[109; 110) "}" | ||
62 | WHITESPACE@[110; 111) "\n" | ||