diff options
author | Aleksey Kladov <[email protected]> | 2019-04-02 12:04:23 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-04-02 12:49:46 +0100 |
commit | 7d6bd5d1379061180e771f7b833a9fecdc85a0b8 (patch) | |
tree | f2c8c4b116f73d8b5da458c50ba5b7a03a42c4f8 /crates/ra_syntax/tests/data/parser/inline/ok/0125_struct_literal_field_with_attr.txt | |
parent | 2d680ff93aa30a52ffe40bb7d359e19565dca733 (diff) |
always show token text
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0125_struct_literal_field_with_attr.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0125_struct_literal_field_with_attr.txt | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0125_struct_literal_field_with_attr.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0125_struct_literal_field_with_attr.txt index 34c80500a..f9c5ec124 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0125_struct_literal_field_with_attr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0125_struct_literal_field_with_attr.txt | |||
@@ -1,45 +1,45 @@ | |||
1 | SOURCE_FILE@[0; 46) | 1 | SOURCE_FILE@[0; 46) |
2 | FN_DEF@[0; 45) | 2 | FN_DEF@[0; 45) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) "fn" |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) " " |
5 | NAME@[3; 7) | 5 | NAME@[3; 7) |
6 | IDENT@[3; 7) "main" | 6 | IDENT@[3; 7) "main" |
7 | PARAM_LIST@[7; 9) | 7 | PARAM_LIST@[7; 9) |
8 | L_PAREN@[7; 8) | 8 | L_PAREN@[7; 8) "(" |
9 | R_PAREN@[8; 9) | 9 | R_PAREN@[8; 9) ")" |
10 | WHITESPACE@[9; 10) | 10 | WHITESPACE@[9; 10) " " |
11 | BLOCK@[10; 45) | 11 | BLOCK@[10; 45) |
12 | L_CURLY@[10; 11) | 12 | L_CURLY@[10; 11) "{" |
13 | WHITESPACE@[11; 16) | 13 | WHITESPACE@[11; 16) "\n " |
14 | STRUCT_LIT@[16; 43) | 14 | STRUCT_LIT@[16; 43) |
15 | PATH@[16; 17) | 15 | PATH@[16; 17) |
16 | PATH_SEGMENT@[16; 17) | 16 | PATH_SEGMENT@[16; 17) |
17 | NAME_REF@[16; 17) | 17 | NAME_REF@[16; 17) |
18 | IDENT@[16; 17) "S" | 18 | IDENT@[16; 17) "S" |
19 | WHITESPACE@[17; 18) | 19 | WHITESPACE@[17; 18) " " |
20 | NAMED_FIELD_LIST@[18; 43) | 20 | NAMED_FIELD_LIST@[18; 43) |
21 | L_CURLY@[18; 19) | 21 | L_CURLY@[18; 19) "{" |
22 | WHITESPACE@[19; 20) | 22 | WHITESPACE@[19; 20) " " |
23 | NAMED_FIELD@[20; 41) | 23 | NAMED_FIELD@[20; 41) |
24 | ATTR@[20; 32) | 24 | ATTR@[20; 32) |
25 | POUND@[20; 21) | 25 | POUND@[20; 21) "#" |
26 | TOKEN_TREE@[21; 32) | 26 | TOKEN_TREE@[21; 32) |
27 | L_BRACK@[21; 22) | 27 | L_BRACK@[21; 22) "[" |
28 | IDENT@[22; 25) "cfg" | 28 | IDENT@[22; 25) "cfg" |
29 | TOKEN_TREE@[25; 31) | 29 | TOKEN_TREE@[25; 31) |
30 | L_PAREN@[25; 26) | 30 | L_PAREN@[25; 26) "(" |
31 | IDENT@[26; 30) "test" | 31 | IDENT@[26; 30) "test" |
32 | R_PAREN@[30; 31) | 32 | R_PAREN@[30; 31) ")" |
33 | R_BRACK@[31; 32) | 33 | R_BRACK@[31; 32) "]" |
34 | WHITESPACE@[32; 33) | 34 | WHITESPACE@[32; 33) " " |
35 | NAME_REF@[33; 38) | 35 | NAME_REF@[33; 38) |
36 | IDENT@[33; 38) "field" | 36 | IDENT@[33; 38) "field" |
37 | COLON@[38; 39) | 37 | COLON@[38; 39) ":" |
38 | WHITESPACE@[39; 40) | 38 | WHITESPACE@[39; 40) " " |
39 | LITERAL@[40; 41) | 39 | LITERAL@[40; 41) |
40 | INT_NUMBER@[40; 41) "1" | 40 | INT_NUMBER@[40; 41) "1" |
41 | WHITESPACE@[41; 42) | 41 | WHITESPACE@[41; 42) " " |
42 | R_CURLY@[42; 43) | 42 | R_CURLY@[42; 43) "}" |
43 | WHITESPACE@[43; 44) | 43 | WHITESPACE@[43; 44) "\n" |
44 | R_CURLY@[44; 45) | 44 | R_CURLY@[44; 45) "}" |
45 | WHITESPACE@[45; 46) | 45 | WHITESPACE@[45; 46) "\n" |