diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
commit | 0a758a2c4803c7ecc956d2aa6ed2ce48c4e4edd9 (patch) | |
tree | 97952861d81d1d5d4de49899c0d4e8da96796dc2 /crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt | |
parent | 78f38a20fd53ccab18b1c4b7dda217b5bfb61c8f (diff) | |
parent | 7d6bd5d1379061180e771f7b833a9fecdc85a0b8 (diff) |
Merge #1090
1090: always show token text r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt index de54c49e6..1b7e9b905 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt | |||
@@ -1,82 +1,82 @@ | |||
1 | SOURCE_FILE@[0; 112) | 1 | SOURCE_FILE@[0; 112) |
2 | FN_DEF@[0; 111) | 2 | FN_DEF@[0; 111) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) "fn" |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) " " |
5 | NAME@[3; 7) | 5 | NAME@[3; 7) |
6 | IDENT@[3; 7) "main" | 6 | IDENT@[3; 7) "main" |
7 | PARAM_LIST@[7; 9) | 7 | PARAM_LIST@[7; 9) |
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; 111) | 11 | BLOCK@[10; 111) |
12 | L_CURLY@[10; 11) | 12 | L_CURLY@[10; 11) "{" |
13 | WHITESPACE@[11; 16) | 13 | WHITESPACE@[11; 16) "\n " |
14 | MATCH_EXPR@[16; 109) | 14 | MATCH_EXPR@[16; 109) |
15 | MATCH_KW@[16; 21) | 15 | MATCH_KW@[16; 21) "match" |
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; 109) | 20 | MATCH_ARM_LIST@[25; 109) |
21 | L_CURLY@[25; 26) | 21 | L_CURLY@[25; 26) "{" |
22 | WHITESPACE@[26; 35) | 22 | WHITESPACE@[26; 35) "\n " |
23 | MATCH_ARM@[35; 50) | 23 | MATCH_ARM@[35; 50) |
24 | RANGE_PAT@[35; 44) | 24 | RANGE_PAT@[35; 44) |
25 | LITERAL_PAT@[35; 36) | 25 | LITERAL_PAT@[35; 36) |
26 | LITERAL@[35; 36) | 26 | LITERAL@[35; 36) |
27 | INT_NUMBER@[35; 36) "0" | 27 | INT_NUMBER@[35; 36) "0" |
28 | WHITESPACE@[36; 37) | 28 | WHITESPACE@[36; 37) " " |
29 | DOTDOTDOT@[37; 40) | 29 | DOTDOTDOT@[37; 40) "..." |
30 | WHITESPACE@[40; 41) | 30 | WHITESPACE@[40; 41) " " |
31 | LITERAL_PAT@[41; 44) | 31 | LITERAL_PAT@[41; 44) |
32 | LITERAL@[41; 44) | 32 | LITERAL@[41; 44) |
33 | INT_NUMBER@[41; 44) "100" | 33 | INT_NUMBER@[41; 44) "100" |
34 | WHITESPACE@[44; 45) | 34 | WHITESPACE@[44; 45) " " |
35 | FAT_ARROW@[45; 47) | 35 | FAT_ARROW@[45; 47) "=>" |
36 | WHITESPACE@[47; 48) | 36 | WHITESPACE@[47; 48) " " |
37 | TUPLE_EXPR@[48; 50) | 37 | TUPLE_EXPR@[48; 50) |
38 | L_PAREN@[48; 49) | 38 | L_PAREN@[48; 49) "(" |
39 | R_PAREN@[49; 50) | 39 | R_PAREN@[49; 50) ")" |
40 | COMMA@[50; 51) | 40 | COMMA@[50; 51) "," |
41 | WHITESPACE@[51; 60) | 41 | WHITESPACE@[51; 60) "\n " |
42 | MATCH_ARM@[60; 77) | 42 | MATCH_ARM@[60; 77) |
43 | RANGE_PAT@[60; 71) | 43 | RANGE_PAT@[60; 71) |
44 | LITERAL_PAT@[60; 63) | 44 | LITERAL_PAT@[60; 63) |
45 | LITERAL@[60; 63) | 45 | LITERAL@[60; 63) |
46 | INT_NUMBER@[60; 63) "101" | 46 | INT_NUMBER@[60; 63) "101" |
47 | WHITESPACE@[63; 64) | 47 | WHITESPACE@[63; 64) " " |
48 | DOTDOTEQ@[64; 67) | 48 | DOTDOTEQ@[64; 67) "..=" |
49 | WHITESPACE@[67; 68) | 49 | WHITESPACE@[67; 68) " " |
50 | LITERAL_PAT@[68; 71) | 50 | LITERAL_PAT@[68; 71) |
51 | LITERAL@[68; 71) | 51 | LITERAL@[68; 71) |
52 | INT_NUMBER@[68; 71) "200" | 52 | INT_NUMBER@[68; 71) "200" |
53 | WHITESPACE@[71; 72) | 53 | WHITESPACE@[71; 72) " " |
54 | FAT_ARROW@[72; 74) | 54 | FAT_ARROW@[72; 74) "=>" |
55 | WHITESPACE@[74; 75) | 55 | WHITESPACE@[74; 75) " " |
56 | TUPLE_EXPR@[75; 77) | 56 | TUPLE_EXPR@[75; 77) |
57 | L_PAREN@[75; 76) | 57 | L_PAREN@[75; 76) "(" |
58 | R_PAREN@[76; 77) | 58 | R_PAREN@[76; 77) ")" |
59 | COMMA@[77; 78) | 59 | COMMA@[77; 78) "," |
60 | WHITESPACE@[78; 87) | 60 | WHITESPACE@[78; 87) "\n " |
61 | MATCH_ARM@[87; 102) | 61 | MATCH_ARM@[87; 102) |
62 | RANGE_PAT@[87; 97) | 62 | RANGE_PAT@[87; 97) |
63 | LITERAL_PAT@[87; 90) | 63 | LITERAL_PAT@[87; 90) |
64 | LITERAL@[87; 90) | 64 | LITERAL@[87; 90) |
65 | INT_NUMBER@[87; 90) "200" | 65 | INT_NUMBER@[87; 90) "200" |
66 | WHITESPACE@[90; 91) | 66 | WHITESPACE@[90; 91) " " |
67 | DOTDOT@[91; 93) | 67 | DOTDOT@[91; 93) ".." |
68 | WHITESPACE@[93; 94) | 68 | WHITESPACE@[93; 94) " " |
69 | LITERAL_PAT@[94; 97) | 69 | LITERAL_PAT@[94; 97) |
70 | LITERAL@[94; 97) | 70 | LITERAL@[94; 97) |
71 | INT_NUMBER@[94; 97) "301" | 71 | INT_NUMBER@[94; 97) "301" |
72 | FAT_ARROW@[97; 99) | 72 | FAT_ARROW@[97; 99) "=>" |
73 | WHITESPACE@[99; 100) | 73 | WHITESPACE@[99; 100) " " |
74 | TUPLE_EXPR@[100; 102) | 74 | TUPLE_EXPR@[100; 102) |
75 | L_PAREN@[100; 101) | 75 | L_PAREN@[100; 101) "(" |
76 | R_PAREN@[101; 102) | 76 | R_PAREN@[101; 102) ")" |
77 | COMMA@[102; 103) | 77 | COMMA@[102; 103) "," |
78 | WHITESPACE@[103; 108) | 78 | WHITESPACE@[103; 108) "\n " |
79 | R_CURLY@[108; 109) | 79 | R_CURLY@[108; 109) "}" |
80 | WHITESPACE@[109; 110) | 80 | WHITESPACE@[109; 110) "\n" |
81 | R_CURLY@[110; 111) | 81 | R_CURLY@[110; 111) "}" |
82 | WHITESPACE@[111; 112) | 82 | WHITESPACE@[111; 112) "\n" |