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/test_data/parser/inline/ok/0113_nocontentexpr.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.txt')
-rw-r--r-- | crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.txt | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.txt b/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.txt new file mode 100644 index 000000000..601a5bae9 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.txt | |||
@@ -0,0 +1,56 @@ | |||
1 | SOURCE_FILE@[0; 50) | ||
2 | FN_DEF@[0; 49) | ||
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 | BLOCK@[8; 49) | ||
11 | L_CURLY@[8; 9) "{" | ||
12 | WHITESPACE@[9; 14) "\n " | ||
13 | SEMI@[14; 15) ";" | ||
14 | SEMI@[15; 16) ";" | ||
15 | SEMI@[16; 17) ";" | ||
16 | EXPR_STMT@[17; 29) | ||
17 | CALL_EXPR@[17; 28) | ||
18 | PATH_EXPR@[17; 26) | ||
19 | PATH@[17; 26) | ||
20 | PATH_SEGMENT@[17; 26) | ||
21 | NAME_REF@[17; 26) | ||
22 | IDENT@[17; 26) "some_expr" | ||
23 | ARG_LIST@[26; 28) | ||
24 | L_PAREN@[26; 27) "(" | ||
25 | R_PAREN@[27; 28) ")" | ||
26 | SEMI@[28; 29) ";" | ||
27 | SEMI@[29; 30) ";" | ||
28 | SEMI@[30; 31) ";" | ||
29 | SEMI@[31; 32) ";" | ||
30 | EXPR_STMT@[32; 38) | ||
31 | BLOCK_EXPR@[32; 37) | ||
32 | BLOCK@[32; 37) | ||
33 | L_CURLY@[32; 33) "{" | ||
34 | SEMI@[33; 34) ";" | ||
35 | SEMI@[34; 35) ";" | ||
36 | SEMI@[35; 36) ";" | ||
37 | R_CURLY@[36; 37) "}" | ||
38 | SEMI@[37; 38) ";" | ||
39 | SEMI@[38; 39) ";" | ||
40 | SEMI@[39; 40) ";" | ||
41 | SEMI@[40; 41) ";" | ||
42 | CALL_EXPR@[41; 47) | ||
43 | PATH_EXPR@[41; 43) | ||
44 | PATH@[41; 43) | ||
45 | PATH_SEGMENT@[41; 43) | ||
46 | NAME_REF@[41; 43) | ||
47 | IDENT@[41; 43) "Ok" | ||
48 | ARG_LIST@[43; 47) | ||
49 | L_PAREN@[43; 44) "(" | ||
50 | TUPLE_EXPR@[44; 46) | ||
51 | L_PAREN@[44; 45) "(" | ||
52 | R_PAREN@[45; 46) ")" | ||
53 | R_PAREN@[46; 47) ")" | ||
54 | WHITESPACE@[47; 48) "\n" | ||
55 | R_CURLY@[48; 49) "}" | ||
56 | WHITESPACE@[49; 50) "\n" | ||