diff options
author | Aleksey Kladov <[email protected]> | 2019-01-25 21:24:12 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-25 21:24:12 +0000 |
commit | 23172a116c3cc4ca9a692dfdd05051d1a4aee2b2 (patch) | |
tree | b6d0912779ecb18ec278339d8a40303e172647be /crates/ra_syntax/tests/data/parser/ok | |
parent | 3c7acecade09e1234ac7b1d1ed2f22edbc543f64 (diff) |
rename POS_FIELD -> POS_FIELD_DEF
to match NAMED_FIELD_DEF
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/ok')
3 files changed, 9 insertions, 9 deletions
diff --git a/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt b/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt index 1d355823d..d021d6de6 100644 --- a/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt +++ b/crates/ra_syntax/tests/data/parser/ok/0016_struct_flavors.txt | |||
@@ -21,7 +21,7 @@ SOURCE_FILE@[0; 97) | |||
21 | WHITESPACE@[28; 29) | 21 | WHITESPACE@[28; 29) |
22 | NAME@[29; 30) | 22 | NAME@[29; 30) |
23 | IDENT@[29; 30) "C" | 23 | IDENT@[29; 30) "C" |
24 | POS_FIELD_LIST@[30; 32) | 24 | POS_FIELD_DEF_LIST@[30; 32) |
25 | L_PAREN@[30; 31) | 25 | L_PAREN@[30; 31) |
26 | R_PAREN@[31; 32) | 26 | R_PAREN@[31; 32) |
27 | SEMI@[32; 33) | 27 | SEMI@[32; 33) |
@@ -68,9 +68,9 @@ SOURCE_FILE@[0; 97) | |||
68 | WHITESPACE@[82; 83) | 68 | WHITESPACE@[82; 83) |
69 | NAME@[83; 84) | 69 | NAME@[83; 84) |
70 | IDENT@[83; 84) "E" | 70 | IDENT@[83; 84) "E" |
71 | POS_FIELD_LIST@[84; 95) | 71 | POS_FIELD_DEF_LIST@[84; 95) |
72 | L_PAREN@[84; 85) | 72 | L_PAREN@[84; 85) |
73 | POS_FIELD@[85; 90) | 73 | POS_FIELD_DEF@[85; 90) |
74 | VISIBILITY@[85; 88) | 74 | VISIBILITY@[85; 88) |
75 | PUB_KW@[85; 88) | 75 | PUB_KW@[85; 88) |
76 | WHITESPACE@[88; 89) | 76 | WHITESPACE@[88; 89) |
@@ -81,7 +81,7 @@ SOURCE_FILE@[0; 97) | |||
81 | IDENT@[89; 90) "x" | 81 | IDENT@[89; 90) "x" |
82 | COMMA@[90; 91) | 82 | COMMA@[90; 91) |
83 | WHITESPACE@[91; 92) | 83 | WHITESPACE@[91; 92) |
84 | POS_FIELD@[92; 93) | 84 | POS_FIELD_DEF@[92; 93) |
85 | PATH_TYPE@[92; 93) | 85 | PATH_TYPE@[92; 93) |
86 | PATH@[92; 93) | 86 | PATH@[92; 93) |
87 | PATH_SEGMENT@[92; 93) | 87 | PATH_SEGMENT@[92; 93) |
diff --git a/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.txt b/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.txt index 491d154df..05480c81b 100644 --- a/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.txt +++ b/crates/ra_syntax/tests/data/parser/ok/0018_struct_type_params.txt | |||
@@ -23,9 +23,9 @@ SOURCE_FILE@[0; 290) | |||
23 | NAME@[24; 25) | 23 | NAME@[24; 25) |
24 | IDENT@[24; 25) "T" | 24 | IDENT@[24; 25) "T" |
25 | R_ANGLE@[25; 26) | 25 | R_ANGLE@[25; 26) |
26 | POS_FIELD_LIST@[26; 31) | 26 | POS_FIELD_DEF_LIST@[26; 31) |
27 | L_PAREN@[26; 27) | 27 | L_PAREN@[26; 27) |
28 | POS_FIELD@[27; 30) | 28 | POS_FIELD_DEF@[27; 30) |
29 | PATH_TYPE@[27; 30) | 29 | PATH_TYPE@[27; 30) |
30 | PATH@[27; 30) | 30 | PATH@[27; 30) |
31 | PATH_SEGMENT@[27; 30) | 31 | PATH_SEGMENT@[27; 30) |
diff --git a/crates/ra_syntax/tests/data/parser/ok/0019_enums.txt b/crates/ra_syntax/tests/data/parser/ok/0019_enums.txt index 6925219e8..2ac55cfbc 100644 --- a/crates/ra_syntax/tests/data/parser/ok/0019_enums.txt +++ b/crates/ra_syntax/tests/data/parser/ok/0019_enums.txt | |||
@@ -131,9 +131,9 @@ SOURCE_FILE@[0; 182) | |||
131 | ENUM_VARIANT@[162; 169) | 131 | ENUM_VARIANT@[162; 169) |
132 | NAME@[162; 163) | 132 | NAME@[162; 163) |
133 | IDENT@[162; 163) "D" | 133 | IDENT@[162; 163) "D" |
134 | POS_FIELD_LIST@[163; 169) | 134 | POS_FIELD_DEF_LIST@[163; 169) |
135 | L_PAREN@[163; 164) | 135 | L_PAREN@[163; 164) |
136 | POS_FIELD@[164; 167) | 136 | POS_FIELD_DEF@[164; 167) |
137 | PATH_TYPE@[164; 167) | 137 | PATH_TYPE@[164; 167) |
138 | PATH@[164; 167) | 138 | PATH@[164; 167) |
139 | PATH_SEGMENT@[164; 167) | 139 | PATH_SEGMENT@[164; 167) |
@@ -146,7 +146,7 @@ SOURCE_FILE@[0; 182) | |||
146 | ENUM_VARIANT@[175; 178) | 146 | ENUM_VARIANT@[175; 178) |
147 | NAME@[175; 176) | 147 | NAME@[175; 176) |
148 | IDENT@[175; 176) "E" | 148 | IDENT@[175; 176) "E" |
149 | POS_FIELD_LIST@[176; 178) | 149 | POS_FIELD_DEF_LIST@[176; 178) |
150 | L_PAREN@[176; 177) | 150 | L_PAREN@[176; 177) |
151 | R_PAREN@[177; 178) | 151 | R_PAREN@[177; 178) |
152 | COMMA@[178; 179) | 152 | COMMA@[178; 179) |