diff options
author | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-20 16:45:54 +0000 |
commit | 134fe4f566d94fd4ca91c6417fab0ae7b3e4275f (patch) | |
tree | 54d5d31d8df65982163e1ff735e1461d672d8376 /crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
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 | 76 |
1 files changed, 76 insertions, 0 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 new file mode 100644 index 000000000..d47f38903 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0058_range_pat.txt | |||
@@ -0,0 +1,76 @@ | |||
1 | SOURCE_FILE@[0; 112) | ||
2 | FN_DEF@[0; 111) | ||
3 | FN_KW@[0; 2) | ||
4 | WHITESPACE@[2; 3) | ||
5 | NAME@[3; 7) | ||
6 | IDENT@[3; 7) "main" | ||
7 | PARAM_LIST@[7; 9) | ||
8 | L_PAREN@[7; 8) | ||
9 | R_PAREN@[8; 9) | ||
10 | WHITESPACE@[9; 10) | ||
11 | BLOCK@[10; 111) | ||
12 | L_CURLY@[10; 11) | ||
13 | WHITESPACE@[11; 16) | ||
14 | MATCH_EXPR@[16; 109) | ||
15 | MATCH_KW@[16; 21) | ||
16 | WHITESPACE@[21; 22) | ||
17 | LITERAL@[22; 24) | ||
18 | INT_NUMBER@[22; 24) "92" | ||
19 | WHITESPACE@[24; 25) | ||
20 | MATCH_ARM_LIST@[25; 109) | ||
21 | L_CURLY@[25; 26) | ||
22 | WHITESPACE@[26; 35) | ||
23 | MATCH_ARM@[35; 50) | ||
24 | RANGE_PAT@[35; 44) | ||
25 | LITERAL@[35; 36) | ||
26 | INT_NUMBER@[35; 36) "0" | ||
27 | WHITESPACE@[36; 37) | ||
28 | DOTDOTDOT@[37; 40) | ||
29 | WHITESPACE@[40; 41) | ||
30 | LITERAL@[41; 44) | ||
31 | INT_NUMBER@[41; 44) "100" | ||
32 | WHITESPACE@[44; 45) | ||
33 | FAT_ARROW@[45; 47) | ||
34 | WHITESPACE@[47; 48) | ||
35 | TUPLE_EXPR@[48; 50) | ||
36 | L_PAREN@[48; 49) | ||
37 | R_PAREN@[49; 50) | ||
38 | COMMA@[50; 51) | ||
39 | WHITESPACE@[51; 60) | ||
40 | MATCH_ARM@[60; 77) | ||
41 | RANGE_PAT@[60; 71) | ||
42 | LITERAL@[60; 63) | ||
43 | INT_NUMBER@[60; 63) "101" | ||
44 | WHITESPACE@[63; 64) | ||
45 | DOTDOTEQ@[64; 67) | ||
46 | WHITESPACE@[67; 68) | ||
47 | LITERAL@[68; 71) | ||
48 | INT_NUMBER@[68; 71) "200" | ||
49 | WHITESPACE@[71; 72) | ||
50 | FAT_ARROW@[72; 74) | ||
51 | WHITESPACE@[74; 75) | ||
52 | TUPLE_EXPR@[75; 77) | ||
53 | L_PAREN@[75; 76) | ||
54 | R_PAREN@[76; 77) | ||
55 | COMMA@[77; 78) | ||
56 | WHITESPACE@[78; 87) | ||
57 | MATCH_ARM@[87; 102) | ||
58 | RANGE_PAT@[87; 97) | ||
59 | LITERAL@[87; 90) | ||
60 | INT_NUMBER@[87; 90) "200" | ||
61 | WHITESPACE@[90; 91) | ||
62 | DOTDOT@[91; 93) | ||
63 | WHITESPACE@[93; 94) | ||
64 | LITERAL@[94; 97) | ||
65 | INT_NUMBER@[94; 97) "301" | ||
66 | FAT_ARROW@[97; 99) | ||
67 | WHITESPACE@[99; 100) | ||
68 | TUPLE_EXPR@[100; 102) | ||
69 | L_PAREN@[100; 101) | ||
70 | R_PAREN@[101; 102) | ||
71 | COMMA@[102; 103) | ||
72 | WHITESPACE@[103; 108) | ||
73 | R_CURLY@[108; 109) | ||
74 | WHITESPACE@[109; 110) | ||
75 | R_CURLY@[110; 111) | ||
76 | WHITESPACE@[111; 112) | ||