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/0055_literal_pattern.txt | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0055_literal_pattern.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0055_literal_pattern.txt | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0055_literal_pattern.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0055_literal_pattern.txt new file mode 100644 index 000000000..99b289d56 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0055_literal_pattern.txt | |||
@@ -0,0 +1,60 @@ | |||
1 | SOURCE_FILE@[0; 95) | ||
2 | FN_DEF@[0; 94) | ||
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; 94) | ||
12 | L_CURLY@[10; 11) | ||
13 | WHITESPACE@[11; 16) | ||
14 | MATCH_EXPR@[16; 92) | ||
15 | MATCH_KW@[16; 21) | ||
16 | WHITESPACE@[21; 22) | ||
17 | TUPLE_EXPR@[22; 24) | ||
18 | L_PAREN@[22; 23) | ||
19 | R_PAREN@[23; 24) | ||
20 | WHITESPACE@[24; 25) | ||
21 | MATCH_ARM_LIST@[25; 92) | ||
22 | L_CURLY@[25; 26) | ||
23 | WHITESPACE@[26; 35) | ||
24 | MATCH_ARM@[35; 43) | ||
25 | LITERAL@[35; 37) | ||
26 | INT_NUMBER@[35; 37) "92" | ||
27 | WHITESPACE@[37; 38) | ||
28 | FAT_ARROW@[38; 40) | ||
29 | WHITESPACE@[40; 41) | ||
30 | TUPLE_EXPR@[41; 43) | ||
31 | L_PAREN@[41; 42) | ||
32 | R_PAREN@[42; 43) | ||
33 | COMMA@[43; 44) | ||
34 | WHITESPACE@[44; 53) | ||
35 | MATCH_ARM@[53; 62) | ||
36 | LITERAL@[53; 56) | ||
37 | CHAR@[53; 56) | ||
38 | WHITESPACE@[56; 57) | ||
39 | FAT_ARROW@[57; 59) | ||
40 | WHITESPACE@[59; 60) | ||
41 | TUPLE_EXPR@[60; 62) | ||
42 | L_PAREN@[60; 61) | ||
43 | R_PAREN@[61; 62) | ||
44 | COMMA@[62; 63) | ||
45 | WHITESPACE@[63; 72) | ||
46 | MATCH_ARM@[72; 85) | ||
47 | LITERAL@[72; 79) | ||
48 | STRING@[72; 79) | ||
49 | WHITESPACE@[79; 80) | ||
50 | FAT_ARROW@[80; 82) | ||
51 | WHITESPACE@[82; 83) | ||
52 | TUPLE_EXPR@[83; 85) | ||
53 | L_PAREN@[83; 84) | ||
54 | R_PAREN@[84; 85) | ||
55 | COMMA@[85; 86) | ||
56 | WHITESPACE@[86; 91) | ||
57 | R_CURLY@[91; 92) | ||
58 | WHITESPACE@[92; 93) | ||
59 | R_CURLY@[93; 94) | ||
60 | WHITESPACE@[94; 95) | ||