diff options
Diffstat (limited to 'tests/data/parser/inline/0094_range_pat.txt')
-rw-r--r-- | tests/data/parser/inline/0094_range_pat.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0094_range_pat.txt b/tests/data/parser/inline/0094_range_pat.txt new file mode 100644 index 000000000..01aed336b --- /dev/null +++ b/tests/data/parser/inline/0094_range_pat.txt | |||
@@ -0,0 +1,41 @@ | |||
1 | FILE@[0; 47) | ||
2 | FN_ITEM@[0; 46) | ||
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_EXPR@[10; 46) | ||
12 | L_CURLY@[10; 11) | ||
13 | WHITESPACE@[11; 16) | ||
14 | MATCH_EXPR@[16; 44) | ||
15 | MATCH_KW@[16; 21) | ||
16 | WHITESPACE@[21; 22) | ||
17 | LITERAL@[22; 24) | ||
18 | INT_NUMBER@[22; 24) "92" | ||
19 | WHITESPACE@[24; 25) | ||
20 | L_CURLY@[25; 26) | ||
21 | WHITESPACE@[26; 27) | ||
22 | MATCH_ARM@[27; 42) | ||
23 | RANGE_PAT@[27; 36) | ||
24 | LITERAL@[27; 28) | ||
25 | INT_NUMBER@[27; 28) "0" | ||
26 | WHITESPACE@[28; 29) | ||
27 | DOTDOTDOT@[29; 32) | ||
28 | WHITESPACE@[32; 33) | ||
29 | LITERAL@[33; 36) | ||
30 | INT_NUMBER@[33; 36) "100" | ||
31 | WHITESPACE@[36; 37) | ||
32 | FAT_ARROW@[37; 39) | ||
33 | WHITESPACE@[39; 40) | ||
34 | TUPLE_EXPR@[40; 42) | ||
35 | L_PAREN@[40; 41) | ||
36 | R_PAREN@[41; 42) | ||
37 | WHITESPACE@[42; 43) | ||
38 | R_CURLY@[43; 44) | ||
39 | WHITESPACE@[44; 45) | ||
40 | R_CURLY@[45; 46) | ||
41 | WHITESPACE@[46; 47) | ||