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/0061_struct_lit.txt | |
parent | 4d544fbf9b664b6a29d358d3cb41cdd7cd15e4d6 (diff) |
move syntax tests to unit tests
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0061_struct_lit.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0061_struct_lit.txt | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0061_struct_lit.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0061_struct_lit.txt deleted file mode 100644 index 94d1bfe2e..000000000 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0061_struct_lit.txt +++ /dev/null | |||
@@ -1,97 +0,0 @@ | |||
1 | SOURCE_FILE@[0; 86) | ||
2 | FN_DEF@[0; 85) | ||
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; 85) | ||
12 | L_CURLY@[9; 10) "{" | ||
13 | WHITESPACE@[10; 15) "\n " | ||
14 | EXPR_STMT@[15; 20) | ||
15 | STRUCT_LIT@[15; 19) | ||
16 | PATH@[15; 16) | ||
17 | PATH_SEGMENT@[15; 16) | ||
18 | NAME_REF@[15; 16) | ||
19 | IDENT@[15; 16) "S" | ||
20 | WHITESPACE@[16; 17) " " | ||
21 | NAMED_FIELD_LIST@[17; 19) | ||
22 | L_CURLY@[17; 18) "{" | ||
23 | R_CURLY@[18; 19) "}" | ||
24 | SEMI@[19; 20) ";" | ||
25 | WHITESPACE@[20; 25) "\n " | ||
26 | EXPR_STMT@[25; 41) | ||
27 | STRUCT_LIT@[25; 40) | ||
28 | PATH@[25; 26) | ||
29 | PATH_SEGMENT@[25; 26) | ||
30 | NAME_REF@[25; 26) | ||
31 | IDENT@[25; 26) "S" | ||
32 | WHITESPACE@[26; 27) " " | ||
33 | NAMED_FIELD_LIST@[27; 40) | ||
34 | L_CURLY@[27; 28) "{" | ||
35 | WHITESPACE@[28; 29) " " | ||
36 | NAMED_FIELD@[29; 30) | ||
37 | NAME_REF@[29; 30) | ||
38 | IDENT@[29; 30) "x" | ||
39 | COMMA@[30; 31) "," | ||
40 | WHITESPACE@[31; 32) " " | ||
41 | NAMED_FIELD@[32; 37) | ||
42 | NAME_REF@[32; 33) | ||
43 | IDENT@[32; 33) "y" | ||
44 | COLON@[33; 34) ":" | ||
45 | WHITESPACE@[34; 35) " " | ||
46 | LITERAL@[35; 37) | ||
47 | INT_NUMBER@[35; 37) "32" | ||
48 | COMMA@[37; 38) "," | ||
49 | WHITESPACE@[38; 39) " " | ||
50 | R_CURLY@[39; 40) "}" | ||
51 | SEMI@[40; 41) ";" | ||
52 | WHITESPACE@[41; 46) "\n " | ||
53 | EXPR_STMT@[46; 83) | ||
54 | STRUCT_LIT@[46; 82) | ||
55 | PATH@[46; 47) | ||
56 | PATH_SEGMENT@[46; 47) | ||
57 | NAME_REF@[46; 47) | ||
58 | IDENT@[46; 47) "S" | ||
59 | WHITESPACE@[47; 48) " " | ||
60 | NAMED_FIELD_LIST@[48; 82) | ||
61 | L_CURLY@[48; 49) "{" | ||
62 | WHITESPACE@[49; 50) " " | ||
63 | NAMED_FIELD@[50; 51) | ||
64 | NAME_REF@[50; 51) | ||
65 | IDENT@[50; 51) "x" | ||
66 | COMMA@[51; 52) "," | ||
67 | WHITESPACE@[52; 53) " " | ||
68 | NAMED_FIELD@[53; 58) | ||
69 | NAME_REF@[53; 54) | ||
70 | IDENT@[53; 54) "y" | ||
71 | COLON@[54; 55) ":" | ||
72 | WHITESPACE@[55; 56) " " | ||
73 | LITERAL@[56; 58) | ||
74 | INT_NUMBER@[56; 58) "32" | ||
75 | COMMA@[58; 59) "," | ||
76 | WHITESPACE@[59; 60) " " | ||
77 | DOTDOT@[60; 62) ".." | ||
78 | CALL_EXPR@[62; 80) | ||
79 | PATH_EXPR@[62; 78) | ||
80 | PATH@[62; 78) | ||
81 | PATH@[62; 69) | ||
82 | PATH_SEGMENT@[62; 69) | ||
83 | NAME_REF@[62; 69) | ||
84 | IDENT@[62; 69) "Default" | ||
85 | COLONCOLON@[69; 71) "::" | ||
86 | PATH_SEGMENT@[71; 78) | ||
87 | NAME_REF@[71; 78) | ||
88 | IDENT@[71; 78) "default" | ||
89 | ARG_LIST@[78; 80) | ||
90 | L_PAREN@[78; 79) "(" | ||
91 | R_PAREN@[79; 80) ")" | ||
92 | WHITESPACE@[80; 81) " " | ||
93 | R_CURLY@[81; 82) "}" | ||
94 | SEMI@[82; 83) ";" | ||
95 | WHITESPACE@[83; 84) "\n" | ||
96 | R_CURLY@[84; 85) "}" | ||
97 | WHITESPACE@[85; 86) "\n" | ||