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/0012_visibility.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt b/crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt deleted file mode 100644 index c9d038c19..000000000 --- a/crates/ra_syntax/tests/data/parser/ok/0012_visibility.txt +++ /dev/null | |||
@@ -1,102 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 98) | ||
2 | FN_DEF@[0; 9) | ||
3 | FN_KW@[0; 2) "fn" | ||
4 | WHITESPACE@[2; 3) " " | ||
5 | NAME@[3; 4) | ||
6 | IDENT@[3; 4) "a" | ||
7 | PARAM_LIST@[4; 6) | ||
8 | L_PAREN@[4; 5) "(" | ||
9 | R_PAREN@[5; 6) ")" | ||
10 | WHITESPACE@[6; 7) " " | ||
11 | BLOCK@[7; 9) | ||
12 | L_CURLY@[7; 8) "{" | ||
13 | R_CURLY@[8; 9) "}" | ||
14 | WHITESPACE@[9; 10) "\n" | ||
15 | FN_DEF@[10; 23) | ||
16 | VISIBILITY@[10; 13) | ||
17 | PUB_KW@[10; 13) "pub" | ||
18 | WHITESPACE@[13; 14) " " | ||
19 | FN_KW@[14; 16) "fn" | ||
20 | WHITESPACE@[16; 17) " " | ||
21 | NAME@[17; 18) | ||
22 | IDENT@[17; 18) "b" | ||
23 | PARAM_LIST@[18; 20) | ||
24 | L_PAREN@[18; 19) "(" | ||
25 | R_PAREN@[19; 20) ")" | ||
26 | WHITESPACE@[20; 21) " " | ||
27 | BLOCK@[21; 23) | ||
28 | L_CURLY@[21; 22) "{" | ||
29 | R_CURLY@[22; 23) "}" | ||
30 | WHITESPACE@[23; 24) "\n" | ||
31 | FN_DEF@[24; 44) | ||
32 | VISIBILITY@[24; 34) | ||
33 | PUB_KW@[24; 27) "pub" | ||
34 | L_PAREN@[27; 28) "(" | ||
35 | CRATE_KW@[28; 33) "crate" | ||
36 | R_PAREN@[33; 34) ")" | ||
37 | WHITESPACE@[34; 35) " " | ||
38 | FN_KW@[35; 37) "fn" | ||
39 | WHITESPACE@[37; 38) " " | ||
40 | NAME@[38; 39) | ||
41 | IDENT@[38; 39) "c" | ||
42 | PARAM_LIST@[39; 41) | ||
43 | L_PAREN@[39; 40) "(" | ||
44 | R_PAREN@[40; 41) ")" | ||
45 | WHITESPACE@[41; 42) " " | ||
46 | BLOCK@[42; 44) | ||
47 | L_CURLY@[42; 43) "{" | ||
48 | R_CURLY@[43; 44) "}" | ||
49 | WHITESPACE@[44; 45) "\n" | ||
50 | FN_DEF@[45; 65) | ||
51 | VISIBILITY@[45; 55) | ||
52 | PUB_KW@[45; 48) "pub" | ||
53 | L_PAREN@[48; 49) "(" | ||
54 | SUPER_KW@[49; 54) "super" | ||
55 | R_PAREN@[54; 55) ")" | ||
56 | WHITESPACE@[55; 56) " " | ||
57 | FN_KW@[56; 58) "fn" | ||
58 | WHITESPACE@[58; 59) " " | ||
59 | NAME@[59; 60) | ||
60 | IDENT@[59; 60) "d" | ||
61 | PARAM_LIST@[60; 62) | ||
62 | L_PAREN@[60; 61) "(" | ||
63 | R_PAREN@[61; 62) ")" | ||
64 | WHITESPACE@[62; 63) " " | ||
65 | BLOCK@[63; 65) | ||
66 | L_CURLY@[63; 64) "{" | ||
67 | R_CURLY@[64; 65) "}" | ||
68 | WHITESPACE@[65; 66) "\n" | ||
69 | FN_DEF@[66; 97) | ||
70 | VISIBILITY@[66; 87) | ||
71 | PUB_KW@[66; 69) "pub" | ||
72 | L_PAREN@[69; 70) "(" | ||
73 | IN_KW@[70; 72) "in" | ||
74 | WHITESPACE@[72; 73) " " | ||
75 | PATH@[73; 86) | ||
76 | PATH@[73; 81) | ||
77 | PATH@[73; 76) | ||
78 | PATH_SEGMENT@[73; 76) | ||
79 | NAME_REF@[73; 76) | ||
80 | IDENT@[73; 76) "foo" | ||
81 | COLONCOLON@[76; 78) "::" | ||
82 | PATH_SEGMENT@[78; 81) | ||
83 | NAME_REF@[78; 81) | ||
84 | IDENT@[78; 81) "bar" | ||
85 | COLONCOLON@[81; 83) "::" | ||
86 | PATH_SEGMENT@[83; 86) | ||
87 | NAME_REF@[83; 86) | ||
88 | IDENT@[83; 86) "baz" | ||
89 | R_PAREN@[86; 87) ")" | ||
90 | WHITESPACE@[87; 88) " " | ||
91 | FN_KW@[88; 90) "fn" | ||
92 | WHITESPACE@[90; 91) " " | ||
93 | NAME@[91; 92) | ||
94 | IDENT@[91; 92) "e" | ||
95 | PARAM_LIST@[92; 94) | ||
96 | L_PAREN@[92; 93) "(" | ||
97 | R_PAREN@[93; 94) ")" | ||
98 | WHITESPACE@[94; 95) " " | ||
99 | BLOCK@[95; 97) | ||
100 | L_CURLY@[95; 96) "{" | ||
101 | R_CURLY@[96; 97) "}" | ||
102 | WHITESPACE@[97; 98) "\n" | ||