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/tests/data/parser/ok/0008_mod_item.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt b/crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt deleted file mode 100644 index 9152d6eb6..000000000 --- a/crates/ra_syntax/tests/data/parser/ok/0008_mod_item.txt +++ /dev/null | |||
@@ -1,90 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 118) | ||
2 | MODULE@[0; 6) | ||
3 | MOD_KW@[0; 3) "mod" | ||
4 | WHITESPACE@[3; 4) " " | ||
5 | NAME@[4; 5) | ||
6 | IDENT@[4; 5) "a" | ||
7 | SEMI@[5; 6) ";" | ||
8 | WHITESPACE@[6; 8) "\n\n" | ||
9 | MODULE@[8; 17) | ||
10 | MOD_KW@[8; 11) "mod" | ||
11 | WHITESPACE@[11; 12) " " | ||
12 | NAME@[12; 13) | ||
13 | IDENT@[12; 13) "b" | ||
14 | WHITESPACE@[13; 14) " " | ||
15 | ITEM_LIST@[14; 17) | ||
16 | L_CURLY@[14; 15) "{" | ||
17 | WHITESPACE@[15; 16) "\n" | ||
18 | R_CURLY@[16; 17) "}" | ||
19 | WHITESPACE@[17; 19) "\n\n" | ||
20 | MODULE@[19; 65) | ||
21 | MOD_KW@[19; 22) "mod" | ||
22 | WHITESPACE@[22; 23) " " | ||
23 | NAME@[23; 24) | ||
24 | IDENT@[23; 24) "c" | ||
25 | WHITESPACE@[24; 25) " " | ||
26 | ITEM_LIST@[25; 65) | ||
27 | L_CURLY@[25; 26) "{" | ||
28 | WHITESPACE@[26; 31) "\n " | ||
29 | FN_DEF@[31; 47) | ||
30 | FN_KW@[31; 33) "fn" | ||
31 | WHITESPACE@[33; 34) " " | ||
32 | NAME@[34; 37) | ||
33 | IDENT@[34; 37) "foo" | ||
34 | PARAM_LIST@[37; 39) | ||
35 | L_PAREN@[37; 38) "(" | ||
36 | R_PAREN@[38; 39) ")" | ||
37 | WHITESPACE@[39; 40) " " | ||
38 | BLOCK@[40; 47) | ||
39 | L_CURLY@[40; 41) "{" | ||
40 | WHITESPACE@[41; 46) "\n " | ||
41 | R_CURLY@[46; 47) "}" | ||
42 | WHITESPACE@[47; 52) "\n " | ||
43 | STRUCT_DEF@[52; 63) | ||
44 | STRUCT_KW@[52; 58) "struct" | ||
45 | WHITESPACE@[58; 59) " " | ||
46 | NAME@[59; 60) | ||
47 | IDENT@[59; 60) "S" | ||
48 | WHITESPACE@[60; 61) " " | ||
49 | NAMED_FIELD_DEF_LIST@[61; 63) | ||
50 | L_CURLY@[61; 62) "{" | ||
51 | R_CURLY@[62; 63) "}" | ||
52 | WHITESPACE@[63; 64) "\n" | ||
53 | R_CURLY@[64; 65) "}" | ||
54 | WHITESPACE@[65; 67) "\n\n" | ||
55 | MODULE@[67; 118) | ||
56 | MOD_KW@[67; 70) "mod" | ||
57 | WHITESPACE@[70; 71) " " | ||
58 | NAME@[71; 72) | ||
59 | IDENT@[71; 72) "d" | ||
60 | WHITESPACE@[72; 73) " " | ||
61 | ITEM_LIST@[73; 118) | ||
62 | L_CURLY@[73; 74) "{" | ||
63 | WHITESPACE@[74; 79) "\n " | ||
64 | ATTR@[79; 87) | ||
65 | POUND@[79; 80) "#" | ||
66 | EXCL@[80; 81) "!" | ||
67 | TOKEN_TREE@[81; 87) | ||
68 | L_BRACK@[81; 82) "[" | ||
69 | IDENT@[82; 86) "attr" | ||
70 | R_BRACK@[86; 87) "]" | ||
71 | WHITESPACE@[87; 92) "\n " | ||
72 | MODULE@[92; 98) | ||
73 | MOD_KW@[92; 95) "mod" | ||
74 | WHITESPACE@[95; 96) " " | ||
75 | NAME@[96; 97) | ||
76 | IDENT@[96; 97) "e" | ||
77 | SEMI@[97; 98) ";" | ||
78 | WHITESPACE@[98; 103) "\n " | ||
79 | MODULE@[103; 116) | ||
80 | MOD_KW@[103; 106) "mod" | ||
81 | WHITESPACE@[106; 107) " " | ||
82 | NAME@[107; 108) | ||
83 | IDENT@[107; 108) "f" | ||
84 | WHITESPACE@[108; 109) " " | ||
85 | ITEM_LIST@[109; 116) | ||
86 | L_CURLY@[109; 110) "{" | ||
87 | WHITESPACE@[110; 115) "\n " | ||
88 | R_CURLY@[115; 116) "}" | ||
89 | WHITESPACE@[116; 117) "\n" | ||
90 | R_CURLY@[117; 118) "}" | ||