diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-04-02 14:36:52 +0100 |
commit | 0a758a2c4803c7ecc956d2aa6ed2ce48c4e4edd9 (patch) | |
tree | 97952861d81d1d5d4de49899c0d4e8da96796dc2 /crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt | |
parent | 78f38a20fd53ccab18b1c4b7dda217b5bfb61c8f (diff) | |
parent | 7d6bd5d1379061180e771f7b833a9fecdc85a0b8 (diff) |
Merge #1090
1090: always show token text r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt b/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt index b49206d80..c6653cf25 100644 --- a/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt +++ b/crates/ra_syntax/tests/data/parser/ok/0001_struct_item.txt | |||
@@ -1,16 +1,16 @@ | |||
1 | SOURCE_FILE@[0; 32) | 1 | SOURCE_FILE@[0; 32) |
2 | STRUCT_DEF@[0; 31) | 2 | STRUCT_DEF@[0; 31) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) "struct" |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) " " |
5 | NAME@[7; 8) | 5 | NAME@[7; 8) |
6 | IDENT@[7; 8) "S" | 6 | IDENT@[7; 8) "S" |
7 | TYPE_PARAM_LIST@[8; 17) | 7 | TYPE_PARAM_LIST@[8; 17) |
8 | L_ANGLE@[8; 9) | 8 | L_ANGLE@[8; 9) "<" |
9 | TYPE_PARAM@[9; 16) | 9 | TYPE_PARAM@[9; 16) |
10 | NAME@[9; 10) | 10 | NAME@[9; 10) |
11 | IDENT@[9; 10) "T" | 11 | IDENT@[9; 10) "T" |
12 | COLON@[10; 11) | 12 | COLON@[10; 11) ":" |
13 | WHITESPACE@[11; 12) | 13 | WHITESPACE@[11; 12) " " |
14 | TYPE_BOUND_LIST@[12; 16) | 14 | TYPE_BOUND_LIST@[12; 16) |
15 | TYPE_BOUND@[12; 16) | 15 | TYPE_BOUND@[12; 16) |
16 | PATH_TYPE@[12; 16) | 16 | PATH_TYPE@[12; 16) |
@@ -18,22 +18,22 @@ SOURCE_FILE@[0; 32) | |||
18 | PATH_SEGMENT@[12; 16) | 18 | PATH_SEGMENT@[12; 16) |
19 | NAME_REF@[12; 16) | 19 | NAME_REF@[12; 16) |
20 | IDENT@[12; 16) "Copy" | 20 | IDENT@[12; 16) "Copy" |
21 | R_ANGLE@[16; 17) | 21 | R_ANGLE@[16; 17) ">" |
22 | WHITESPACE@[17; 18) | 22 | WHITESPACE@[17; 18) " " |
23 | NAMED_FIELD_DEF_LIST@[18; 31) | 23 | NAMED_FIELD_DEF_LIST@[18; 31) |
24 | L_CURLY@[18; 19) | 24 | L_CURLY@[18; 19) "{" |
25 | WHITESPACE@[19; 24) | 25 | WHITESPACE@[19; 24) "\n " |
26 | NAMED_FIELD_DEF@[24; 28) | 26 | NAMED_FIELD_DEF@[24; 28) |
27 | NAME@[24; 25) | 27 | NAME@[24; 25) |
28 | IDENT@[24; 25) "f" | 28 | IDENT@[24; 25) "f" |
29 | COLON@[25; 26) | 29 | COLON@[25; 26) ":" |
30 | WHITESPACE@[26; 27) | 30 | WHITESPACE@[26; 27) " " |
31 | PATH_TYPE@[27; 28) | 31 | PATH_TYPE@[27; 28) |
32 | PATH@[27; 28) | 32 | PATH@[27; 28) |
33 | PATH_SEGMENT@[27; 28) | 33 | PATH_SEGMENT@[27; 28) |
34 | NAME_REF@[27; 28) | 34 | NAME_REF@[27; 28) |
35 | IDENT@[27; 28) "T" | 35 | IDENT@[27; 28) "T" |
36 | COMMA@[28; 29) | 36 | COMMA@[28; 29) "," |
37 | WHITESPACE@[29; 30) | 37 | WHITESPACE@[29; 30) "\n" |
38 | R_CURLY@[30; 31) | 38 | R_CURLY@[30; 31) "}" |
39 | WHITESPACE@[31; 32) | 39 | WHITESPACE@[31; 32) "\n" |