@@ -2047,11 +2047,11 @@ impl Node for Cmpop {
2047
2047
2048
2048
#[ derive( Clone , Debug , PartialEq ) ]
2049
2049
pub struct Comprehension < R = TextRange > {
2050
+ pub range : OptionalRange < R > ,
2050
2051
pub target : Expr < R > ,
2051
2052
pub iter : Expr < R > ,
2052
2053
pub ifs : Vec < Expr < R > > ,
2053
2054
pub is_async : bool ,
2054
- pub range : OptionalRange < R > ,
2055
2055
}
2056
2056
2057
2057
impl < R > Node for Comprehension < R > {
@@ -2089,14 +2089,14 @@ impl<R> Node for Excepthandler<R> {
2089
2089
2090
2090
#[ derive( Clone , Debug , PartialEq ) ]
2091
2091
pub struct Arguments < R = TextRange > {
2092
+ pub range : OptionalRange < R > ,
2092
2093
pub posonlyargs : Vec < Arg < R > > ,
2093
2094
pub args : Vec < Arg < R > > ,
2094
2095
pub vararg : Option < Box < Arg < R > > > ,
2095
2096
pub kwonlyargs : Vec < Arg < R > > ,
2096
2097
pub kw_defaults : Vec < Expr < R > > ,
2097
2098
pub kwarg : Option < Box < Arg < R > > > ,
2098
2099
pub defaults : Vec < Expr < R > > ,
2099
- pub range : OptionalRange < R > ,
2100
2100
}
2101
2101
2102
2102
impl < R > Node for Arguments < R > {
@@ -2114,10 +2114,10 @@ impl<R> Node for Arguments<R> {
2114
2114
2115
2115
#[ derive( Clone , Debug , PartialEq ) ]
2116
2116
pub struct Arg < R = TextRange > {
2117
+ pub range : R ,
2117
2118
pub arg : Identifier ,
2118
2119
pub annotation : Option < Box < Expr < R > > > ,
2119
2120
pub type_comment : Option < String > ,
2120
- pub range : R ,
2121
2121
}
2122
2122
2123
2123
impl < R > Node for Arg < R > {
@@ -2127,9 +2127,9 @@ impl<R> Node for Arg<R> {
2127
2127
2128
2128
#[ derive( Clone , Debug , PartialEq ) ]
2129
2129
pub struct Keyword < R = TextRange > {
2130
+ pub range : R ,
2130
2131
pub arg : Option < Identifier > ,
2131
2132
pub value : Expr < R > ,
2132
- pub range : R ,
2133
2133
}
2134
2134
2135
2135
impl < R > Node for Keyword < R > {
@@ -2139,9 +2139,9 @@ impl<R> Node for Keyword<R> {
2139
2139
2140
2140
#[ derive( Clone , Debug , PartialEq ) ]
2141
2141
pub struct Alias < R = TextRange > {
2142
+ pub range : R ,
2142
2143
pub name : Identifier ,
2143
2144
pub asname : Option < Identifier > ,
2144
- pub range : R ,
2145
2145
}
2146
2146
2147
2147
impl < R > Node for Alias < R > {
@@ -2151,9 +2151,9 @@ impl<R> Node for Alias<R> {
2151
2151
2152
2152
#[ derive( Clone , Debug , PartialEq ) ]
2153
2153
pub struct Withitem < R = TextRange > {
2154
+ pub range : OptionalRange < R > ,
2154
2155
pub context_expr : Expr < R > ,
2155
2156
pub optional_vars : Option < Box < Expr < R > > > ,
2156
- pub range : OptionalRange < R > ,
2157
2157
}
2158
2158
2159
2159
impl < R > Node for Withitem < R > {
@@ -2163,10 +2163,10 @@ impl<R> Node for Withitem<R> {
2163
2163
2164
2164
#[ derive( Clone , Debug , PartialEq ) ]
2165
2165
pub struct MatchCase < R = TextRange > {
2166
+ pub range : OptionalRange < R > ,
2166
2167
pub pattern : Pattern < R > ,
2167
2168
pub guard : Option < Box < Expr < R > > > ,
2168
2169
pub body : Vec < Stmt < R > > ,
2169
- pub range : OptionalRange < R > ,
2170
2170
}
2171
2171
2172
2172
impl < R > Node for MatchCase < R > {
0 commit comments