@@ -11669,8 +11669,8 @@ impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrValue {
11669
11669
11670
11670
fn visit_children_with(&self, visitor: &mut V) {
11671
11671
match self {
11672
- JSXAttrValue::Lit { 0: _field_0 } => {
11673
- <Lit as VisitWith<V>>::visit_with(_field_0, visitor);
11672
+ JSXAttrValue::Str { 0: _field_0 } => {
11673
+ <Str as VisitWith<V>>::visit_with(_field_0, visitor);
11674
11674
}
11675
11675
JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
11676
11676
<JSXExprContainer as VisitWith<V>>::visit_with(_field_0, visitor);
@@ -37656,12 +37656,12 @@ impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for JSXAttrValue {
37656
37656
__ast_path: &mut AstNodePath<'r>,
37657
37657
) {
37658
37658
match self {
37659
- JSXAttrValue::Lit { 0: _field_0 } => {
37659
+ JSXAttrValue::Str { 0: _field_0 } => {
37660
37660
let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::JSXAttrValue(
37661
37661
self,
37662
- self::fields::JSXAttrValueField::Lit ,
37662
+ self::fields::JSXAttrValueField::Str ,
37663
37663
));
37664
- <Lit as VisitWithAstPath<V>>::visit_with_ast_path(
37664
+ <Str as VisitWithAstPath<V>>::visit_with_ast_path(
37665
37665
_field_0,
37666
37666
visitor,
37667
37667
&mut *__ast_path,
@@ -60607,8 +60607,8 @@ impl<V: ?Sized + VisitMut> VisitMutWith<V> for JSXAttrValue {
60607
60607
60608
60608
fn visit_mut_children_with(&mut self, visitor: &mut V) {
60609
60609
match self {
60610
- JSXAttrValue::Lit { 0: _field_0 } => {
60611
- <Lit as VisitMutWith<V>>::visit_mut_with(_field_0, visitor);
60610
+ JSXAttrValue::Str { 0: _field_0 } => {
60611
+ <Str as VisitMutWith<V>>::visit_mut_with(_field_0, visitor);
60612
60612
}
60613
60613
JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
60614
60614
<JSXExprContainer as VisitMutWith<V>>::visit_mut_with(_field_0, visitor);
@@ -83159,11 +83159,11 @@ impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for JSXAttrValue {
83159
83159
83160
83160
fn visit_mut_children_with_ast_path(&mut self, visitor: &mut V, __ast_path: &mut AstKindPath) {
83161
83161
match self {
83162
- JSXAttrValue::Lit { 0: _field_0 } => {
83162
+ JSXAttrValue::Str { 0: _field_0 } => {
83163
83163
let mut __ast_path = __ast_path.with_guard(AstParentKind::JSXAttrValue(
83164
- self::fields::JSXAttrValueField::Lit ,
83164
+ self::fields::JSXAttrValueField::Str ,
83165
83165
));
83166
- <Lit as VisitMutWithAstPath<V>>::visit_mut_with_ast_path(
83166
+ <Str as VisitMutWithAstPath<V>>::visit_mut_with_ast_path(
83167
83167
_field_0,
83168
83168
visitor,
83169
83169
&mut *__ast_path,
@@ -103887,9 +103887,9 @@ impl<V: ?Sized + Fold> FoldWith<V> for JSXAttrValue {
103887
103887
103888
103888
fn fold_children_with(self, visitor: &mut V) -> Self {
103889
103889
match self {
103890
- JSXAttrValue::Lit { 0: _field_0 } => {
103891
- let _field_0 = <Lit as FoldWith<V>>::fold_with(_field_0, visitor);
103892
- JSXAttrValue::Lit { 0: _field_0 }
103890
+ JSXAttrValue::Str { 0: _field_0 } => {
103891
+ let _field_0 = <Str as FoldWith<V>>::fold_with(_field_0, visitor);
103892
+ JSXAttrValue::Str { 0: _field_0 }
103893
103893
}
103894
103894
JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
103895
103895
let _field_0 = <JSXExprContainer as FoldWith<V>>::fold_with(_field_0, visitor);
@@ -127464,16 +127464,16 @@ impl<V: ?Sized + FoldAstPath> FoldWithAstPath<V> for JSXAttrValue {
127464
127464
127465
127465
fn fold_children_with_ast_path(self, visitor: &mut V, __ast_path: &mut AstKindPath) -> Self {
127466
127466
match self {
127467
- JSXAttrValue::Lit { 0: _field_0 } => {
127467
+ JSXAttrValue::Str { 0: _field_0 } => {
127468
127468
let mut __ast_path = __ast_path.with_guard(AstParentKind::JSXAttrValue(
127469
- self::fields::JSXAttrValueField::Lit ,
127469
+ self::fields::JSXAttrValueField::Str ,
127470
127470
));
127471
- let _field_0 = <Lit as FoldWithAstPath<V>>::fold_with_ast_path(
127471
+ let _field_0 = <Str as FoldWithAstPath<V>>::fold_with_ast_path(
127472
127472
_field_0,
127473
127473
visitor,
127474
127474
&mut *__ast_path,
127475
127475
);
127476
- JSXAttrValue::Lit { 0: _field_0 }
127476
+ JSXAttrValue::Str { 0: _field_0 }
127477
127477
}
127478
127478
JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
127479
127479
let mut __ast_path = __ast_path.with_guard(AstParentKind::JSXAttrValue(
@@ -138138,8 +138138,8 @@ pub mod fields {
138138
138138
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
138139
138139
#[cfg_attr(feature = "serde-impl", derive(serde::Serialize, serde::Deserialize))]
138140
138140
pub enum JSXAttrValueField {
138141
- #[doc = "Represents [`JSXAttrValue::Lit `]"]
138142
- Lit ,
138141
+ #[doc = "Represents [`JSXAttrValue::Str `]"]
138142
+ Str ,
138143
138143
#[doc = "Represents [`JSXAttrValue::JSXExprContainer`]"]
138144
138144
JsxexprContainer,
138145
138145
#[doc = "Represents [`JSXAttrValue::JSXElement`]"]
@@ -144744,7 +144744,7 @@ impl<'ast> NodeRef<'ast> {
144744
144744
_ => Box::new(::std::iter::empty::<NodeRef<'ast>>()),
144745
144745
},
144746
144746
NodeRef::JSXAttrValue(node) => match node {
144747
- JSXAttrValue::Lit (v0) => Box::new(::std::iter::once(NodeRef::Lit (v0))),
144747
+ JSXAttrValue::Str (v0) => Box::new(::std::iter::once(NodeRef::Str (v0))),
144748
144748
JSXAttrValue::JSXExprContainer(v0) => {
144749
144749
Box::new(::std::iter::once(NodeRef::JSXExprContainer(v0)))
144750
144750
}
0 commit comments