@@ -11669,8 +11669,8 @@ impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrValue {
1166911669
1167011670 fn visit_children_with(&self, visitor: &mut V) {
1167111671 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);
1167411674 }
1167511675 JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
1167611676 <JSXExprContainer as VisitWith<V>>::visit_with(_field_0, visitor);
@@ -37656,12 +37656,12 @@ impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for JSXAttrValue {
3765637656 __ast_path: &mut AstNodePath<'r>,
3765737657 ) {
3765837658 match self {
37659- JSXAttrValue::Lit { 0: _field_0 } => {
37659+ JSXAttrValue::Str { 0: _field_0 } => {
3766037660 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::JSXAttrValue(
3766137661 self,
37662- self::fields::JSXAttrValueField::Lit ,
37662+ self::fields::JSXAttrValueField::Str ,
3766337663 ));
37664- <Lit as VisitWithAstPath<V>>::visit_with_ast_path(
37664+ <Str as VisitWithAstPath<V>>::visit_with_ast_path(
3766537665 _field_0,
3766637666 visitor,
3766737667 &mut *__ast_path,
@@ -60607,8 +60607,8 @@ impl<V: ?Sized + VisitMut> VisitMutWith<V> for JSXAttrValue {
6060760607
6060860608 fn visit_mut_children_with(&mut self, visitor: &mut V) {
6060960609 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);
6061260612 }
6061360613 JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
6061460614 <JSXExprContainer as VisitMutWith<V>>::visit_mut_with(_field_0, visitor);
@@ -83159,11 +83159,11 @@ impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for JSXAttrValue {
8315983159
8316083160 fn visit_mut_children_with_ast_path(&mut self, visitor: &mut V, __ast_path: &mut AstKindPath) {
8316183161 match self {
83162- JSXAttrValue::Lit { 0: _field_0 } => {
83162+ JSXAttrValue::Str { 0: _field_0 } => {
8316383163 let mut __ast_path = __ast_path.with_guard(AstParentKind::JSXAttrValue(
83164- self::fields::JSXAttrValueField::Lit ,
83164+ self::fields::JSXAttrValueField::Str ,
8316583165 ));
83166- <Lit as VisitMutWithAstPath<V>>::visit_mut_with_ast_path(
83166+ <Str as VisitMutWithAstPath<V>>::visit_mut_with_ast_path(
8316783167 _field_0,
8316883168 visitor,
8316983169 &mut *__ast_path,
@@ -103887,9 +103887,9 @@ impl<V: ?Sized + Fold> FoldWith<V> for JSXAttrValue {
103887103887
103888103888 fn fold_children_with(self, visitor: &mut V) -> Self {
103889103889 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 }
103893103893 }
103894103894 JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
103895103895 let _field_0 = <JSXExprContainer as FoldWith<V>>::fold_with(_field_0, visitor);
@@ -127464,16 +127464,16 @@ impl<V: ?Sized + FoldAstPath> FoldWithAstPath<V> for JSXAttrValue {
127464127464
127465127465 fn fold_children_with_ast_path(self, visitor: &mut V, __ast_path: &mut AstKindPath) -> Self {
127466127466 match self {
127467- JSXAttrValue::Lit { 0: _field_0 } => {
127467+ JSXAttrValue::Str { 0: _field_0 } => {
127468127468 let mut __ast_path = __ast_path.with_guard(AstParentKind::JSXAttrValue(
127469- self::fields::JSXAttrValueField::Lit ,
127469+ self::fields::JSXAttrValueField::Str ,
127470127470 ));
127471- let _field_0 = <Lit as FoldWithAstPath<V>>::fold_with_ast_path(
127471+ let _field_0 = <Str as FoldWithAstPath<V>>::fold_with_ast_path(
127472127472 _field_0,
127473127473 visitor,
127474127474 &mut *__ast_path,
127475127475 );
127476- JSXAttrValue::Lit { 0: _field_0 }
127476+ JSXAttrValue::Str { 0: _field_0 }
127477127477 }
127478127478 JSXAttrValue::JSXExprContainer { 0: _field_0 } => {
127479127479 let mut __ast_path = __ast_path.with_guard(AstParentKind::JSXAttrValue(
@@ -138138,8 +138138,8 @@ pub mod fields {
138138138138 #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
138139138139 #[cfg_attr(feature = "serde-impl", derive(serde::Serialize, serde::Deserialize))]
138140138140 pub enum JSXAttrValueField {
138141- #[doc = "Represents [`JSXAttrValue::Lit `]"]
138142- Lit ,
138141+ #[doc = "Represents [`JSXAttrValue::Str `]"]
138142+ Str ,
138143138143 #[doc = "Represents [`JSXAttrValue::JSXExprContainer`]"]
138144138144 JsxexprContainer,
138145138145 #[doc = "Represents [`JSXAttrValue::JSXElement`]"]
@@ -144744,7 +144744,7 @@ impl<'ast> NodeRef<'ast> {
144744144744 _ => Box::new(::std::iter::empty::<NodeRef<'ast>>()),
144745144745 },
144746144746 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))),
144748144748 JSXAttrValue::JSXExprContainer(v0) => {
144749144749 Box::new(::std::iter::once(NodeRef::JSXExprContainer(v0)))
144750144750 }
0 commit comments