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/0109_label.txt | |
parent | 466885aa5bad53732786380f7579880fe2fd5645 (diff) |
Fix the tests and fix the precommit hook
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0109_label.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0109_label.txt | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0109_label.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0109_label.txt new file mode 100644 index 000000000..c641c3b16 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0109_label.txt | |||
@@ -0,0 +1,64 @@ | |||
1 | SOURCE_FILE@[0; 74) | ||
2 | FN_DEF@[0; 73) | ||
3 | FN_KW@[0; 2) | ||
4 | WHITESPACE@[2; 3) | ||
5 | NAME@[3; 6) | ||
6 | IDENT@[3; 6) "foo" | ||
7 | PARAM_LIST@[6; 8) | ||
8 | L_PAREN@[6; 7) | ||
9 | R_PAREN@[7; 8) | ||
10 | WHITESPACE@[8; 9) | ||
11 | BLOCK@[9; 73) | ||
12 | L_CURLY@[9; 10) | ||
13 | WHITESPACE@[10; 15) | ||
14 | EXPR_STMT@[15; 26) | ||
15 | LOOP_EXPR@[15; 26) | ||
16 | LABEL@[15; 18) | ||
17 | LIFETIME@[15; 17) "'a" | ||
18 | COLON@[17; 18) | ||
19 | WHITESPACE@[18; 19) | ||
20 | LOOP_KW@[19; 23) | ||
21 | WHITESPACE@[23; 24) | ||
22 | BLOCK@[24; 26) | ||
23 | L_CURLY@[24; 25) | ||
24 | R_CURLY@[25; 26) | ||
25 | WHITESPACE@[26; 31) | ||
26 | EXPR_STMT@[31; 48) | ||
27 | WHILE_EXPR@[31; 48) | ||
28 | LABEL@[31; 34) | ||
29 | LIFETIME@[31; 33) "'b" | ||
30 | COLON@[33; 34) | ||
31 | WHITESPACE@[34; 35) | ||
32 | WHILE_KW@[35; 40) | ||
33 | WHITESPACE@[40; 41) | ||
34 | CONDITION@[41; 45) | ||
35 | LITERAL@[41; 45) | ||
36 | TRUE_KW@[41; 45) | ||
37 | WHITESPACE@[45; 46) | ||
38 | BLOCK@[46; 48) | ||
39 | L_CURLY@[46; 47) | ||
40 | R_CURLY@[47; 48) | ||
41 | WHITESPACE@[48; 53) | ||
42 | FOR_EXPR@[53; 71) | ||
43 | LABEL@[53; 56) | ||
44 | LIFETIME@[53; 55) "'c" | ||
45 | COLON@[55; 56) | ||
46 | WHITESPACE@[56; 57) | ||
47 | FOR_KW@[57; 60) | ||
48 | WHITESPACE@[60; 61) | ||
49 | BIND_PAT@[61; 62) | ||
50 | NAME@[61; 62) | ||
51 | IDENT@[61; 62) "x" | ||
52 | WHITESPACE@[62; 63) | ||
53 | IN_KW@[63; 65) | ||
54 | WHITESPACE@[65; 66) | ||
55 | TUPLE_EXPR@[66; 68) | ||
56 | L_PAREN@[66; 67) | ||
57 | R_PAREN@[67; 68) | ||
58 | WHITESPACE@[68; 69) | ||
59 | BLOCK@[69; 71) | ||
60 | L_CURLY@[69; 70) | ||
61 | R_CURLY@[70; 71) | ||
62 | WHITESPACE@[71; 72) | ||
63 | R_CURLY@[72; 73) | ||
64 | WHITESPACE@[73; 74) | ||