diff options
author | DJMcNab <[email protected]> | 2018-12-19 20:55:24 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-19 20:55:24 +0000 |
commit | db677414304bec41a5eae57eea4eb0b546619415 (patch) | |
tree | 9aafa47e0acbacdaab0cf5d3ca3a356ba8ac3591 /crates/ra_syntax/tests/data/parser/inline | |
parent | def0a95d357f334b7329c3ee9e7da3c30563321c (diff) |
Move is_block to lower in the call tree
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs | 2 | ||||
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt | 120 |
2 files changed, 61 insertions, 61 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs index 3bca7bf5d..c12ab6fce 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs +++ b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.rs | |||
@@ -1,5 +1,5 @@ | |||
1 | fn main() { | 1 | fn main() { |
2 | match 92 { | 2 | match 92 { |
3 | 0 ... 100 => (), | 3 | 0 ... 100 => (), |
4 | 101 ..= 200 => (), | 4 | 101 ..= 200 => (), |
5 | 200 .. 301=> (), | 5 | 200 .. 301=> (), |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt index 7eb0fcdf4..d47f38903 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 113) | 1 | SOURCE_FILE@[0; 112) |
2 | FN_DEF@[0; 112) | 2 | FN_DEF@[0; 111) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
5 | NAME@[3; 7) | 5 | NAME@[3; 7) |
@@ -8,69 +8,69 @@ SOURCE_FILE@[0; 113) | |||
8 | L_PAREN@[7; 8) | 8 | L_PAREN@[7; 8) |
9 | R_PAREN@[8; 9) | 9 | R_PAREN@[8; 9) |
10 | WHITESPACE@[9; 10) | 10 | WHITESPACE@[9; 10) |
11 | BLOCK@[10; 112) | 11 | BLOCK@[10; 111) |
12 | L_CURLY@[10; 11) | 12 | L_CURLY@[10; 11) |
13 | WHITESPACE@[11; 16) | 13 | WHITESPACE@[11; 16) |
14 | MATCH_EXPR@[16; 110) | 14 | MATCH_EXPR@[16; 109) |
15 | MATCH_KW@[16; 21) | 15 | MATCH_KW@[16; 21) |
16 | WHITESPACE@[21; 22) | 16 | WHITESPACE@[21; 22) |
17 | LITERAL@[22; 24) | 17 | LITERAL@[22; 24) |
18 | INT_NUMBER@[22; 24) "92" | 18 | INT_NUMBER@[22; 24) "92" |
19 | WHITESPACE@[24; 25) | 19 | WHITESPACE@[24; 25) |
20 | MATCH_ARM_LIST@[25; 110) | 20 | MATCH_ARM_LIST@[25; 109) |
21 | L_CURLY@[25; 26) | 21 | L_CURLY@[25; 26) |
22 | WHITESPACE@[26; 36) | 22 | WHITESPACE@[26; 35) |
23 | MATCH_ARM@[36; 51) | 23 | MATCH_ARM@[35; 50) |
24 | RANGE_PAT@[36; 45) | 24 | RANGE_PAT@[35; 44) |
25 | LITERAL@[36; 37) | 25 | LITERAL@[35; 36) |
26 | INT_NUMBER@[36; 37) "0" | 26 | INT_NUMBER@[35; 36) "0" |
27 | WHITESPACE@[37; 38) | 27 | WHITESPACE@[36; 37) |
28 | DOTDOTDOT@[38; 41) | 28 | DOTDOTDOT@[37; 40) |
29 | WHITESPACE@[41; 42) | 29 | WHITESPACE@[40; 41) |
30 | LITERAL@[42; 45) | 30 | LITERAL@[41; 44) |
31 | INT_NUMBER@[42; 45) "100" | 31 | INT_NUMBER@[41; 44) "100" |
32 | WHITESPACE@[45; 46) | 32 | WHITESPACE@[44; 45) |
33 | FAT_ARROW@[46; 48) | 33 | FAT_ARROW@[45; 47) |
34 | WHITESPACE@[48; 49) | 34 | WHITESPACE@[47; 48) |
35 | TUPLE_EXPR@[49; 51) | 35 | TUPLE_EXPR@[48; 50) |
36 | L_PAREN@[49; 50) | 36 | L_PAREN@[48; 49) |
37 | R_PAREN@[50; 51) | 37 | R_PAREN@[49; 50) |
38 | COMMA@[51; 52) | 38 | COMMA@[50; 51) |
39 | WHITESPACE@[52; 61) | 39 | WHITESPACE@[51; 60) |
40 | MATCH_ARM@[61; 78) | 40 | MATCH_ARM@[60; 77) |
41 | RANGE_PAT@[61; 72) | 41 | RANGE_PAT@[60; 71) |
42 | LITERAL@[61; 64) | 42 | LITERAL@[60; 63) |
43 | INT_NUMBER@[61; 64) "101" | 43 | INT_NUMBER@[60; 63) "101" |
44 | WHITESPACE@[64; 65) | 44 | WHITESPACE@[63; 64) |
45 | DOTDOTEQ@[65; 68) | 45 | DOTDOTEQ@[64; 67) |
46 | WHITESPACE@[68; 69) | 46 | WHITESPACE@[67; 68) |
47 | LITERAL@[69; 72) | 47 | LITERAL@[68; 71) |
48 | INT_NUMBER@[69; 72) "200" | 48 | INT_NUMBER@[68; 71) "200" |
49 | WHITESPACE@[72; 73) | 49 | WHITESPACE@[71; 72) |
50 | FAT_ARROW@[73; 75) | 50 | FAT_ARROW@[72; 74) |
51 | WHITESPACE@[75; 76) | 51 | WHITESPACE@[74; 75) |
52 | TUPLE_EXPR@[76; 78) | 52 | TUPLE_EXPR@[75; 77) |
53 | L_PAREN@[76; 77) | 53 | L_PAREN@[75; 76) |
54 | R_PAREN@[77; 78) | 54 | R_PAREN@[76; 77) |
55 | COMMA@[78; 79) | 55 | COMMA@[77; 78) |
56 | WHITESPACE@[79; 88) | 56 | WHITESPACE@[78; 87) |
57 | MATCH_ARM@[88; 103) | 57 | MATCH_ARM@[87; 102) |
58 | RANGE_PAT@[88; 98) | 58 | RANGE_PAT@[87; 97) |
59 | LITERAL@[88; 91) | 59 | LITERAL@[87; 90) |
60 | INT_NUMBER@[88; 91) "200" | 60 | INT_NUMBER@[87; 90) "200" |
61 | WHITESPACE@[91; 92) | 61 | WHITESPACE@[90; 91) |
62 | DOTDOT@[92; 94) | 62 | DOTDOT@[91; 93) |
63 | WHITESPACE@[94; 95) | 63 | WHITESPACE@[93; 94) |
64 | LITERAL@[95; 98) | 64 | LITERAL@[94; 97) |
65 | INT_NUMBER@[95; 98) "301" | 65 | INT_NUMBER@[94; 97) "301" |
66 | FAT_ARROW@[98; 100) | 66 | FAT_ARROW@[97; 99) |
67 | WHITESPACE@[100; 101) | 67 | WHITESPACE@[99; 100) |
68 | TUPLE_EXPR@[101; 103) | 68 | TUPLE_EXPR@[100; 102) |
69 | L_PAREN@[101; 102) | 69 | L_PAREN@[100; 101) |
70 | R_PAREN@[102; 103) | 70 | R_PAREN@[101; 102) |
71 | COMMA@[103; 104) | 71 | COMMA@[102; 103) |
72 | WHITESPACE@[104; 109) | 72 | WHITESPACE@[103; 108) |
73 | R_CURLY@[109; 110) | 73 | R_CURLY@[108; 109) |
74 | WHITESPACE@[110; 111) | 74 | WHITESPACE@[109; 110) |
75 | R_CURLY@[111; 112) | 75 | R_CURLY@[110; 111) |
76 | WHITESPACE@[112; 113) | 76 | WHITESPACE@[111; 112) |