diff options
author | Aleksey Kladov <[email protected]> | 2019-07-24 10:38:21 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-07-24 10:49:19 +0100 |
commit | 459241f272748ff2e57b2c7e84f5a04f78d67edb (patch) | |
tree | 2353f8f068962313d0b2748aab58b71c4ca456d2 /crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.txt | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.txt deleted file mode 100644 index a772117a1..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0031_while_expr.txt +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 70) | ||
2 | FN_DEF@[0; 69) | ||
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; 69) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 15) "\n " | ||
14 | EXPR_STMT@[15; 29) | ||
15 | WHILE_EXPR@[15; 28) | ||
16 | WHILE_KW@[15; 20) "while" | ||
17 | WHITESPACE@[20; 21) " " | ||
18 | CONDITION@[21; 25) | ||
19 | LITERAL@[21; 25) | ||
20 | TRUE_KW@[21; 25) "true" | ||
21 | WHITESPACE@[25; 26) " " | ||
22 | BLOCK@[26; 28) | ||
23 | L_CURLY@[26; 27) "{" | ||
24 | R_CURLY@[27; 28) "}" | ||
25 | SEMI@[28; 29) ";" | ||
26 | WHITESPACE@[29; 34) "\n " | ||
27 | EXPR_STMT@[34; 67) | ||
28 | WHILE_EXPR@[34; 66) | ||
29 | WHILE_KW@[34; 39) "while" | ||
30 | WHITESPACE@[39; 40) " " | ||
31 | CONDITION@[40; 63) | ||
32 | LET_KW@[40; 43) "let" | ||
33 | WHITESPACE@[43; 44) " " | ||
34 | TUPLE_STRUCT_PAT@[44; 51) | ||
35 | PATH@[44; 48) | ||
36 | PATH_SEGMENT@[44; 48) | ||
37 | NAME_REF@[44; 48) | ||
38 | IDENT@[44; 48) "Some" | ||
39 | L_PAREN@[48; 49) "(" | ||
40 | BIND_PAT@[49; 50) | ||
41 | NAME@[49; 50) | ||
42 | IDENT@[49; 50) "x" | ||
43 | R_PAREN@[50; 51) ")" | ||
44 | WHITESPACE@[51; 52) " " | ||
45 | EQ@[52; 53) "=" | ||
46 | WHITESPACE@[53; 54) " " | ||
47 | METHOD_CALL_EXPR@[54; 63) | ||
48 | PATH_EXPR@[54; 56) | ||
49 | PATH@[54; 56) | ||
50 | PATH_SEGMENT@[54; 56) | ||
51 | NAME_REF@[54; 56) | ||
52 | IDENT@[54; 56) "it" | ||
53 | DOT@[56; 57) "." | ||
54 | NAME_REF@[57; 61) | ||
55 | IDENT@[57; 61) "next" | ||
56 | ARG_LIST@[61; 63) | ||
57 | L_PAREN@[61; 62) "(" | ||
58 | R_PAREN@[62; 63) ")" | ||
59 | WHITESPACE@[63; 64) " " | ||
60 | BLOCK@[64; 66) | ||
61 | L_CURLY@[64; 65) "{" | ||
62 | R_CURLY@[65; 66) "}" | ||
63 | SEMI@[66; 67) ";" | ||
64 | WHITESPACE@[67; 68) "\n" | ||
65 | R_CURLY@[68; 69) "}" | ||
66 | WHITESPACE@[69; 70) "\n" | ||