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/0064_if_expr.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0064_if_expr.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0064_if_expr.txt | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0064_if_expr.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0064_if_expr.txt deleted file mode 100644 index 554bda6fb..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0064_if_expr.txt +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 107) | ||
2 | FN_DEF@[0; 106) | ||
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; 106) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 15) "\n " | ||
14 | EXPR_STMT@[15; 26) | ||
15 | IF_EXPR@[15; 25) | ||
16 | IF_KW@[15; 17) "if" | ||
17 | WHITESPACE@[17; 18) " " | ||
18 | CONDITION@[18; 22) | ||
19 | LITERAL@[18; 22) | ||
20 | TRUE_KW@[18; 22) "true" | ||
21 | WHITESPACE@[22; 23) " " | ||
22 | BLOCK@[23; 25) | ||
23 | L_CURLY@[23; 24) "{" | ||
24 | R_CURLY@[24; 25) "}" | ||
25 | SEMI@[25; 26) ";" | ||
26 | WHITESPACE@[26; 31) "\n " | ||
27 | EXPR_STMT@[31; 50) | ||
28 | IF_EXPR@[31; 49) | ||
29 | IF_KW@[31; 33) "if" | ||
30 | WHITESPACE@[33; 34) " " | ||
31 | CONDITION@[34; 38) | ||
32 | LITERAL@[34; 38) | ||
33 | TRUE_KW@[34; 38) "true" | ||
34 | WHITESPACE@[38; 39) " " | ||
35 | BLOCK@[39; 41) | ||
36 | L_CURLY@[39; 40) "{" | ||
37 | R_CURLY@[40; 41) "}" | ||
38 | WHITESPACE@[41; 42) " " | ||
39 | ELSE_KW@[42; 46) "else" | ||
40 | WHITESPACE@[46; 47) " " | ||
41 | BLOCK@[47; 49) | ||
42 | L_CURLY@[47; 48) "{" | ||
43 | R_CURLY@[48; 49) "}" | ||
44 | SEMI@[49; 50) ";" | ||
45 | WHITESPACE@[50; 55) "\n " | ||
46 | EXPR_STMT@[55; 91) | ||
47 | IF_EXPR@[55; 90) | ||
48 | IF_KW@[55; 57) "if" | ||
49 | WHITESPACE@[57; 58) " " | ||
50 | CONDITION@[58; 62) | ||
51 | LITERAL@[58; 62) | ||
52 | TRUE_KW@[58; 62) "true" | ||
53 | WHITESPACE@[62; 63) " " | ||
54 | BLOCK@[63; 65) | ||
55 | L_CURLY@[63; 64) "{" | ||
56 | R_CURLY@[64; 65) "}" | ||
57 | WHITESPACE@[65; 66) " " | ||
58 | ELSE_KW@[66; 70) "else" | ||
59 | WHITESPACE@[70; 71) " " | ||
60 | IF_EXPR@[71; 90) | ||
61 | IF_KW@[71; 73) "if" | ||
62 | WHITESPACE@[73; 74) " " | ||
63 | CONDITION@[74; 79) | ||
64 | LITERAL@[74; 79) | ||
65 | FALSE_KW@[74; 79) "false" | ||
66 | WHITESPACE@[79; 80) " " | ||
67 | BLOCK@[80; 82) | ||
68 | L_CURLY@[80; 81) "{" | ||
69 | R_CURLY@[81; 82) "}" | ||
70 | WHITESPACE@[82; 83) " " | ||
71 | ELSE_KW@[83; 87) "else" | ||
72 | WHITESPACE@[87; 88) " " | ||
73 | BLOCK@[88; 90) | ||
74 | L_CURLY@[88; 89) "{" | ||
75 | R_CURLY@[89; 90) "}" | ||
76 | SEMI@[90; 91) ";" | ||
77 | WHITESPACE@[91; 96) "\n " | ||
78 | EXPR_STMT@[96; 104) | ||
79 | IF_EXPR@[96; 103) | ||
80 | IF_KW@[96; 98) "if" | ||
81 | WHITESPACE@[98; 99) " " | ||
82 | CONDITION@[99; 100) | ||
83 | PATH_EXPR@[99; 100) | ||
84 | PATH@[99; 100) | ||
85 | PATH_SEGMENT@[99; 100) | ||
86 | NAME_REF@[99; 100) | ||
87 | IDENT@[99; 100) "S" | ||
88 | WHITESPACE@[100; 101) " " | ||
89 | BLOCK@[101; 103) | ||
90 | L_CURLY@[101; 102) "{" | ||
91 | R_CURLY@[102; 103) "}" | ||
92 | SEMI@[103; 104) ";" | ||
93 | WHITESPACE@[104; 105) "\n" | ||
94 | R_CURLY@[105; 106) "}" | ||
95 | WHITESPACE@[106; 107) "\n" | ||