diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-25 11:16:02 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-25 11:16:02 +0100 |
commit | 29fc409e7fe5b12dcf6bfbcca622d79c4c8fcb72 (patch) | |
tree | e42f7bd1490bca66e0786d5bf2b3194aeaa57a93 /crates/ra_syntax/test_data/parser/ok/0012_visibility.rast | |
parent | 27a7718880d93f55f905da606d108d3b3c682ab4 (diff) | |
parent | e87346950039a54c3f0b02d6056cbb92ca38eb28 (diff) |
Merge #4131
4131: Switch to text-size r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0012_visibility.rast')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0012_visibility.rast | 214 |
1 files changed, 107 insertions, 107 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast b/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast index c76cf9fe9..750a045ef 100644 --- a/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast +++ b/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast | |||
@@ -1,107 +1,107 @@ | |||
1 | SOURCE_FILE@[0; 98) | 1 | SOURCE_FILE@0..98 |
2 | FN_DEF@[0; 9) | 2 | FN_DEF@0..9 |
3 | FN_KW@[0; 2) "fn" | 3 | FN_KW@0..2 "fn" |
4 | WHITESPACE@[2; 3) " " | 4 | WHITESPACE@2..3 " " |
5 | NAME@[3; 4) | 5 | NAME@3..4 |
6 | IDENT@[3; 4) "a" | 6 | IDENT@3..4 "a" |
7 | PARAM_LIST@[4; 6) | 7 | PARAM_LIST@4..6 |
8 | L_PAREN@[4; 5) "(" | 8 | L_PAREN@4..5 "(" |
9 | R_PAREN@[5; 6) ")" | 9 | R_PAREN@5..6 ")" |
10 | WHITESPACE@[6; 7) " " | 10 | WHITESPACE@6..7 " " |
11 | BLOCK_EXPR@[7; 9) | 11 | BLOCK_EXPR@7..9 |
12 | BLOCK@[7; 9) | 12 | BLOCK@7..9 |
13 | L_CURLY@[7; 8) "{" | 13 | L_CURLY@7..8 "{" |
14 | R_CURLY@[8; 9) "}" | 14 | R_CURLY@8..9 "}" |
15 | WHITESPACE@[9; 10) "\n" | 15 | WHITESPACE@9..10 "\n" |
16 | FN_DEF@[10; 23) | 16 | FN_DEF@10..23 |
17 | VISIBILITY@[10; 13) | 17 | VISIBILITY@10..13 |
18 | PUB_KW@[10; 13) "pub" | 18 | PUB_KW@10..13 "pub" |
19 | WHITESPACE@[13; 14) " " | 19 | WHITESPACE@13..14 " " |
20 | FN_KW@[14; 16) "fn" | 20 | FN_KW@14..16 "fn" |
21 | WHITESPACE@[16; 17) " " | 21 | WHITESPACE@16..17 " " |
22 | NAME@[17; 18) | 22 | NAME@17..18 |
23 | IDENT@[17; 18) "b" | 23 | IDENT@17..18 "b" |
24 | PARAM_LIST@[18; 20) | 24 | PARAM_LIST@18..20 |
25 | L_PAREN@[18; 19) "(" | 25 | L_PAREN@18..19 "(" |
26 | R_PAREN@[19; 20) ")" | 26 | R_PAREN@19..20 ")" |
27 | WHITESPACE@[20; 21) " " | 27 | WHITESPACE@20..21 " " |
28 | BLOCK_EXPR@[21; 23) | 28 | BLOCK_EXPR@21..23 |
29 | BLOCK@[21; 23) | 29 | BLOCK@21..23 |
30 | L_CURLY@[21; 22) "{" | 30 | L_CURLY@21..22 "{" |
31 | R_CURLY@[22; 23) "}" | 31 | R_CURLY@22..23 "}" |
32 | WHITESPACE@[23; 24) "\n" | 32 | WHITESPACE@23..24 "\n" |
33 | FN_DEF@[24; 44) | 33 | FN_DEF@24..44 |
34 | VISIBILITY@[24; 34) | 34 | VISIBILITY@24..34 |
35 | PUB_KW@[24; 27) "pub" | 35 | PUB_KW@24..27 "pub" |
36 | L_PAREN@[27; 28) "(" | 36 | L_PAREN@27..28 "(" |
37 | CRATE_KW@[28; 33) "crate" | 37 | CRATE_KW@28..33 "crate" |
38 | R_PAREN@[33; 34) ")" | 38 | R_PAREN@33..34 ")" |
39 | WHITESPACE@[34; 35) " " | 39 | WHITESPACE@34..35 " " |
40 | FN_KW@[35; 37) "fn" | 40 | FN_KW@35..37 "fn" |
41 | WHITESPACE@[37; 38) " " | 41 | WHITESPACE@37..38 " " |
42 | NAME@[38; 39) | 42 | NAME@38..39 |
43 | IDENT@[38; 39) "c" | 43 | IDENT@38..39 "c" |
44 | PARAM_LIST@[39; 41) | 44 | PARAM_LIST@39..41 |
45 | L_PAREN@[39; 40) "(" | 45 | L_PAREN@39..40 "(" |
46 | R_PAREN@[40; 41) ")" | 46 | R_PAREN@40..41 ")" |
47 | WHITESPACE@[41; 42) " " | 47 | WHITESPACE@41..42 " " |
48 | BLOCK_EXPR@[42; 44) | 48 | BLOCK_EXPR@42..44 |
49 | BLOCK@[42; 44) | 49 | BLOCK@42..44 |
50 | L_CURLY@[42; 43) "{" | 50 | L_CURLY@42..43 "{" |
51 | R_CURLY@[43; 44) "}" | 51 | R_CURLY@43..44 "}" |
52 | WHITESPACE@[44; 45) "\n" | 52 | WHITESPACE@44..45 "\n" |
53 | FN_DEF@[45; 65) | 53 | FN_DEF@45..65 |
54 | VISIBILITY@[45; 55) | 54 | VISIBILITY@45..55 |
55 | PUB_KW@[45; 48) "pub" | 55 | PUB_KW@45..48 "pub" |
56 | L_PAREN@[48; 49) "(" | 56 | L_PAREN@48..49 "(" |
57 | SUPER_KW@[49; 54) "super" | 57 | SUPER_KW@49..54 "super" |
58 | R_PAREN@[54; 55) ")" | 58 | R_PAREN@54..55 ")" |
59 | WHITESPACE@[55; 56) " " | 59 | WHITESPACE@55..56 " " |
60 | FN_KW@[56; 58) "fn" | 60 | FN_KW@56..58 "fn" |
61 | WHITESPACE@[58; 59) " " | 61 | WHITESPACE@58..59 " " |
62 | NAME@[59; 60) | 62 | NAME@59..60 |
63 | IDENT@[59; 60) "d" | 63 | IDENT@59..60 "d" |
64 | PARAM_LIST@[60; 62) | 64 | PARAM_LIST@60..62 |
65 | L_PAREN@[60; 61) "(" | 65 | L_PAREN@60..61 "(" |
66 | R_PAREN@[61; 62) ")" | 66 | R_PAREN@61..62 ")" |
67 | WHITESPACE@[62; 63) " " | 67 | WHITESPACE@62..63 " " |
68 | BLOCK_EXPR@[63; 65) | 68 | BLOCK_EXPR@63..65 |
69 | BLOCK@[63; 65) | 69 | BLOCK@63..65 |
70 | L_CURLY@[63; 64) "{" | 70 | L_CURLY@63..64 "{" |
71 | R_CURLY@[64; 65) "}" | 71 | R_CURLY@64..65 "}" |
72 | WHITESPACE@[65; 66) "\n" | 72 | WHITESPACE@65..66 "\n" |
73 | FN_DEF@[66; 97) | 73 | FN_DEF@66..97 |
74 | VISIBILITY@[66; 87) | 74 | VISIBILITY@66..87 |
75 | PUB_KW@[66; 69) "pub" | 75 | PUB_KW@66..69 "pub" |
76 | L_PAREN@[69; 70) "(" | 76 | L_PAREN@69..70 "(" |
77 | IN_KW@[70; 72) "in" | 77 | IN_KW@70..72 "in" |
78 | WHITESPACE@[72; 73) " " | 78 | WHITESPACE@72..73 " " |
79 | PATH@[73; 86) | 79 | PATH@73..86 |
80 | PATH@[73; 81) | 80 | PATH@73..81 |
81 | PATH@[73; 76) | 81 | PATH@73..76 |
82 | PATH_SEGMENT@[73; 76) | 82 | PATH_SEGMENT@73..76 |
83 | NAME_REF@[73; 76) | 83 | NAME_REF@73..76 |
84 | IDENT@[73; 76) "foo" | 84 | IDENT@73..76 "foo" |
85 | COLON2@[76; 78) "::" | 85 | COLON2@76..78 "::" |
86 | PATH_SEGMENT@[78; 81) | 86 | PATH_SEGMENT@78..81 |
87 | NAME_REF@[78; 81) | 87 | NAME_REF@78..81 |
88 | IDENT@[78; 81) "bar" | 88 | IDENT@78..81 "bar" |
89 | COLON2@[81; 83) "::" | 89 | COLON2@81..83 "::" |
90 | PATH_SEGMENT@[83; 86) | 90 | PATH_SEGMENT@83..86 |
91 | NAME_REF@[83; 86) | 91 | NAME_REF@83..86 |
92 | IDENT@[83; 86) "baz" | 92 | IDENT@83..86 "baz" |
93 | R_PAREN@[86; 87) ")" | 93 | R_PAREN@86..87 ")" |
94 | WHITESPACE@[87; 88) " " | 94 | WHITESPACE@87..88 " " |
95 | FN_KW@[88; 90) "fn" | 95 | FN_KW@88..90 "fn" |
96 | WHITESPACE@[90; 91) " " | 96 | WHITESPACE@90..91 " " |
97 | NAME@[91; 92) | 97 | NAME@91..92 |
98 | IDENT@[91; 92) "e" | 98 | IDENT@91..92 "e" |
99 | PARAM_LIST@[92; 94) | 99 | PARAM_LIST@92..94 |
100 | L_PAREN@[92; 93) "(" | 100 | L_PAREN@92..93 "(" |
101 | R_PAREN@[93; 94) ")" | 101 | R_PAREN@93..94 ")" |
102 | WHITESPACE@[94; 95) " " | 102 | WHITESPACE@94..95 " " |
103 | BLOCK_EXPR@[95; 97) | 103 | BLOCK_EXPR@95..97 |
104 | BLOCK@[95; 97) | 104 | BLOCK@95..97 |
105 | L_CURLY@[95; 96) "{" | 105 | L_CURLY@95..96 "{" |
106 | R_CURLY@[96; 97) "}" | 106 | R_CURLY@96..97 "}" |
107 | WHITESPACE@[97; 98) "\n" | 107 | WHITESPACE@97..98 "\n" |