diff options
author | bravomikekilo <[email protected]> | 2019-08-14 14:20:04 +0100 |
---|---|---|
committer | bravomikekilo <[email protected]> | 2019-08-14 14:20:04 +0100 |
commit | 4f31fed362e1bb08f748b188eedc0bdc5a070bee (patch) | |
tree | 104dad5eb640cb992b984191ea70b3259d8535fb /crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt | |
parent | 3fce56280feeb7d621cd98a61c6157393be72c00 (diff) |
fix test position
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt new file mode 100644 index 000000000..9e5836233 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | SOURCE_FILE@[0; 51) | ||
2 | FN_DEF@[0; 50) | ||
3 | FN_KW@[0; 2) "fn" | ||
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; 50) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 14) "\n " | ||
14 | FOR_EXPR@[14; 48) | ||
15 | FOR_KW@[14; 17) "for" | ||
16 | WHITESPACE@[17; 18) " " | ||
17 | BIND_PAT@[18; 19) | ||
18 | NAME@[18; 19) | ||
19 | IDENT@[18; 19) "x" | ||
20 | WHITESPACE@[19; 20) " " | ||
21 | IN_KW@[20; 22) "in" | ||
22 | WHITESPACE@[22; 23) " " | ||
23 | RANGE_EXPR@[23; 27) | ||
24 | LITERAL@[23; 24) | ||
25 | INT_NUMBER@[23; 24) "0" | ||
26 | WHITESPACE@[24; 25) " " | ||
27 | DOTDOT@[25; 27) ".." | ||
28 | WHITESPACE@[27; 28) " " | ||
29 | BLOCK@[28; 48) | ||
30 | L_CURLY@[28; 29) "{" | ||
31 | WHITESPACE@[29; 37) "\n " | ||
32 | EXPR_STMT@[37; 43) | ||
33 | BREAK_EXPR@[37; 42) | ||
34 | BREAK_KW@[37; 42) "break" | ||
35 | SEMI@[42; 43) ";" | ||
36 | WHITESPACE@[43; 47) "\n " | ||
37 | R_CURLY@[47; 48) "}" | ||
38 | WHITESPACE@[48; 49) "\n" | ||
39 | R_CURLY@[49; 50) "}" | ||
40 | WHITESPACE@[50; 51) "\n" | ||