1#![doc = r" This file is generated by `tools/generate-code`. DO NOT MODIFY."]
2#![allow(unused_variables)]
3#![allow(clippy::all)]
4pub use ::swc_visit::All;
5use swc_css_ast::*;
6#[doc = r" A visitor trait for traversing the AST."]
7pub trait Visit {
8 #[doc = "Visit a node of type `AbsoluteColorBase`.\n\nBy default, this method calls \
9 [`AbsoluteColorBase::visit_children_with`]. If you want to recurse, you need to call \
10 it manually."]
11 #[inline]
12 fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase) {
13 <AbsoluteColorBase as VisitWith<Self>>::visit_children_with(node, self)
14 }
15 #[doc = "Visit a node of type `AlphaValue`.\n\nBy default, this method calls \
16 [`AlphaValue::visit_children_with`]. If you want to recurse, you need to call it \
17 manually."]
18 #[inline]
19 fn visit_alpha_value(&mut self, node: &AlphaValue) {
20 <AlphaValue as VisitWith<Self>>::visit_children_with(node, self)
21 }
22 #[doc = "Visit a node of type `AnPlusB`.\n\nBy default, this method calls \
23 [`AnPlusB::visit_children_with`]. If you want to recurse, you need to call it \
24 manually."]
25 #[inline]
26 fn visit_an_plus_b(&mut self, node: &AnPlusB) {
27 <AnPlusB as VisitWith<Self>>::visit_children_with(node, self)
28 }
29 #[doc = "Visit a node of type `AnPlusBNotation`.\n\nBy default, this method calls \
30 [`AnPlusBNotation::visit_children_with`]. If you want to recurse, you need to call it \
31 manually."]
32 #[inline]
33 fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation) {
34 <AnPlusBNotation as VisitWith<Self>>::visit_children_with(node, self)
35 }
36 #[doc = "Visit a node of type `Angle`.\n\nBy default, this method calls \
37 [`Angle::visit_children_with`]. If you want to recurse, you need to call it manually."]
38 #[inline]
39 fn visit_angle(&mut self, node: &Angle) {
40 <Angle as VisitWith<Self>>::visit_children_with(node, self)
41 }
42 #[doc = "Visit a node of type `AnglePercentage`.\n\nBy default, this method calls \
43 [`AnglePercentage::visit_children_with`]. If you want to recurse, you need to call it \
44 manually."]
45 #[inline]
46 fn visit_angle_percentage(&mut self, node: &AnglePercentage) {
47 <AnglePercentage as VisitWith<Self>>::visit_children_with(node, self)
48 }
49 #[doc = "Visit a node of type `AnyNamespace`.\n\nBy default, this method calls \
50 [`AnyNamespace::visit_children_with`]. If you want to recurse, you need to call it \
51 manually."]
52 #[inline]
53 fn visit_any_namespace(&mut self, node: &AnyNamespace) {
54 <AnyNamespace as VisitWith<Self>>::visit_children_with(node, self)
55 }
56 #[doc = "Visit a node of type `AtRule`.\n\nBy default, this method calls \
57 [`AtRule::visit_children_with`]. If you want to recurse, you need to call it manually."]
58 #[inline]
59 fn visit_at_rule(&mut self, node: &AtRule) {
60 <AtRule as VisitWith<Self>>::visit_children_with(node, self)
61 }
62 #[doc = "Visit a node of type `AtRuleName`.\n\nBy default, this method calls \
63 [`AtRuleName::visit_children_with`]. If you want to recurse, you need to call it \
64 manually."]
65 #[inline]
66 fn visit_at_rule_name(&mut self, node: &AtRuleName) {
67 <AtRuleName as VisitWith<Self>>::visit_children_with(node, self)
68 }
69 #[doc = "Visit a node of type `AtRulePrelude`.\n\nBy default, this method calls \
70 [`AtRulePrelude::visit_children_with`]. If you want to recurse, you need to call it \
71 manually."]
72 #[inline]
73 fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude) {
74 <AtRulePrelude as VisitWith<Self>>::visit_children_with(node, self)
75 }
76 #[doc = "Visit a node of type `swc_atoms :: Atom`.\n\nBy default, this method calls \
77 [`swc_atoms :: Atom::visit_children_with`]. If you want to recurse, you need to call \
78 it manually."]
79 #[inline]
80 fn visit_atom(&mut self, node: &swc_atoms::Atom) {
81 <swc_atoms::Atom as VisitWith<Self>>::visit_children_with(node, self)
82 }
83 #[doc = "Visit a node of type `AttributeSelector`.\n\nBy default, this method calls \
84 [`AttributeSelector::visit_children_with`]. If you want to recurse, you need to call \
85 it manually."]
86 #[inline]
87 fn visit_attribute_selector(&mut self, node: &AttributeSelector) {
88 <AttributeSelector as VisitWith<Self>>::visit_children_with(node, self)
89 }
90 #[doc = "Visit a node of type `AttributeSelectorMatcher`.\n\nBy default, this method calls \
91 [`AttributeSelectorMatcher::visit_children_with`]. If you want to recurse, you need \
92 to call it manually."]
93 #[inline]
94 fn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher) {
95 <AttributeSelectorMatcher as VisitWith<Self>>::visit_children_with(node, self)
96 }
97 #[doc = "Visit a node of type `AttributeSelectorMatcherValue`.\n\nBy default, this method \
98 calls [`AttributeSelectorMatcherValue::visit_children_with`]. If you want to recurse, \
99 you need to call it manually."]
100 #[inline]
101 fn visit_attribute_selector_matcher_value(&mut self, node: &AttributeSelectorMatcherValue) {
102 <AttributeSelectorMatcherValue as VisitWith<Self>>::visit_children_with(node, self)
103 }
104 #[doc = "Visit a node of type `AttributeSelectorModifier`.\n\nBy default, this method calls \
105 [`AttributeSelectorModifier::visit_children_with`]. If you want to recurse, you need \
106 to call it manually."]
107 #[inline]
108 fn visit_attribute_selector_modifier(&mut self, node: &AttributeSelectorModifier) {
109 <AttributeSelectorModifier as VisitWith<Self>>::visit_children_with(node, self)
110 }
111 #[doc = "Visit a node of type `AttributeSelectorValue`.\n\nBy default, this method calls \
112 [`AttributeSelectorValue::visit_children_with`]. If you want to recurse, you need to \
113 call it manually."]
114 #[inline]
115 fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue) {
116 <AttributeSelectorValue as VisitWith<Self>>::visit_children_with(node, self)
117 }
118 #[doc = "Visit a node of type `BinOp`.\n\nBy default, this method calls \
119 [`BinOp::visit_children_with`]. If you want to recurse, you need to call it manually."]
120 #[inline]
121 fn visit_bin_op(&mut self, node: &BinOp) {
122 <BinOp as VisitWith<Self>>::visit_children_with(node, self)
123 }
124 #[doc = "Visit a node of type `CalcOperator`.\n\nBy default, this method calls \
125 [`CalcOperator::visit_children_with`]. If you want to recurse, you need to call it \
126 manually."]
127 #[inline]
128 fn visit_calc_operator(&mut self, node: &CalcOperator) {
129 <CalcOperator as VisitWith<Self>>::visit_children_with(node, self)
130 }
131 #[doc = "Visit a node of type `CalcOperatorType`.\n\nBy default, this method calls \
132 [`CalcOperatorType::visit_children_with`]. If you want to recurse, you need to call \
133 it manually."]
134 #[inline]
135 fn visit_calc_operator_type(&mut self, node: &CalcOperatorType) {
136 <CalcOperatorType as VisitWith<Self>>::visit_children_with(node, self)
137 }
138 #[doc = "Visit a node of type `CalcProduct`.\n\nBy default, this method calls \
139 [`CalcProduct::visit_children_with`]. If you want to recurse, you need to call it \
140 manually."]
141 #[inline]
142 fn visit_calc_product(&mut self, node: &CalcProduct) {
143 <CalcProduct as VisitWith<Self>>::visit_children_with(node, self)
144 }
145 #[doc = "Visit a node of type `CalcProductOrOperator`.\n\nBy default, this method calls \
146 [`CalcProductOrOperator::visit_children_with`]. If you want to recurse, you need to \
147 call it manually."]
148 #[inline]
149 fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator) {
150 <CalcProductOrOperator as VisitWith<Self>>::visit_children_with(node, self)
151 }
152 #[doc = "Visit a node of type `Vec < CalcProductOrOperator >`.\n\nBy default, this method \
153 calls [`Vec < CalcProductOrOperator >::visit_children_with`]. If you want to recurse, \
154 you need to call it manually."]
155 #[inline]
156 fn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator]) {
157 <[CalcProductOrOperator] as VisitWith<Self>>::visit_children_with(node, self)
158 }
159 #[doc = "Visit a node of type `CalcSum`.\n\nBy default, this method calls \
160 [`CalcSum::visit_children_with`]. If you want to recurse, you need to call it \
161 manually."]
162 #[inline]
163 fn visit_calc_sum(&mut self, node: &CalcSum) {
164 <CalcSum as VisitWith<Self>>::visit_children_with(node, self)
165 }
166 #[doc = "Visit a node of type `CalcValue`.\n\nBy default, this method calls \
167 [`CalcValue::visit_children_with`]. If you want to recurse, you need to call it \
168 manually."]
169 #[inline]
170 fn visit_calc_value(&mut self, node: &CalcValue) {
171 <CalcValue as VisitWith<Self>>::visit_children_with(node, self)
172 }
173 #[doc = "Visit a node of type `CalcValueOrOperator`.\n\nBy default, this method calls \
174 [`CalcValueOrOperator::visit_children_with`]. If you want to recurse, you need to \
175 call it manually."]
176 #[inline]
177 fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator) {
178 <CalcValueOrOperator as VisitWith<Self>>::visit_children_with(node, self)
179 }
180 #[doc = "Visit a node of type `Vec < CalcValueOrOperator >`.\n\nBy default, this method calls \
181 [`Vec < CalcValueOrOperator >::visit_children_with`]. If you want to recurse, you \
182 need to call it manually."]
183 #[inline]
184 fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator]) {
185 <[CalcValueOrOperator] as VisitWith<Self>>::visit_children_with(node, self)
186 }
187 #[doc = "Visit a node of type `ClassSelector`.\n\nBy default, this method calls \
188 [`ClassSelector::visit_children_with`]. If you want to recurse, you need to call it \
189 manually."]
190 #[inline]
191 fn visit_class_selector(&mut self, node: &ClassSelector) {
192 <ClassSelector as VisitWith<Self>>::visit_children_with(node, self)
193 }
194 #[doc = "Visit a node of type `CmykComponent`.\n\nBy default, this method calls \
195 [`CmykComponent::visit_children_with`]. If you want to recurse, you need to call it \
196 manually."]
197 #[inline]
198 fn visit_cmyk_component(&mut self, node: &CmykComponent) {
199 <CmykComponent as VisitWith<Self>>::visit_children_with(node, self)
200 }
201 #[doc = "Visit a node of type `Color`.\n\nBy default, this method calls \
202 [`Color::visit_children_with`]. If you want to recurse, you need to call it manually."]
203 #[inline]
204 fn visit_color(&mut self, node: &Color) {
205 <Color as VisitWith<Self>>::visit_children_with(node, self)
206 }
207 #[doc = "Visit a node of type `ColorProfileName`.\n\nBy default, this method calls \
208 [`ColorProfileName::visit_children_with`]. If you want to recurse, you need to call \
209 it manually."]
210 #[inline]
211 fn visit_color_profile_name(&mut self, node: &ColorProfileName) {
212 <ColorProfileName as VisitWith<Self>>::visit_children_with(node, self)
213 }
214 #[doc = "Visit a node of type `Combinator`.\n\nBy default, this method calls \
215 [`Combinator::visit_children_with`]. If you want to recurse, you need to call it \
216 manually."]
217 #[inline]
218 fn visit_combinator(&mut self, node: &Combinator) {
219 <Combinator as VisitWith<Self>>::visit_children_with(node, self)
220 }
221 #[doc = "Visit a node of type `CombinatorValue`.\n\nBy default, this method calls \
222 [`CombinatorValue::visit_children_with`]. If you want to recurse, you need to call it \
223 manually."]
224 #[inline]
225 fn visit_combinator_value(&mut self, node: &CombinatorValue) {
226 <CombinatorValue as VisitWith<Self>>::visit_children_with(node, self)
227 }
228 #[doc = "Visit a node of type `ComplexSelector`.\n\nBy default, this method calls \
229 [`ComplexSelector::visit_children_with`]. If you want to recurse, you need to call it \
230 manually."]
231 #[inline]
232 fn visit_complex_selector(&mut self, node: &ComplexSelector) {
233 <ComplexSelector as VisitWith<Self>>::visit_children_with(node, self)
234 }
235 #[doc = "Visit a node of type `ComplexSelectorChildren`.\n\nBy default, this method calls \
236 [`ComplexSelectorChildren::visit_children_with`]. If you want to recurse, you need to \
237 call it manually."]
238 #[inline]
239 fn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren) {
240 <ComplexSelectorChildren as VisitWith<Self>>::visit_children_with(node, self)
241 }
242 #[doc = "Visit a node of type `Vec < ComplexSelectorChildren >`.\n\nBy default, this method \
243 calls [`Vec < ComplexSelectorChildren >::visit_children_with`]. If you want to \
244 recurse, you need to call it manually."]
245 #[inline]
246 fn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren]) {
247 <[ComplexSelectorChildren] as VisitWith<Self>>::visit_children_with(node, self)
248 }
249 #[doc = "Visit a node of type `Vec < ComplexSelector >`.\n\nBy default, this method calls \
250 [`Vec < ComplexSelector >::visit_children_with`]. If you want to recurse, you need to \
251 call it manually."]
252 #[inline]
253 fn visit_complex_selectors(&mut self, node: &[ComplexSelector]) {
254 <[ComplexSelector] as VisitWith<Self>>::visit_children_with(node, self)
255 }
256 #[doc = "Visit a node of type `ComponentValue`.\n\nBy default, this method calls \
257 [`ComponentValue::visit_children_with`]. If you want to recurse, you need to call it \
258 manually."]
259 #[inline]
260 fn visit_component_value(&mut self, node: &ComponentValue) {
261 <ComponentValue as VisitWith<Self>>::visit_children_with(node, self)
262 }
263 #[doc = "Visit a node of type `Vec < ComponentValue >`.\n\nBy default, this method calls [`Vec \
264 < ComponentValue >::visit_children_with`]. If you want to recurse, you need to call \
265 it manually."]
266 #[inline]
267 fn visit_component_values(&mut self, node: &[ComponentValue]) {
268 <[ComponentValue] as VisitWith<Self>>::visit_children_with(node, self)
269 }
270 #[doc = "Visit a node of type `CompoundSelector`.\n\nBy default, this method calls \
271 [`CompoundSelector::visit_children_with`]. If you want to recurse, you need to call \
272 it manually."]
273 #[inline]
274 fn visit_compound_selector(&mut self, node: &CompoundSelector) {
275 <CompoundSelector as VisitWith<Self>>::visit_children_with(node, self)
276 }
277 #[doc = "Visit a node of type `CompoundSelectorList`.\n\nBy default, this method calls \
278 [`CompoundSelectorList::visit_children_with`]. If you want to recurse, you need to \
279 call it manually."]
280 #[inline]
281 fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList) {
282 <CompoundSelectorList as VisitWith<Self>>::visit_children_with(node, self)
283 }
284 #[doc = "Visit a node of type `Vec < CompoundSelector >`.\n\nBy default, this method calls \
285 [`Vec < CompoundSelector >::visit_children_with`]. If you want to recurse, you need \
286 to call it manually."]
287 #[inline]
288 fn visit_compound_selectors(&mut self, node: &[CompoundSelector]) {
289 <[CompoundSelector] as VisitWith<Self>>::visit_children_with(node, self)
290 }
291 #[doc = "Visit a node of type `ContainerCondition`.\n\nBy default, this method calls \
292 [`ContainerCondition::visit_children_with`]. If you want to recurse, you need to call \
293 it manually."]
294 #[inline]
295 fn visit_container_condition(&mut self, node: &ContainerCondition) {
296 <ContainerCondition as VisitWith<Self>>::visit_children_with(node, self)
297 }
298 #[doc = "Visit a node of type `ContainerName`.\n\nBy default, this method calls \
299 [`ContainerName::visit_children_with`]. If you want to recurse, you need to call it \
300 manually."]
301 #[inline]
302 fn visit_container_name(&mut self, node: &ContainerName) {
303 <ContainerName as VisitWith<Self>>::visit_children_with(node, self)
304 }
305 #[doc = "Visit a node of type `ContainerQuery`.\n\nBy default, this method calls \
306 [`ContainerQuery::visit_children_with`]. If you want to recurse, you need to call it \
307 manually."]
308 #[inline]
309 fn visit_container_query(&mut self, node: &ContainerQuery) {
310 <ContainerQuery as VisitWith<Self>>::visit_children_with(node, self)
311 }
312 #[doc = "Visit a node of type `ContainerQueryAnd`.\n\nBy default, this method calls \
313 [`ContainerQueryAnd::visit_children_with`]. If you want to recurse, you need to call \
314 it manually."]
315 #[inline]
316 fn visit_container_query_and(&mut self, node: &ContainerQueryAnd) {
317 <ContainerQueryAnd as VisitWith<Self>>::visit_children_with(node, self)
318 }
319 #[doc = "Visit a node of type `ContainerQueryNot`.\n\nBy default, this method calls \
320 [`ContainerQueryNot::visit_children_with`]. If you want to recurse, you need to call \
321 it manually."]
322 #[inline]
323 fn visit_container_query_not(&mut self, node: &ContainerQueryNot) {
324 <ContainerQueryNot as VisitWith<Self>>::visit_children_with(node, self)
325 }
326 #[doc = "Visit a node of type `ContainerQueryOr`.\n\nBy default, this method calls \
327 [`ContainerQueryOr::visit_children_with`]. If you want to recurse, you need to call \
328 it manually."]
329 #[inline]
330 fn visit_container_query_or(&mut self, node: &ContainerQueryOr) {
331 <ContainerQueryOr as VisitWith<Self>>::visit_children_with(node, self)
332 }
333 #[doc = "Visit a node of type `ContainerQueryType`.\n\nBy default, this method calls \
334 [`ContainerQueryType::visit_children_with`]. If you want to recurse, you need to call \
335 it manually."]
336 #[inline]
337 fn visit_container_query_type(&mut self, node: &ContainerQueryType) {
338 <ContainerQueryType as VisitWith<Self>>::visit_children_with(node, self)
339 }
340 #[doc = "Visit a node of type `Vec < ContainerQueryType >`.\n\nBy default, this method calls \
341 [`Vec < ContainerQueryType >::visit_children_with`]. If you want to recurse, you need \
342 to call it manually."]
343 #[inline]
344 fn visit_container_query_types(&mut self, node: &[ContainerQueryType]) {
345 <[ContainerQueryType] as VisitWith<Self>>::visit_children_with(node, self)
346 }
347 #[doc = "Visit a node of type `CustomHighlightName`.\n\nBy default, this method calls \
348 [`CustomHighlightName::visit_children_with`]. If you want to recurse, you need to \
349 call it manually."]
350 #[inline]
351 fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName) {
352 <CustomHighlightName as VisitWith<Self>>::visit_children_with(node, self)
353 }
354 #[doc = "Visit a node of type `CustomIdent`.\n\nBy default, this method calls \
355 [`CustomIdent::visit_children_with`]. If you want to recurse, you need to call it \
356 manually."]
357 #[inline]
358 fn visit_custom_ident(&mut self, node: &CustomIdent) {
359 <CustomIdent as VisitWith<Self>>::visit_children_with(node, self)
360 }
361 #[doc = "Visit a node of type `Vec < CustomIdent >`.\n\nBy default, this method calls [`Vec < \
362 CustomIdent >::visit_children_with`]. If you want to recurse, you need to call it \
363 manually."]
364 #[inline]
365 fn visit_custom_idents(&mut self, node: &[CustomIdent]) {
366 <[CustomIdent] as VisitWith<Self>>::visit_children_with(node, self)
367 }
368 #[doc = "Visit a node of type `CustomMediaQuery`.\n\nBy default, this method calls \
369 [`CustomMediaQuery::visit_children_with`]. If you want to recurse, you need to call \
370 it manually."]
371 #[inline]
372 fn visit_custom_media_query(&mut self, node: &CustomMediaQuery) {
373 <CustomMediaQuery as VisitWith<Self>>::visit_children_with(node, self)
374 }
375 #[doc = "Visit a node of type `CustomMediaQueryMediaType`.\n\nBy default, this method calls \
376 [`CustomMediaQueryMediaType::visit_children_with`]. If you want to recurse, you need \
377 to call it manually."]
378 #[inline]
379 fn visit_custom_media_query_media_type(&mut self, node: &CustomMediaQueryMediaType) {
380 <CustomMediaQueryMediaType as VisitWith<Self>>::visit_children_with(node, self)
381 }
382 #[doc = "Visit a node of type `CustomPropertyName`.\n\nBy default, this method calls \
383 [`CustomPropertyName::visit_children_with`]. If you want to recurse, you need to call \
384 it manually."]
385 #[inline]
386 fn visit_custom_property_name(&mut self, node: &CustomPropertyName) {
387 <CustomPropertyName as VisitWith<Self>>::visit_children_with(node, self)
388 }
389 #[doc = "Visit a node of type `DashedIdent`.\n\nBy default, this method calls \
390 [`DashedIdent::visit_children_with`]. If you want to recurse, you need to call it \
391 manually."]
392 #[inline]
393 fn visit_dashed_ident(&mut self, node: &DashedIdent) {
394 <DashedIdent as VisitWith<Self>>::visit_children_with(node, self)
395 }
396 #[doc = "Visit a node of type `Declaration`.\n\nBy default, this method calls \
397 [`Declaration::visit_children_with`]. If you want to recurse, you need to call it \
398 manually."]
399 #[inline]
400 fn visit_declaration(&mut self, node: &Declaration) {
401 <Declaration as VisitWith<Self>>::visit_children_with(node, self)
402 }
403 #[doc = "Visit a node of type `DeclarationName`.\n\nBy default, this method calls \
404 [`DeclarationName::visit_children_with`]. If you want to recurse, you need to call it \
405 manually."]
406 #[inline]
407 fn visit_declaration_name(&mut self, node: &DeclarationName) {
408 <DeclarationName as VisitWith<Self>>::visit_children_with(node, self)
409 }
410 #[doc = "Visit a node of type `DeclarationOrAtRule`.\n\nBy default, this method calls \
411 [`DeclarationOrAtRule::visit_children_with`]. If you want to recurse, you need to \
412 call it manually."]
413 #[inline]
414 fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule) {
415 <DeclarationOrAtRule as VisitWith<Self>>::visit_children_with(node, self)
416 }
417 #[doc = "Visit a node of type `Delimiter`.\n\nBy default, this method calls \
418 [`Delimiter::visit_children_with`]. If you want to recurse, you need to call it \
419 manually."]
420 #[inline]
421 fn visit_delimiter(&mut self, node: &Delimiter) {
422 <Delimiter as VisitWith<Self>>::visit_children_with(node, self)
423 }
424 #[doc = "Visit a node of type `DelimiterValue`.\n\nBy default, this method calls \
425 [`DelimiterValue::visit_children_with`]. If you want to recurse, you need to call it \
426 manually."]
427 #[inline]
428 fn visit_delimiter_value(&mut self, node: &DelimiterValue) {
429 <DelimiterValue as VisitWith<Self>>::visit_children_with(node, self)
430 }
431 #[doc = "Visit a node of type `Dimension`.\n\nBy default, this method calls \
432 [`Dimension::visit_children_with`]. If you want to recurse, you need to call it \
433 manually."]
434 #[inline]
435 fn visit_dimension(&mut self, node: &Dimension) {
436 <Dimension as VisitWith<Self>>::visit_children_with(node, self)
437 }
438 #[doc = "Visit a node of type `DimensionToken`.\n\nBy default, this method calls \
439 [`DimensionToken::visit_children_with`]. If you want to recurse, you need to call it \
440 manually."]
441 #[inline]
442 fn visit_dimension_token(&mut self, node: &DimensionToken) {
443 <DimensionToken as VisitWith<Self>>::visit_children_with(node, self)
444 }
445 #[doc = "Visit a node of type `DocumentPrelude`.\n\nBy default, this method calls \
446 [`DocumentPrelude::visit_children_with`]. If you want to recurse, you need to call it \
447 manually."]
448 #[inline]
449 fn visit_document_prelude(&mut self, node: &DocumentPrelude) {
450 <DocumentPrelude as VisitWith<Self>>::visit_children_with(node, self)
451 }
452 #[doc = "Visit a node of type `DocumentPreludeMatchingFunction`.\n\nBy default, this method \
453 calls [`DocumentPreludeMatchingFunction::visit_children_with`]. If you want to \
454 recurse, you need to call it manually."]
455 #[inline]
456 fn visit_document_prelude_matching_function(&mut self, node: &DocumentPreludeMatchingFunction) {
457 <DocumentPreludeMatchingFunction as VisitWith<Self>>::visit_children_with(node, self)
458 }
459 #[doc = "Visit a node of type `Vec < DocumentPreludeMatchingFunction >`.\n\nBy default, this \
460 method calls [`Vec < DocumentPreludeMatchingFunction >::visit_children_with`]. If you \
461 want to recurse, you need to call it manually."]
462 #[inline]
463 fn visit_document_prelude_matching_functions(
464 &mut self,
465 node: &[DocumentPreludeMatchingFunction],
466 ) {
467 <[DocumentPreludeMatchingFunction] as VisitWith<Self>>::visit_children_with(node, self)
468 }
469 #[doc = "Visit a node of type `ExtensionName`.\n\nBy default, this method calls \
470 [`ExtensionName::visit_children_with`]. If you want to recurse, you need to call it \
471 manually."]
472 #[inline]
473 fn visit_extension_name(&mut self, node: &ExtensionName) {
474 <ExtensionName as VisitWith<Self>>::visit_children_with(node, self)
475 }
476 #[doc = "Visit a node of type `FamilyName`.\n\nBy default, this method calls \
477 [`FamilyName::visit_children_with`]. If you want to recurse, you need to call it \
478 manually."]
479 #[inline]
480 fn visit_family_name(&mut self, node: &FamilyName) {
481 <FamilyName as VisitWith<Self>>::visit_children_with(node, self)
482 }
483 #[doc = "Visit a node of type `Vec < FamilyName >`.\n\nBy default, this method calls [`Vec < \
484 FamilyName >::visit_children_with`]. If you want to recurse, you need to call it \
485 manually."]
486 #[inline]
487 fn visit_family_names(&mut self, node: &[FamilyName]) {
488 <[FamilyName] as VisitWith<Self>>::visit_children_with(node, self)
489 }
490 #[doc = "Visit a node of type `Flex`.\n\nBy default, this method calls \
491 [`Flex::visit_children_with`]. If you want to recurse, you need to call it manually."]
492 #[inline]
493 fn visit_flex(&mut self, node: &Flex) {
494 <Flex as VisitWith<Self>>::visit_children_with(node, self)
495 }
496 #[doc = "Visit a node of type `FontFeatureValuesPrelude`.\n\nBy default, this method calls \
497 [`FontFeatureValuesPrelude::visit_children_with`]. If you want to recurse, you need \
498 to call it manually."]
499 #[inline]
500 fn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude) {
501 <FontFeatureValuesPrelude as VisitWith<Self>>::visit_children_with(node, self)
502 }
503 #[doc = "Visit a node of type `ForgivingComplexSelector`.\n\nBy default, this method calls \
504 [`ForgivingComplexSelector::visit_children_with`]. If you want to recurse, you need \
505 to call it manually."]
506 #[inline]
507 fn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector) {
508 <ForgivingComplexSelector as VisitWith<Self>>::visit_children_with(node, self)
509 }
510 #[doc = "Visit a node of type `Vec < ForgivingComplexSelector >`.\n\nBy default, this method \
511 calls [`Vec < ForgivingComplexSelector >::visit_children_with`]. If you want to \
512 recurse, you need to call it manually."]
513 #[inline]
514 fn visit_forgiving_complex_selectors(&mut self, node: &[ForgivingComplexSelector]) {
515 <[ForgivingComplexSelector] as VisitWith<Self>>::visit_children_with(node, self)
516 }
517 #[doc = "Visit a node of type `ForgivingRelativeSelector`.\n\nBy default, this method calls \
518 [`ForgivingRelativeSelector::visit_children_with`]. If you want to recurse, you need \
519 to call it manually."]
520 #[inline]
521 fn visit_forgiving_relative_selector(&mut self, node: &ForgivingRelativeSelector) {
522 <ForgivingRelativeSelector as VisitWith<Self>>::visit_children_with(node, self)
523 }
524 #[doc = "Visit a node of type `ForgivingRelativeSelectorList`.\n\nBy default, this method \
525 calls [`ForgivingRelativeSelectorList::visit_children_with`]. If you want to recurse, \
526 you need to call it manually."]
527 #[inline]
528 fn visit_forgiving_relative_selector_list(&mut self, node: &ForgivingRelativeSelectorList) {
529 <ForgivingRelativeSelectorList as VisitWith<Self>>::visit_children_with(node, self)
530 }
531 #[doc = "Visit a node of type `Vec < ForgivingRelativeSelector >`.\n\nBy default, this method \
532 calls [`Vec < ForgivingRelativeSelector >::visit_children_with`]. If you want to \
533 recurse, you need to call it manually."]
534 #[inline]
535 fn visit_forgiving_relative_selectors(&mut self, node: &[ForgivingRelativeSelector]) {
536 <[ForgivingRelativeSelector] as VisitWith<Self>>::visit_children_with(node, self)
537 }
538 #[doc = "Visit a node of type `ForgivingSelectorList`.\n\nBy default, this method calls \
539 [`ForgivingSelectorList::visit_children_with`]. If you want to recurse, you need to \
540 call it manually."]
541 #[inline]
542 fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList) {
543 <ForgivingSelectorList as VisitWith<Self>>::visit_children_with(node, self)
544 }
545 #[doc = "Visit a node of type `Frequency`.\n\nBy default, this method calls \
546 [`Frequency::visit_children_with`]. If you want to recurse, you need to call it \
547 manually."]
548 #[inline]
549 fn visit_frequency(&mut self, node: &Frequency) {
550 <Frequency as VisitWith<Self>>::visit_children_with(node, self)
551 }
552 #[doc = "Visit a node of type `FrequencyPercentage`.\n\nBy default, this method calls \
553 [`FrequencyPercentage::visit_children_with`]. If you want to recurse, you need to \
554 call it manually."]
555 #[inline]
556 fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage) {
557 <FrequencyPercentage as VisitWith<Self>>::visit_children_with(node, self)
558 }
559 #[doc = "Visit a node of type `Function`.\n\nBy default, this method calls \
560 [`Function::visit_children_with`]. If you want to recurse, you need to call it \
561 manually."]
562 #[inline]
563 fn visit_function(&mut self, node: &Function) {
564 <Function as VisitWith<Self>>::visit_children_with(node, self)
565 }
566 #[doc = "Visit a node of type `FunctionName`.\n\nBy default, this method calls \
567 [`FunctionName::visit_children_with`]. If you want to recurse, you need to call it \
568 manually."]
569 #[inline]
570 fn visit_function_name(&mut self, node: &FunctionName) {
571 <FunctionName as VisitWith<Self>>::visit_children_with(node, self)
572 }
573 #[doc = "Visit a node of type `GeneralEnclosed`.\n\nBy default, this method calls \
574 [`GeneralEnclosed::visit_children_with`]. If you want to recurse, you need to call it \
575 manually."]
576 #[inline]
577 fn visit_general_enclosed(&mut self, node: &GeneralEnclosed) {
578 <GeneralEnclosed as VisitWith<Self>>::visit_children_with(node, self)
579 }
580 #[doc = "Visit a node of type `HexColor`.\n\nBy default, this method calls \
581 [`HexColor::visit_children_with`]. If you want to recurse, you need to call it \
582 manually."]
583 #[inline]
584 fn visit_hex_color(&mut self, node: &HexColor) {
585 <HexColor as VisitWith<Self>>::visit_children_with(node, self)
586 }
587 #[doc = "Visit a node of type `Hue`.\n\nBy default, this method calls \
588 [`Hue::visit_children_with`]. If you want to recurse, you need to call it manually."]
589 #[inline]
590 fn visit_hue(&mut self, node: &Hue) {
591 <Hue as VisitWith<Self>>::visit_children_with(node, self)
592 }
593 #[doc = "Visit a node of type `IdSelector`.\n\nBy default, this method calls \
594 [`IdSelector::visit_children_with`]. If you want to recurse, you need to call it \
595 manually."]
596 #[inline]
597 fn visit_id_selector(&mut self, node: &IdSelector) {
598 <IdSelector as VisitWith<Self>>::visit_children_with(node, self)
599 }
600 #[doc = "Visit a node of type `Ident`.\n\nBy default, this method calls \
601 [`Ident::visit_children_with`]. If you want to recurse, you need to call it manually."]
602 #[inline]
603 fn visit_ident(&mut self, node: &Ident) {
604 <Ident as VisitWith<Self>>::visit_children_with(node, self)
605 }
606 #[doc = "Visit a node of type `Vec < Ident >`.\n\nBy default, this method calls [`Vec < Ident \
607 >::visit_children_with`]. If you want to recurse, you need to call it manually."]
608 #[inline]
609 fn visit_idents(&mut self, node: &[Ident]) {
610 <[Ident] as VisitWith<Self>>::visit_children_with(node, self)
611 }
612 #[doc = "Visit a node of type `ImportConditions`.\n\nBy default, this method calls \
613 [`ImportConditions::visit_children_with`]. If you want to recurse, you need to call \
614 it manually."]
615 #[inline]
616 fn visit_import_conditions(&mut self, node: &ImportConditions) {
617 <ImportConditions as VisitWith<Self>>::visit_children_with(node, self)
618 }
619 #[doc = "Visit a node of type `ImportHref`.\n\nBy default, this method calls \
620 [`ImportHref::visit_children_with`]. If you want to recurse, you need to call it \
621 manually."]
622 #[inline]
623 fn visit_import_href(&mut self, node: &ImportHref) {
624 <ImportHref as VisitWith<Self>>::visit_children_with(node, self)
625 }
626 #[doc = "Visit a node of type `ImportLayerName`.\n\nBy default, this method calls \
627 [`ImportLayerName::visit_children_with`]. If you want to recurse, you need to call it \
628 manually."]
629 #[inline]
630 fn visit_import_layer_name(&mut self, node: &ImportLayerName) {
631 <ImportLayerName as VisitWith<Self>>::visit_children_with(node, self)
632 }
633 #[doc = "Visit a node of type `ImportPrelude`.\n\nBy default, this method calls \
634 [`ImportPrelude::visit_children_with`]. If you want to recurse, you need to call it \
635 manually."]
636 #[inline]
637 fn visit_import_prelude(&mut self, node: &ImportPrelude) {
638 <ImportPrelude as VisitWith<Self>>::visit_children_with(node, self)
639 }
640 #[doc = "Visit a node of type `ImportantFlag`.\n\nBy default, this method calls \
641 [`ImportantFlag::visit_children_with`]. If you want to recurse, you need to call it \
642 manually."]
643 #[inline]
644 fn visit_important_flag(&mut self, node: &ImportantFlag) {
645 <ImportantFlag as VisitWith<Self>>::visit_children_with(node, self)
646 }
647 #[doc = "Visit a node of type `Integer`.\n\nBy default, this method calls \
648 [`Integer::visit_children_with`]. If you want to recurse, you need to call it \
649 manually."]
650 #[inline]
651 fn visit_integer(&mut self, node: &Integer) {
652 <Integer as VisitWith<Self>>::visit_children_with(node, self)
653 }
654 #[doc = "Visit a node of type `KeyframeBlock`.\n\nBy default, this method calls \
655 [`KeyframeBlock::visit_children_with`]. If you want to recurse, you need to call it \
656 manually."]
657 #[inline]
658 fn visit_keyframe_block(&mut self, node: &KeyframeBlock) {
659 <KeyframeBlock as VisitWith<Self>>::visit_children_with(node, self)
660 }
661 #[doc = "Visit a node of type `KeyframeSelector`.\n\nBy default, this method calls \
662 [`KeyframeSelector::visit_children_with`]. If you want to recurse, you need to call \
663 it manually."]
664 #[inline]
665 fn visit_keyframe_selector(&mut self, node: &KeyframeSelector) {
666 <KeyframeSelector as VisitWith<Self>>::visit_children_with(node, self)
667 }
668 #[doc = "Visit a node of type `Vec < KeyframeSelector >`.\n\nBy default, this method calls \
669 [`Vec < KeyframeSelector >::visit_children_with`]. If you want to recurse, you need \
670 to call it manually."]
671 #[inline]
672 fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector]) {
673 <[KeyframeSelector] as VisitWith<Self>>::visit_children_with(node, self)
674 }
675 #[doc = "Visit a node of type `KeyframesName`.\n\nBy default, this method calls \
676 [`KeyframesName::visit_children_with`]. If you want to recurse, you need to call it \
677 manually."]
678 #[inline]
679 fn visit_keyframes_name(&mut self, node: &KeyframesName) {
680 <KeyframesName as VisitWith<Self>>::visit_children_with(node, self)
681 }
682 #[doc = "Visit a node of type `KeyframesPseudoFunction`.\n\nBy default, this method calls \
683 [`KeyframesPseudoFunction::visit_children_with`]. If you want to recurse, you need to \
684 call it manually."]
685 #[inline]
686 fn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction) {
687 <KeyframesPseudoFunction as VisitWith<Self>>::visit_children_with(node, self)
688 }
689 #[doc = "Visit a node of type `KeyframesPseudoPrefix`.\n\nBy default, this method calls \
690 [`KeyframesPseudoPrefix::visit_children_with`]. If you want to recurse, you need to \
691 call it manually."]
692 #[inline]
693 fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix) {
694 <KeyframesPseudoPrefix as VisitWith<Self>>::visit_children_with(node, self)
695 }
696 #[doc = "Visit a node of type `LayerName`.\n\nBy default, this method calls \
697 [`LayerName::visit_children_with`]. If you want to recurse, you need to call it \
698 manually."]
699 #[inline]
700 fn visit_layer_name(&mut self, node: &LayerName) {
701 <LayerName as VisitWith<Self>>::visit_children_with(node, self)
702 }
703 #[doc = "Visit a node of type `LayerNameList`.\n\nBy default, this method calls \
704 [`LayerNameList::visit_children_with`]. If you want to recurse, you need to call it \
705 manually."]
706 #[inline]
707 fn visit_layer_name_list(&mut self, node: &LayerNameList) {
708 <LayerNameList as VisitWith<Self>>::visit_children_with(node, self)
709 }
710 #[doc = "Visit a node of type `Vec < LayerName >`.\n\nBy default, this method calls [`Vec < \
711 LayerName >::visit_children_with`]. If you want to recurse, you need to call it \
712 manually."]
713 #[inline]
714 fn visit_layer_names(&mut self, node: &[LayerName]) {
715 <[LayerName] as VisitWith<Self>>::visit_children_with(node, self)
716 }
717 #[doc = "Visit a node of type `LayerPrelude`.\n\nBy default, this method calls \
718 [`LayerPrelude::visit_children_with`]. If you want to recurse, you need to call it \
719 manually."]
720 #[inline]
721 fn visit_layer_prelude(&mut self, node: &LayerPrelude) {
722 <LayerPrelude as VisitWith<Self>>::visit_children_with(node, self)
723 }
724 #[doc = "Visit a node of type `Length`.\n\nBy default, this method calls \
725 [`Length::visit_children_with`]. If you want to recurse, you need to call it manually."]
726 #[inline]
727 fn visit_length(&mut self, node: &Length) {
728 <Length as VisitWith<Self>>::visit_children_with(node, self)
729 }
730 #[doc = "Visit a node of type `LengthPercentage`.\n\nBy default, this method calls \
731 [`LengthPercentage::visit_children_with`]. If you want to recurse, you need to call \
732 it manually."]
733 #[inline]
734 fn visit_length_percentage(&mut self, node: &LengthPercentage) {
735 <LengthPercentage as VisitWith<Self>>::visit_children_with(node, self)
736 }
737 #[doc = "Visit a node of type `ListOfComponentValues`.\n\nBy default, this method calls \
738 [`ListOfComponentValues::visit_children_with`]. If you want to recurse, you need to \
739 call it manually."]
740 #[inline]
741 fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues) {
742 <ListOfComponentValues as VisitWith<Self>>::visit_children_with(node, self)
743 }
744 #[doc = "Visit a node of type `MediaAnd`.\n\nBy default, this method calls \
745 [`MediaAnd::visit_children_with`]. If you want to recurse, you need to call it \
746 manually."]
747 #[inline]
748 fn visit_media_and(&mut self, node: &MediaAnd) {
749 <MediaAnd as VisitWith<Self>>::visit_children_with(node, self)
750 }
751 #[doc = "Visit a node of type `MediaCondition`.\n\nBy default, this method calls \
752 [`MediaCondition::visit_children_with`]. If you want to recurse, you need to call it \
753 manually."]
754 #[inline]
755 fn visit_media_condition(&mut self, node: &MediaCondition) {
756 <MediaCondition as VisitWith<Self>>::visit_children_with(node, self)
757 }
758 #[doc = "Visit a node of type `MediaConditionAllType`.\n\nBy default, this method calls \
759 [`MediaConditionAllType::visit_children_with`]. If you want to recurse, you need to \
760 call it manually."]
761 #[inline]
762 fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType) {
763 <MediaConditionAllType as VisitWith<Self>>::visit_children_with(node, self)
764 }
765 #[doc = "Visit a node of type `Vec < MediaConditionAllType >`.\n\nBy default, this method \
766 calls [`Vec < MediaConditionAllType >::visit_children_with`]. If you want to recurse, \
767 you need to call it manually."]
768 #[inline]
769 fn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType]) {
770 <[MediaConditionAllType] as VisitWith<Self>>::visit_children_with(node, self)
771 }
772 #[doc = "Visit a node of type `MediaConditionType`.\n\nBy default, this method calls \
773 [`MediaConditionType::visit_children_with`]. If you want to recurse, you need to call \
774 it manually."]
775 #[inline]
776 fn visit_media_condition_type(&mut self, node: &MediaConditionType) {
777 <MediaConditionType as VisitWith<Self>>::visit_children_with(node, self)
778 }
779 #[doc = "Visit a node of type `MediaConditionWithoutOr`.\n\nBy default, this method calls \
780 [`MediaConditionWithoutOr::visit_children_with`]. If you want to recurse, you need to \
781 call it manually."]
782 #[inline]
783 fn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr) {
784 <MediaConditionWithoutOr as VisitWith<Self>>::visit_children_with(node, self)
785 }
786 #[doc = "Visit a node of type `MediaConditionWithoutOrType`.\n\nBy default, this method calls \
787 [`MediaConditionWithoutOrType::visit_children_with`]. If you want to recurse, you \
788 need to call it manually."]
789 #[inline]
790 fn visit_media_condition_without_or_type(&mut self, node: &MediaConditionWithoutOrType) {
791 <MediaConditionWithoutOrType as VisitWith<Self>>::visit_children_with(node, self)
792 }
793 #[doc = "Visit a node of type `Vec < MediaConditionWithoutOrType >`.\n\nBy default, this \
794 method calls [`Vec < MediaConditionWithoutOrType >::visit_children_with`]. If you \
795 want to recurse, you need to call it manually."]
796 #[inline]
797 fn visit_media_condition_without_or_types(&mut self, node: &[MediaConditionWithoutOrType]) {
798 <[MediaConditionWithoutOrType] as VisitWith<Self>>::visit_children_with(node, self)
799 }
800 #[doc = "Visit a node of type `MediaFeature`.\n\nBy default, this method calls \
801 [`MediaFeature::visit_children_with`]. If you want to recurse, you need to call it \
802 manually."]
803 #[inline]
804 fn visit_media_feature(&mut self, node: &MediaFeature) {
805 <MediaFeature as VisitWith<Self>>::visit_children_with(node, self)
806 }
807 #[doc = "Visit a node of type `MediaFeatureBoolean`.\n\nBy default, this method calls \
808 [`MediaFeatureBoolean::visit_children_with`]. If you want to recurse, you need to \
809 call it manually."]
810 #[inline]
811 fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean) {
812 <MediaFeatureBoolean as VisitWith<Self>>::visit_children_with(node, self)
813 }
814 #[doc = "Visit a node of type `MediaFeatureName`.\n\nBy default, this method calls \
815 [`MediaFeatureName::visit_children_with`]. If you want to recurse, you need to call \
816 it manually."]
817 #[inline]
818 fn visit_media_feature_name(&mut self, node: &MediaFeatureName) {
819 <MediaFeatureName as VisitWith<Self>>::visit_children_with(node, self)
820 }
821 #[doc = "Visit a node of type `MediaFeaturePlain`.\n\nBy default, this method calls \
822 [`MediaFeaturePlain::visit_children_with`]. If you want to recurse, you need to call \
823 it manually."]
824 #[inline]
825 fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain) {
826 <MediaFeaturePlain as VisitWith<Self>>::visit_children_with(node, self)
827 }
828 #[doc = "Visit a node of type `MediaFeatureRange`.\n\nBy default, this method calls \
829 [`MediaFeatureRange::visit_children_with`]. If you want to recurse, you need to call \
830 it manually."]
831 #[inline]
832 fn visit_media_feature_range(&mut self, node: &MediaFeatureRange) {
833 <MediaFeatureRange as VisitWith<Self>>::visit_children_with(node, self)
834 }
835 #[doc = "Visit a node of type `MediaFeatureRangeComparison`.\n\nBy default, this method calls \
836 [`MediaFeatureRangeComparison::visit_children_with`]. If you want to recurse, you \
837 need to call it manually."]
838 #[inline]
839 fn visit_media_feature_range_comparison(&mut self, node: &MediaFeatureRangeComparison) {
840 <MediaFeatureRangeComparison as VisitWith<Self>>::visit_children_with(node, self)
841 }
842 #[doc = "Visit a node of type `MediaFeatureRangeInterval`.\n\nBy default, this method calls \
843 [`MediaFeatureRangeInterval::visit_children_with`]. If you want to recurse, you need \
844 to call it manually."]
845 #[inline]
846 fn visit_media_feature_range_interval(&mut self, node: &MediaFeatureRangeInterval) {
847 <MediaFeatureRangeInterval as VisitWith<Self>>::visit_children_with(node, self)
848 }
849 #[doc = "Visit a node of type `MediaFeatureValue`.\n\nBy default, this method calls \
850 [`MediaFeatureValue::visit_children_with`]. If you want to recurse, you need to call \
851 it manually."]
852 #[inline]
853 fn visit_media_feature_value(&mut self, node: &MediaFeatureValue) {
854 <MediaFeatureValue as VisitWith<Self>>::visit_children_with(node, self)
855 }
856 #[doc = "Visit a node of type `MediaInParens`.\n\nBy default, this method calls \
857 [`MediaInParens::visit_children_with`]. If you want to recurse, you need to call it \
858 manually."]
859 #[inline]
860 fn visit_media_in_parens(&mut self, node: &MediaInParens) {
861 <MediaInParens as VisitWith<Self>>::visit_children_with(node, self)
862 }
863 #[doc = "Visit a node of type `MediaNot`.\n\nBy default, this method calls \
864 [`MediaNot::visit_children_with`]. If you want to recurse, you need to call it \
865 manually."]
866 #[inline]
867 fn visit_media_not(&mut self, node: &MediaNot) {
868 <MediaNot as VisitWith<Self>>::visit_children_with(node, self)
869 }
870 #[doc = "Visit a node of type `MediaOr`.\n\nBy default, this method calls \
871 [`MediaOr::visit_children_with`]. If you want to recurse, you need to call it \
872 manually."]
873 #[inline]
874 fn visit_media_or(&mut self, node: &MediaOr) {
875 <MediaOr as VisitWith<Self>>::visit_children_with(node, self)
876 }
877 #[doc = "Visit a node of type `MediaQuery`.\n\nBy default, this method calls \
878 [`MediaQuery::visit_children_with`]. If you want to recurse, you need to call it \
879 manually."]
880 #[inline]
881 fn visit_media_query(&mut self, node: &MediaQuery) {
882 <MediaQuery as VisitWith<Self>>::visit_children_with(node, self)
883 }
884 #[doc = "Visit a node of type `MediaQueryList`.\n\nBy default, this method calls \
885 [`MediaQueryList::visit_children_with`]. If you want to recurse, you need to call it \
886 manually."]
887 #[inline]
888 fn visit_media_query_list(&mut self, node: &MediaQueryList) {
889 <MediaQueryList as VisitWith<Self>>::visit_children_with(node, self)
890 }
891 #[doc = "Visit a node of type `Vec < MediaQuery >`.\n\nBy default, this method calls [`Vec < \
892 MediaQuery >::visit_children_with`]. If you want to recurse, you need to call it \
893 manually."]
894 #[inline]
895 fn visit_media_querys(&mut self, node: &[MediaQuery]) {
896 <[MediaQuery] as VisitWith<Self>>::visit_children_with(node, self)
897 }
898 #[doc = "Visit a node of type `MediaType`.\n\nBy default, this method calls \
899 [`MediaType::visit_children_with`]. If you want to recurse, you need to call it \
900 manually."]
901 #[inline]
902 fn visit_media_type(&mut self, node: &MediaType) {
903 <MediaType as VisitWith<Self>>::visit_children_with(node, self)
904 }
905 #[doc = "Visit a node of type `NamedNamespace`.\n\nBy default, this method calls \
906 [`NamedNamespace::visit_children_with`]. If you want to recurse, you need to call it \
907 manually."]
908 #[inline]
909 fn visit_named_namespace(&mut self, node: &NamedNamespace) {
910 <NamedNamespace as VisitWith<Self>>::visit_children_with(node, self)
911 }
912 #[doc = "Visit a node of type `Namespace`.\n\nBy default, this method calls \
913 [`Namespace::visit_children_with`]. If you want to recurse, you need to call it \
914 manually."]
915 #[inline]
916 fn visit_namespace(&mut self, node: &Namespace) {
917 <Namespace as VisitWith<Self>>::visit_children_with(node, self)
918 }
919 #[doc = "Visit a node of type `NamespacePrefix`.\n\nBy default, this method calls \
920 [`NamespacePrefix::visit_children_with`]. If you want to recurse, you need to call it \
921 manually."]
922 #[inline]
923 fn visit_namespace_prefix(&mut self, node: &NamespacePrefix) {
924 <NamespacePrefix as VisitWith<Self>>::visit_children_with(node, self)
925 }
926 #[doc = "Visit a node of type `NamespacePrelude`.\n\nBy default, this method calls \
927 [`NamespacePrelude::visit_children_with`]. If you want to recurse, you need to call \
928 it manually."]
929 #[inline]
930 fn visit_namespace_prelude(&mut self, node: &NamespacePrelude) {
931 <NamespacePrelude as VisitWith<Self>>::visit_children_with(node, self)
932 }
933 #[doc = "Visit a node of type `NamespacePreludeUri`.\n\nBy default, this method calls \
934 [`NamespacePreludeUri::visit_children_with`]. If you want to recurse, you need to \
935 call it manually."]
936 #[inline]
937 fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri) {
938 <NamespacePreludeUri as VisitWith<Self>>::visit_children_with(node, self)
939 }
940 #[doc = "Visit a node of type `NestingSelector`.\n\nBy default, this method calls \
941 [`NestingSelector::visit_children_with`]. If you want to recurse, you need to call it \
942 manually."]
943 #[inline]
944 fn visit_nesting_selector(&mut self, node: &NestingSelector) {
945 <NestingSelector as VisitWith<Self>>::visit_children_with(node, self)
946 }
947 #[doc = "Visit a node of type `Number`.\n\nBy default, this method calls \
948 [`Number::visit_children_with`]. If you want to recurse, you need to call it manually."]
949 #[inline]
950 fn visit_number(&mut self, node: &Number) {
951 <Number as VisitWith<Self>>::visit_children_with(node, self)
952 }
953 #[doc = "Visit a node of type `NumberType`.\n\nBy default, this method calls \
954 [`NumberType::visit_children_with`]. If you want to recurse, you need to call it \
955 manually."]
956 #[inline]
957 fn visit_number_type(&mut self, node: &NumberType) {
958 <NumberType as VisitWith<Self>>::visit_children_with(node, self)
959 }
960 #[doc = "Visit a node of type `Option < Box < AtRulePrelude > >`.\n\nBy default, this method \
961 calls [`Option < Box < AtRulePrelude > >::visit_children_with`]. If you want to \
962 recurse, you need to call it manually."]
963 #[inline]
964 fn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>) {
965 <Option<Box<AtRulePrelude>> as VisitWith<Self>>::visit_children_with(node, self)
966 }
967 #[doc = "Visit a node of type `Option < swc_atoms :: Atom >`.\n\nBy default, this method calls \
968 [`Option < swc_atoms :: Atom >::visit_children_with`]. If you want to recurse, you \
969 need to call it manually."]
970 #[inline]
971 fn visit_opt_atom(&mut self, node: &Option<swc_atoms::Atom>) {
972 <Option<swc_atoms::Atom> as VisitWith<Self>>::visit_children_with(node, self)
973 }
974 #[doc = "Visit a node of type `Option < AttributeSelectorMatcher >`.\n\nBy default, this \
975 method calls [`Option < AttributeSelectorMatcher >::visit_children_with`]. If you \
976 want to recurse, you need to call it manually."]
977 #[inline]
978 fn visit_opt_attribute_selector_matcher(&mut self, node: &Option<AttributeSelectorMatcher>) {
979 <Option<AttributeSelectorMatcher> as VisitWith<Self>>::visit_children_with(node, self)
980 }
981 #[doc = "Visit a node of type `Option < AttributeSelectorModifier >`.\n\nBy default, this \
982 method calls [`Option < AttributeSelectorModifier >::visit_children_with`]. If you \
983 want to recurse, you need to call it manually."]
984 #[inline]
985 fn visit_opt_attribute_selector_modifier(&mut self, node: &Option<AttributeSelectorModifier>) {
986 <Option<AttributeSelectorModifier> as VisitWith<Self>>::visit_children_with(node, self)
987 }
988 #[doc = "Visit a node of type `Option < AttributeSelectorValue >`.\n\nBy default, this method \
989 calls [`Option < AttributeSelectorValue >::visit_children_with`]. If you want to \
990 recurse, you need to call it manually."]
991 #[inline]
992 fn visit_opt_attribute_selector_value(&mut self, node: &Option<AttributeSelectorValue>) {
993 <Option<AttributeSelectorValue> as VisitWith<Self>>::visit_children_with(node, self)
994 }
995 #[doc = "Visit a node of type `Option < Combinator >`.\n\nBy default, this method calls \
996 [`Option < Combinator >::visit_children_with`]. If you want to recurse, you need to \
997 call it manually."]
998 #[inline]
999 fn visit_opt_combinator(&mut self, node: &Option<Combinator>) {
1000 <Option<Combinator> as VisitWith<Self>>::visit_children_with(node, self)
1001 }
1002 #[doc = "Visit a node of type `Option < ContainerName >`.\n\nBy default, this method calls \
1003 [`Option < ContainerName >::visit_children_with`]. If you want to recurse, you need \
1004 to call it manually."]
1005 #[inline]
1006 fn visit_opt_container_name(&mut self, node: &Option<ContainerName>) {
1007 <Option<ContainerName> as VisitWith<Self>>::visit_children_with(node, self)
1008 }
1009 #[doc = "Visit a node of type `Option < ForgivingSelectorList >`.\n\nBy default, this method \
1010 calls [`Option < ForgivingSelectorList >::visit_children_with`]. If you want to \
1011 recurse, you need to call it manually."]
1012 #[inline]
1013 fn visit_opt_forgiving_selector_list(&mut self, node: &Option<ForgivingSelectorList>) {
1014 <Option<ForgivingSelectorList> as VisitWith<Self>>::visit_children_with(node, self)
1015 }
1016 #[doc = "Visit a node of type `Option < Box < Function > >`.\n\nBy default, this method calls \
1017 [`Option < Box < Function > >::visit_children_with`]. If you want to recurse, you \
1018 need to call it manually."]
1019 #[inline]
1020 fn visit_opt_function(&mut self, node: &Option<Box<Function>>) {
1021 <Option<Box<Function>> as VisitWith<Self>>::visit_children_with(node, self)
1022 }
1023 #[doc = "Visit a node of type `Option < Ident >`.\n\nBy default, this method calls [`Option < \
1024 Ident >::visit_children_with`]. If you want to recurse, you need to call it manually."]
1025 #[inline]
1026 fn visit_opt_ident(&mut self, node: &Option<Ident>) {
1027 <Option<Ident> as VisitWith<Self>>::visit_children_with(node, self)
1028 }
1029 #[doc = "Visit a node of type `Option < Box < ImportConditions > >`.\n\nBy default, this \
1030 method calls [`Option < Box < ImportConditions > >::visit_children_with`]. If you \
1031 want to recurse, you need to call it manually."]
1032 #[inline]
1033 fn visit_opt_import_conditions(&mut self, node: &Option<Box<ImportConditions>>) {
1034 <Option<Box<ImportConditions>> as VisitWith<Self>>::visit_children_with(node, self)
1035 }
1036 #[doc = "Visit a node of type `Option < Box < ImportLayerName > >`.\n\nBy default, this method \
1037 calls [`Option < Box < ImportLayerName > >::visit_children_with`]. If you want to \
1038 recurse, you need to call it manually."]
1039 #[inline]
1040 fn visit_opt_import_layer_name(&mut self, node: &Option<Box<ImportLayerName>>) {
1041 <Option<Box<ImportLayerName>> as VisitWith<Self>>::visit_children_with(node, self)
1042 }
1043 #[doc = "Visit a node of type `Option < ImportantFlag >`.\n\nBy default, this method calls \
1044 [`Option < ImportantFlag >::visit_children_with`]. If you want to recurse, you need \
1045 to call it manually."]
1046 #[inline]
1047 fn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>) {
1048 <Option<ImportantFlag> as VisitWith<Self>>::visit_children_with(node, self)
1049 }
1050 #[doc = "Visit a node of type `Option < Box < MediaConditionType > >`.\n\nBy default, this \
1051 method calls [`Option < Box < MediaConditionType > >::visit_children_with`]. If you \
1052 want to recurse, you need to call it manually."]
1053 #[inline]
1054 fn visit_opt_media_condition_type(&mut self, node: &Option<Box<MediaConditionType>>) {
1055 <Option<Box<MediaConditionType>> as VisitWith<Self>>::visit_children_with(node, self)
1056 }
1057 #[doc = "Visit a node of type `Option < Box < MediaQueryList > >`.\n\nBy default, this method \
1058 calls [`Option < Box < MediaQueryList > >::visit_children_with`]. If you want to \
1059 recurse, you need to call it manually."]
1060 #[inline]
1061 fn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>) {
1062 <Option<Box<MediaQueryList>> as VisitWith<Self>>::visit_children_with(node, self)
1063 }
1064 #[doc = "Visit a node of type `Option < MediaType >`.\n\nBy default, this method calls \
1065 [`Option < MediaType >::visit_children_with`]. If you want to recurse, you need to \
1066 call it manually."]
1067 #[inline]
1068 fn visit_opt_media_type(&mut self, node: &Option<MediaType>) {
1069 <Option<MediaType> as VisitWith<Self>>::visit_children_with(node, self)
1070 }
1071 #[doc = "Visit a node of type `Option < Namespace >`.\n\nBy default, this method calls \
1072 [`Option < Namespace >::visit_children_with`]. If you want to recurse, you need to \
1073 call it manually."]
1074 #[inline]
1075 fn visit_opt_namespace(&mut self, node: &Option<Namespace>) {
1076 <Option<Namespace> as VisitWith<Self>>::visit_children_with(node, self)
1077 }
1078 #[doc = "Visit a node of type `Option < NamespacePrefix >`.\n\nBy default, this method calls \
1079 [`Option < NamespacePrefix >::visit_children_with`]. If you want to recurse, you need \
1080 to call it manually."]
1081 #[inline]
1082 fn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>) {
1083 <Option<NamespacePrefix> as VisitWith<Self>>::visit_children_with(node, self)
1084 }
1085 #[doc = "Visit a node of type `Option < NestingSelector >`.\n\nBy default, this method calls \
1086 [`Option < NestingSelector >::visit_children_with`]. If you want to recurse, you need \
1087 to call it manually."]
1088 #[inline]
1089 fn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>) {
1090 <Option<NestingSelector> as VisitWith<Self>>::visit_children_with(node, self)
1091 }
1092 #[doc = "Visit a node of type `Option < Number >`.\n\nBy default, this method calls [`Option < \
1093 Number >::visit_children_with`]. If you want to recurse, you need to call it manually."]
1094 #[inline]
1095 fn visit_opt_number(&mut self, node: &Option<Number>) {
1096 <Option<Number> as VisitWith<Self>>::visit_children_with(node, self)
1097 }
1098 #[doc = "Visit a node of type `Option < Vec < PageSelectorPseudo > >`.\n\nBy default, this \
1099 method calls [`Option < Vec < PageSelectorPseudo > >::visit_children_with`]. If you \
1100 want to recurse, you need to call it manually."]
1101 #[inline]
1102 fn visit_opt_page_selector_pseudos(&mut self, node: &Option<Vec<PageSelectorPseudo>>) {
1103 <Option<Vec<PageSelectorPseudo>> as VisitWith<Self>>::visit_children_with(node, self)
1104 }
1105 #[doc = "Visit a node of type `Option < PageSelectorType >`.\n\nBy default, this method calls \
1106 [`Option < PageSelectorType >::visit_children_with`]. If you want to recurse, you \
1107 need to call it manually."]
1108 #[inline]
1109 fn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>) {
1110 <Option<PageSelectorType> as VisitWith<Self>>::visit_children_with(node, self)
1111 }
1112 #[doc = "Visit a node of type `Option < Vec < PseudoClassSelectorChildren > >`.\n\nBy default, \
1113 this method calls [`Option < Vec < PseudoClassSelectorChildren > \
1114 >::visit_children_with`]. If you want to recurse, you need to call it manually."]
1115 #[inline]
1116 fn visit_opt_pseudo_class_selector_childrens(
1117 &mut self,
1118 node: &Option<Vec<PseudoClassSelectorChildren>>,
1119 ) {
1120 <Option<Vec<PseudoClassSelectorChildren>> as VisitWith<Self>>::visit_children_with(
1121 node, self,
1122 )
1123 }
1124 #[doc = "Visit a node of type `Option < Vec < PseudoElementSelectorChildren > >`.\n\nBy \
1125 default, this method calls [`Option < Vec < PseudoElementSelectorChildren > \
1126 >::visit_children_with`]. If you want to recurse, you need to call it manually."]
1127 #[inline]
1128 fn visit_opt_pseudo_element_selector_childrens(
1129 &mut self,
1130 node: &Option<Vec<PseudoElementSelectorChildren>>,
1131 ) {
1132 <Option<Vec<PseudoElementSelectorChildren>> as VisitWith<Self>>::visit_children_with(
1133 node, self,
1134 )
1135 }
1136 #[doc = "Visit a node of type `Option < SimpleBlock >`.\n\nBy default, this method calls \
1137 [`Option < SimpleBlock >::visit_children_with`]. If you want to recurse, you need to \
1138 call it manually."]
1139 #[inline]
1140 fn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>) {
1141 <Option<SimpleBlock> as VisitWith<Self>>::visit_children_with(node, self)
1142 }
1143 #[doc = "Visit a node of type `Option < Box < TypeSelector > >`.\n\nBy default, this method \
1144 calls [`Option < Box < TypeSelector > >::visit_children_with`]. If you want to \
1145 recurse, you need to call it manually."]
1146 #[inline]
1147 fn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>) {
1148 <Option<Box<TypeSelector>> as VisitWith<Self>>::visit_children_with(node, self)
1149 }
1150 #[doc = "Visit a node of type `Option < Vec < UrlModifier > >`.\n\nBy default, this method \
1151 calls [`Option < Vec < UrlModifier > >::visit_children_with`]. If you want to \
1152 recurse, you need to call it manually."]
1153 #[inline]
1154 fn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>) {
1155 <Option<Vec<UrlModifier>> as VisitWith<Self>>::visit_children_with(node, self)
1156 }
1157 #[doc = "Visit a node of type `Option < Box < UrlValue > >`.\n\nBy default, this method calls \
1158 [`Option < Box < UrlValue > >::visit_children_with`]. If you want to recurse, you \
1159 need to call it manually."]
1160 #[inline]
1161 fn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>) {
1162 <Option<Box<UrlValue>> as VisitWith<Self>>::visit_children_with(node, self)
1163 }
1164 #[doc = "Visit a node of type `PageSelector`.\n\nBy default, this method calls \
1165 [`PageSelector::visit_children_with`]. If you want to recurse, you need to call it \
1166 manually."]
1167 #[inline]
1168 fn visit_page_selector(&mut self, node: &PageSelector) {
1169 <PageSelector as VisitWith<Self>>::visit_children_with(node, self)
1170 }
1171 #[doc = "Visit a node of type `PageSelectorList`.\n\nBy default, this method calls \
1172 [`PageSelectorList::visit_children_with`]. If you want to recurse, you need to call \
1173 it manually."]
1174 #[inline]
1175 fn visit_page_selector_list(&mut self, node: &PageSelectorList) {
1176 <PageSelectorList as VisitWith<Self>>::visit_children_with(node, self)
1177 }
1178 #[doc = "Visit a node of type `PageSelectorPseudo`.\n\nBy default, this method calls \
1179 [`PageSelectorPseudo::visit_children_with`]. If you want to recurse, you need to call \
1180 it manually."]
1181 #[inline]
1182 fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo) {
1183 <PageSelectorPseudo as VisitWith<Self>>::visit_children_with(node, self)
1184 }
1185 #[doc = "Visit a node of type `Vec < PageSelectorPseudo >`.\n\nBy default, this method calls \
1186 [`Vec < PageSelectorPseudo >::visit_children_with`]. If you want to recurse, you need \
1187 to call it manually."]
1188 #[inline]
1189 fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo]) {
1190 <[PageSelectorPseudo] as VisitWith<Self>>::visit_children_with(node, self)
1191 }
1192 #[doc = "Visit a node of type `PageSelectorType`.\n\nBy default, this method calls \
1193 [`PageSelectorType::visit_children_with`]. If you want to recurse, you need to call \
1194 it manually."]
1195 #[inline]
1196 fn visit_page_selector_type(&mut self, node: &PageSelectorType) {
1197 <PageSelectorType as VisitWith<Self>>::visit_children_with(node, self)
1198 }
1199 #[doc = "Visit a node of type `Vec < PageSelector >`.\n\nBy default, this method calls [`Vec < \
1200 PageSelector >::visit_children_with`]. If you want to recurse, you need to call it \
1201 manually."]
1202 #[inline]
1203 fn visit_page_selectors(&mut self, node: &[PageSelector]) {
1204 <[PageSelector] as VisitWith<Self>>::visit_children_with(node, self)
1205 }
1206 #[doc = "Visit a node of type `Percentage`.\n\nBy default, this method calls \
1207 [`Percentage::visit_children_with`]. If you want to recurse, you need to call it \
1208 manually."]
1209 #[inline]
1210 fn visit_percentage(&mut self, node: &Percentage) {
1211 <Percentage as VisitWith<Self>>::visit_children_with(node, self)
1212 }
1213 #[doc = "Visit a node of type `PseudoClassSelector`.\n\nBy default, this method calls \
1214 [`PseudoClassSelector::visit_children_with`]. If you want to recurse, you need to \
1215 call it manually."]
1216 #[inline]
1217 fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector) {
1218 <PseudoClassSelector as VisitWith<Self>>::visit_children_with(node, self)
1219 }
1220 #[doc = "Visit a node of type `PseudoClassSelectorChildren`.\n\nBy default, this method calls \
1221 [`PseudoClassSelectorChildren::visit_children_with`]. If you want to recurse, you \
1222 need to call it manually."]
1223 #[inline]
1224 fn visit_pseudo_class_selector_children(&mut self, node: &PseudoClassSelectorChildren) {
1225 <PseudoClassSelectorChildren as VisitWith<Self>>::visit_children_with(node, self)
1226 }
1227 #[doc = "Visit a node of type `Vec < PseudoClassSelectorChildren >`.\n\nBy default, this \
1228 method calls [`Vec < PseudoClassSelectorChildren >::visit_children_with`]. If you \
1229 want to recurse, you need to call it manually."]
1230 #[inline]
1231 fn visit_pseudo_class_selector_childrens(&mut self, node: &[PseudoClassSelectorChildren]) {
1232 <[PseudoClassSelectorChildren] as VisitWith<Self>>::visit_children_with(node, self)
1233 }
1234 #[doc = "Visit a node of type `PseudoElementSelector`.\n\nBy default, this method calls \
1235 [`PseudoElementSelector::visit_children_with`]. If you want to recurse, you need to \
1236 call it manually."]
1237 #[inline]
1238 fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector) {
1239 <PseudoElementSelector as VisitWith<Self>>::visit_children_with(node, self)
1240 }
1241 #[doc = "Visit a node of type `PseudoElementSelectorChildren`.\n\nBy default, this method \
1242 calls [`PseudoElementSelectorChildren::visit_children_with`]. If you want to recurse, \
1243 you need to call it manually."]
1244 #[inline]
1245 fn visit_pseudo_element_selector_children(&mut self, node: &PseudoElementSelectorChildren) {
1246 <PseudoElementSelectorChildren as VisitWith<Self>>::visit_children_with(node, self)
1247 }
1248 #[doc = "Visit a node of type `Vec < PseudoElementSelectorChildren >`.\n\nBy default, this \
1249 method calls [`Vec < PseudoElementSelectorChildren >::visit_children_with`]. If you \
1250 want to recurse, you need to call it manually."]
1251 #[inline]
1252 fn visit_pseudo_element_selector_childrens(&mut self, node: &[PseudoElementSelectorChildren]) {
1253 <[PseudoElementSelectorChildren] as VisitWith<Self>>::visit_children_with(node, self)
1254 }
1255 #[doc = "Visit a node of type `QualifiedRule`.\n\nBy default, this method calls \
1256 [`QualifiedRule::visit_children_with`]. If you want to recurse, you need to call it \
1257 manually."]
1258 #[inline]
1259 fn visit_qualified_rule(&mut self, node: &QualifiedRule) {
1260 <QualifiedRule as VisitWith<Self>>::visit_children_with(node, self)
1261 }
1262 #[doc = "Visit a node of type `QualifiedRulePrelude`.\n\nBy default, this method calls \
1263 [`QualifiedRulePrelude::visit_children_with`]. If you want to recurse, you need to \
1264 call it manually."]
1265 #[inline]
1266 fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude) {
1267 <QualifiedRulePrelude as VisitWith<Self>>::visit_children_with(node, self)
1268 }
1269 #[doc = "Visit a node of type `QueryInParens`.\n\nBy default, this method calls \
1270 [`QueryInParens::visit_children_with`]. If you want to recurse, you need to call it \
1271 manually."]
1272 #[inline]
1273 fn visit_query_in_parens(&mut self, node: &QueryInParens) {
1274 <QueryInParens as VisitWith<Self>>::visit_children_with(node, self)
1275 }
1276 #[doc = "Visit a node of type `Ratio`.\n\nBy default, this method calls \
1277 [`Ratio::visit_children_with`]. If you want to recurse, you need to call it manually."]
1278 #[inline]
1279 fn visit_ratio(&mut self, node: &Ratio) {
1280 <Ratio as VisitWith<Self>>::visit_children_with(node, self)
1281 }
1282 #[doc = "Visit a node of type `RelativeSelector`.\n\nBy default, this method calls \
1283 [`RelativeSelector::visit_children_with`]. If you want to recurse, you need to call \
1284 it manually."]
1285 #[inline]
1286 fn visit_relative_selector(&mut self, node: &RelativeSelector) {
1287 <RelativeSelector as VisitWith<Self>>::visit_children_with(node, self)
1288 }
1289 #[doc = "Visit a node of type `RelativeSelectorList`.\n\nBy default, this method calls \
1290 [`RelativeSelectorList::visit_children_with`]. If you want to recurse, you need to \
1291 call it manually."]
1292 #[inline]
1293 fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList) {
1294 <RelativeSelectorList as VisitWith<Self>>::visit_children_with(node, self)
1295 }
1296 #[doc = "Visit a node of type `Vec < RelativeSelector >`.\n\nBy default, this method calls \
1297 [`Vec < RelativeSelector >::visit_children_with`]. If you want to recurse, you need \
1298 to call it manually."]
1299 #[inline]
1300 fn visit_relative_selectors(&mut self, node: &[RelativeSelector]) {
1301 <[RelativeSelector] as VisitWith<Self>>::visit_children_with(node, self)
1302 }
1303 #[doc = "Visit a node of type `Resolution`.\n\nBy default, this method calls \
1304 [`Resolution::visit_children_with`]. If you want to recurse, you need to call it \
1305 manually."]
1306 #[inline]
1307 fn visit_resolution(&mut self, node: &Resolution) {
1308 <Resolution as VisitWith<Self>>::visit_children_with(node, self)
1309 }
1310 #[doc = "Visit a node of type `Rule`.\n\nBy default, this method calls \
1311 [`Rule::visit_children_with`]. If you want to recurse, you need to call it manually."]
1312 #[inline]
1313 fn visit_rule(&mut self, node: &Rule) {
1314 <Rule as VisitWith<Self>>::visit_children_with(node, self)
1315 }
1316 #[doc = "Visit a node of type `Vec < Rule >`.\n\nBy default, this method calls [`Vec < Rule \
1317 >::visit_children_with`]. If you want to recurse, you need to call it manually."]
1318 #[inline]
1319 fn visit_rules(&mut self, node: &[Rule]) {
1320 <[Rule] as VisitWith<Self>>::visit_children_with(node, self)
1321 }
1322 #[doc = "Visit a node of type `ScopeRange`.\n\nBy default, this method calls \
1323 [`ScopeRange::visit_children_with`]. If you want to recurse, you need to call it \
1324 manually."]
1325 #[inline]
1326 fn visit_scope_range(&mut self, node: &ScopeRange) {
1327 <ScopeRange as VisitWith<Self>>::visit_children_with(node, self)
1328 }
1329 #[doc = "Visit a node of type `SelectorList`.\n\nBy default, this method calls \
1330 [`SelectorList::visit_children_with`]. If you want to recurse, you need to call it \
1331 manually."]
1332 #[inline]
1333 fn visit_selector_list(&mut self, node: &SelectorList) {
1334 <SelectorList as VisitWith<Self>>::visit_children_with(node, self)
1335 }
1336 #[doc = "Visit a node of type `SequenceOfCustomIdents`.\n\nBy default, this method calls \
1337 [`SequenceOfCustomIdents::visit_children_with`]. If you want to recurse, you need to \
1338 call it manually."]
1339 #[inline]
1340 fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents) {
1341 <SequenceOfCustomIdents as VisitWith<Self>>::visit_children_with(node, self)
1342 }
1343 #[doc = "Visit a node of type `SimpleBlock`.\n\nBy default, this method calls \
1344 [`SimpleBlock::visit_children_with`]. If you want to recurse, you need to call it \
1345 manually."]
1346 #[inline]
1347 fn visit_simple_block(&mut self, node: &SimpleBlock) {
1348 <SimpleBlock as VisitWith<Self>>::visit_children_with(node, self)
1349 }
1350 #[doc = "Visit a node of type `SizeFeature`.\n\nBy default, this method calls \
1351 [`SizeFeature::visit_children_with`]. If you want to recurse, you need to call it \
1352 manually."]
1353 #[inline]
1354 fn visit_size_feature(&mut self, node: &SizeFeature) {
1355 <SizeFeature as VisitWith<Self>>::visit_children_with(node, self)
1356 }
1357 #[doc = "Visit a node of type `SizeFeatureBoolean`.\n\nBy default, this method calls \
1358 [`SizeFeatureBoolean::visit_children_with`]. If you want to recurse, you need to call \
1359 it manually."]
1360 #[inline]
1361 fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean) {
1362 <SizeFeatureBoolean as VisitWith<Self>>::visit_children_with(node, self)
1363 }
1364 #[doc = "Visit a node of type `SizeFeatureName`.\n\nBy default, this method calls \
1365 [`SizeFeatureName::visit_children_with`]. If you want to recurse, you need to call it \
1366 manually."]
1367 #[inline]
1368 fn visit_size_feature_name(&mut self, node: &SizeFeatureName) {
1369 <SizeFeatureName as VisitWith<Self>>::visit_children_with(node, self)
1370 }
1371 #[doc = "Visit a node of type `SizeFeaturePlain`.\n\nBy default, this method calls \
1372 [`SizeFeaturePlain::visit_children_with`]. If you want to recurse, you need to call \
1373 it manually."]
1374 #[inline]
1375 fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain) {
1376 <SizeFeaturePlain as VisitWith<Self>>::visit_children_with(node, self)
1377 }
1378 #[doc = "Visit a node of type `SizeFeatureRange`.\n\nBy default, this method calls \
1379 [`SizeFeatureRange::visit_children_with`]. If you want to recurse, you need to call \
1380 it manually."]
1381 #[inline]
1382 fn visit_size_feature_range(&mut self, node: &SizeFeatureRange) {
1383 <SizeFeatureRange as VisitWith<Self>>::visit_children_with(node, self)
1384 }
1385 #[doc = "Visit a node of type `SizeFeatureRangeComparison`.\n\nBy default, this method calls \
1386 [`SizeFeatureRangeComparison::visit_children_with`]. If you want to recurse, you need \
1387 to call it manually."]
1388 #[inline]
1389 fn visit_size_feature_range_comparison(&mut self, node: &SizeFeatureRangeComparison) {
1390 <SizeFeatureRangeComparison as VisitWith<Self>>::visit_children_with(node, self)
1391 }
1392 #[doc = "Visit a node of type `SizeFeatureRangeInterval`.\n\nBy default, this method calls \
1393 [`SizeFeatureRangeInterval::visit_children_with`]. If you want to recurse, you need \
1394 to call it manually."]
1395 #[inline]
1396 fn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval) {
1397 <SizeFeatureRangeInterval as VisitWith<Self>>::visit_children_with(node, self)
1398 }
1399 #[doc = "Visit a node of type `SizeFeatureValue`.\n\nBy default, this method calls \
1400 [`SizeFeatureValue::visit_children_with`]. If you want to recurse, you need to call \
1401 it manually."]
1402 #[inline]
1403 fn visit_size_feature_value(&mut self, node: &SizeFeatureValue) {
1404 <SizeFeatureValue as VisitWith<Self>>::visit_children_with(node, self)
1405 }
1406 #[doc = "Visit a node of type `swc_common :: Span`.\n\nBy default, this method calls \
1407 [`swc_common :: Span::visit_children_with`]. If you want to recurse, you need to call \
1408 it manually."]
1409 #[inline]
1410 fn visit_span(&mut self, node: &swc_common::Span) {
1411 <swc_common::Span as VisitWith<Self>>::visit_children_with(node, self)
1412 }
1413 #[doc = "Visit a node of type `Str`.\n\nBy default, this method calls \
1414 [`Str::visit_children_with`]. If you want to recurse, you need to call it manually."]
1415 #[inline]
1416 fn visit_str(&mut self, node: &Str) {
1417 <Str as VisitWith<Self>>::visit_children_with(node, self)
1418 }
1419 #[doc = "Visit a node of type `StyleBlock`.\n\nBy default, this method calls \
1420 [`StyleBlock::visit_children_with`]. If you want to recurse, you need to call it \
1421 manually."]
1422 #[inline]
1423 fn visit_style_block(&mut self, node: &StyleBlock) {
1424 <StyleBlock as VisitWith<Self>>::visit_children_with(node, self)
1425 }
1426 #[doc = "Visit a node of type `Stylesheet`.\n\nBy default, this method calls \
1427 [`Stylesheet::visit_children_with`]. If you want to recurse, you need to call it \
1428 manually."]
1429 #[inline]
1430 fn visit_stylesheet(&mut self, node: &Stylesheet) {
1431 <Stylesheet as VisitWith<Self>>::visit_children_with(node, self)
1432 }
1433 #[doc = "Visit a node of type `SubclassSelector`.\n\nBy default, this method calls \
1434 [`SubclassSelector::visit_children_with`]. If you want to recurse, you need to call \
1435 it manually."]
1436 #[inline]
1437 fn visit_subclass_selector(&mut self, node: &SubclassSelector) {
1438 <SubclassSelector as VisitWith<Self>>::visit_children_with(node, self)
1439 }
1440 #[doc = "Visit a node of type `Vec < SubclassSelector >`.\n\nBy default, this method calls \
1441 [`Vec < SubclassSelector >::visit_children_with`]. If you want to recurse, you need \
1442 to call it manually."]
1443 #[inline]
1444 fn visit_subclass_selectors(&mut self, node: &[SubclassSelector]) {
1445 <[SubclassSelector] as VisitWith<Self>>::visit_children_with(node, self)
1446 }
1447 #[doc = "Visit a node of type `SupportsAnd`.\n\nBy default, this method calls \
1448 [`SupportsAnd::visit_children_with`]. If you want to recurse, you need to call it \
1449 manually."]
1450 #[inline]
1451 fn visit_supports_and(&mut self, node: &SupportsAnd) {
1452 <SupportsAnd as VisitWith<Self>>::visit_children_with(node, self)
1453 }
1454 #[doc = "Visit a node of type `SupportsCondition`.\n\nBy default, this method calls \
1455 [`SupportsCondition::visit_children_with`]. If you want to recurse, you need to call \
1456 it manually."]
1457 #[inline]
1458 fn visit_supports_condition(&mut self, node: &SupportsCondition) {
1459 <SupportsCondition as VisitWith<Self>>::visit_children_with(node, self)
1460 }
1461 #[doc = "Visit a node of type `SupportsConditionType`.\n\nBy default, this method calls \
1462 [`SupportsConditionType::visit_children_with`]. If you want to recurse, you need to \
1463 call it manually."]
1464 #[inline]
1465 fn visit_supports_condition_type(&mut self, node: &SupportsConditionType) {
1466 <SupportsConditionType as VisitWith<Self>>::visit_children_with(node, self)
1467 }
1468 #[doc = "Visit a node of type `Vec < SupportsConditionType >`.\n\nBy default, this method \
1469 calls [`Vec < SupportsConditionType >::visit_children_with`]. If you want to recurse, \
1470 you need to call it manually."]
1471 #[inline]
1472 fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType]) {
1473 <[SupportsConditionType] as VisitWith<Self>>::visit_children_with(node, self)
1474 }
1475 #[doc = "Visit a node of type `SupportsFeature`.\n\nBy default, this method calls \
1476 [`SupportsFeature::visit_children_with`]. If you want to recurse, you need to call it \
1477 manually."]
1478 #[inline]
1479 fn visit_supports_feature(&mut self, node: &SupportsFeature) {
1480 <SupportsFeature as VisitWith<Self>>::visit_children_with(node, self)
1481 }
1482 #[doc = "Visit a node of type `SupportsInParens`.\n\nBy default, this method calls \
1483 [`SupportsInParens::visit_children_with`]. If you want to recurse, you need to call \
1484 it manually."]
1485 #[inline]
1486 fn visit_supports_in_parens(&mut self, node: &SupportsInParens) {
1487 <SupportsInParens as VisitWith<Self>>::visit_children_with(node, self)
1488 }
1489 #[doc = "Visit a node of type `SupportsNot`.\n\nBy default, this method calls \
1490 [`SupportsNot::visit_children_with`]. If you want to recurse, you need to call it \
1491 manually."]
1492 #[inline]
1493 fn visit_supports_not(&mut self, node: &SupportsNot) {
1494 <SupportsNot as VisitWith<Self>>::visit_children_with(node, self)
1495 }
1496 #[doc = "Visit a node of type `SupportsOr`.\n\nBy default, this method calls \
1497 [`SupportsOr::visit_children_with`]. If you want to recurse, you need to call it \
1498 manually."]
1499 #[inline]
1500 fn visit_supports_or(&mut self, node: &SupportsOr) {
1501 <SupportsOr as VisitWith<Self>>::visit_children_with(node, self)
1502 }
1503 #[doc = "Visit a node of type `TagNameSelector`.\n\nBy default, this method calls \
1504 [`TagNameSelector::visit_children_with`]. If you want to recurse, you need to call it \
1505 manually."]
1506 #[inline]
1507 fn visit_tag_name_selector(&mut self, node: &TagNameSelector) {
1508 <TagNameSelector as VisitWith<Self>>::visit_children_with(node, self)
1509 }
1510 #[doc = "Visit a node of type `Time`.\n\nBy default, this method calls \
1511 [`Time::visit_children_with`]. If you want to recurse, you need to call it manually."]
1512 #[inline]
1513 fn visit_time(&mut self, node: &Time) {
1514 <Time as VisitWith<Self>>::visit_children_with(node, self)
1515 }
1516 #[doc = "Visit a node of type `TimePercentage`.\n\nBy default, this method calls \
1517 [`TimePercentage::visit_children_with`]. If you want to recurse, you need to call it \
1518 manually."]
1519 #[inline]
1520 fn visit_time_percentage(&mut self, node: &TimePercentage) {
1521 <TimePercentage as VisitWith<Self>>::visit_children_with(node, self)
1522 }
1523 #[doc = "Visit a node of type `Token`.\n\nBy default, this method calls \
1524 [`Token::visit_children_with`]. If you want to recurse, you need to call it manually."]
1525 #[inline]
1526 fn visit_token(&mut self, node: &Token) {
1527 <Token as VisitWith<Self>>::visit_children_with(node, self)
1528 }
1529 #[doc = "Visit a node of type `TokenAndSpan`.\n\nBy default, this method calls \
1530 [`TokenAndSpan::visit_children_with`]. If you want to recurse, you need to call it \
1531 manually."]
1532 #[inline]
1533 fn visit_token_and_span(&mut self, node: &TokenAndSpan) {
1534 <TokenAndSpan as VisitWith<Self>>::visit_children_with(node, self)
1535 }
1536 #[doc = "Visit a node of type `TypeSelector`.\n\nBy default, this method calls \
1537 [`TypeSelector::visit_children_with`]. If you want to recurse, you need to call it \
1538 manually."]
1539 #[inline]
1540 fn visit_type_selector(&mut self, node: &TypeSelector) {
1541 <TypeSelector as VisitWith<Self>>::visit_children_with(node, self)
1542 }
1543 #[doc = "Visit a node of type `UnicodeRange`.\n\nBy default, this method calls \
1544 [`UnicodeRange::visit_children_with`]. If you want to recurse, you need to call it \
1545 manually."]
1546 #[inline]
1547 fn visit_unicode_range(&mut self, node: &UnicodeRange) {
1548 <UnicodeRange as VisitWith<Self>>::visit_children_with(node, self)
1549 }
1550 #[doc = "Visit a node of type `UniversalSelector`.\n\nBy default, this method calls \
1551 [`UniversalSelector::visit_children_with`]. If you want to recurse, you need to call \
1552 it manually."]
1553 #[inline]
1554 fn visit_universal_selector(&mut self, node: &UniversalSelector) {
1555 <UniversalSelector as VisitWith<Self>>::visit_children_with(node, self)
1556 }
1557 #[doc = "Visit a node of type `UnknownDimension`.\n\nBy default, this method calls \
1558 [`UnknownDimension::visit_children_with`]. If you want to recurse, you need to call \
1559 it manually."]
1560 #[inline]
1561 fn visit_unknown_dimension(&mut self, node: &UnknownDimension) {
1562 <UnknownDimension as VisitWith<Self>>::visit_children_with(node, self)
1563 }
1564 #[doc = "Visit a node of type `Url`.\n\nBy default, this method calls \
1565 [`Url::visit_children_with`]. If you want to recurse, you need to call it manually."]
1566 #[inline]
1567 fn visit_url(&mut self, node: &Url) {
1568 <Url as VisitWith<Self>>::visit_children_with(node, self)
1569 }
1570 #[doc = "Visit a node of type `UrlKeyValue`.\n\nBy default, this method calls \
1571 [`UrlKeyValue::visit_children_with`]. If you want to recurse, you need to call it \
1572 manually."]
1573 #[inline]
1574 fn visit_url_key_value(&mut self, node: &UrlKeyValue) {
1575 <UrlKeyValue as VisitWith<Self>>::visit_children_with(node, self)
1576 }
1577 #[doc = "Visit a node of type `UrlModifier`.\n\nBy default, this method calls \
1578 [`UrlModifier::visit_children_with`]. If you want to recurse, you need to call it \
1579 manually."]
1580 #[inline]
1581 fn visit_url_modifier(&mut self, node: &UrlModifier) {
1582 <UrlModifier as VisitWith<Self>>::visit_children_with(node, self)
1583 }
1584 #[doc = "Visit a node of type `Vec < UrlModifier >`.\n\nBy default, this method calls [`Vec < \
1585 UrlModifier >::visit_children_with`]. If you want to recurse, you need to call it \
1586 manually."]
1587 #[inline]
1588 fn visit_url_modifiers(&mut self, node: &[UrlModifier]) {
1589 <[UrlModifier] as VisitWith<Self>>::visit_children_with(node, self)
1590 }
1591 #[doc = "Visit a node of type `UrlValue`.\n\nBy default, this method calls \
1592 [`UrlValue::visit_children_with`]. If you want to recurse, you need to call it \
1593 manually."]
1594 #[inline]
1595 fn visit_url_value(&mut self, node: &UrlValue) {
1596 <UrlValue as VisitWith<Self>>::visit_children_with(node, self)
1597 }
1598 #[doc = "Visit a node of type `UrlValueRaw`.\n\nBy default, this method calls \
1599 [`UrlValueRaw::visit_children_with`]. If you want to recurse, you need to call it \
1600 manually."]
1601 #[inline]
1602 fn visit_url_value_raw(&mut self, node: &UrlValueRaw) {
1603 <UrlValueRaw as VisitWith<Self>>::visit_children_with(node, self)
1604 }
1605 #[doc = "Visit a node of type `WqName`.\n\nBy default, this method calls \
1606 [`WqName::visit_children_with`]. If you want to recurse, you need to call it manually."]
1607 #[inline]
1608 fn visit_wq_name(&mut self, node: &WqName) {
1609 <WqName as VisitWith<Self>>::visit_children_with(node, self)
1610 }
1611}
1612impl<V> Visit for &mut V
1613where
1614 V: ?Sized + Visit,
1615{
1616 #[inline]
1617 fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase) {
1618 <V as Visit>::visit_absolute_color_base(&mut **self, node)
1619 }
1620
1621 #[inline]
1622 fn visit_alpha_value(&mut self, node: &AlphaValue) {
1623 <V as Visit>::visit_alpha_value(&mut **self, node)
1624 }
1625
1626 #[inline]
1627 fn visit_an_plus_b(&mut self, node: &AnPlusB) {
1628 <V as Visit>::visit_an_plus_b(&mut **self, node)
1629 }
1630
1631 #[inline]
1632 fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation) {
1633 <V as Visit>::visit_an_plus_b_notation(&mut **self, node)
1634 }
1635
1636 #[inline]
1637 fn visit_angle(&mut self, node: &Angle) {
1638 <V as Visit>::visit_angle(&mut **self, node)
1639 }
1640
1641 #[inline]
1642 fn visit_angle_percentage(&mut self, node: &AnglePercentage) {
1643 <V as Visit>::visit_angle_percentage(&mut **self, node)
1644 }
1645
1646 #[inline]
1647 fn visit_any_namespace(&mut self, node: &AnyNamespace) {
1648 <V as Visit>::visit_any_namespace(&mut **self, node)
1649 }
1650
1651 #[inline]
1652 fn visit_at_rule(&mut self, node: &AtRule) {
1653 <V as Visit>::visit_at_rule(&mut **self, node)
1654 }
1655
1656 #[inline]
1657 fn visit_at_rule_name(&mut self, node: &AtRuleName) {
1658 <V as Visit>::visit_at_rule_name(&mut **self, node)
1659 }
1660
1661 #[inline]
1662 fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude) {
1663 <V as Visit>::visit_at_rule_prelude(&mut **self, node)
1664 }
1665
1666 #[inline]
1667 fn visit_atom(&mut self, node: &swc_atoms::Atom) {
1668 <V as Visit>::visit_atom(&mut **self, node)
1669 }
1670
1671 #[inline]
1672 fn visit_attribute_selector(&mut self, node: &AttributeSelector) {
1673 <V as Visit>::visit_attribute_selector(&mut **self, node)
1674 }
1675
1676 #[inline]
1677 fn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher) {
1678 <V as Visit>::visit_attribute_selector_matcher(&mut **self, node)
1679 }
1680
1681 #[inline]
1682 fn visit_attribute_selector_matcher_value(&mut self, node: &AttributeSelectorMatcherValue) {
1683 <V as Visit>::visit_attribute_selector_matcher_value(&mut **self, node)
1684 }
1685
1686 #[inline]
1687 fn visit_attribute_selector_modifier(&mut self, node: &AttributeSelectorModifier) {
1688 <V as Visit>::visit_attribute_selector_modifier(&mut **self, node)
1689 }
1690
1691 #[inline]
1692 fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue) {
1693 <V as Visit>::visit_attribute_selector_value(&mut **self, node)
1694 }
1695
1696 #[inline]
1697 fn visit_bin_op(&mut self, node: &BinOp) {
1698 <V as Visit>::visit_bin_op(&mut **self, node)
1699 }
1700
1701 #[inline]
1702 fn visit_calc_operator(&mut self, node: &CalcOperator) {
1703 <V as Visit>::visit_calc_operator(&mut **self, node)
1704 }
1705
1706 #[inline]
1707 fn visit_calc_operator_type(&mut self, node: &CalcOperatorType) {
1708 <V as Visit>::visit_calc_operator_type(&mut **self, node)
1709 }
1710
1711 #[inline]
1712 fn visit_calc_product(&mut self, node: &CalcProduct) {
1713 <V as Visit>::visit_calc_product(&mut **self, node)
1714 }
1715
1716 #[inline]
1717 fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator) {
1718 <V as Visit>::visit_calc_product_or_operator(&mut **self, node)
1719 }
1720
1721 #[inline]
1722 fn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator]) {
1723 <V as Visit>::visit_calc_product_or_operators(&mut **self, node)
1724 }
1725
1726 #[inline]
1727 fn visit_calc_sum(&mut self, node: &CalcSum) {
1728 <V as Visit>::visit_calc_sum(&mut **self, node)
1729 }
1730
1731 #[inline]
1732 fn visit_calc_value(&mut self, node: &CalcValue) {
1733 <V as Visit>::visit_calc_value(&mut **self, node)
1734 }
1735
1736 #[inline]
1737 fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator) {
1738 <V as Visit>::visit_calc_value_or_operator(&mut **self, node)
1739 }
1740
1741 #[inline]
1742 fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator]) {
1743 <V as Visit>::visit_calc_value_or_operators(&mut **self, node)
1744 }
1745
1746 #[inline]
1747 fn visit_class_selector(&mut self, node: &ClassSelector) {
1748 <V as Visit>::visit_class_selector(&mut **self, node)
1749 }
1750
1751 #[inline]
1752 fn visit_cmyk_component(&mut self, node: &CmykComponent) {
1753 <V as Visit>::visit_cmyk_component(&mut **self, node)
1754 }
1755
1756 #[inline]
1757 fn visit_color(&mut self, node: &Color) {
1758 <V as Visit>::visit_color(&mut **self, node)
1759 }
1760
1761 #[inline]
1762 fn visit_color_profile_name(&mut self, node: &ColorProfileName) {
1763 <V as Visit>::visit_color_profile_name(&mut **self, node)
1764 }
1765
1766 #[inline]
1767 fn visit_combinator(&mut self, node: &Combinator) {
1768 <V as Visit>::visit_combinator(&mut **self, node)
1769 }
1770
1771 #[inline]
1772 fn visit_combinator_value(&mut self, node: &CombinatorValue) {
1773 <V as Visit>::visit_combinator_value(&mut **self, node)
1774 }
1775
1776 #[inline]
1777 fn visit_complex_selector(&mut self, node: &ComplexSelector) {
1778 <V as Visit>::visit_complex_selector(&mut **self, node)
1779 }
1780
1781 #[inline]
1782 fn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren) {
1783 <V as Visit>::visit_complex_selector_children(&mut **self, node)
1784 }
1785
1786 #[inline]
1787 fn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren]) {
1788 <V as Visit>::visit_complex_selector_childrens(&mut **self, node)
1789 }
1790
1791 #[inline]
1792 fn visit_complex_selectors(&mut self, node: &[ComplexSelector]) {
1793 <V as Visit>::visit_complex_selectors(&mut **self, node)
1794 }
1795
1796 #[inline]
1797 fn visit_component_value(&mut self, node: &ComponentValue) {
1798 <V as Visit>::visit_component_value(&mut **self, node)
1799 }
1800
1801 #[inline]
1802 fn visit_component_values(&mut self, node: &[ComponentValue]) {
1803 <V as Visit>::visit_component_values(&mut **self, node)
1804 }
1805
1806 #[inline]
1807 fn visit_compound_selector(&mut self, node: &CompoundSelector) {
1808 <V as Visit>::visit_compound_selector(&mut **self, node)
1809 }
1810
1811 #[inline]
1812 fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList) {
1813 <V as Visit>::visit_compound_selector_list(&mut **self, node)
1814 }
1815
1816 #[inline]
1817 fn visit_compound_selectors(&mut self, node: &[CompoundSelector]) {
1818 <V as Visit>::visit_compound_selectors(&mut **self, node)
1819 }
1820
1821 #[inline]
1822 fn visit_container_condition(&mut self, node: &ContainerCondition) {
1823 <V as Visit>::visit_container_condition(&mut **self, node)
1824 }
1825
1826 #[inline]
1827 fn visit_container_name(&mut self, node: &ContainerName) {
1828 <V as Visit>::visit_container_name(&mut **self, node)
1829 }
1830
1831 #[inline]
1832 fn visit_container_query(&mut self, node: &ContainerQuery) {
1833 <V as Visit>::visit_container_query(&mut **self, node)
1834 }
1835
1836 #[inline]
1837 fn visit_container_query_and(&mut self, node: &ContainerQueryAnd) {
1838 <V as Visit>::visit_container_query_and(&mut **self, node)
1839 }
1840
1841 #[inline]
1842 fn visit_container_query_not(&mut self, node: &ContainerQueryNot) {
1843 <V as Visit>::visit_container_query_not(&mut **self, node)
1844 }
1845
1846 #[inline]
1847 fn visit_container_query_or(&mut self, node: &ContainerQueryOr) {
1848 <V as Visit>::visit_container_query_or(&mut **self, node)
1849 }
1850
1851 #[inline]
1852 fn visit_container_query_type(&mut self, node: &ContainerQueryType) {
1853 <V as Visit>::visit_container_query_type(&mut **self, node)
1854 }
1855
1856 #[inline]
1857 fn visit_container_query_types(&mut self, node: &[ContainerQueryType]) {
1858 <V as Visit>::visit_container_query_types(&mut **self, node)
1859 }
1860
1861 #[inline]
1862 fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName) {
1863 <V as Visit>::visit_custom_highlight_name(&mut **self, node)
1864 }
1865
1866 #[inline]
1867 fn visit_custom_ident(&mut self, node: &CustomIdent) {
1868 <V as Visit>::visit_custom_ident(&mut **self, node)
1869 }
1870
1871 #[inline]
1872 fn visit_custom_idents(&mut self, node: &[CustomIdent]) {
1873 <V as Visit>::visit_custom_idents(&mut **self, node)
1874 }
1875
1876 #[inline]
1877 fn visit_custom_media_query(&mut self, node: &CustomMediaQuery) {
1878 <V as Visit>::visit_custom_media_query(&mut **self, node)
1879 }
1880
1881 #[inline]
1882 fn visit_custom_media_query_media_type(&mut self, node: &CustomMediaQueryMediaType) {
1883 <V as Visit>::visit_custom_media_query_media_type(&mut **self, node)
1884 }
1885
1886 #[inline]
1887 fn visit_custom_property_name(&mut self, node: &CustomPropertyName) {
1888 <V as Visit>::visit_custom_property_name(&mut **self, node)
1889 }
1890
1891 #[inline]
1892 fn visit_dashed_ident(&mut self, node: &DashedIdent) {
1893 <V as Visit>::visit_dashed_ident(&mut **self, node)
1894 }
1895
1896 #[inline]
1897 fn visit_declaration(&mut self, node: &Declaration) {
1898 <V as Visit>::visit_declaration(&mut **self, node)
1899 }
1900
1901 #[inline]
1902 fn visit_declaration_name(&mut self, node: &DeclarationName) {
1903 <V as Visit>::visit_declaration_name(&mut **self, node)
1904 }
1905
1906 #[inline]
1907 fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule) {
1908 <V as Visit>::visit_declaration_or_at_rule(&mut **self, node)
1909 }
1910
1911 #[inline]
1912 fn visit_delimiter(&mut self, node: &Delimiter) {
1913 <V as Visit>::visit_delimiter(&mut **self, node)
1914 }
1915
1916 #[inline]
1917 fn visit_delimiter_value(&mut self, node: &DelimiterValue) {
1918 <V as Visit>::visit_delimiter_value(&mut **self, node)
1919 }
1920
1921 #[inline]
1922 fn visit_dimension(&mut self, node: &Dimension) {
1923 <V as Visit>::visit_dimension(&mut **self, node)
1924 }
1925
1926 #[inline]
1927 fn visit_dimension_token(&mut self, node: &DimensionToken) {
1928 <V as Visit>::visit_dimension_token(&mut **self, node)
1929 }
1930
1931 #[inline]
1932 fn visit_document_prelude(&mut self, node: &DocumentPrelude) {
1933 <V as Visit>::visit_document_prelude(&mut **self, node)
1934 }
1935
1936 #[inline]
1937 fn visit_document_prelude_matching_function(&mut self, node: &DocumentPreludeMatchingFunction) {
1938 <V as Visit>::visit_document_prelude_matching_function(&mut **self, node)
1939 }
1940
1941 #[inline]
1942 fn visit_document_prelude_matching_functions(
1943 &mut self,
1944 node: &[DocumentPreludeMatchingFunction],
1945 ) {
1946 <V as Visit>::visit_document_prelude_matching_functions(&mut **self, node)
1947 }
1948
1949 #[inline]
1950 fn visit_extension_name(&mut self, node: &ExtensionName) {
1951 <V as Visit>::visit_extension_name(&mut **self, node)
1952 }
1953
1954 #[inline]
1955 fn visit_family_name(&mut self, node: &FamilyName) {
1956 <V as Visit>::visit_family_name(&mut **self, node)
1957 }
1958
1959 #[inline]
1960 fn visit_family_names(&mut self, node: &[FamilyName]) {
1961 <V as Visit>::visit_family_names(&mut **self, node)
1962 }
1963
1964 #[inline]
1965 fn visit_flex(&mut self, node: &Flex) {
1966 <V as Visit>::visit_flex(&mut **self, node)
1967 }
1968
1969 #[inline]
1970 fn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude) {
1971 <V as Visit>::visit_font_feature_values_prelude(&mut **self, node)
1972 }
1973
1974 #[inline]
1975 fn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector) {
1976 <V as Visit>::visit_forgiving_complex_selector(&mut **self, node)
1977 }
1978
1979 #[inline]
1980 fn visit_forgiving_complex_selectors(&mut self, node: &[ForgivingComplexSelector]) {
1981 <V as Visit>::visit_forgiving_complex_selectors(&mut **self, node)
1982 }
1983
1984 #[inline]
1985 fn visit_forgiving_relative_selector(&mut self, node: &ForgivingRelativeSelector) {
1986 <V as Visit>::visit_forgiving_relative_selector(&mut **self, node)
1987 }
1988
1989 #[inline]
1990 fn visit_forgiving_relative_selector_list(&mut self, node: &ForgivingRelativeSelectorList) {
1991 <V as Visit>::visit_forgiving_relative_selector_list(&mut **self, node)
1992 }
1993
1994 #[inline]
1995 fn visit_forgiving_relative_selectors(&mut self, node: &[ForgivingRelativeSelector]) {
1996 <V as Visit>::visit_forgiving_relative_selectors(&mut **self, node)
1997 }
1998
1999 #[inline]
2000 fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList) {
2001 <V as Visit>::visit_forgiving_selector_list(&mut **self, node)
2002 }
2003
2004 #[inline]
2005 fn visit_frequency(&mut self, node: &Frequency) {
2006 <V as Visit>::visit_frequency(&mut **self, node)
2007 }
2008
2009 #[inline]
2010 fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage) {
2011 <V as Visit>::visit_frequency_percentage(&mut **self, node)
2012 }
2013
2014 #[inline]
2015 fn visit_function(&mut self, node: &Function) {
2016 <V as Visit>::visit_function(&mut **self, node)
2017 }
2018
2019 #[inline]
2020 fn visit_function_name(&mut self, node: &FunctionName) {
2021 <V as Visit>::visit_function_name(&mut **self, node)
2022 }
2023
2024 #[inline]
2025 fn visit_general_enclosed(&mut self, node: &GeneralEnclosed) {
2026 <V as Visit>::visit_general_enclosed(&mut **self, node)
2027 }
2028
2029 #[inline]
2030 fn visit_hex_color(&mut self, node: &HexColor) {
2031 <V as Visit>::visit_hex_color(&mut **self, node)
2032 }
2033
2034 #[inline]
2035 fn visit_hue(&mut self, node: &Hue) {
2036 <V as Visit>::visit_hue(&mut **self, node)
2037 }
2038
2039 #[inline]
2040 fn visit_id_selector(&mut self, node: &IdSelector) {
2041 <V as Visit>::visit_id_selector(&mut **self, node)
2042 }
2043
2044 #[inline]
2045 fn visit_ident(&mut self, node: &Ident) {
2046 <V as Visit>::visit_ident(&mut **self, node)
2047 }
2048
2049 #[inline]
2050 fn visit_idents(&mut self, node: &[Ident]) {
2051 <V as Visit>::visit_idents(&mut **self, node)
2052 }
2053
2054 #[inline]
2055 fn visit_import_conditions(&mut self, node: &ImportConditions) {
2056 <V as Visit>::visit_import_conditions(&mut **self, node)
2057 }
2058
2059 #[inline]
2060 fn visit_import_href(&mut self, node: &ImportHref) {
2061 <V as Visit>::visit_import_href(&mut **self, node)
2062 }
2063
2064 #[inline]
2065 fn visit_import_layer_name(&mut self, node: &ImportLayerName) {
2066 <V as Visit>::visit_import_layer_name(&mut **self, node)
2067 }
2068
2069 #[inline]
2070 fn visit_import_prelude(&mut self, node: &ImportPrelude) {
2071 <V as Visit>::visit_import_prelude(&mut **self, node)
2072 }
2073
2074 #[inline]
2075 fn visit_important_flag(&mut self, node: &ImportantFlag) {
2076 <V as Visit>::visit_important_flag(&mut **self, node)
2077 }
2078
2079 #[inline]
2080 fn visit_integer(&mut self, node: &Integer) {
2081 <V as Visit>::visit_integer(&mut **self, node)
2082 }
2083
2084 #[inline]
2085 fn visit_keyframe_block(&mut self, node: &KeyframeBlock) {
2086 <V as Visit>::visit_keyframe_block(&mut **self, node)
2087 }
2088
2089 #[inline]
2090 fn visit_keyframe_selector(&mut self, node: &KeyframeSelector) {
2091 <V as Visit>::visit_keyframe_selector(&mut **self, node)
2092 }
2093
2094 #[inline]
2095 fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector]) {
2096 <V as Visit>::visit_keyframe_selectors(&mut **self, node)
2097 }
2098
2099 #[inline]
2100 fn visit_keyframes_name(&mut self, node: &KeyframesName) {
2101 <V as Visit>::visit_keyframes_name(&mut **self, node)
2102 }
2103
2104 #[inline]
2105 fn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction) {
2106 <V as Visit>::visit_keyframes_pseudo_function(&mut **self, node)
2107 }
2108
2109 #[inline]
2110 fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix) {
2111 <V as Visit>::visit_keyframes_pseudo_prefix(&mut **self, node)
2112 }
2113
2114 #[inline]
2115 fn visit_layer_name(&mut self, node: &LayerName) {
2116 <V as Visit>::visit_layer_name(&mut **self, node)
2117 }
2118
2119 #[inline]
2120 fn visit_layer_name_list(&mut self, node: &LayerNameList) {
2121 <V as Visit>::visit_layer_name_list(&mut **self, node)
2122 }
2123
2124 #[inline]
2125 fn visit_layer_names(&mut self, node: &[LayerName]) {
2126 <V as Visit>::visit_layer_names(&mut **self, node)
2127 }
2128
2129 #[inline]
2130 fn visit_layer_prelude(&mut self, node: &LayerPrelude) {
2131 <V as Visit>::visit_layer_prelude(&mut **self, node)
2132 }
2133
2134 #[inline]
2135 fn visit_length(&mut self, node: &Length) {
2136 <V as Visit>::visit_length(&mut **self, node)
2137 }
2138
2139 #[inline]
2140 fn visit_length_percentage(&mut self, node: &LengthPercentage) {
2141 <V as Visit>::visit_length_percentage(&mut **self, node)
2142 }
2143
2144 #[inline]
2145 fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues) {
2146 <V as Visit>::visit_list_of_component_values(&mut **self, node)
2147 }
2148
2149 #[inline]
2150 fn visit_media_and(&mut self, node: &MediaAnd) {
2151 <V as Visit>::visit_media_and(&mut **self, node)
2152 }
2153
2154 #[inline]
2155 fn visit_media_condition(&mut self, node: &MediaCondition) {
2156 <V as Visit>::visit_media_condition(&mut **self, node)
2157 }
2158
2159 #[inline]
2160 fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType) {
2161 <V as Visit>::visit_media_condition_all_type(&mut **self, node)
2162 }
2163
2164 #[inline]
2165 fn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType]) {
2166 <V as Visit>::visit_media_condition_all_types(&mut **self, node)
2167 }
2168
2169 #[inline]
2170 fn visit_media_condition_type(&mut self, node: &MediaConditionType) {
2171 <V as Visit>::visit_media_condition_type(&mut **self, node)
2172 }
2173
2174 #[inline]
2175 fn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr) {
2176 <V as Visit>::visit_media_condition_without_or(&mut **self, node)
2177 }
2178
2179 #[inline]
2180 fn visit_media_condition_without_or_type(&mut self, node: &MediaConditionWithoutOrType) {
2181 <V as Visit>::visit_media_condition_without_or_type(&mut **self, node)
2182 }
2183
2184 #[inline]
2185 fn visit_media_condition_without_or_types(&mut self, node: &[MediaConditionWithoutOrType]) {
2186 <V as Visit>::visit_media_condition_without_or_types(&mut **self, node)
2187 }
2188
2189 #[inline]
2190 fn visit_media_feature(&mut self, node: &MediaFeature) {
2191 <V as Visit>::visit_media_feature(&mut **self, node)
2192 }
2193
2194 #[inline]
2195 fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean) {
2196 <V as Visit>::visit_media_feature_boolean(&mut **self, node)
2197 }
2198
2199 #[inline]
2200 fn visit_media_feature_name(&mut self, node: &MediaFeatureName) {
2201 <V as Visit>::visit_media_feature_name(&mut **self, node)
2202 }
2203
2204 #[inline]
2205 fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain) {
2206 <V as Visit>::visit_media_feature_plain(&mut **self, node)
2207 }
2208
2209 #[inline]
2210 fn visit_media_feature_range(&mut self, node: &MediaFeatureRange) {
2211 <V as Visit>::visit_media_feature_range(&mut **self, node)
2212 }
2213
2214 #[inline]
2215 fn visit_media_feature_range_comparison(&mut self, node: &MediaFeatureRangeComparison) {
2216 <V as Visit>::visit_media_feature_range_comparison(&mut **self, node)
2217 }
2218
2219 #[inline]
2220 fn visit_media_feature_range_interval(&mut self, node: &MediaFeatureRangeInterval) {
2221 <V as Visit>::visit_media_feature_range_interval(&mut **self, node)
2222 }
2223
2224 #[inline]
2225 fn visit_media_feature_value(&mut self, node: &MediaFeatureValue) {
2226 <V as Visit>::visit_media_feature_value(&mut **self, node)
2227 }
2228
2229 #[inline]
2230 fn visit_media_in_parens(&mut self, node: &MediaInParens) {
2231 <V as Visit>::visit_media_in_parens(&mut **self, node)
2232 }
2233
2234 #[inline]
2235 fn visit_media_not(&mut self, node: &MediaNot) {
2236 <V as Visit>::visit_media_not(&mut **self, node)
2237 }
2238
2239 #[inline]
2240 fn visit_media_or(&mut self, node: &MediaOr) {
2241 <V as Visit>::visit_media_or(&mut **self, node)
2242 }
2243
2244 #[inline]
2245 fn visit_media_query(&mut self, node: &MediaQuery) {
2246 <V as Visit>::visit_media_query(&mut **self, node)
2247 }
2248
2249 #[inline]
2250 fn visit_media_query_list(&mut self, node: &MediaQueryList) {
2251 <V as Visit>::visit_media_query_list(&mut **self, node)
2252 }
2253
2254 #[inline]
2255 fn visit_media_querys(&mut self, node: &[MediaQuery]) {
2256 <V as Visit>::visit_media_querys(&mut **self, node)
2257 }
2258
2259 #[inline]
2260 fn visit_media_type(&mut self, node: &MediaType) {
2261 <V as Visit>::visit_media_type(&mut **self, node)
2262 }
2263
2264 #[inline]
2265 fn visit_named_namespace(&mut self, node: &NamedNamespace) {
2266 <V as Visit>::visit_named_namespace(&mut **self, node)
2267 }
2268
2269 #[inline]
2270 fn visit_namespace(&mut self, node: &Namespace) {
2271 <V as Visit>::visit_namespace(&mut **self, node)
2272 }
2273
2274 #[inline]
2275 fn visit_namespace_prefix(&mut self, node: &NamespacePrefix) {
2276 <V as Visit>::visit_namespace_prefix(&mut **self, node)
2277 }
2278
2279 #[inline]
2280 fn visit_namespace_prelude(&mut self, node: &NamespacePrelude) {
2281 <V as Visit>::visit_namespace_prelude(&mut **self, node)
2282 }
2283
2284 #[inline]
2285 fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri) {
2286 <V as Visit>::visit_namespace_prelude_uri(&mut **self, node)
2287 }
2288
2289 #[inline]
2290 fn visit_nesting_selector(&mut self, node: &NestingSelector) {
2291 <V as Visit>::visit_nesting_selector(&mut **self, node)
2292 }
2293
2294 #[inline]
2295 fn visit_number(&mut self, node: &Number) {
2296 <V as Visit>::visit_number(&mut **self, node)
2297 }
2298
2299 #[inline]
2300 fn visit_number_type(&mut self, node: &NumberType) {
2301 <V as Visit>::visit_number_type(&mut **self, node)
2302 }
2303
2304 #[inline]
2305 fn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>) {
2306 <V as Visit>::visit_opt_at_rule_prelude(&mut **self, node)
2307 }
2308
2309 #[inline]
2310 fn visit_opt_atom(&mut self, node: &Option<swc_atoms::Atom>) {
2311 <V as Visit>::visit_opt_atom(&mut **self, node)
2312 }
2313
2314 #[inline]
2315 fn visit_opt_attribute_selector_matcher(&mut self, node: &Option<AttributeSelectorMatcher>) {
2316 <V as Visit>::visit_opt_attribute_selector_matcher(&mut **self, node)
2317 }
2318
2319 #[inline]
2320 fn visit_opt_attribute_selector_modifier(&mut self, node: &Option<AttributeSelectorModifier>) {
2321 <V as Visit>::visit_opt_attribute_selector_modifier(&mut **self, node)
2322 }
2323
2324 #[inline]
2325 fn visit_opt_attribute_selector_value(&mut self, node: &Option<AttributeSelectorValue>) {
2326 <V as Visit>::visit_opt_attribute_selector_value(&mut **self, node)
2327 }
2328
2329 #[inline]
2330 fn visit_opt_combinator(&mut self, node: &Option<Combinator>) {
2331 <V as Visit>::visit_opt_combinator(&mut **self, node)
2332 }
2333
2334 #[inline]
2335 fn visit_opt_container_name(&mut self, node: &Option<ContainerName>) {
2336 <V as Visit>::visit_opt_container_name(&mut **self, node)
2337 }
2338
2339 #[inline]
2340 fn visit_opt_forgiving_selector_list(&mut self, node: &Option<ForgivingSelectorList>) {
2341 <V as Visit>::visit_opt_forgiving_selector_list(&mut **self, node)
2342 }
2343
2344 #[inline]
2345 fn visit_opt_function(&mut self, node: &Option<Box<Function>>) {
2346 <V as Visit>::visit_opt_function(&mut **self, node)
2347 }
2348
2349 #[inline]
2350 fn visit_opt_ident(&mut self, node: &Option<Ident>) {
2351 <V as Visit>::visit_opt_ident(&mut **self, node)
2352 }
2353
2354 #[inline]
2355 fn visit_opt_import_conditions(&mut self, node: &Option<Box<ImportConditions>>) {
2356 <V as Visit>::visit_opt_import_conditions(&mut **self, node)
2357 }
2358
2359 #[inline]
2360 fn visit_opt_import_layer_name(&mut self, node: &Option<Box<ImportLayerName>>) {
2361 <V as Visit>::visit_opt_import_layer_name(&mut **self, node)
2362 }
2363
2364 #[inline]
2365 fn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>) {
2366 <V as Visit>::visit_opt_important_flag(&mut **self, node)
2367 }
2368
2369 #[inline]
2370 fn visit_opt_media_condition_type(&mut self, node: &Option<Box<MediaConditionType>>) {
2371 <V as Visit>::visit_opt_media_condition_type(&mut **self, node)
2372 }
2373
2374 #[inline]
2375 fn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>) {
2376 <V as Visit>::visit_opt_media_query_list(&mut **self, node)
2377 }
2378
2379 #[inline]
2380 fn visit_opt_media_type(&mut self, node: &Option<MediaType>) {
2381 <V as Visit>::visit_opt_media_type(&mut **self, node)
2382 }
2383
2384 #[inline]
2385 fn visit_opt_namespace(&mut self, node: &Option<Namespace>) {
2386 <V as Visit>::visit_opt_namespace(&mut **self, node)
2387 }
2388
2389 #[inline]
2390 fn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>) {
2391 <V as Visit>::visit_opt_namespace_prefix(&mut **self, node)
2392 }
2393
2394 #[inline]
2395 fn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>) {
2396 <V as Visit>::visit_opt_nesting_selector(&mut **self, node)
2397 }
2398
2399 #[inline]
2400 fn visit_opt_number(&mut self, node: &Option<Number>) {
2401 <V as Visit>::visit_opt_number(&mut **self, node)
2402 }
2403
2404 #[inline]
2405 fn visit_opt_page_selector_pseudos(&mut self, node: &Option<Vec<PageSelectorPseudo>>) {
2406 <V as Visit>::visit_opt_page_selector_pseudos(&mut **self, node)
2407 }
2408
2409 #[inline]
2410 fn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>) {
2411 <V as Visit>::visit_opt_page_selector_type(&mut **self, node)
2412 }
2413
2414 #[inline]
2415 fn visit_opt_pseudo_class_selector_childrens(
2416 &mut self,
2417 node: &Option<Vec<PseudoClassSelectorChildren>>,
2418 ) {
2419 <V as Visit>::visit_opt_pseudo_class_selector_childrens(&mut **self, node)
2420 }
2421
2422 #[inline]
2423 fn visit_opt_pseudo_element_selector_childrens(
2424 &mut self,
2425 node: &Option<Vec<PseudoElementSelectorChildren>>,
2426 ) {
2427 <V as Visit>::visit_opt_pseudo_element_selector_childrens(&mut **self, node)
2428 }
2429
2430 #[inline]
2431 fn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>) {
2432 <V as Visit>::visit_opt_simple_block(&mut **self, node)
2433 }
2434
2435 #[inline]
2436 fn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>) {
2437 <V as Visit>::visit_opt_type_selector(&mut **self, node)
2438 }
2439
2440 #[inline]
2441 fn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>) {
2442 <V as Visit>::visit_opt_url_modifiers(&mut **self, node)
2443 }
2444
2445 #[inline]
2446 fn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>) {
2447 <V as Visit>::visit_opt_url_value(&mut **self, node)
2448 }
2449
2450 #[inline]
2451 fn visit_page_selector(&mut self, node: &PageSelector) {
2452 <V as Visit>::visit_page_selector(&mut **self, node)
2453 }
2454
2455 #[inline]
2456 fn visit_page_selector_list(&mut self, node: &PageSelectorList) {
2457 <V as Visit>::visit_page_selector_list(&mut **self, node)
2458 }
2459
2460 #[inline]
2461 fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo) {
2462 <V as Visit>::visit_page_selector_pseudo(&mut **self, node)
2463 }
2464
2465 #[inline]
2466 fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo]) {
2467 <V as Visit>::visit_page_selector_pseudos(&mut **self, node)
2468 }
2469
2470 #[inline]
2471 fn visit_page_selector_type(&mut self, node: &PageSelectorType) {
2472 <V as Visit>::visit_page_selector_type(&mut **self, node)
2473 }
2474
2475 #[inline]
2476 fn visit_page_selectors(&mut self, node: &[PageSelector]) {
2477 <V as Visit>::visit_page_selectors(&mut **self, node)
2478 }
2479
2480 #[inline]
2481 fn visit_percentage(&mut self, node: &Percentage) {
2482 <V as Visit>::visit_percentage(&mut **self, node)
2483 }
2484
2485 #[inline]
2486 fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector) {
2487 <V as Visit>::visit_pseudo_class_selector(&mut **self, node)
2488 }
2489
2490 #[inline]
2491 fn visit_pseudo_class_selector_children(&mut self, node: &PseudoClassSelectorChildren) {
2492 <V as Visit>::visit_pseudo_class_selector_children(&mut **self, node)
2493 }
2494
2495 #[inline]
2496 fn visit_pseudo_class_selector_childrens(&mut self, node: &[PseudoClassSelectorChildren]) {
2497 <V as Visit>::visit_pseudo_class_selector_childrens(&mut **self, node)
2498 }
2499
2500 #[inline]
2501 fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector) {
2502 <V as Visit>::visit_pseudo_element_selector(&mut **self, node)
2503 }
2504
2505 #[inline]
2506 fn visit_pseudo_element_selector_children(&mut self, node: &PseudoElementSelectorChildren) {
2507 <V as Visit>::visit_pseudo_element_selector_children(&mut **self, node)
2508 }
2509
2510 #[inline]
2511 fn visit_pseudo_element_selector_childrens(&mut self, node: &[PseudoElementSelectorChildren]) {
2512 <V as Visit>::visit_pseudo_element_selector_childrens(&mut **self, node)
2513 }
2514
2515 #[inline]
2516 fn visit_qualified_rule(&mut self, node: &QualifiedRule) {
2517 <V as Visit>::visit_qualified_rule(&mut **self, node)
2518 }
2519
2520 #[inline]
2521 fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude) {
2522 <V as Visit>::visit_qualified_rule_prelude(&mut **self, node)
2523 }
2524
2525 #[inline]
2526 fn visit_query_in_parens(&mut self, node: &QueryInParens) {
2527 <V as Visit>::visit_query_in_parens(&mut **self, node)
2528 }
2529
2530 #[inline]
2531 fn visit_ratio(&mut self, node: &Ratio) {
2532 <V as Visit>::visit_ratio(&mut **self, node)
2533 }
2534
2535 #[inline]
2536 fn visit_relative_selector(&mut self, node: &RelativeSelector) {
2537 <V as Visit>::visit_relative_selector(&mut **self, node)
2538 }
2539
2540 #[inline]
2541 fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList) {
2542 <V as Visit>::visit_relative_selector_list(&mut **self, node)
2543 }
2544
2545 #[inline]
2546 fn visit_relative_selectors(&mut self, node: &[RelativeSelector]) {
2547 <V as Visit>::visit_relative_selectors(&mut **self, node)
2548 }
2549
2550 #[inline]
2551 fn visit_resolution(&mut self, node: &Resolution) {
2552 <V as Visit>::visit_resolution(&mut **self, node)
2553 }
2554
2555 #[inline]
2556 fn visit_rule(&mut self, node: &Rule) {
2557 <V as Visit>::visit_rule(&mut **self, node)
2558 }
2559
2560 #[inline]
2561 fn visit_rules(&mut self, node: &[Rule]) {
2562 <V as Visit>::visit_rules(&mut **self, node)
2563 }
2564
2565 #[inline]
2566 fn visit_scope_range(&mut self, node: &ScopeRange) {
2567 <V as Visit>::visit_scope_range(&mut **self, node)
2568 }
2569
2570 #[inline]
2571 fn visit_selector_list(&mut self, node: &SelectorList) {
2572 <V as Visit>::visit_selector_list(&mut **self, node)
2573 }
2574
2575 #[inline]
2576 fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents) {
2577 <V as Visit>::visit_sequence_of_custom_idents(&mut **self, node)
2578 }
2579
2580 #[inline]
2581 fn visit_simple_block(&mut self, node: &SimpleBlock) {
2582 <V as Visit>::visit_simple_block(&mut **self, node)
2583 }
2584
2585 #[inline]
2586 fn visit_size_feature(&mut self, node: &SizeFeature) {
2587 <V as Visit>::visit_size_feature(&mut **self, node)
2588 }
2589
2590 #[inline]
2591 fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean) {
2592 <V as Visit>::visit_size_feature_boolean(&mut **self, node)
2593 }
2594
2595 #[inline]
2596 fn visit_size_feature_name(&mut self, node: &SizeFeatureName) {
2597 <V as Visit>::visit_size_feature_name(&mut **self, node)
2598 }
2599
2600 #[inline]
2601 fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain) {
2602 <V as Visit>::visit_size_feature_plain(&mut **self, node)
2603 }
2604
2605 #[inline]
2606 fn visit_size_feature_range(&mut self, node: &SizeFeatureRange) {
2607 <V as Visit>::visit_size_feature_range(&mut **self, node)
2608 }
2609
2610 #[inline]
2611 fn visit_size_feature_range_comparison(&mut self, node: &SizeFeatureRangeComparison) {
2612 <V as Visit>::visit_size_feature_range_comparison(&mut **self, node)
2613 }
2614
2615 #[inline]
2616 fn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval) {
2617 <V as Visit>::visit_size_feature_range_interval(&mut **self, node)
2618 }
2619
2620 #[inline]
2621 fn visit_size_feature_value(&mut self, node: &SizeFeatureValue) {
2622 <V as Visit>::visit_size_feature_value(&mut **self, node)
2623 }
2624
2625 #[inline]
2626 fn visit_span(&mut self, node: &swc_common::Span) {
2627 <V as Visit>::visit_span(&mut **self, node)
2628 }
2629
2630 #[inline]
2631 fn visit_str(&mut self, node: &Str) {
2632 <V as Visit>::visit_str(&mut **self, node)
2633 }
2634
2635 #[inline]
2636 fn visit_style_block(&mut self, node: &StyleBlock) {
2637 <V as Visit>::visit_style_block(&mut **self, node)
2638 }
2639
2640 #[inline]
2641 fn visit_stylesheet(&mut self, node: &Stylesheet) {
2642 <V as Visit>::visit_stylesheet(&mut **self, node)
2643 }
2644
2645 #[inline]
2646 fn visit_subclass_selector(&mut self, node: &SubclassSelector) {
2647 <V as Visit>::visit_subclass_selector(&mut **self, node)
2648 }
2649
2650 #[inline]
2651 fn visit_subclass_selectors(&mut self, node: &[SubclassSelector]) {
2652 <V as Visit>::visit_subclass_selectors(&mut **self, node)
2653 }
2654
2655 #[inline]
2656 fn visit_supports_and(&mut self, node: &SupportsAnd) {
2657 <V as Visit>::visit_supports_and(&mut **self, node)
2658 }
2659
2660 #[inline]
2661 fn visit_supports_condition(&mut self, node: &SupportsCondition) {
2662 <V as Visit>::visit_supports_condition(&mut **self, node)
2663 }
2664
2665 #[inline]
2666 fn visit_supports_condition_type(&mut self, node: &SupportsConditionType) {
2667 <V as Visit>::visit_supports_condition_type(&mut **self, node)
2668 }
2669
2670 #[inline]
2671 fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType]) {
2672 <V as Visit>::visit_supports_condition_types(&mut **self, node)
2673 }
2674
2675 #[inline]
2676 fn visit_supports_feature(&mut self, node: &SupportsFeature) {
2677 <V as Visit>::visit_supports_feature(&mut **self, node)
2678 }
2679
2680 #[inline]
2681 fn visit_supports_in_parens(&mut self, node: &SupportsInParens) {
2682 <V as Visit>::visit_supports_in_parens(&mut **self, node)
2683 }
2684
2685 #[inline]
2686 fn visit_supports_not(&mut self, node: &SupportsNot) {
2687 <V as Visit>::visit_supports_not(&mut **self, node)
2688 }
2689
2690 #[inline]
2691 fn visit_supports_or(&mut self, node: &SupportsOr) {
2692 <V as Visit>::visit_supports_or(&mut **self, node)
2693 }
2694
2695 #[inline]
2696 fn visit_tag_name_selector(&mut self, node: &TagNameSelector) {
2697 <V as Visit>::visit_tag_name_selector(&mut **self, node)
2698 }
2699
2700 #[inline]
2701 fn visit_time(&mut self, node: &Time) {
2702 <V as Visit>::visit_time(&mut **self, node)
2703 }
2704
2705 #[inline]
2706 fn visit_time_percentage(&mut self, node: &TimePercentage) {
2707 <V as Visit>::visit_time_percentage(&mut **self, node)
2708 }
2709
2710 #[inline]
2711 fn visit_token(&mut self, node: &Token) {
2712 <V as Visit>::visit_token(&mut **self, node)
2713 }
2714
2715 #[inline]
2716 fn visit_token_and_span(&mut self, node: &TokenAndSpan) {
2717 <V as Visit>::visit_token_and_span(&mut **self, node)
2718 }
2719
2720 #[inline]
2721 fn visit_type_selector(&mut self, node: &TypeSelector) {
2722 <V as Visit>::visit_type_selector(&mut **self, node)
2723 }
2724
2725 #[inline]
2726 fn visit_unicode_range(&mut self, node: &UnicodeRange) {
2727 <V as Visit>::visit_unicode_range(&mut **self, node)
2728 }
2729
2730 #[inline]
2731 fn visit_universal_selector(&mut self, node: &UniversalSelector) {
2732 <V as Visit>::visit_universal_selector(&mut **self, node)
2733 }
2734
2735 #[inline]
2736 fn visit_unknown_dimension(&mut self, node: &UnknownDimension) {
2737 <V as Visit>::visit_unknown_dimension(&mut **self, node)
2738 }
2739
2740 #[inline]
2741 fn visit_url(&mut self, node: &Url) {
2742 <V as Visit>::visit_url(&mut **self, node)
2743 }
2744
2745 #[inline]
2746 fn visit_url_key_value(&mut self, node: &UrlKeyValue) {
2747 <V as Visit>::visit_url_key_value(&mut **self, node)
2748 }
2749
2750 #[inline]
2751 fn visit_url_modifier(&mut self, node: &UrlModifier) {
2752 <V as Visit>::visit_url_modifier(&mut **self, node)
2753 }
2754
2755 #[inline]
2756 fn visit_url_modifiers(&mut self, node: &[UrlModifier]) {
2757 <V as Visit>::visit_url_modifiers(&mut **self, node)
2758 }
2759
2760 #[inline]
2761 fn visit_url_value(&mut self, node: &UrlValue) {
2762 <V as Visit>::visit_url_value(&mut **self, node)
2763 }
2764
2765 #[inline]
2766 fn visit_url_value_raw(&mut self, node: &UrlValueRaw) {
2767 <V as Visit>::visit_url_value_raw(&mut **self, node)
2768 }
2769
2770 #[inline]
2771 fn visit_wq_name(&mut self, node: &WqName) {
2772 <V as Visit>::visit_wq_name(&mut **self, node)
2773 }
2774}
2775impl<V> Visit for Box<V>
2776where
2777 V: ?Sized + Visit,
2778{
2779 #[inline]
2780 fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase) {
2781 <V as Visit>::visit_absolute_color_base(&mut **self, node)
2782 }
2783
2784 #[inline]
2785 fn visit_alpha_value(&mut self, node: &AlphaValue) {
2786 <V as Visit>::visit_alpha_value(&mut **self, node)
2787 }
2788
2789 #[inline]
2790 fn visit_an_plus_b(&mut self, node: &AnPlusB) {
2791 <V as Visit>::visit_an_plus_b(&mut **self, node)
2792 }
2793
2794 #[inline]
2795 fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation) {
2796 <V as Visit>::visit_an_plus_b_notation(&mut **self, node)
2797 }
2798
2799 #[inline]
2800 fn visit_angle(&mut self, node: &Angle) {
2801 <V as Visit>::visit_angle(&mut **self, node)
2802 }
2803
2804 #[inline]
2805 fn visit_angle_percentage(&mut self, node: &AnglePercentage) {
2806 <V as Visit>::visit_angle_percentage(&mut **self, node)
2807 }
2808
2809 #[inline]
2810 fn visit_any_namespace(&mut self, node: &AnyNamespace) {
2811 <V as Visit>::visit_any_namespace(&mut **self, node)
2812 }
2813
2814 #[inline]
2815 fn visit_at_rule(&mut self, node: &AtRule) {
2816 <V as Visit>::visit_at_rule(&mut **self, node)
2817 }
2818
2819 #[inline]
2820 fn visit_at_rule_name(&mut self, node: &AtRuleName) {
2821 <V as Visit>::visit_at_rule_name(&mut **self, node)
2822 }
2823
2824 #[inline]
2825 fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude) {
2826 <V as Visit>::visit_at_rule_prelude(&mut **self, node)
2827 }
2828
2829 #[inline]
2830 fn visit_atom(&mut self, node: &swc_atoms::Atom) {
2831 <V as Visit>::visit_atom(&mut **self, node)
2832 }
2833
2834 #[inline]
2835 fn visit_attribute_selector(&mut self, node: &AttributeSelector) {
2836 <V as Visit>::visit_attribute_selector(&mut **self, node)
2837 }
2838
2839 #[inline]
2840 fn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher) {
2841 <V as Visit>::visit_attribute_selector_matcher(&mut **self, node)
2842 }
2843
2844 #[inline]
2845 fn visit_attribute_selector_matcher_value(&mut self, node: &AttributeSelectorMatcherValue) {
2846 <V as Visit>::visit_attribute_selector_matcher_value(&mut **self, node)
2847 }
2848
2849 #[inline]
2850 fn visit_attribute_selector_modifier(&mut self, node: &AttributeSelectorModifier) {
2851 <V as Visit>::visit_attribute_selector_modifier(&mut **self, node)
2852 }
2853
2854 #[inline]
2855 fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue) {
2856 <V as Visit>::visit_attribute_selector_value(&mut **self, node)
2857 }
2858
2859 #[inline]
2860 fn visit_bin_op(&mut self, node: &BinOp) {
2861 <V as Visit>::visit_bin_op(&mut **self, node)
2862 }
2863
2864 #[inline]
2865 fn visit_calc_operator(&mut self, node: &CalcOperator) {
2866 <V as Visit>::visit_calc_operator(&mut **self, node)
2867 }
2868
2869 #[inline]
2870 fn visit_calc_operator_type(&mut self, node: &CalcOperatorType) {
2871 <V as Visit>::visit_calc_operator_type(&mut **self, node)
2872 }
2873
2874 #[inline]
2875 fn visit_calc_product(&mut self, node: &CalcProduct) {
2876 <V as Visit>::visit_calc_product(&mut **self, node)
2877 }
2878
2879 #[inline]
2880 fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator) {
2881 <V as Visit>::visit_calc_product_or_operator(&mut **self, node)
2882 }
2883
2884 #[inline]
2885 fn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator]) {
2886 <V as Visit>::visit_calc_product_or_operators(&mut **self, node)
2887 }
2888
2889 #[inline]
2890 fn visit_calc_sum(&mut self, node: &CalcSum) {
2891 <V as Visit>::visit_calc_sum(&mut **self, node)
2892 }
2893
2894 #[inline]
2895 fn visit_calc_value(&mut self, node: &CalcValue) {
2896 <V as Visit>::visit_calc_value(&mut **self, node)
2897 }
2898
2899 #[inline]
2900 fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator) {
2901 <V as Visit>::visit_calc_value_or_operator(&mut **self, node)
2902 }
2903
2904 #[inline]
2905 fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator]) {
2906 <V as Visit>::visit_calc_value_or_operators(&mut **self, node)
2907 }
2908
2909 #[inline]
2910 fn visit_class_selector(&mut self, node: &ClassSelector) {
2911 <V as Visit>::visit_class_selector(&mut **self, node)
2912 }
2913
2914 #[inline]
2915 fn visit_cmyk_component(&mut self, node: &CmykComponent) {
2916 <V as Visit>::visit_cmyk_component(&mut **self, node)
2917 }
2918
2919 #[inline]
2920 fn visit_color(&mut self, node: &Color) {
2921 <V as Visit>::visit_color(&mut **self, node)
2922 }
2923
2924 #[inline]
2925 fn visit_color_profile_name(&mut self, node: &ColorProfileName) {
2926 <V as Visit>::visit_color_profile_name(&mut **self, node)
2927 }
2928
2929 #[inline]
2930 fn visit_combinator(&mut self, node: &Combinator) {
2931 <V as Visit>::visit_combinator(&mut **self, node)
2932 }
2933
2934 #[inline]
2935 fn visit_combinator_value(&mut self, node: &CombinatorValue) {
2936 <V as Visit>::visit_combinator_value(&mut **self, node)
2937 }
2938
2939 #[inline]
2940 fn visit_complex_selector(&mut self, node: &ComplexSelector) {
2941 <V as Visit>::visit_complex_selector(&mut **self, node)
2942 }
2943
2944 #[inline]
2945 fn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren) {
2946 <V as Visit>::visit_complex_selector_children(&mut **self, node)
2947 }
2948
2949 #[inline]
2950 fn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren]) {
2951 <V as Visit>::visit_complex_selector_childrens(&mut **self, node)
2952 }
2953
2954 #[inline]
2955 fn visit_complex_selectors(&mut self, node: &[ComplexSelector]) {
2956 <V as Visit>::visit_complex_selectors(&mut **self, node)
2957 }
2958
2959 #[inline]
2960 fn visit_component_value(&mut self, node: &ComponentValue) {
2961 <V as Visit>::visit_component_value(&mut **self, node)
2962 }
2963
2964 #[inline]
2965 fn visit_component_values(&mut self, node: &[ComponentValue]) {
2966 <V as Visit>::visit_component_values(&mut **self, node)
2967 }
2968
2969 #[inline]
2970 fn visit_compound_selector(&mut self, node: &CompoundSelector) {
2971 <V as Visit>::visit_compound_selector(&mut **self, node)
2972 }
2973
2974 #[inline]
2975 fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList) {
2976 <V as Visit>::visit_compound_selector_list(&mut **self, node)
2977 }
2978
2979 #[inline]
2980 fn visit_compound_selectors(&mut self, node: &[CompoundSelector]) {
2981 <V as Visit>::visit_compound_selectors(&mut **self, node)
2982 }
2983
2984 #[inline]
2985 fn visit_container_condition(&mut self, node: &ContainerCondition) {
2986 <V as Visit>::visit_container_condition(&mut **self, node)
2987 }
2988
2989 #[inline]
2990 fn visit_container_name(&mut self, node: &ContainerName) {
2991 <V as Visit>::visit_container_name(&mut **self, node)
2992 }
2993
2994 #[inline]
2995 fn visit_container_query(&mut self, node: &ContainerQuery) {
2996 <V as Visit>::visit_container_query(&mut **self, node)
2997 }
2998
2999 #[inline]
3000 fn visit_container_query_and(&mut self, node: &ContainerQueryAnd) {
3001 <V as Visit>::visit_container_query_and(&mut **self, node)
3002 }
3003
3004 #[inline]
3005 fn visit_container_query_not(&mut self, node: &ContainerQueryNot) {
3006 <V as Visit>::visit_container_query_not(&mut **self, node)
3007 }
3008
3009 #[inline]
3010 fn visit_container_query_or(&mut self, node: &ContainerQueryOr) {
3011 <V as Visit>::visit_container_query_or(&mut **self, node)
3012 }
3013
3014 #[inline]
3015 fn visit_container_query_type(&mut self, node: &ContainerQueryType) {
3016 <V as Visit>::visit_container_query_type(&mut **self, node)
3017 }
3018
3019 #[inline]
3020 fn visit_container_query_types(&mut self, node: &[ContainerQueryType]) {
3021 <V as Visit>::visit_container_query_types(&mut **self, node)
3022 }
3023
3024 #[inline]
3025 fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName) {
3026 <V as Visit>::visit_custom_highlight_name(&mut **self, node)
3027 }
3028
3029 #[inline]
3030 fn visit_custom_ident(&mut self, node: &CustomIdent) {
3031 <V as Visit>::visit_custom_ident(&mut **self, node)
3032 }
3033
3034 #[inline]
3035 fn visit_custom_idents(&mut self, node: &[CustomIdent]) {
3036 <V as Visit>::visit_custom_idents(&mut **self, node)
3037 }
3038
3039 #[inline]
3040 fn visit_custom_media_query(&mut self, node: &CustomMediaQuery) {
3041 <V as Visit>::visit_custom_media_query(&mut **self, node)
3042 }
3043
3044 #[inline]
3045 fn visit_custom_media_query_media_type(&mut self, node: &CustomMediaQueryMediaType) {
3046 <V as Visit>::visit_custom_media_query_media_type(&mut **self, node)
3047 }
3048
3049 #[inline]
3050 fn visit_custom_property_name(&mut self, node: &CustomPropertyName) {
3051 <V as Visit>::visit_custom_property_name(&mut **self, node)
3052 }
3053
3054 #[inline]
3055 fn visit_dashed_ident(&mut self, node: &DashedIdent) {
3056 <V as Visit>::visit_dashed_ident(&mut **self, node)
3057 }
3058
3059 #[inline]
3060 fn visit_declaration(&mut self, node: &Declaration) {
3061 <V as Visit>::visit_declaration(&mut **self, node)
3062 }
3063
3064 #[inline]
3065 fn visit_declaration_name(&mut self, node: &DeclarationName) {
3066 <V as Visit>::visit_declaration_name(&mut **self, node)
3067 }
3068
3069 #[inline]
3070 fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule) {
3071 <V as Visit>::visit_declaration_or_at_rule(&mut **self, node)
3072 }
3073
3074 #[inline]
3075 fn visit_delimiter(&mut self, node: &Delimiter) {
3076 <V as Visit>::visit_delimiter(&mut **self, node)
3077 }
3078
3079 #[inline]
3080 fn visit_delimiter_value(&mut self, node: &DelimiterValue) {
3081 <V as Visit>::visit_delimiter_value(&mut **self, node)
3082 }
3083
3084 #[inline]
3085 fn visit_dimension(&mut self, node: &Dimension) {
3086 <V as Visit>::visit_dimension(&mut **self, node)
3087 }
3088
3089 #[inline]
3090 fn visit_dimension_token(&mut self, node: &DimensionToken) {
3091 <V as Visit>::visit_dimension_token(&mut **self, node)
3092 }
3093
3094 #[inline]
3095 fn visit_document_prelude(&mut self, node: &DocumentPrelude) {
3096 <V as Visit>::visit_document_prelude(&mut **self, node)
3097 }
3098
3099 #[inline]
3100 fn visit_document_prelude_matching_function(&mut self, node: &DocumentPreludeMatchingFunction) {
3101 <V as Visit>::visit_document_prelude_matching_function(&mut **self, node)
3102 }
3103
3104 #[inline]
3105 fn visit_document_prelude_matching_functions(
3106 &mut self,
3107 node: &[DocumentPreludeMatchingFunction],
3108 ) {
3109 <V as Visit>::visit_document_prelude_matching_functions(&mut **self, node)
3110 }
3111
3112 #[inline]
3113 fn visit_extension_name(&mut self, node: &ExtensionName) {
3114 <V as Visit>::visit_extension_name(&mut **self, node)
3115 }
3116
3117 #[inline]
3118 fn visit_family_name(&mut self, node: &FamilyName) {
3119 <V as Visit>::visit_family_name(&mut **self, node)
3120 }
3121
3122 #[inline]
3123 fn visit_family_names(&mut self, node: &[FamilyName]) {
3124 <V as Visit>::visit_family_names(&mut **self, node)
3125 }
3126
3127 #[inline]
3128 fn visit_flex(&mut self, node: &Flex) {
3129 <V as Visit>::visit_flex(&mut **self, node)
3130 }
3131
3132 #[inline]
3133 fn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude) {
3134 <V as Visit>::visit_font_feature_values_prelude(&mut **self, node)
3135 }
3136
3137 #[inline]
3138 fn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector) {
3139 <V as Visit>::visit_forgiving_complex_selector(&mut **self, node)
3140 }
3141
3142 #[inline]
3143 fn visit_forgiving_complex_selectors(&mut self, node: &[ForgivingComplexSelector]) {
3144 <V as Visit>::visit_forgiving_complex_selectors(&mut **self, node)
3145 }
3146
3147 #[inline]
3148 fn visit_forgiving_relative_selector(&mut self, node: &ForgivingRelativeSelector) {
3149 <V as Visit>::visit_forgiving_relative_selector(&mut **self, node)
3150 }
3151
3152 #[inline]
3153 fn visit_forgiving_relative_selector_list(&mut self, node: &ForgivingRelativeSelectorList) {
3154 <V as Visit>::visit_forgiving_relative_selector_list(&mut **self, node)
3155 }
3156
3157 #[inline]
3158 fn visit_forgiving_relative_selectors(&mut self, node: &[ForgivingRelativeSelector]) {
3159 <V as Visit>::visit_forgiving_relative_selectors(&mut **self, node)
3160 }
3161
3162 #[inline]
3163 fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList) {
3164 <V as Visit>::visit_forgiving_selector_list(&mut **self, node)
3165 }
3166
3167 #[inline]
3168 fn visit_frequency(&mut self, node: &Frequency) {
3169 <V as Visit>::visit_frequency(&mut **self, node)
3170 }
3171
3172 #[inline]
3173 fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage) {
3174 <V as Visit>::visit_frequency_percentage(&mut **self, node)
3175 }
3176
3177 #[inline]
3178 fn visit_function(&mut self, node: &Function) {
3179 <V as Visit>::visit_function(&mut **self, node)
3180 }
3181
3182 #[inline]
3183 fn visit_function_name(&mut self, node: &FunctionName) {
3184 <V as Visit>::visit_function_name(&mut **self, node)
3185 }
3186
3187 #[inline]
3188 fn visit_general_enclosed(&mut self, node: &GeneralEnclosed) {
3189 <V as Visit>::visit_general_enclosed(&mut **self, node)
3190 }
3191
3192 #[inline]
3193 fn visit_hex_color(&mut self, node: &HexColor) {
3194 <V as Visit>::visit_hex_color(&mut **self, node)
3195 }
3196
3197 #[inline]
3198 fn visit_hue(&mut self, node: &Hue) {
3199 <V as Visit>::visit_hue(&mut **self, node)
3200 }
3201
3202 #[inline]
3203 fn visit_id_selector(&mut self, node: &IdSelector) {
3204 <V as Visit>::visit_id_selector(&mut **self, node)
3205 }
3206
3207 #[inline]
3208 fn visit_ident(&mut self, node: &Ident) {
3209 <V as Visit>::visit_ident(&mut **self, node)
3210 }
3211
3212 #[inline]
3213 fn visit_idents(&mut self, node: &[Ident]) {
3214 <V as Visit>::visit_idents(&mut **self, node)
3215 }
3216
3217 #[inline]
3218 fn visit_import_conditions(&mut self, node: &ImportConditions) {
3219 <V as Visit>::visit_import_conditions(&mut **self, node)
3220 }
3221
3222 #[inline]
3223 fn visit_import_href(&mut self, node: &ImportHref) {
3224 <V as Visit>::visit_import_href(&mut **self, node)
3225 }
3226
3227 #[inline]
3228 fn visit_import_layer_name(&mut self, node: &ImportLayerName) {
3229 <V as Visit>::visit_import_layer_name(&mut **self, node)
3230 }
3231
3232 #[inline]
3233 fn visit_import_prelude(&mut self, node: &ImportPrelude) {
3234 <V as Visit>::visit_import_prelude(&mut **self, node)
3235 }
3236
3237 #[inline]
3238 fn visit_important_flag(&mut self, node: &ImportantFlag) {
3239 <V as Visit>::visit_important_flag(&mut **self, node)
3240 }
3241
3242 #[inline]
3243 fn visit_integer(&mut self, node: &Integer) {
3244 <V as Visit>::visit_integer(&mut **self, node)
3245 }
3246
3247 #[inline]
3248 fn visit_keyframe_block(&mut self, node: &KeyframeBlock) {
3249 <V as Visit>::visit_keyframe_block(&mut **self, node)
3250 }
3251
3252 #[inline]
3253 fn visit_keyframe_selector(&mut self, node: &KeyframeSelector) {
3254 <V as Visit>::visit_keyframe_selector(&mut **self, node)
3255 }
3256
3257 #[inline]
3258 fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector]) {
3259 <V as Visit>::visit_keyframe_selectors(&mut **self, node)
3260 }
3261
3262 #[inline]
3263 fn visit_keyframes_name(&mut self, node: &KeyframesName) {
3264 <V as Visit>::visit_keyframes_name(&mut **self, node)
3265 }
3266
3267 #[inline]
3268 fn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction) {
3269 <V as Visit>::visit_keyframes_pseudo_function(&mut **self, node)
3270 }
3271
3272 #[inline]
3273 fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix) {
3274 <V as Visit>::visit_keyframes_pseudo_prefix(&mut **self, node)
3275 }
3276
3277 #[inline]
3278 fn visit_layer_name(&mut self, node: &LayerName) {
3279 <V as Visit>::visit_layer_name(&mut **self, node)
3280 }
3281
3282 #[inline]
3283 fn visit_layer_name_list(&mut self, node: &LayerNameList) {
3284 <V as Visit>::visit_layer_name_list(&mut **self, node)
3285 }
3286
3287 #[inline]
3288 fn visit_layer_names(&mut self, node: &[LayerName]) {
3289 <V as Visit>::visit_layer_names(&mut **self, node)
3290 }
3291
3292 #[inline]
3293 fn visit_layer_prelude(&mut self, node: &LayerPrelude) {
3294 <V as Visit>::visit_layer_prelude(&mut **self, node)
3295 }
3296
3297 #[inline]
3298 fn visit_length(&mut self, node: &Length) {
3299 <V as Visit>::visit_length(&mut **self, node)
3300 }
3301
3302 #[inline]
3303 fn visit_length_percentage(&mut self, node: &LengthPercentage) {
3304 <V as Visit>::visit_length_percentage(&mut **self, node)
3305 }
3306
3307 #[inline]
3308 fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues) {
3309 <V as Visit>::visit_list_of_component_values(&mut **self, node)
3310 }
3311
3312 #[inline]
3313 fn visit_media_and(&mut self, node: &MediaAnd) {
3314 <V as Visit>::visit_media_and(&mut **self, node)
3315 }
3316
3317 #[inline]
3318 fn visit_media_condition(&mut self, node: &MediaCondition) {
3319 <V as Visit>::visit_media_condition(&mut **self, node)
3320 }
3321
3322 #[inline]
3323 fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType) {
3324 <V as Visit>::visit_media_condition_all_type(&mut **self, node)
3325 }
3326
3327 #[inline]
3328 fn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType]) {
3329 <V as Visit>::visit_media_condition_all_types(&mut **self, node)
3330 }
3331
3332 #[inline]
3333 fn visit_media_condition_type(&mut self, node: &MediaConditionType) {
3334 <V as Visit>::visit_media_condition_type(&mut **self, node)
3335 }
3336
3337 #[inline]
3338 fn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr) {
3339 <V as Visit>::visit_media_condition_without_or(&mut **self, node)
3340 }
3341
3342 #[inline]
3343 fn visit_media_condition_without_or_type(&mut self, node: &MediaConditionWithoutOrType) {
3344 <V as Visit>::visit_media_condition_without_or_type(&mut **self, node)
3345 }
3346
3347 #[inline]
3348 fn visit_media_condition_without_or_types(&mut self, node: &[MediaConditionWithoutOrType]) {
3349 <V as Visit>::visit_media_condition_without_or_types(&mut **self, node)
3350 }
3351
3352 #[inline]
3353 fn visit_media_feature(&mut self, node: &MediaFeature) {
3354 <V as Visit>::visit_media_feature(&mut **self, node)
3355 }
3356
3357 #[inline]
3358 fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean) {
3359 <V as Visit>::visit_media_feature_boolean(&mut **self, node)
3360 }
3361
3362 #[inline]
3363 fn visit_media_feature_name(&mut self, node: &MediaFeatureName) {
3364 <V as Visit>::visit_media_feature_name(&mut **self, node)
3365 }
3366
3367 #[inline]
3368 fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain) {
3369 <V as Visit>::visit_media_feature_plain(&mut **self, node)
3370 }
3371
3372 #[inline]
3373 fn visit_media_feature_range(&mut self, node: &MediaFeatureRange) {
3374 <V as Visit>::visit_media_feature_range(&mut **self, node)
3375 }
3376
3377 #[inline]
3378 fn visit_media_feature_range_comparison(&mut self, node: &MediaFeatureRangeComparison) {
3379 <V as Visit>::visit_media_feature_range_comparison(&mut **self, node)
3380 }
3381
3382 #[inline]
3383 fn visit_media_feature_range_interval(&mut self, node: &MediaFeatureRangeInterval) {
3384 <V as Visit>::visit_media_feature_range_interval(&mut **self, node)
3385 }
3386
3387 #[inline]
3388 fn visit_media_feature_value(&mut self, node: &MediaFeatureValue) {
3389 <V as Visit>::visit_media_feature_value(&mut **self, node)
3390 }
3391
3392 #[inline]
3393 fn visit_media_in_parens(&mut self, node: &MediaInParens) {
3394 <V as Visit>::visit_media_in_parens(&mut **self, node)
3395 }
3396
3397 #[inline]
3398 fn visit_media_not(&mut self, node: &MediaNot) {
3399 <V as Visit>::visit_media_not(&mut **self, node)
3400 }
3401
3402 #[inline]
3403 fn visit_media_or(&mut self, node: &MediaOr) {
3404 <V as Visit>::visit_media_or(&mut **self, node)
3405 }
3406
3407 #[inline]
3408 fn visit_media_query(&mut self, node: &MediaQuery) {
3409 <V as Visit>::visit_media_query(&mut **self, node)
3410 }
3411
3412 #[inline]
3413 fn visit_media_query_list(&mut self, node: &MediaQueryList) {
3414 <V as Visit>::visit_media_query_list(&mut **self, node)
3415 }
3416
3417 #[inline]
3418 fn visit_media_querys(&mut self, node: &[MediaQuery]) {
3419 <V as Visit>::visit_media_querys(&mut **self, node)
3420 }
3421
3422 #[inline]
3423 fn visit_media_type(&mut self, node: &MediaType) {
3424 <V as Visit>::visit_media_type(&mut **self, node)
3425 }
3426
3427 #[inline]
3428 fn visit_named_namespace(&mut self, node: &NamedNamespace) {
3429 <V as Visit>::visit_named_namespace(&mut **self, node)
3430 }
3431
3432 #[inline]
3433 fn visit_namespace(&mut self, node: &Namespace) {
3434 <V as Visit>::visit_namespace(&mut **self, node)
3435 }
3436
3437 #[inline]
3438 fn visit_namespace_prefix(&mut self, node: &NamespacePrefix) {
3439 <V as Visit>::visit_namespace_prefix(&mut **self, node)
3440 }
3441
3442 #[inline]
3443 fn visit_namespace_prelude(&mut self, node: &NamespacePrelude) {
3444 <V as Visit>::visit_namespace_prelude(&mut **self, node)
3445 }
3446
3447 #[inline]
3448 fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri) {
3449 <V as Visit>::visit_namespace_prelude_uri(&mut **self, node)
3450 }
3451
3452 #[inline]
3453 fn visit_nesting_selector(&mut self, node: &NestingSelector) {
3454 <V as Visit>::visit_nesting_selector(&mut **self, node)
3455 }
3456
3457 #[inline]
3458 fn visit_number(&mut self, node: &Number) {
3459 <V as Visit>::visit_number(&mut **self, node)
3460 }
3461
3462 #[inline]
3463 fn visit_number_type(&mut self, node: &NumberType) {
3464 <V as Visit>::visit_number_type(&mut **self, node)
3465 }
3466
3467 #[inline]
3468 fn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>) {
3469 <V as Visit>::visit_opt_at_rule_prelude(&mut **self, node)
3470 }
3471
3472 #[inline]
3473 fn visit_opt_atom(&mut self, node: &Option<swc_atoms::Atom>) {
3474 <V as Visit>::visit_opt_atom(&mut **self, node)
3475 }
3476
3477 #[inline]
3478 fn visit_opt_attribute_selector_matcher(&mut self, node: &Option<AttributeSelectorMatcher>) {
3479 <V as Visit>::visit_opt_attribute_selector_matcher(&mut **self, node)
3480 }
3481
3482 #[inline]
3483 fn visit_opt_attribute_selector_modifier(&mut self, node: &Option<AttributeSelectorModifier>) {
3484 <V as Visit>::visit_opt_attribute_selector_modifier(&mut **self, node)
3485 }
3486
3487 #[inline]
3488 fn visit_opt_attribute_selector_value(&mut self, node: &Option<AttributeSelectorValue>) {
3489 <V as Visit>::visit_opt_attribute_selector_value(&mut **self, node)
3490 }
3491
3492 #[inline]
3493 fn visit_opt_combinator(&mut self, node: &Option<Combinator>) {
3494 <V as Visit>::visit_opt_combinator(&mut **self, node)
3495 }
3496
3497 #[inline]
3498 fn visit_opt_container_name(&mut self, node: &Option<ContainerName>) {
3499 <V as Visit>::visit_opt_container_name(&mut **self, node)
3500 }
3501
3502 #[inline]
3503 fn visit_opt_forgiving_selector_list(&mut self, node: &Option<ForgivingSelectorList>) {
3504 <V as Visit>::visit_opt_forgiving_selector_list(&mut **self, node)
3505 }
3506
3507 #[inline]
3508 fn visit_opt_function(&mut self, node: &Option<Box<Function>>) {
3509 <V as Visit>::visit_opt_function(&mut **self, node)
3510 }
3511
3512 #[inline]
3513 fn visit_opt_ident(&mut self, node: &Option<Ident>) {
3514 <V as Visit>::visit_opt_ident(&mut **self, node)
3515 }
3516
3517 #[inline]
3518 fn visit_opt_import_conditions(&mut self, node: &Option<Box<ImportConditions>>) {
3519 <V as Visit>::visit_opt_import_conditions(&mut **self, node)
3520 }
3521
3522 #[inline]
3523 fn visit_opt_import_layer_name(&mut self, node: &Option<Box<ImportLayerName>>) {
3524 <V as Visit>::visit_opt_import_layer_name(&mut **self, node)
3525 }
3526
3527 #[inline]
3528 fn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>) {
3529 <V as Visit>::visit_opt_important_flag(&mut **self, node)
3530 }
3531
3532 #[inline]
3533 fn visit_opt_media_condition_type(&mut self, node: &Option<Box<MediaConditionType>>) {
3534 <V as Visit>::visit_opt_media_condition_type(&mut **self, node)
3535 }
3536
3537 #[inline]
3538 fn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>) {
3539 <V as Visit>::visit_opt_media_query_list(&mut **self, node)
3540 }
3541
3542 #[inline]
3543 fn visit_opt_media_type(&mut self, node: &Option<MediaType>) {
3544 <V as Visit>::visit_opt_media_type(&mut **self, node)
3545 }
3546
3547 #[inline]
3548 fn visit_opt_namespace(&mut self, node: &Option<Namespace>) {
3549 <V as Visit>::visit_opt_namespace(&mut **self, node)
3550 }
3551
3552 #[inline]
3553 fn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>) {
3554 <V as Visit>::visit_opt_namespace_prefix(&mut **self, node)
3555 }
3556
3557 #[inline]
3558 fn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>) {
3559 <V as Visit>::visit_opt_nesting_selector(&mut **self, node)
3560 }
3561
3562 #[inline]
3563 fn visit_opt_number(&mut self, node: &Option<Number>) {
3564 <V as Visit>::visit_opt_number(&mut **self, node)
3565 }
3566
3567 #[inline]
3568 fn visit_opt_page_selector_pseudos(&mut self, node: &Option<Vec<PageSelectorPseudo>>) {
3569 <V as Visit>::visit_opt_page_selector_pseudos(&mut **self, node)
3570 }
3571
3572 #[inline]
3573 fn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>) {
3574 <V as Visit>::visit_opt_page_selector_type(&mut **self, node)
3575 }
3576
3577 #[inline]
3578 fn visit_opt_pseudo_class_selector_childrens(
3579 &mut self,
3580 node: &Option<Vec<PseudoClassSelectorChildren>>,
3581 ) {
3582 <V as Visit>::visit_opt_pseudo_class_selector_childrens(&mut **self, node)
3583 }
3584
3585 #[inline]
3586 fn visit_opt_pseudo_element_selector_childrens(
3587 &mut self,
3588 node: &Option<Vec<PseudoElementSelectorChildren>>,
3589 ) {
3590 <V as Visit>::visit_opt_pseudo_element_selector_childrens(&mut **self, node)
3591 }
3592
3593 #[inline]
3594 fn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>) {
3595 <V as Visit>::visit_opt_simple_block(&mut **self, node)
3596 }
3597
3598 #[inline]
3599 fn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>) {
3600 <V as Visit>::visit_opt_type_selector(&mut **self, node)
3601 }
3602
3603 #[inline]
3604 fn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>) {
3605 <V as Visit>::visit_opt_url_modifiers(&mut **self, node)
3606 }
3607
3608 #[inline]
3609 fn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>) {
3610 <V as Visit>::visit_opt_url_value(&mut **self, node)
3611 }
3612
3613 #[inline]
3614 fn visit_page_selector(&mut self, node: &PageSelector) {
3615 <V as Visit>::visit_page_selector(&mut **self, node)
3616 }
3617
3618 #[inline]
3619 fn visit_page_selector_list(&mut self, node: &PageSelectorList) {
3620 <V as Visit>::visit_page_selector_list(&mut **self, node)
3621 }
3622
3623 #[inline]
3624 fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo) {
3625 <V as Visit>::visit_page_selector_pseudo(&mut **self, node)
3626 }
3627
3628 #[inline]
3629 fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo]) {
3630 <V as Visit>::visit_page_selector_pseudos(&mut **self, node)
3631 }
3632
3633 #[inline]
3634 fn visit_page_selector_type(&mut self, node: &PageSelectorType) {
3635 <V as Visit>::visit_page_selector_type(&mut **self, node)
3636 }
3637
3638 #[inline]
3639 fn visit_page_selectors(&mut self, node: &[PageSelector]) {
3640 <V as Visit>::visit_page_selectors(&mut **self, node)
3641 }
3642
3643 #[inline]
3644 fn visit_percentage(&mut self, node: &Percentage) {
3645 <V as Visit>::visit_percentage(&mut **self, node)
3646 }
3647
3648 #[inline]
3649 fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector) {
3650 <V as Visit>::visit_pseudo_class_selector(&mut **self, node)
3651 }
3652
3653 #[inline]
3654 fn visit_pseudo_class_selector_children(&mut self, node: &PseudoClassSelectorChildren) {
3655 <V as Visit>::visit_pseudo_class_selector_children(&mut **self, node)
3656 }
3657
3658 #[inline]
3659 fn visit_pseudo_class_selector_childrens(&mut self, node: &[PseudoClassSelectorChildren]) {
3660 <V as Visit>::visit_pseudo_class_selector_childrens(&mut **self, node)
3661 }
3662
3663 #[inline]
3664 fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector) {
3665 <V as Visit>::visit_pseudo_element_selector(&mut **self, node)
3666 }
3667
3668 #[inline]
3669 fn visit_pseudo_element_selector_children(&mut self, node: &PseudoElementSelectorChildren) {
3670 <V as Visit>::visit_pseudo_element_selector_children(&mut **self, node)
3671 }
3672
3673 #[inline]
3674 fn visit_pseudo_element_selector_childrens(&mut self, node: &[PseudoElementSelectorChildren]) {
3675 <V as Visit>::visit_pseudo_element_selector_childrens(&mut **self, node)
3676 }
3677
3678 #[inline]
3679 fn visit_qualified_rule(&mut self, node: &QualifiedRule) {
3680 <V as Visit>::visit_qualified_rule(&mut **self, node)
3681 }
3682
3683 #[inline]
3684 fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude) {
3685 <V as Visit>::visit_qualified_rule_prelude(&mut **self, node)
3686 }
3687
3688 #[inline]
3689 fn visit_query_in_parens(&mut self, node: &QueryInParens) {
3690 <V as Visit>::visit_query_in_parens(&mut **self, node)
3691 }
3692
3693 #[inline]
3694 fn visit_ratio(&mut self, node: &Ratio) {
3695 <V as Visit>::visit_ratio(&mut **self, node)
3696 }
3697
3698 #[inline]
3699 fn visit_relative_selector(&mut self, node: &RelativeSelector) {
3700 <V as Visit>::visit_relative_selector(&mut **self, node)
3701 }
3702
3703 #[inline]
3704 fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList) {
3705 <V as Visit>::visit_relative_selector_list(&mut **self, node)
3706 }
3707
3708 #[inline]
3709 fn visit_relative_selectors(&mut self, node: &[RelativeSelector]) {
3710 <V as Visit>::visit_relative_selectors(&mut **self, node)
3711 }
3712
3713 #[inline]
3714 fn visit_resolution(&mut self, node: &Resolution) {
3715 <V as Visit>::visit_resolution(&mut **self, node)
3716 }
3717
3718 #[inline]
3719 fn visit_rule(&mut self, node: &Rule) {
3720 <V as Visit>::visit_rule(&mut **self, node)
3721 }
3722
3723 #[inline]
3724 fn visit_rules(&mut self, node: &[Rule]) {
3725 <V as Visit>::visit_rules(&mut **self, node)
3726 }
3727
3728 #[inline]
3729 fn visit_scope_range(&mut self, node: &ScopeRange) {
3730 <V as Visit>::visit_scope_range(&mut **self, node)
3731 }
3732
3733 #[inline]
3734 fn visit_selector_list(&mut self, node: &SelectorList) {
3735 <V as Visit>::visit_selector_list(&mut **self, node)
3736 }
3737
3738 #[inline]
3739 fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents) {
3740 <V as Visit>::visit_sequence_of_custom_idents(&mut **self, node)
3741 }
3742
3743 #[inline]
3744 fn visit_simple_block(&mut self, node: &SimpleBlock) {
3745 <V as Visit>::visit_simple_block(&mut **self, node)
3746 }
3747
3748 #[inline]
3749 fn visit_size_feature(&mut self, node: &SizeFeature) {
3750 <V as Visit>::visit_size_feature(&mut **self, node)
3751 }
3752
3753 #[inline]
3754 fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean) {
3755 <V as Visit>::visit_size_feature_boolean(&mut **self, node)
3756 }
3757
3758 #[inline]
3759 fn visit_size_feature_name(&mut self, node: &SizeFeatureName) {
3760 <V as Visit>::visit_size_feature_name(&mut **self, node)
3761 }
3762
3763 #[inline]
3764 fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain) {
3765 <V as Visit>::visit_size_feature_plain(&mut **self, node)
3766 }
3767
3768 #[inline]
3769 fn visit_size_feature_range(&mut self, node: &SizeFeatureRange) {
3770 <V as Visit>::visit_size_feature_range(&mut **self, node)
3771 }
3772
3773 #[inline]
3774 fn visit_size_feature_range_comparison(&mut self, node: &SizeFeatureRangeComparison) {
3775 <V as Visit>::visit_size_feature_range_comparison(&mut **self, node)
3776 }
3777
3778 #[inline]
3779 fn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval) {
3780 <V as Visit>::visit_size_feature_range_interval(&mut **self, node)
3781 }
3782
3783 #[inline]
3784 fn visit_size_feature_value(&mut self, node: &SizeFeatureValue) {
3785 <V as Visit>::visit_size_feature_value(&mut **self, node)
3786 }
3787
3788 #[inline]
3789 fn visit_span(&mut self, node: &swc_common::Span) {
3790 <V as Visit>::visit_span(&mut **self, node)
3791 }
3792
3793 #[inline]
3794 fn visit_str(&mut self, node: &Str) {
3795 <V as Visit>::visit_str(&mut **self, node)
3796 }
3797
3798 #[inline]
3799 fn visit_style_block(&mut self, node: &StyleBlock) {
3800 <V as Visit>::visit_style_block(&mut **self, node)
3801 }
3802
3803 #[inline]
3804 fn visit_stylesheet(&mut self, node: &Stylesheet) {
3805 <V as Visit>::visit_stylesheet(&mut **self, node)
3806 }
3807
3808 #[inline]
3809 fn visit_subclass_selector(&mut self, node: &SubclassSelector) {
3810 <V as Visit>::visit_subclass_selector(&mut **self, node)
3811 }
3812
3813 #[inline]
3814 fn visit_subclass_selectors(&mut self, node: &[SubclassSelector]) {
3815 <V as Visit>::visit_subclass_selectors(&mut **self, node)
3816 }
3817
3818 #[inline]
3819 fn visit_supports_and(&mut self, node: &SupportsAnd) {
3820 <V as Visit>::visit_supports_and(&mut **self, node)
3821 }
3822
3823 #[inline]
3824 fn visit_supports_condition(&mut self, node: &SupportsCondition) {
3825 <V as Visit>::visit_supports_condition(&mut **self, node)
3826 }
3827
3828 #[inline]
3829 fn visit_supports_condition_type(&mut self, node: &SupportsConditionType) {
3830 <V as Visit>::visit_supports_condition_type(&mut **self, node)
3831 }
3832
3833 #[inline]
3834 fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType]) {
3835 <V as Visit>::visit_supports_condition_types(&mut **self, node)
3836 }
3837
3838 #[inline]
3839 fn visit_supports_feature(&mut self, node: &SupportsFeature) {
3840 <V as Visit>::visit_supports_feature(&mut **self, node)
3841 }
3842
3843 #[inline]
3844 fn visit_supports_in_parens(&mut self, node: &SupportsInParens) {
3845 <V as Visit>::visit_supports_in_parens(&mut **self, node)
3846 }
3847
3848 #[inline]
3849 fn visit_supports_not(&mut self, node: &SupportsNot) {
3850 <V as Visit>::visit_supports_not(&mut **self, node)
3851 }
3852
3853 #[inline]
3854 fn visit_supports_or(&mut self, node: &SupportsOr) {
3855 <V as Visit>::visit_supports_or(&mut **self, node)
3856 }
3857
3858 #[inline]
3859 fn visit_tag_name_selector(&mut self, node: &TagNameSelector) {
3860 <V as Visit>::visit_tag_name_selector(&mut **self, node)
3861 }
3862
3863 #[inline]
3864 fn visit_time(&mut self, node: &Time) {
3865 <V as Visit>::visit_time(&mut **self, node)
3866 }
3867
3868 #[inline]
3869 fn visit_time_percentage(&mut self, node: &TimePercentage) {
3870 <V as Visit>::visit_time_percentage(&mut **self, node)
3871 }
3872
3873 #[inline]
3874 fn visit_token(&mut self, node: &Token) {
3875 <V as Visit>::visit_token(&mut **self, node)
3876 }
3877
3878 #[inline]
3879 fn visit_token_and_span(&mut self, node: &TokenAndSpan) {
3880 <V as Visit>::visit_token_and_span(&mut **self, node)
3881 }
3882
3883 #[inline]
3884 fn visit_type_selector(&mut self, node: &TypeSelector) {
3885 <V as Visit>::visit_type_selector(&mut **self, node)
3886 }
3887
3888 #[inline]
3889 fn visit_unicode_range(&mut self, node: &UnicodeRange) {
3890 <V as Visit>::visit_unicode_range(&mut **self, node)
3891 }
3892
3893 #[inline]
3894 fn visit_universal_selector(&mut self, node: &UniversalSelector) {
3895 <V as Visit>::visit_universal_selector(&mut **self, node)
3896 }
3897
3898 #[inline]
3899 fn visit_unknown_dimension(&mut self, node: &UnknownDimension) {
3900 <V as Visit>::visit_unknown_dimension(&mut **self, node)
3901 }
3902
3903 #[inline]
3904 fn visit_url(&mut self, node: &Url) {
3905 <V as Visit>::visit_url(&mut **self, node)
3906 }
3907
3908 #[inline]
3909 fn visit_url_key_value(&mut self, node: &UrlKeyValue) {
3910 <V as Visit>::visit_url_key_value(&mut **self, node)
3911 }
3912
3913 #[inline]
3914 fn visit_url_modifier(&mut self, node: &UrlModifier) {
3915 <V as Visit>::visit_url_modifier(&mut **self, node)
3916 }
3917
3918 #[inline]
3919 fn visit_url_modifiers(&mut self, node: &[UrlModifier]) {
3920 <V as Visit>::visit_url_modifiers(&mut **self, node)
3921 }
3922
3923 #[inline]
3924 fn visit_url_value(&mut self, node: &UrlValue) {
3925 <V as Visit>::visit_url_value(&mut **self, node)
3926 }
3927
3928 #[inline]
3929 fn visit_url_value_raw(&mut self, node: &UrlValueRaw) {
3930 <V as Visit>::visit_url_value_raw(&mut **self, node)
3931 }
3932
3933 #[inline]
3934 fn visit_wq_name(&mut self, node: &WqName) {
3935 <V as Visit>::visit_wq_name(&mut **self, node)
3936 }
3937}
3938impl<A, B> Visit for ::swc_visit::Either<A, B>
3939where
3940 A: Visit,
3941 B: Visit,
3942{
3943 #[inline]
3944 fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase) {
3945 match self {
3946 swc_visit::Either::Left(visitor) => Visit::visit_absolute_color_base(visitor, node),
3947 swc_visit::Either::Right(visitor) => Visit::visit_absolute_color_base(visitor, node),
3948 }
3949 }
3950
3951 #[inline]
3952 fn visit_alpha_value(&mut self, node: &AlphaValue) {
3953 match self {
3954 swc_visit::Either::Left(visitor) => Visit::visit_alpha_value(visitor, node),
3955 swc_visit::Either::Right(visitor) => Visit::visit_alpha_value(visitor, node),
3956 }
3957 }
3958
3959 #[inline]
3960 fn visit_an_plus_b(&mut self, node: &AnPlusB) {
3961 match self {
3962 swc_visit::Either::Left(visitor) => Visit::visit_an_plus_b(visitor, node),
3963 swc_visit::Either::Right(visitor) => Visit::visit_an_plus_b(visitor, node),
3964 }
3965 }
3966
3967 #[inline]
3968 fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation) {
3969 match self {
3970 swc_visit::Either::Left(visitor) => Visit::visit_an_plus_b_notation(visitor, node),
3971 swc_visit::Either::Right(visitor) => Visit::visit_an_plus_b_notation(visitor, node),
3972 }
3973 }
3974
3975 #[inline]
3976 fn visit_angle(&mut self, node: &Angle) {
3977 match self {
3978 swc_visit::Either::Left(visitor) => Visit::visit_angle(visitor, node),
3979 swc_visit::Either::Right(visitor) => Visit::visit_angle(visitor, node),
3980 }
3981 }
3982
3983 #[inline]
3984 fn visit_angle_percentage(&mut self, node: &AnglePercentage) {
3985 match self {
3986 swc_visit::Either::Left(visitor) => Visit::visit_angle_percentage(visitor, node),
3987 swc_visit::Either::Right(visitor) => Visit::visit_angle_percentage(visitor, node),
3988 }
3989 }
3990
3991 #[inline]
3992 fn visit_any_namespace(&mut self, node: &AnyNamespace) {
3993 match self {
3994 swc_visit::Either::Left(visitor) => Visit::visit_any_namespace(visitor, node),
3995 swc_visit::Either::Right(visitor) => Visit::visit_any_namespace(visitor, node),
3996 }
3997 }
3998
3999 #[inline]
4000 fn visit_at_rule(&mut self, node: &AtRule) {
4001 match self {
4002 swc_visit::Either::Left(visitor) => Visit::visit_at_rule(visitor, node),
4003 swc_visit::Either::Right(visitor) => Visit::visit_at_rule(visitor, node),
4004 }
4005 }
4006
4007 #[inline]
4008 fn visit_at_rule_name(&mut self, node: &AtRuleName) {
4009 match self {
4010 swc_visit::Either::Left(visitor) => Visit::visit_at_rule_name(visitor, node),
4011 swc_visit::Either::Right(visitor) => Visit::visit_at_rule_name(visitor, node),
4012 }
4013 }
4014
4015 #[inline]
4016 fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude) {
4017 match self {
4018 swc_visit::Either::Left(visitor) => Visit::visit_at_rule_prelude(visitor, node),
4019 swc_visit::Either::Right(visitor) => Visit::visit_at_rule_prelude(visitor, node),
4020 }
4021 }
4022
4023 #[inline]
4024 fn visit_atom(&mut self, node: &swc_atoms::Atom) {
4025 match self {
4026 swc_visit::Either::Left(visitor) => Visit::visit_atom(visitor, node),
4027 swc_visit::Either::Right(visitor) => Visit::visit_atom(visitor, node),
4028 }
4029 }
4030
4031 #[inline]
4032 fn visit_attribute_selector(&mut self, node: &AttributeSelector) {
4033 match self {
4034 swc_visit::Either::Left(visitor) => Visit::visit_attribute_selector(visitor, node),
4035 swc_visit::Either::Right(visitor) => Visit::visit_attribute_selector(visitor, node),
4036 }
4037 }
4038
4039 #[inline]
4040 fn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher) {
4041 match self {
4042 swc_visit::Either::Left(visitor) => {
4043 Visit::visit_attribute_selector_matcher(visitor, node)
4044 }
4045 swc_visit::Either::Right(visitor) => {
4046 Visit::visit_attribute_selector_matcher(visitor, node)
4047 }
4048 }
4049 }
4050
4051 #[inline]
4052 fn visit_attribute_selector_matcher_value(&mut self, node: &AttributeSelectorMatcherValue) {
4053 match self {
4054 swc_visit::Either::Left(visitor) => {
4055 Visit::visit_attribute_selector_matcher_value(visitor, node)
4056 }
4057 swc_visit::Either::Right(visitor) => {
4058 Visit::visit_attribute_selector_matcher_value(visitor, node)
4059 }
4060 }
4061 }
4062
4063 #[inline]
4064 fn visit_attribute_selector_modifier(&mut self, node: &AttributeSelectorModifier) {
4065 match self {
4066 swc_visit::Either::Left(visitor) => {
4067 Visit::visit_attribute_selector_modifier(visitor, node)
4068 }
4069 swc_visit::Either::Right(visitor) => {
4070 Visit::visit_attribute_selector_modifier(visitor, node)
4071 }
4072 }
4073 }
4074
4075 #[inline]
4076 fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue) {
4077 match self {
4078 swc_visit::Either::Left(visitor) => {
4079 Visit::visit_attribute_selector_value(visitor, node)
4080 }
4081 swc_visit::Either::Right(visitor) => {
4082 Visit::visit_attribute_selector_value(visitor, node)
4083 }
4084 }
4085 }
4086
4087 #[inline]
4088 fn visit_bin_op(&mut self, node: &BinOp) {
4089 match self {
4090 swc_visit::Either::Left(visitor) => Visit::visit_bin_op(visitor, node),
4091 swc_visit::Either::Right(visitor) => Visit::visit_bin_op(visitor, node),
4092 }
4093 }
4094
4095 #[inline]
4096 fn visit_calc_operator(&mut self, node: &CalcOperator) {
4097 match self {
4098 swc_visit::Either::Left(visitor) => Visit::visit_calc_operator(visitor, node),
4099 swc_visit::Either::Right(visitor) => Visit::visit_calc_operator(visitor, node),
4100 }
4101 }
4102
4103 #[inline]
4104 fn visit_calc_operator_type(&mut self, node: &CalcOperatorType) {
4105 match self {
4106 swc_visit::Either::Left(visitor) => Visit::visit_calc_operator_type(visitor, node),
4107 swc_visit::Either::Right(visitor) => Visit::visit_calc_operator_type(visitor, node),
4108 }
4109 }
4110
4111 #[inline]
4112 fn visit_calc_product(&mut self, node: &CalcProduct) {
4113 match self {
4114 swc_visit::Either::Left(visitor) => Visit::visit_calc_product(visitor, node),
4115 swc_visit::Either::Right(visitor) => Visit::visit_calc_product(visitor, node),
4116 }
4117 }
4118
4119 #[inline]
4120 fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator) {
4121 match self {
4122 swc_visit::Either::Left(visitor) => {
4123 Visit::visit_calc_product_or_operator(visitor, node)
4124 }
4125 swc_visit::Either::Right(visitor) => {
4126 Visit::visit_calc_product_or_operator(visitor, node)
4127 }
4128 }
4129 }
4130
4131 #[inline]
4132 fn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator]) {
4133 match self {
4134 swc_visit::Either::Left(visitor) => {
4135 Visit::visit_calc_product_or_operators(visitor, node)
4136 }
4137 swc_visit::Either::Right(visitor) => {
4138 Visit::visit_calc_product_or_operators(visitor, node)
4139 }
4140 }
4141 }
4142
4143 #[inline]
4144 fn visit_calc_sum(&mut self, node: &CalcSum) {
4145 match self {
4146 swc_visit::Either::Left(visitor) => Visit::visit_calc_sum(visitor, node),
4147 swc_visit::Either::Right(visitor) => Visit::visit_calc_sum(visitor, node),
4148 }
4149 }
4150
4151 #[inline]
4152 fn visit_calc_value(&mut self, node: &CalcValue) {
4153 match self {
4154 swc_visit::Either::Left(visitor) => Visit::visit_calc_value(visitor, node),
4155 swc_visit::Either::Right(visitor) => Visit::visit_calc_value(visitor, node),
4156 }
4157 }
4158
4159 #[inline]
4160 fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator) {
4161 match self {
4162 swc_visit::Either::Left(visitor) => Visit::visit_calc_value_or_operator(visitor, node),
4163 swc_visit::Either::Right(visitor) => Visit::visit_calc_value_or_operator(visitor, node),
4164 }
4165 }
4166
4167 #[inline]
4168 fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator]) {
4169 match self {
4170 swc_visit::Either::Left(visitor) => Visit::visit_calc_value_or_operators(visitor, node),
4171 swc_visit::Either::Right(visitor) => {
4172 Visit::visit_calc_value_or_operators(visitor, node)
4173 }
4174 }
4175 }
4176
4177 #[inline]
4178 fn visit_class_selector(&mut self, node: &ClassSelector) {
4179 match self {
4180 swc_visit::Either::Left(visitor) => Visit::visit_class_selector(visitor, node),
4181 swc_visit::Either::Right(visitor) => Visit::visit_class_selector(visitor, node),
4182 }
4183 }
4184
4185 #[inline]
4186 fn visit_cmyk_component(&mut self, node: &CmykComponent) {
4187 match self {
4188 swc_visit::Either::Left(visitor) => Visit::visit_cmyk_component(visitor, node),
4189 swc_visit::Either::Right(visitor) => Visit::visit_cmyk_component(visitor, node),
4190 }
4191 }
4192
4193 #[inline]
4194 fn visit_color(&mut self, node: &Color) {
4195 match self {
4196 swc_visit::Either::Left(visitor) => Visit::visit_color(visitor, node),
4197 swc_visit::Either::Right(visitor) => Visit::visit_color(visitor, node),
4198 }
4199 }
4200
4201 #[inline]
4202 fn visit_color_profile_name(&mut self, node: &ColorProfileName) {
4203 match self {
4204 swc_visit::Either::Left(visitor) => Visit::visit_color_profile_name(visitor, node),
4205 swc_visit::Either::Right(visitor) => Visit::visit_color_profile_name(visitor, node),
4206 }
4207 }
4208
4209 #[inline]
4210 fn visit_combinator(&mut self, node: &Combinator) {
4211 match self {
4212 swc_visit::Either::Left(visitor) => Visit::visit_combinator(visitor, node),
4213 swc_visit::Either::Right(visitor) => Visit::visit_combinator(visitor, node),
4214 }
4215 }
4216
4217 #[inline]
4218 fn visit_combinator_value(&mut self, node: &CombinatorValue) {
4219 match self {
4220 swc_visit::Either::Left(visitor) => Visit::visit_combinator_value(visitor, node),
4221 swc_visit::Either::Right(visitor) => Visit::visit_combinator_value(visitor, node),
4222 }
4223 }
4224
4225 #[inline]
4226 fn visit_complex_selector(&mut self, node: &ComplexSelector) {
4227 match self {
4228 swc_visit::Either::Left(visitor) => Visit::visit_complex_selector(visitor, node),
4229 swc_visit::Either::Right(visitor) => Visit::visit_complex_selector(visitor, node),
4230 }
4231 }
4232
4233 #[inline]
4234 fn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren) {
4235 match self {
4236 swc_visit::Either::Left(visitor) => {
4237 Visit::visit_complex_selector_children(visitor, node)
4238 }
4239 swc_visit::Either::Right(visitor) => {
4240 Visit::visit_complex_selector_children(visitor, node)
4241 }
4242 }
4243 }
4244
4245 #[inline]
4246 fn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren]) {
4247 match self {
4248 swc_visit::Either::Left(visitor) => {
4249 Visit::visit_complex_selector_childrens(visitor, node)
4250 }
4251 swc_visit::Either::Right(visitor) => {
4252 Visit::visit_complex_selector_childrens(visitor, node)
4253 }
4254 }
4255 }
4256
4257 #[inline]
4258 fn visit_complex_selectors(&mut self, node: &[ComplexSelector]) {
4259 match self {
4260 swc_visit::Either::Left(visitor) => Visit::visit_complex_selectors(visitor, node),
4261 swc_visit::Either::Right(visitor) => Visit::visit_complex_selectors(visitor, node),
4262 }
4263 }
4264
4265 #[inline]
4266 fn visit_component_value(&mut self, node: &ComponentValue) {
4267 match self {
4268 swc_visit::Either::Left(visitor) => Visit::visit_component_value(visitor, node),
4269 swc_visit::Either::Right(visitor) => Visit::visit_component_value(visitor, node),
4270 }
4271 }
4272
4273 #[inline]
4274 fn visit_component_values(&mut self, node: &[ComponentValue]) {
4275 match self {
4276 swc_visit::Either::Left(visitor) => Visit::visit_component_values(visitor, node),
4277 swc_visit::Either::Right(visitor) => Visit::visit_component_values(visitor, node),
4278 }
4279 }
4280
4281 #[inline]
4282 fn visit_compound_selector(&mut self, node: &CompoundSelector) {
4283 match self {
4284 swc_visit::Either::Left(visitor) => Visit::visit_compound_selector(visitor, node),
4285 swc_visit::Either::Right(visitor) => Visit::visit_compound_selector(visitor, node),
4286 }
4287 }
4288
4289 #[inline]
4290 fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList) {
4291 match self {
4292 swc_visit::Either::Left(visitor) => Visit::visit_compound_selector_list(visitor, node),
4293 swc_visit::Either::Right(visitor) => Visit::visit_compound_selector_list(visitor, node),
4294 }
4295 }
4296
4297 #[inline]
4298 fn visit_compound_selectors(&mut self, node: &[CompoundSelector]) {
4299 match self {
4300 swc_visit::Either::Left(visitor) => Visit::visit_compound_selectors(visitor, node),
4301 swc_visit::Either::Right(visitor) => Visit::visit_compound_selectors(visitor, node),
4302 }
4303 }
4304
4305 #[inline]
4306 fn visit_container_condition(&mut self, node: &ContainerCondition) {
4307 match self {
4308 swc_visit::Either::Left(visitor) => Visit::visit_container_condition(visitor, node),
4309 swc_visit::Either::Right(visitor) => Visit::visit_container_condition(visitor, node),
4310 }
4311 }
4312
4313 #[inline]
4314 fn visit_container_name(&mut self, node: &ContainerName) {
4315 match self {
4316 swc_visit::Either::Left(visitor) => Visit::visit_container_name(visitor, node),
4317 swc_visit::Either::Right(visitor) => Visit::visit_container_name(visitor, node),
4318 }
4319 }
4320
4321 #[inline]
4322 fn visit_container_query(&mut self, node: &ContainerQuery) {
4323 match self {
4324 swc_visit::Either::Left(visitor) => Visit::visit_container_query(visitor, node),
4325 swc_visit::Either::Right(visitor) => Visit::visit_container_query(visitor, node),
4326 }
4327 }
4328
4329 #[inline]
4330 fn visit_container_query_and(&mut self, node: &ContainerQueryAnd) {
4331 match self {
4332 swc_visit::Either::Left(visitor) => Visit::visit_container_query_and(visitor, node),
4333 swc_visit::Either::Right(visitor) => Visit::visit_container_query_and(visitor, node),
4334 }
4335 }
4336
4337 #[inline]
4338 fn visit_container_query_not(&mut self, node: &ContainerQueryNot) {
4339 match self {
4340 swc_visit::Either::Left(visitor) => Visit::visit_container_query_not(visitor, node),
4341 swc_visit::Either::Right(visitor) => Visit::visit_container_query_not(visitor, node),
4342 }
4343 }
4344
4345 #[inline]
4346 fn visit_container_query_or(&mut self, node: &ContainerQueryOr) {
4347 match self {
4348 swc_visit::Either::Left(visitor) => Visit::visit_container_query_or(visitor, node),
4349 swc_visit::Either::Right(visitor) => Visit::visit_container_query_or(visitor, node),
4350 }
4351 }
4352
4353 #[inline]
4354 fn visit_container_query_type(&mut self, node: &ContainerQueryType) {
4355 match self {
4356 swc_visit::Either::Left(visitor) => Visit::visit_container_query_type(visitor, node),
4357 swc_visit::Either::Right(visitor) => Visit::visit_container_query_type(visitor, node),
4358 }
4359 }
4360
4361 #[inline]
4362 fn visit_container_query_types(&mut self, node: &[ContainerQueryType]) {
4363 match self {
4364 swc_visit::Either::Left(visitor) => Visit::visit_container_query_types(visitor, node),
4365 swc_visit::Either::Right(visitor) => Visit::visit_container_query_types(visitor, node),
4366 }
4367 }
4368
4369 #[inline]
4370 fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName) {
4371 match self {
4372 swc_visit::Either::Left(visitor) => Visit::visit_custom_highlight_name(visitor, node),
4373 swc_visit::Either::Right(visitor) => Visit::visit_custom_highlight_name(visitor, node),
4374 }
4375 }
4376
4377 #[inline]
4378 fn visit_custom_ident(&mut self, node: &CustomIdent) {
4379 match self {
4380 swc_visit::Either::Left(visitor) => Visit::visit_custom_ident(visitor, node),
4381 swc_visit::Either::Right(visitor) => Visit::visit_custom_ident(visitor, node),
4382 }
4383 }
4384
4385 #[inline]
4386 fn visit_custom_idents(&mut self, node: &[CustomIdent]) {
4387 match self {
4388 swc_visit::Either::Left(visitor) => Visit::visit_custom_idents(visitor, node),
4389 swc_visit::Either::Right(visitor) => Visit::visit_custom_idents(visitor, node),
4390 }
4391 }
4392
4393 #[inline]
4394 fn visit_custom_media_query(&mut self, node: &CustomMediaQuery) {
4395 match self {
4396 swc_visit::Either::Left(visitor) => Visit::visit_custom_media_query(visitor, node),
4397 swc_visit::Either::Right(visitor) => Visit::visit_custom_media_query(visitor, node),
4398 }
4399 }
4400
4401 #[inline]
4402 fn visit_custom_media_query_media_type(&mut self, node: &CustomMediaQueryMediaType) {
4403 match self {
4404 swc_visit::Either::Left(visitor) => {
4405 Visit::visit_custom_media_query_media_type(visitor, node)
4406 }
4407 swc_visit::Either::Right(visitor) => {
4408 Visit::visit_custom_media_query_media_type(visitor, node)
4409 }
4410 }
4411 }
4412
4413 #[inline]
4414 fn visit_custom_property_name(&mut self, node: &CustomPropertyName) {
4415 match self {
4416 swc_visit::Either::Left(visitor) => Visit::visit_custom_property_name(visitor, node),
4417 swc_visit::Either::Right(visitor) => Visit::visit_custom_property_name(visitor, node),
4418 }
4419 }
4420
4421 #[inline]
4422 fn visit_dashed_ident(&mut self, node: &DashedIdent) {
4423 match self {
4424 swc_visit::Either::Left(visitor) => Visit::visit_dashed_ident(visitor, node),
4425 swc_visit::Either::Right(visitor) => Visit::visit_dashed_ident(visitor, node),
4426 }
4427 }
4428
4429 #[inline]
4430 fn visit_declaration(&mut self, node: &Declaration) {
4431 match self {
4432 swc_visit::Either::Left(visitor) => Visit::visit_declaration(visitor, node),
4433 swc_visit::Either::Right(visitor) => Visit::visit_declaration(visitor, node),
4434 }
4435 }
4436
4437 #[inline]
4438 fn visit_declaration_name(&mut self, node: &DeclarationName) {
4439 match self {
4440 swc_visit::Either::Left(visitor) => Visit::visit_declaration_name(visitor, node),
4441 swc_visit::Either::Right(visitor) => Visit::visit_declaration_name(visitor, node),
4442 }
4443 }
4444
4445 #[inline]
4446 fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule) {
4447 match self {
4448 swc_visit::Either::Left(visitor) => Visit::visit_declaration_or_at_rule(visitor, node),
4449 swc_visit::Either::Right(visitor) => Visit::visit_declaration_or_at_rule(visitor, node),
4450 }
4451 }
4452
4453 #[inline]
4454 fn visit_delimiter(&mut self, node: &Delimiter) {
4455 match self {
4456 swc_visit::Either::Left(visitor) => Visit::visit_delimiter(visitor, node),
4457 swc_visit::Either::Right(visitor) => Visit::visit_delimiter(visitor, node),
4458 }
4459 }
4460
4461 #[inline]
4462 fn visit_delimiter_value(&mut self, node: &DelimiterValue) {
4463 match self {
4464 swc_visit::Either::Left(visitor) => Visit::visit_delimiter_value(visitor, node),
4465 swc_visit::Either::Right(visitor) => Visit::visit_delimiter_value(visitor, node),
4466 }
4467 }
4468
4469 #[inline]
4470 fn visit_dimension(&mut self, node: &Dimension) {
4471 match self {
4472 swc_visit::Either::Left(visitor) => Visit::visit_dimension(visitor, node),
4473 swc_visit::Either::Right(visitor) => Visit::visit_dimension(visitor, node),
4474 }
4475 }
4476
4477 #[inline]
4478 fn visit_dimension_token(&mut self, node: &DimensionToken) {
4479 match self {
4480 swc_visit::Either::Left(visitor) => Visit::visit_dimension_token(visitor, node),
4481 swc_visit::Either::Right(visitor) => Visit::visit_dimension_token(visitor, node),
4482 }
4483 }
4484
4485 #[inline]
4486 fn visit_document_prelude(&mut self, node: &DocumentPrelude) {
4487 match self {
4488 swc_visit::Either::Left(visitor) => Visit::visit_document_prelude(visitor, node),
4489 swc_visit::Either::Right(visitor) => Visit::visit_document_prelude(visitor, node),
4490 }
4491 }
4492
4493 #[inline]
4494 fn visit_document_prelude_matching_function(&mut self, node: &DocumentPreludeMatchingFunction) {
4495 match self {
4496 swc_visit::Either::Left(visitor) => {
4497 Visit::visit_document_prelude_matching_function(visitor, node)
4498 }
4499 swc_visit::Either::Right(visitor) => {
4500 Visit::visit_document_prelude_matching_function(visitor, node)
4501 }
4502 }
4503 }
4504
4505 #[inline]
4506 fn visit_document_prelude_matching_functions(
4507 &mut self,
4508 node: &[DocumentPreludeMatchingFunction],
4509 ) {
4510 match self {
4511 swc_visit::Either::Left(visitor) => {
4512 Visit::visit_document_prelude_matching_functions(visitor, node)
4513 }
4514 swc_visit::Either::Right(visitor) => {
4515 Visit::visit_document_prelude_matching_functions(visitor, node)
4516 }
4517 }
4518 }
4519
4520 #[inline]
4521 fn visit_extension_name(&mut self, node: &ExtensionName) {
4522 match self {
4523 swc_visit::Either::Left(visitor) => Visit::visit_extension_name(visitor, node),
4524 swc_visit::Either::Right(visitor) => Visit::visit_extension_name(visitor, node),
4525 }
4526 }
4527
4528 #[inline]
4529 fn visit_family_name(&mut self, node: &FamilyName) {
4530 match self {
4531 swc_visit::Either::Left(visitor) => Visit::visit_family_name(visitor, node),
4532 swc_visit::Either::Right(visitor) => Visit::visit_family_name(visitor, node),
4533 }
4534 }
4535
4536 #[inline]
4537 fn visit_family_names(&mut self, node: &[FamilyName]) {
4538 match self {
4539 swc_visit::Either::Left(visitor) => Visit::visit_family_names(visitor, node),
4540 swc_visit::Either::Right(visitor) => Visit::visit_family_names(visitor, node),
4541 }
4542 }
4543
4544 #[inline]
4545 fn visit_flex(&mut self, node: &Flex) {
4546 match self {
4547 swc_visit::Either::Left(visitor) => Visit::visit_flex(visitor, node),
4548 swc_visit::Either::Right(visitor) => Visit::visit_flex(visitor, node),
4549 }
4550 }
4551
4552 #[inline]
4553 fn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude) {
4554 match self {
4555 swc_visit::Either::Left(visitor) => {
4556 Visit::visit_font_feature_values_prelude(visitor, node)
4557 }
4558 swc_visit::Either::Right(visitor) => {
4559 Visit::visit_font_feature_values_prelude(visitor, node)
4560 }
4561 }
4562 }
4563
4564 #[inline]
4565 fn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector) {
4566 match self {
4567 swc_visit::Either::Left(visitor) => {
4568 Visit::visit_forgiving_complex_selector(visitor, node)
4569 }
4570 swc_visit::Either::Right(visitor) => {
4571 Visit::visit_forgiving_complex_selector(visitor, node)
4572 }
4573 }
4574 }
4575
4576 #[inline]
4577 fn visit_forgiving_complex_selectors(&mut self, node: &[ForgivingComplexSelector]) {
4578 match self {
4579 swc_visit::Either::Left(visitor) => {
4580 Visit::visit_forgiving_complex_selectors(visitor, node)
4581 }
4582 swc_visit::Either::Right(visitor) => {
4583 Visit::visit_forgiving_complex_selectors(visitor, node)
4584 }
4585 }
4586 }
4587
4588 #[inline]
4589 fn visit_forgiving_relative_selector(&mut self, node: &ForgivingRelativeSelector) {
4590 match self {
4591 swc_visit::Either::Left(visitor) => {
4592 Visit::visit_forgiving_relative_selector(visitor, node)
4593 }
4594 swc_visit::Either::Right(visitor) => {
4595 Visit::visit_forgiving_relative_selector(visitor, node)
4596 }
4597 }
4598 }
4599
4600 #[inline]
4601 fn visit_forgiving_relative_selector_list(&mut self, node: &ForgivingRelativeSelectorList) {
4602 match self {
4603 swc_visit::Either::Left(visitor) => {
4604 Visit::visit_forgiving_relative_selector_list(visitor, node)
4605 }
4606 swc_visit::Either::Right(visitor) => {
4607 Visit::visit_forgiving_relative_selector_list(visitor, node)
4608 }
4609 }
4610 }
4611
4612 #[inline]
4613 fn visit_forgiving_relative_selectors(&mut self, node: &[ForgivingRelativeSelector]) {
4614 match self {
4615 swc_visit::Either::Left(visitor) => {
4616 Visit::visit_forgiving_relative_selectors(visitor, node)
4617 }
4618 swc_visit::Either::Right(visitor) => {
4619 Visit::visit_forgiving_relative_selectors(visitor, node)
4620 }
4621 }
4622 }
4623
4624 #[inline]
4625 fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList) {
4626 match self {
4627 swc_visit::Either::Left(visitor) => Visit::visit_forgiving_selector_list(visitor, node),
4628 swc_visit::Either::Right(visitor) => {
4629 Visit::visit_forgiving_selector_list(visitor, node)
4630 }
4631 }
4632 }
4633
4634 #[inline]
4635 fn visit_frequency(&mut self, node: &Frequency) {
4636 match self {
4637 swc_visit::Either::Left(visitor) => Visit::visit_frequency(visitor, node),
4638 swc_visit::Either::Right(visitor) => Visit::visit_frequency(visitor, node),
4639 }
4640 }
4641
4642 #[inline]
4643 fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage) {
4644 match self {
4645 swc_visit::Either::Left(visitor) => Visit::visit_frequency_percentage(visitor, node),
4646 swc_visit::Either::Right(visitor) => Visit::visit_frequency_percentage(visitor, node),
4647 }
4648 }
4649
4650 #[inline]
4651 fn visit_function(&mut self, node: &Function) {
4652 match self {
4653 swc_visit::Either::Left(visitor) => Visit::visit_function(visitor, node),
4654 swc_visit::Either::Right(visitor) => Visit::visit_function(visitor, node),
4655 }
4656 }
4657
4658 #[inline]
4659 fn visit_function_name(&mut self, node: &FunctionName) {
4660 match self {
4661 swc_visit::Either::Left(visitor) => Visit::visit_function_name(visitor, node),
4662 swc_visit::Either::Right(visitor) => Visit::visit_function_name(visitor, node),
4663 }
4664 }
4665
4666 #[inline]
4667 fn visit_general_enclosed(&mut self, node: &GeneralEnclosed) {
4668 match self {
4669 swc_visit::Either::Left(visitor) => Visit::visit_general_enclosed(visitor, node),
4670 swc_visit::Either::Right(visitor) => Visit::visit_general_enclosed(visitor, node),
4671 }
4672 }
4673
4674 #[inline]
4675 fn visit_hex_color(&mut self, node: &HexColor) {
4676 match self {
4677 swc_visit::Either::Left(visitor) => Visit::visit_hex_color(visitor, node),
4678 swc_visit::Either::Right(visitor) => Visit::visit_hex_color(visitor, node),
4679 }
4680 }
4681
4682 #[inline]
4683 fn visit_hue(&mut self, node: &Hue) {
4684 match self {
4685 swc_visit::Either::Left(visitor) => Visit::visit_hue(visitor, node),
4686 swc_visit::Either::Right(visitor) => Visit::visit_hue(visitor, node),
4687 }
4688 }
4689
4690 #[inline]
4691 fn visit_id_selector(&mut self, node: &IdSelector) {
4692 match self {
4693 swc_visit::Either::Left(visitor) => Visit::visit_id_selector(visitor, node),
4694 swc_visit::Either::Right(visitor) => Visit::visit_id_selector(visitor, node),
4695 }
4696 }
4697
4698 #[inline]
4699 fn visit_ident(&mut self, node: &Ident) {
4700 match self {
4701 swc_visit::Either::Left(visitor) => Visit::visit_ident(visitor, node),
4702 swc_visit::Either::Right(visitor) => Visit::visit_ident(visitor, node),
4703 }
4704 }
4705
4706 #[inline]
4707 fn visit_idents(&mut self, node: &[Ident]) {
4708 match self {
4709 swc_visit::Either::Left(visitor) => Visit::visit_idents(visitor, node),
4710 swc_visit::Either::Right(visitor) => Visit::visit_idents(visitor, node),
4711 }
4712 }
4713
4714 #[inline]
4715 fn visit_import_conditions(&mut self, node: &ImportConditions) {
4716 match self {
4717 swc_visit::Either::Left(visitor) => Visit::visit_import_conditions(visitor, node),
4718 swc_visit::Either::Right(visitor) => Visit::visit_import_conditions(visitor, node),
4719 }
4720 }
4721
4722 #[inline]
4723 fn visit_import_href(&mut self, node: &ImportHref) {
4724 match self {
4725 swc_visit::Either::Left(visitor) => Visit::visit_import_href(visitor, node),
4726 swc_visit::Either::Right(visitor) => Visit::visit_import_href(visitor, node),
4727 }
4728 }
4729
4730 #[inline]
4731 fn visit_import_layer_name(&mut self, node: &ImportLayerName) {
4732 match self {
4733 swc_visit::Either::Left(visitor) => Visit::visit_import_layer_name(visitor, node),
4734 swc_visit::Either::Right(visitor) => Visit::visit_import_layer_name(visitor, node),
4735 }
4736 }
4737
4738 #[inline]
4739 fn visit_import_prelude(&mut self, node: &ImportPrelude) {
4740 match self {
4741 swc_visit::Either::Left(visitor) => Visit::visit_import_prelude(visitor, node),
4742 swc_visit::Either::Right(visitor) => Visit::visit_import_prelude(visitor, node),
4743 }
4744 }
4745
4746 #[inline]
4747 fn visit_important_flag(&mut self, node: &ImportantFlag) {
4748 match self {
4749 swc_visit::Either::Left(visitor) => Visit::visit_important_flag(visitor, node),
4750 swc_visit::Either::Right(visitor) => Visit::visit_important_flag(visitor, node),
4751 }
4752 }
4753
4754 #[inline]
4755 fn visit_integer(&mut self, node: &Integer) {
4756 match self {
4757 swc_visit::Either::Left(visitor) => Visit::visit_integer(visitor, node),
4758 swc_visit::Either::Right(visitor) => Visit::visit_integer(visitor, node),
4759 }
4760 }
4761
4762 #[inline]
4763 fn visit_keyframe_block(&mut self, node: &KeyframeBlock) {
4764 match self {
4765 swc_visit::Either::Left(visitor) => Visit::visit_keyframe_block(visitor, node),
4766 swc_visit::Either::Right(visitor) => Visit::visit_keyframe_block(visitor, node),
4767 }
4768 }
4769
4770 #[inline]
4771 fn visit_keyframe_selector(&mut self, node: &KeyframeSelector) {
4772 match self {
4773 swc_visit::Either::Left(visitor) => Visit::visit_keyframe_selector(visitor, node),
4774 swc_visit::Either::Right(visitor) => Visit::visit_keyframe_selector(visitor, node),
4775 }
4776 }
4777
4778 #[inline]
4779 fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector]) {
4780 match self {
4781 swc_visit::Either::Left(visitor) => Visit::visit_keyframe_selectors(visitor, node),
4782 swc_visit::Either::Right(visitor) => Visit::visit_keyframe_selectors(visitor, node),
4783 }
4784 }
4785
4786 #[inline]
4787 fn visit_keyframes_name(&mut self, node: &KeyframesName) {
4788 match self {
4789 swc_visit::Either::Left(visitor) => Visit::visit_keyframes_name(visitor, node),
4790 swc_visit::Either::Right(visitor) => Visit::visit_keyframes_name(visitor, node),
4791 }
4792 }
4793
4794 #[inline]
4795 fn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction) {
4796 match self {
4797 swc_visit::Either::Left(visitor) => {
4798 Visit::visit_keyframes_pseudo_function(visitor, node)
4799 }
4800 swc_visit::Either::Right(visitor) => {
4801 Visit::visit_keyframes_pseudo_function(visitor, node)
4802 }
4803 }
4804 }
4805
4806 #[inline]
4807 fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix) {
4808 match self {
4809 swc_visit::Either::Left(visitor) => Visit::visit_keyframes_pseudo_prefix(visitor, node),
4810 swc_visit::Either::Right(visitor) => {
4811 Visit::visit_keyframes_pseudo_prefix(visitor, node)
4812 }
4813 }
4814 }
4815
4816 #[inline]
4817 fn visit_layer_name(&mut self, node: &LayerName) {
4818 match self {
4819 swc_visit::Either::Left(visitor) => Visit::visit_layer_name(visitor, node),
4820 swc_visit::Either::Right(visitor) => Visit::visit_layer_name(visitor, node),
4821 }
4822 }
4823
4824 #[inline]
4825 fn visit_layer_name_list(&mut self, node: &LayerNameList) {
4826 match self {
4827 swc_visit::Either::Left(visitor) => Visit::visit_layer_name_list(visitor, node),
4828 swc_visit::Either::Right(visitor) => Visit::visit_layer_name_list(visitor, node),
4829 }
4830 }
4831
4832 #[inline]
4833 fn visit_layer_names(&mut self, node: &[LayerName]) {
4834 match self {
4835 swc_visit::Either::Left(visitor) => Visit::visit_layer_names(visitor, node),
4836 swc_visit::Either::Right(visitor) => Visit::visit_layer_names(visitor, node),
4837 }
4838 }
4839
4840 #[inline]
4841 fn visit_layer_prelude(&mut self, node: &LayerPrelude) {
4842 match self {
4843 swc_visit::Either::Left(visitor) => Visit::visit_layer_prelude(visitor, node),
4844 swc_visit::Either::Right(visitor) => Visit::visit_layer_prelude(visitor, node),
4845 }
4846 }
4847
4848 #[inline]
4849 fn visit_length(&mut self, node: &Length) {
4850 match self {
4851 swc_visit::Either::Left(visitor) => Visit::visit_length(visitor, node),
4852 swc_visit::Either::Right(visitor) => Visit::visit_length(visitor, node),
4853 }
4854 }
4855
4856 #[inline]
4857 fn visit_length_percentage(&mut self, node: &LengthPercentage) {
4858 match self {
4859 swc_visit::Either::Left(visitor) => Visit::visit_length_percentage(visitor, node),
4860 swc_visit::Either::Right(visitor) => Visit::visit_length_percentage(visitor, node),
4861 }
4862 }
4863
4864 #[inline]
4865 fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues) {
4866 match self {
4867 swc_visit::Either::Left(visitor) => {
4868 Visit::visit_list_of_component_values(visitor, node)
4869 }
4870 swc_visit::Either::Right(visitor) => {
4871 Visit::visit_list_of_component_values(visitor, node)
4872 }
4873 }
4874 }
4875
4876 #[inline]
4877 fn visit_media_and(&mut self, node: &MediaAnd) {
4878 match self {
4879 swc_visit::Either::Left(visitor) => Visit::visit_media_and(visitor, node),
4880 swc_visit::Either::Right(visitor) => Visit::visit_media_and(visitor, node),
4881 }
4882 }
4883
4884 #[inline]
4885 fn visit_media_condition(&mut self, node: &MediaCondition) {
4886 match self {
4887 swc_visit::Either::Left(visitor) => Visit::visit_media_condition(visitor, node),
4888 swc_visit::Either::Right(visitor) => Visit::visit_media_condition(visitor, node),
4889 }
4890 }
4891
4892 #[inline]
4893 fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType) {
4894 match self {
4895 swc_visit::Either::Left(visitor) => {
4896 Visit::visit_media_condition_all_type(visitor, node)
4897 }
4898 swc_visit::Either::Right(visitor) => {
4899 Visit::visit_media_condition_all_type(visitor, node)
4900 }
4901 }
4902 }
4903
4904 #[inline]
4905 fn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType]) {
4906 match self {
4907 swc_visit::Either::Left(visitor) => {
4908 Visit::visit_media_condition_all_types(visitor, node)
4909 }
4910 swc_visit::Either::Right(visitor) => {
4911 Visit::visit_media_condition_all_types(visitor, node)
4912 }
4913 }
4914 }
4915
4916 #[inline]
4917 fn visit_media_condition_type(&mut self, node: &MediaConditionType) {
4918 match self {
4919 swc_visit::Either::Left(visitor) => Visit::visit_media_condition_type(visitor, node),
4920 swc_visit::Either::Right(visitor) => Visit::visit_media_condition_type(visitor, node),
4921 }
4922 }
4923
4924 #[inline]
4925 fn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr) {
4926 match self {
4927 swc_visit::Either::Left(visitor) => {
4928 Visit::visit_media_condition_without_or(visitor, node)
4929 }
4930 swc_visit::Either::Right(visitor) => {
4931 Visit::visit_media_condition_without_or(visitor, node)
4932 }
4933 }
4934 }
4935
4936 #[inline]
4937 fn visit_media_condition_without_or_type(&mut self, node: &MediaConditionWithoutOrType) {
4938 match self {
4939 swc_visit::Either::Left(visitor) => {
4940 Visit::visit_media_condition_without_or_type(visitor, node)
4941 }
4942 swc_visit::Either::Right(visitor) => {
4943 Visit::visit_media_condition_without_or_type(visitor, node)
4944 }
4945 }
4946 }
4947
4948 #[inline]
4949 fn visit_media_condition_without_or_types(&mut self, node: &[MediaConditionWithoutOrType]) {
4950 match self {
4951 swc_visit::Either::Left(visitor) => {
4952 Visit::visit_media_condition_without_or_types(visitor, node)
4953 }
4954 swc_visit::Either::Right(visitor) => {
4955 Visit::visit_media_condition_without_or_types(visitor, node)
4956 }
4957 }
4958 }
4959
4960 #[inline]
4961 fn visit_media_feature(&mut self, node: &MediaFeature) {
4962 match self {
4963 swc_visit::Either::Left(visitor) => Visit::visit_media_feature(visitor, node),
4964 swc_visit::Either::Right(visitor) => Visit::visit_media_feature(visitor, node),
4965 }
4966 }
4967
4968 #[inline]
4969 fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean) {
4970 match self {
4971 swc_visit::Either::Left(visitor) => Visit::visit_media_feature_boolean(visitor, node),
4972 swc_visit::Either::Right(visitor) => Visit::visit_media_feature_boolean(visitor, node),
4973 }
4974 }
4975
4976 #[inline]
4977 fn visit_media_feature_name(&mut self, node: &MediaFeatureName) {
4978 match self {
4979 swc_visit::Either::Left(visitor) => Visit::visit_media_feature_name(visitor, node),
4980 swc_visit::Either::Right(visitor) => Visit::visit_media_feature_name(visitor, node),
4981 }
4982 }
4983
4984 #[inline]
4985 fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain) {
4986 match self {
4987 swc_visit::Either::Left(visitor) => Visit::visit_media_feature_plain(visitor, node),
4988 swc_visit::Either::Right(visitor) => Visit::visit_media_feature_plain(visitor, node),
4989 }
4990 }
4991
4992 #[inline]
4993 fn visit_media_feature_range(&mut self, node: &MediaFeatureRange) {
4994 match self {
4995 swc_visit::Either::Left(visitor) => Visit::visit_media_feature_range(visitor, node),
4996 swc_visit::Either::Right(visitor) => Visit::visit_media_feature_range(visitor, node),
4997 }
4998 }
4999
5000 #[inline]
5001 fn visit_media_feature_range_comparison(&mut self, node: &MediaFeatureRangeComparison) {
5002 match self {
5003 swc_visit::Either::Left(visitor) => {
5004 Visit::visit_media_feature_range_comparison(visitor, node)
5005 }
5006 swc_visit::Either::Right(visitor) => {
5007 Visit::visit_media_feature_range_comparison(visitor, node)
5008 }
5009 }
5010 }
5011
5012 #[inline]
5013 fn visit_media_feature_range_interval(&mut self, node: &MediaFeatureRangeInterval) {
5014 match self {
5015 swc_visit::Either::Left(visitor) => {
5016 Visit::visit_media_feature_range_interval(visitor, node)
5017 }
5018 swc_visit::Either::Right(visitor) => {
5019 Visit::visit_media_feature_range_interval(visitor, node)
5020 }
5021 }
5022 }
5023
5024 #[inline]
5025 fn visit_media_feature_value(&mut self, node: &MediaFeatureValue) {
5026 match self {
5027 swc_visit::Either::Left(visitor) => Visit::visit_media_feature_value(visitor, node),
5028 swc_visit::Either::Right(visitor) => Visit::visit_media_feature_value(visitor, node),
5029 }
5030 }
5031
5032 #[inline]
5033 fn visit_media_in_parens(&mut self, node: &MediaInParens) {
5034 match self {
5035 swc_visit::Either::Left(visitor) => Visit::visit_media_in_parens(visitor, node),
5036 swc_visit::Either::Right(visitor) => Visit::visit_media_in_parens(visitor, node),
5037 }
5038 }
5039
5040 #[inline]
5041 fn visit_media_not(&mut self, node: &MediaNot) {
5042 match self {
5043 swc_visit::Either::Left(visitor) => Visit::visit_media_not(visitor, node),
5044 swc_visit::Either::Right(visitor) => Visit::visit_media_not(visitor, node),
5045 }
5046 }
5047
5048 #[inline]
5049 fn visit_media_or(&mut self, node: &MediaOr) {
5050 match self {
5051 swc_visit::Either::Left(visitor) => Visit::visit_media_or(visitor, node),
5052 swc_visit::Either::Right(visitor) => Visit::visit_media_or(visitor, node),
5053 }
5054 }
5055
5056 #[inline]
5057 fn visit_media_query(&mut self, node: &MediaQuery) {
5058 match self {
5059 swc_visit::Either::Left(visitor) => Visit::visit_media_query(visitor, node),
5060 swc_visit::Either::Right(visitor) => Visit::visit_media_query(visitor, node),
5061 }
5062 }
5063
5064 #[inline]
5065 fn visit_media_query_list(&mut self, node: &MediaQueryList) {
5066 match self {
5067 swc_visit::Either::Left(visitor) => Visit::visit_media_query_list(visitor, node),
5068 swc_visit::Either::Right(visitor) => Visit::visit_media_query_list(visitor, node),
5069 }
5070 }
5071
5072 #[inline]
5073 fn visit_media_querys(&mut self, node: &[MediaQuery]) {
5074 match self {
5075 swc_visit::Either::Left(visitor) => Visit::visit_media_querys(visitor, node),
5076 swc_visit::Either::Right(visitor) => Visit::visit_media_querys(visitor, node),
5077 }
5078 }
5079
5080 #[inline]
5081 fn visit_media_type(&mut self, node: &MediaType) {
5082 match self {
5083 swc_visit::Either::Left(visitor) => Visit::visit_media_type(visitor, node),
5084 swc_visit::Either::Right(visitor) => Visit::visit_media_type(visitor, node),
5085 }
5086 }
5087
5088 #[inline]
5089 fn visit_named_namespace(&mut self, node: &NamedNamespace) {
5090 match self {
5091 swc_visit::Either::Left(visitor) => Visit::visit_named_namespace(visitor, node),
5092 swc_visit::Either::Right(visitor) => Visit::visit_named_namespace(visitor, node),
5093 }
5094 }
5095
5096 #[inline]
5097 fn visit_namespace(&mut self, node: &Namespace) {
5098 match self {
5099 swc_visit::Either::Left(visitor) => Visit::visit_namespace(visitor, node),
5100 swc_visit::Either::Right(visitor) => Visit::visit_namespace(visitor, node),
5101 }
5102 }
5103
5104 #[inline]
5105 fn visit_namespace_prefix(&mut self, node: &NamespacePrefix) {
5106 match self {
5107 swc_visit::Either::Left(visitor) => Visit::visit_namespace_prefix(visitor, node),
5108 swc_visit::Either::Right(visitor) => Visit::visit_namespace_prefix(visitor, node),
5109 }
5110 }
5111
5112 #[inline]
5113 fn visit_namespace_prelude(&mut self, node: &NamespacePrelude) {
5114 match self {
5115 swc_visit::Either::Left(visitor) => Visit::visit_namespace_prelude(visitor, node),
5116 swc_visit::Either::Right(visitor) => Visit::visit_namespace_prelude(visitor, node),
5117 }
5118 }
5119
5120 #[inline]
5121 fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri) {
5122 match self {
5123 swc_visit::Either::Left(visitor) => Visit::visit_namespace_prelude_uri(visitor, node),
5124 swc_visit::Either::Right(visitor) => Visit::visit_namespace_prelude_uri(visitor, node),
5125 }
5126 }
5127
5128 #[inline]
5129 fn visit_nesting_selector(&mut self, node: &NestingSelector) {
5130 match self {
5131 swc_visit::Either::Left(visitor) => Visit::visit_nesting_selector(visitor, node),
5132 swc_visit::Either::Right(visitor) => Visit::visit_nesting_selector(visitor, node),
5133 }
5134 }
5135
5136 #[inline]
5137 fn visit_number(&mut self, node: &Number) {
5138 match self {
5139 swc_visit::Either::Left(visitor) => Visit::visit_number(visitor, node),
5140 swc_visit::Either::Right(visitor) => Visit::visit_number(visitor, node),
5141 }
5142 }
5143
5144 #[inline]
5145 fn visit_number_type(&mut self, node: &NumberType) {
5146 match self {
5147 swc_visit::Either::Left(visitor) => Visit::visit_number_type(visitor, node),
5148 swc_visit::Either::Right(visitor) => Visit::visit_number_type(visitor, node),
5149 }
5150 }
5151
5152 #[inline]
5153 fn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>) {
5154 match self {
5155 swc_visit::Either::Left(visitor) => Visit::visit_opt_at_rule_prelude(visitor, node),
5156 swc_visit::Either::Right(visitor) => Visit::visit_opt_at_rule_prelude(visitor, node),
5157 }
5158 }
5159
5160 #[inline]
5161 fn visit_opt_atom(&mut self, node: &Option<swc_atoms::Atom>) {
5162 match self {
5163 swc_visit::Either::Left(visitor) => Visit::visit_opt_atom(visitor, node),
5164 swc_visit::Either::Right(visitor) => Visit::visit_opt_atom(visitor, node),
5165 }
5166 }
5167
5168 #[inline]
5169 fn visit_opt_attribute_selector_matcher(&mut self, node: &Option<AttributeSelectorMatcher>) {
5170 match self {
5171 swc_visit::Either::Left(visitor) => {
5172 Visit::visit_opt_attribute_selector_matcher(visitor, node)
5173 }
5174 swc_visit::Either::Right(visitor) => {
5175 Visit::visit_opt_attribute_selector_matcher(visitor, node)
5176 }
5177 }
5178 }
5179
5180 #[inline]
5181 fn visit_opt_attribute_selector_modifier(&mut self, node: &Option<AttributeSelectorModifier>) {
5182 match self {
5183 swc_visit::Either::Left(visitor) => {
5184 Visit::visit_opt_attribute_selector_modifier(visitor, node)
5185 }
5186 swc_visit::Either::Right(visitor) => {
5187 Visit::visit_opt_attribute_selector_modifier(visitor, node)
5188 }
5189 }
5190 }
5191
5192 #[inline]
5193 fn visit_opt_attribute_selector_value(&mut self, node: &Option<AttributeSelectorValue>) {
5194 match self {
5195 swc_visit::Either::Left(visitor) => {
5196 Visit::visit_opt_attribute_selector_value(visitor, node)
5197 }
5198 swc_visit::Either::Right(visitor) => {
5199 Visit::visit_opt_attribute_selector_value(visitor, node)
5200 }
5201 }
5202 }
5203
5204 #[inline]
5205 fn visit_opt_combinator(&mut self, node: &Option<Combinator>) {
5206 match self {
5207 swc_visit::Either::Left(visitor) => Visit::visit_opt_combinator(visitor, node),
5208 swc_visit::Either::Right(visitor) => Visit::visit_opt_combinator(visitor, node),
5209 }
5210 }
5211
5212 #[inline]
5213 fn visit_opt_container_name(&mut self, node: &Option<ContainerName>) {
5214 match self {
5215 swc_visit::Either::Left(visitor) => Visit::visit_opt_container_name(visitor, node),
5216 swc_visit::Either::Right(visitor) => Visit::visit_opt_container_name(visitor, node),
5217 }
5218 }
5219
5220 #[inline]
5221 fn visit_opt_forgiving_selector_list(&mut self, node: &Option<ForgivingSelectorList>) {
5222 match self {
5223 swc_visit::Either::Left(visitor) => {
5224 Visit::visit_opt_forgiving_selector_list(visitor, node)
5225 }
5226 swc_visit::Either::Right(visitor) => {
5227 Visit::visit_opt_forgiving_selector_list(visitor, node)
5228 }
5229 }
5230 }
5231
5232 #[inline]
5233 fn visit_opt_function(&mut self, node: &Option<Box<Function>>) {
5234 match self {
5235 swc_visit::Either::Left(visitor) => Visit::visit_opt_function(visitor, node),
5236 swc_visit::Either::Right(visitor) => Visit::visit_opt_function(visitor, node),
5237 }
5238 }
5239
5240 #[inline]
5241 fn visit_opt_ident(&mut self, node: &Option<Ident>) {
5242 match self {
5243 swc_visit::Either::Left(visitor) => Visit::visit_opt_ident(visitor, node),
5244 swc_visit::Either::Right(visitor) => Visit::visit_opt_ident(visitor, node),
5245 }
5246 }
5247
5248 #[inline]
5249 fn visit_opt_import_conditions(&mut self, node: &Option<Box<ImportConditions>>) {
5250 match self {
5251 swc_visit::Either::Left(visitor) => Visit::visit_opt_import_conditions(visitor, node),
5252 swc_visit::Either::Right(visitor) => Visit::visit_opt_import_conditions(visitor, node),
5253 }
5254 }
5255
5256 #[inline]
5257 fn visit_opt_import_layer_name(&mut self, node: &Option<Box<ImportLayerName>>) {
5258 match self {
5259 swc_visit::Either::Left(visitor) => Visit::visit_opt_import_layer_name(visitor, node),
5260 swc_visit::Either::Right(visitor) => Visit::visit_opt_import_layer_name(visitor, node),
5261 }
5262 }
5263
5264 #[inline]
5265 fn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>) {
5266 match self {
5267 swc_visit::Either::Left(visitor) => Visit::visit_opt_important_flag(visitor, node),
5268 swc_visit::Either::Right(visitor) => Visit::visit_opt_important_flag(visitor, node),
5269 }
5270 }
5271
5272 #[inline]
5273 fn visit_opt_media_condition_type(&mut self, node: &Option<Box<MediaConditionType>>) {
5274 match self {
5275 swc_visit::Either::Left(visitor) => {
5276 Visit::visit_opt_media_condition_type(visitor, node)
5277 }
5278 swc_visit::Either::Right(visitor) => {
5279 Visit::visit_opt_media_condition_type(visitor, node)
5280 }
5281 }
5282 }
5283
5284 #[inline]
5285 fn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>) {
5286 match self {
5287 swc_visit::Either::Left(visitor) => Visit::visit_opt_media_query_list(visitor, node),
5288 swc_visit::Either::Right(visitor) => Visit::visit_opt_media_query_list(visitor, node),
5289 }
5290 }
5291
5292 #[inline]
5293 fn visit_opt_media_type(&mut self, node: &Option<MediaType>) {
5294 match self {
5295 swc_visit::Either::Left(visitor) => Visit::visit_opt_media_type(visitor, node),
5296 swc_visit::Either::Right(visitor) => Visit::visit_opt_media_type(visitor, node),
5297 }
5298 }
5299
5300 #[inline]
5301 fn visit_opt_namespace(&mut self, node: &Option<Namespace>) {
5302 match self {
5303 swc_visit::Either::Left(visitor) => Visit::visit_opt_namespace(visitor, node),
5304 swc_visit::Either::Right(visitor) => Visit::visit_opt_namespace(visitor, node),
5305 }
5306 }
5307
5308 #[inline]
5309 fn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>) {
5310 match self {
5311 swc_visit::Either::Left(visitor) => Visit::visit_opt_namespace_prefix(visitor, node),
5312 swc_visit::Either::Right(visitor) => Visit::visit_opt_namespace_prefix(visitor, node),
5313 }
5314 }
5315
5316 #[inline]
5317 fn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>) {
5318 match self {
5319 swc_visit::Either::Left(visitor) => Visit::visit_opt_nesting_selector(visitor, node),
5320 swc_visit::Either::Right(visitor) => Visit::visit_opt_nesting_selector(visitor, node),
5321 }
5322 }
5323
5324 #[inline]
5325 fn visit_opt_number(&mut self, node: &Option<Number>) {
5326 match self {
5327 swc_visit::Either::Left(visitor) => Visit::visit_opt_number(visitor, node),
5328 swc_visit::Either::Right(visitor) => Visit::visit_opt_number(visitor, node),
5329 }
5330 }
5331
5332 #[inline]
5333 fn visit_opt_page_selector_pseudos(&mut self, node: &Option<Vec<PageSelectorPseudo>>) {
5334 match self {
5335 swc_visit::Either::Left(visitor) => {
5336 Visit::visit_opt_page_selector_pseudos(visitor, node)
5337 }
5338 swc_visit::Either::Right(visitor) => {
5339 Visit::visit_opt_page_selector_pseudos(visitor, node)
5340 }
5341 }
5342 }
5343
5344 #[inline]
5345 fn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>) {
5346 match self {
5347 swc_visit::Either::Left(visitor) => Visit::visit_opt_page_selector_type(visitor, node),
5348 swc_visit::Either::Right(visitor) => Visit::visit_opt_page_selector_type(visitor, node),
5349 }
5350 }
5351
5352 #[inline]
5353 fn visit_opt_pseudo_class_selector_childrens(
5354 &mut self,
5355 node: &Option<Vec<PseudoClassSelectorChildren>>,
5356 ) {
5357 match self {
5358 swc_visit::Either::Left(visitor) => {
5359 Visit::visit_opt_pseudo_class_selector_childrens(visitor, node)
5360 }
5361 swc_visit::Either::Right(visitor) => {
5362 Visit::visit_opt_pseudo_class_selector_childrens(visitor, node)
5363 }
5364 }
5365 }
5366
5367 #[inline]
5368 fn visit_opt_pseudo_element_selector_childrens(
5369 &mut self,
5370 node: &Option<Vec<PseudoElementSelectorChildren>>,
5371 ) {
5372 match self {
5373 swc_visit::Either::Left(visitor) => {
5374 Visit::visit_opt_pseudo_element_selector_childrens(visitor, node)
5375 }
5376 swc_visit::Either::Right(visitor) => {
5377 Visit::visit_opt_pseudo_element_selector_childrens(visitor, node)
5378 }
5379 }
5380 }
5381
5382 #[inline]
5383 fn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>) {
5384 match self {
5385 swc_visit::Either::Left(visitor) => Visit::visit_opt_simple_block(visitor, node),
5386 swc_visit::Either::Right(visitor) => Visit::visit_opt_simple_block(visitor, node),
5387 }
5388 }
5389
5390 #[inline]
5391 fn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>) {
5392 match self {
5393 swc_visit::Either::Left(visitor) => Visit::visit_opt_type_selector(visitor, node),
5394 swc_visit::Either::Right(visitor) => Visit::visit_opt_type_selector(visitor, node),
5395 }
5396 }
5397
5398 #[inline]
5399 fn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>) {
5400 match self {
5401 swc_visit::Either::Left(visitor) => Visit::visit_opt_url_modifiers(visitor, node),
5402 swc_visit::Either::Right(visitor) => Visit::visit_opt_url_modifiers(visitor, node),
5403 }
5404 }
5405
5406 #[inline]
5407 fn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>) {
5408 match self {
5409 swc_visit::Either::Left(visitor) => Visit::visit_opt_url_value(visitor, node),
5410 swc_visit::Either::Right(visitor) => Visit::visit_opt_url_value(visitor, node),
5411 }
5412 }
5413
5414 #[inline]
5415 fn visit_page_selector(&mut self, node: &PageSelector) {
5416 match self {
5417 swc_visit::Either::Left(visitor) => Visit::visit_page_selector(visitor, node),
5418 swc_visit::Either::Right(visitor) => Visit::visit_page_selector(visitor, node),
5419 }
5420 }
5421
5422 #[inline]
5423 fn visit_page_selector_list(&mut self, node: &PageSelectorList) {
5424 match self {
5425 swc_visit::Either::Left(visitor) => Visit::visit_page_selector_list(visitor, node),
5426 swc_visit::Either::Right(visitor) => Visit::visit_page_selector_list(visitor, node),
5427 }
5428 }
5429
5430 #[inline]
5431 fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo) {
5432 match self {
5433 swc_visit::Either::Left(visitor) => Visit::visit_page_selector_pseudo(visitor, node),
5434 swc_visit::Either::Right(visitor) => Visit::visit_page_selector_pseudo(visitor, node),
5435 }
5436 }
5437
5438 #[inline]
5439 fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo]) {
5440 match self {
5441 swc_visit::Either::Left(visitor) => Visit::visit_page_selector_pseudos(visitor, node),
5442 swc_visit::Either::Right(visitor) => Visit::visit_page_selector_pseudos(visitor, node),
5443 }
5444 }
5445
5446 #[inline]
5447 fn visit_page_selector_type(&mut self, node: &PageSelectorType) {
5448 match self {
5449 swc_visit::Either::Left(visitor) => Visit::visit_page_selector_type(visitor, node),
5450 swc_visit::Either::Right(visitor) => Visit::visit_page_selector_type(visitor, node),
5451 }
5452 }
5453
5454 #[inline]
5455 fn visit_page_selectors(&mut self, node: &[PageSelector]) {
5456 match self {
5457 swc_visit::Either::Left(visitor) => Visit::visit_page_selectors(visitor, node),
5458 swc_visit::Either::Right(visitor) => Visit::visit_page_selectors(visitor, node),
5459 }
5460 }
5461
5462 #[inline]
5463 fn visit_percentage(&mut self, node: &Percentage) {
5464 match self {
5465 swc_visit::Either::Left(visitor) => Visit::visit_percentage(visitor, node),
5466 swc_visit::Either::Right(visitor) => Visit::visit_percentage(visitor, node),
5467 }
5468 }
5469
5470 #[inline]
5471 fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector) {
5472 match self {
5473 swc_visit::Either::Left(visitor) => Visit::visit_pseudo_class_selector(visitor, node),
5474 swc_visit::Either::Right(visitor) => Visit::visit_pseudo_class_selector(visitor, node),
5475 }
5476 }
5477
5478 #[inline]
5479 fn visit_pseudo_class_selector_children(&mut self, node: &PseudoClassSelectorChildren) {
5480 match self {
5481 swc_visit::Either::Left(visitor) => {
5482 Visit::visit_pseudo_class_selector_children(visitor, node)
5483 }
5484 swc_visit::Either::Right(visitor) => {
5485 Visit::visit_pseudo_class_selector_children(visitor, node)
5486 }
5487 }
5488 }
5489
5490 #[inline]
5491 fn visit_pseudo_class_selector_childrens(&mut self, node: &[PseudoClassSelectorChildren]) {
5492 match self {
5493 swc_visit::Either::Left(visitor) => {
5494 Visit::visit_pseudo_class_selector_childrens(visitor, node)
5495 }
5496 swc_visit::Either::Right(visitor) => {
5497 Visit::visit_pseudo_class_selector_childrens(visitor, node)
5498 }
5499 }
5500 }
5501
5502 #[inline]
5503 fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector) {
5504 match self {
5505 swc_visit::Either::Left(visitor) => Visit::visit_pseudo_element_selector(visitor, node),
5506 swc_visit::Either::Right(visitor) => {
5507 Visit::visit_pseudo_element_selector(visitor, node)
5508 }
5509 }
5510 }
5511
5512 #[inline]
5513 fn visit_pseudo_element_selector_children(&mut self, node: &PseudoElementSelectorChildren) {
5514 match self {
5515 swc_visit::Either::Left(visitor) => {
5516 Visit::visit_pseudo_element_selector_children(visitor, node)
5517 }
5518 swc_visit::Either::Right(visitor) => {
5519 Visit::visit_pseudo_element_selector_children(visitor, node)
5520 }
5521 }
5522 }
5523
5524 #[inline]
5525 fn visit_pseudo_element_selector_childrens(&mut self, node: &[PseudoElementSelectorChildren]) {
5526 match self {
5527 swc_visit::Either::Left(visitor) => {
5528 Visit::visit_pseudo_element_selector_childrens(visitor, node)
5529 }
5530 swc_visit::Either::Right(visitor) => {
5531 Visit::visit_pseudo_element_selector_childrens(visitor, node)
5532 }
5533 }
5534 }
5535
5536 #[inline]
5537 fn visit_qualified_rule(&mut self, node: &QualifiedRule) {
5538 match self {
5539 swc_visit::Either::Left(visitor) => Visit::visit_qualified_rule(visitor, node),
5540 swc_visit::Either::Right(visitor) => Visit::visit_qualified_rule(visitor, node),
5541 }
5542 }
5543
5544 #[inline]
5545 fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude) {
5546 match self {
5547 swc_visit::Either::Left(visitor) => Visit::visit_qualified_rule_prelude(visitor, node),
5548 swc_visit::Either::Right(visitor) => Visit::visit_qualified_rule_prelude(visitor, node),
5549 }
5550 }
5551
5552 #[inline]
5553 fn visit_query_in_parens(&mut self, node: &QueryInParens) {
5554 match self {
5555 swc_visit::Either::Left(visitor) => Visit::visit_query_in_parens(visitor, node),
5556 swc_visit::Either::Right(visitor) => Visit::visit_query_in_parens(visitor, node),
5557 }
5558 }
5559
5560 #[inline]
5561 fn visit_ratio(&mut self, node: &Ratio) {
5562 match self {
5563 swc_visit::Either::Left(visitor) => Visit::visit_ratio(visitor, node),
5564 swc_visit::Either::Right(visitor) => Visit::visit_ratio(visitor, node),
5565 }
5566 }
5567
5568 #[inline]
5569 fn visit_relative_selector(&mut self, node: &RelativeSelector) {
5570 match self {
5571 swc_visit::Either::Left(visitor) => Visit::visit_relative_selector(visitor, node),
5572 swc_visit::Either::Right(visitor) => Visit::visit_relative_selector(visitor, node),
5573 }
5574 }
5575
5576 #[inline]
5577 fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList) {
5578 match self {
5579 swc_visit::Either::Left(visitor) => Visit::visit_relative_selector_list(visitor, node),
5580 swc_visit::Either::Right(visitor) => Visit::visit_relative_selector_list(visitor, node),
5581 }
5582 }
5583
5584 #[inline]
5585 fn visit_relative_selectors(&mut self, node: &[RelativeSelector]) {
5586 match self {
5587 swc_visit::Either::Left(visitor) => Visit::visit_relative_selectors(visitor, node),
5588 swc_visit::Either::Right(visitor) => Visit::visit_relative_selectors(visitor, node),
5589 }
5590 }
5591
5592 #[inline]
5593 fn visit_resolution(&mut self, node: &Resolution) {
5594 match self {
5595 swc_visit::Either::Left(visitor) => Visit::visit_resolution(visitor, node),
5596 swc_visit::Either::Right(visitor) => Visit::visit_resolution(visitor, node),
5597 }
5598 }
5599
5600 #[inline]
5601 fn visit_rule(&mut self, node: &Rule) {
5602 match self {
5603 swc_visit::Either::Left(visitor) => Visit::visit_rule(visitor, node),
5604 swc_visit::Either::Right(visitor) => Visit::visit_rule(visitor, node),
5605 }
5606 }
5607
5608 #[inline]
5609 fn visit_rules(&mut self, node: &[Rule]) {
5610 match self {
5611 swc_visit::Either::Left(visitor) => Visit::visit_rules(visitor, node),
5612 swc_visit::Either::Right(visitor) => Visit::visit_rules(visitor, node),
5613 }
5614 }
5615
5616 #[inline]
5617 fn visit_scope_range(&mut self, node: &ScopeRange) {
5618 match self {
5619 swc_visit::Either::Left(visitor) => Visit::visit_scope_range(visitor, node),
5620 swc_visit::Either::Right(visitor) => Visit::visit_scope_range(visitor, node),
5621 }
5622 }
5623
5624 #[inline]
5625 fn visit_selector_list(&mut self, node: &SelectorList) {
5626 match self {
5627 swc_visit::Either::Left(visitor) => Visit::visit_selector_list(visitor, node),
5628 swc_visit::Either::Right(visitor) => Visit::visit_selector_list(visitor, node),
5629 }
5630 }
5631
5632 #[inline]
5633 fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents) {
5634 match self {
5635 swc_visit::Either::Left(visitor) => {
5636 Visit::visit_sequence_of_custom_idents(visitor, node)
5637 }
5638 swc_visit::Either::Right(visitor) => {
5639 Visit::visit_sequence_of_custom_idents(visitor, node)
5640 }
5641 }
5642 }
5643
5644 #[inline]
5645 fn visit_simple_block(&mut self, node: &SimpleBlock) {
5646 match self {
5647 swc_visit::Either::Left(visitor) => Visit::visit_simple_block(visitor, node),
5648 swc_visit::Either::Right(visitor) => Visit::visit_simple_block(visitor, node),
5649 }
5650 }
5651
5652 #[inline]
5653 fn visit_size_feature(&mut self, node: &SizeFeature) {
5654 match self {
5655 swc_visit::Either::Left(visitor) => Visit::visit_size_feature(visitor, node),
5656 swc_visit::Either::Right(visitor) => Visit::visit_size_feature(visitor, node),
5657 }
5658 }
5659
5660 #[inline]
5661 fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean) {
5662 match self {
5663 swc_visit::Either::Left(visitor) => Visit::visit_size_feature_boolean(visitor, node),
5664 swc_visit::Either::Right(visitor) => Visit::visit_size_feature_boolean(visitor, node),
5665 }
5666 }
5667
5668 #[inline]
5669 fn visit_size_feature_name(&mut self, node: &SizeFeatureName) {
5670 match self {
5671 swc_visit::Either::Left(visitor) => Visit::visit_size_feature_name(visitor, node),
5672 swc_visit::Either::Right(visitor) => Visit::visit_size_feature_name(visitor, node),
5673 }
5674 }
5675
5676 #[inline]
5677 fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain) {
5678 match self {
5679 swc_visit::Either::Left(visitor) => Visit::visit_size_feature_plain(visitor, node),
5680 swc_visit::Either::Right(visitor) => Visit::visit_size_feature_plain(visitor, node),
5681 }
5682 }
5683
5684 #[inline]
5685 fn visit_size_feature_range(&mut self, node: &SizeFeatureRange) {
5686 match self {
5687 swc_visit::Either::Left(visitor) => Visit::visit_size_feature_range(visitor, node),
5688 swc_visit::Either::Right(visitor) => Visit::visit_size_feature_range(visitor, node),
5689 }
5690 }
5691
5692 #[inline]
5693 fn visit_size_feature_range_comparison(&mut self, node: &SizeFeatureRangeComparison) {
5694 match self {
5695 swc_visit::Either::Left(visitor) => {
5696 Visit::visit_size_feature_range_comparison(visitor, node)
5697 }
5698 swc_visit::Either::Right(visitor) => {
5699 Visit::visit_size_feature_range_comparison(visitor, node)
5700 }
5701 }
5702 }
5703
5704 #[inline]
5705 fn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval) {
5706 match self {
5707 swc_visit::Either::Left(visitor) => {
5708 Visit::visit_size_feature_range_interval(visitor, node)
5709 }
5710 swc_visit::Either::Right(visitor) => {
5711 Visit::visit_size_feature_range_interval(visitor, node)
5712 }
5713 }
5714 }
5715
5716 #[inline]
5717 fn visit_size_feature_value(&mut self, node: &SizeFeatureValue) {
5718 match self {
5719 swc_visit::Either::Left(visitor) => Visit::visit_size_feature_value(visitor, node),
5720 swc_visit::Either::Right(visitor) => Visit::visit_size_feature_value(visitor, node),
5721 }
5722 }
5723
5724 #[inline]
5725 fn visit_span(&mut self, node: &swc_common::Span) {
5726 match self {
5727 swc_visit::Either::Left(visitor) => Visit::visit_span(visitor, node),
5728 swc_visit::Either::Right(visitor) => Visit::visit_span(visitor, node),
5729 }
5730 }
5731
5732 #[inline]
5733 fn visit_str(&mut self, node: &Str) {
5734 match self {
5735 swc_visit::Either::Left(visitor) => Visit::visit_str(visitor, node),
5736 swc_visit::Either::Right(visitor) => Visit::visit_str(visitor, node),
5737 }
5738 }
5739
5740 #[inline]
5741 fn visit_style_block(&mut self, node: &StyleBlock) {
5742 match self {
5743 swc_visit::Either::Left(visitor) => Visit::visit_style_block(visitor, node),
5744 swc_visit::Either::Right(visitor) => Visit::visit_style_block(visitor, node),
5745 }
5746 }
5747
5748 #[inline]
5749 fn visit_stylesheet(&mut self, node: &Stylesheet) {
5750 match self {
5751 swc_visit::Either::Left(visitor) => Visit::visit_stylesheet(visitor, node),
5752 swc_visit::Either::Right(visitor) => Visit::visit_stylesheet(visitor, node),
5753 }
5754 }
5755
5756 #[inline]
5757 fn visit_subclass_selector(&mut self, node: &SubclassSelector) {
5758 match self {
5759 swc_visit::Either::Left(visitor) => Visit::visit_subclass_selector(visitor, node),
5760 swc_visit::Either::Right(visitor) => Visit::visit_subclass_selector(visitor, node),
5761 }
5762 }
5763
5764 #[inline]
5765 fn visit_subclass_selectors(&mut self, node: &[SubclassSelector]) {
5766 match self {
5767 swc_visit::Either::Left(visitor) => Visit::visit_subclass_selectors(visitor, node),
5768 swc_visit::Either::Right(visitor) => Visit::visit_subclass_selectors(visitor, node),
5769 }
5770 }
5771
5772 #[inline]
5773 fn visit_supports_and(&mut self, node: &SupportsAnd) {
5774 match self {
5775 swc_visit::Either::Left(visitor) => Visit::visit_supports_and(visitor, node),
5776 swc_visit::Either::Right(visitor) => Visit::visit_supports_and(visitor, node),
5777 }
5778 }
5779
5780 #[inline]
5781 fn visit_supports_condition(&mut self, node: &SupportsCondition) {
5782 match self {
5783 swc_visit::Either::Left(visitor) => Visit::visit_supports_condition(visitor, node),
5784 swc_visit::Either::Right(visitor) => Visit::visit_supports_condition(visitor, node),
5785 }
5786 }
5787
5788 #[inline]
5789 fn visit_supports_condition_type(&mut self, node: &SupportsConditionType) {
5790 match self {
5791 swc_visit::Either::Left(visitor) => Visit::visit_supports_condition_type(visitor, node),
5792 swc_visit::Either::Right(visitor) => {
5793 Visit::visit_supports_condition_type(visitor, node)
5794 }
5795 }
5796 }
5797
5798 #[inline]
5799 fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType]) {
5800 match self {
5801 swc_visit::Either::Left(visitor) => {
5802 Visit::visit_supports_condition_types(visitor, node)
5803 }
5804 swc_visit::Either::Right(visitor) => {
5805 Visit::visit_supports_condition_types(visitor, node)
5806 }
5807 }
5808 }
5809
5810 #[inline]
5811 fn visit_supports_feature(&mut self, node: &SupportsFeature) {
5812 match self {
5813 swc_visit::Either::Left(visitor) => Visit::visit_supports_feature(visitor, node),
5814 swc_visit::Either::Right(visitor) => Visit::visit_supports_feature(visitor, node),
5815 }
5816 }
5817
5818 #[inline]
5819 fn visit_supports_in_parens(&mut self, node: &SupportsInParens) {
5820 match self {
5821 swc_visit::Either::Left(visitor) => Visit::visit_supports_in_parens(visitor, node),
5822 swc_visit::Either::Right(visitor) => Visit::visit_supports_in_parens(visitor, node),
5823 }
5824 }
5825
5826 #[inline]
5827 fn visit_supports_not(&mut self, node: &SupportsNot) {
5828 match self {
5829 swc_visit::Either::Left(visitor) => Visit::visit_supports_not(visitor, node),
5830 swc_visit::Either::Right(visitor) => Visit::visit_supports_not(visitor, node),
5831 }
5832 }
5833
5834 #[inline]
5835 fn visit_supports_or(&mut self, node: &SupportsOr) {
5836 match self {
5837 swc_visit::Either::Left(visitor) => Visit::visit_supports_or(visitor, node),
5838 swc_visit::Either::Right(visitor) => Visit::visit_supports_or(visitor, node),
5839 }
5840 }
5841
5842 #[inline]
5843 fn visit_tag_name_selector(&mut self, node: &TagNameSelector) {
5844 match self {
5845 swc_visit::Either::Left(visitor) => Visit::visit_tag_name_selector(visitor, node),
5846 swc_visit::Either::Right(visitor) => Visit::visit_tag_name_selector(visitor, node),
5847 }
5848 }
5849
5850 #[inline]
5851 fn visit_time(&mut self, node: &Time) {
5852 match self {
5853 swc_visit::Either::Left(visitor) => Visit::visit_time(visitor, node),
5854 swc_visit::Either::Right(visitor) => Visit::visit_time(visitor, node),
5855 }
5856 }
5857
5858 #[inline]
5859 fn visit_time_percentage(&mut self, node: &TimePercentage) {
5860 match self {
5861 swc_visit::Either::Left(visitor) => Visit::visit_time_percentage(visitor, node),
5862 swc_visit::Either::Right(visitor) => Visit::visit_time_percentage(visitor, node),
5863 }
5864 }
5865
5866 #[inline]
5867 fn visit_token(&mut self, node: &Token) {
5868 match self {
5869 swc_visit::Either::Left(visitor) => Visit::visit_token(visitor, node),
5870 swc_visit::Either::Right(visitor) => Visit::visit_token(visitor, node),
5871 }
5872 }
5873
5874 #[inline]
5875 fn visit_token_and_span(&mut self, node: &TokenAndSpan) {
5876 match self {
5877 swc_visit::Either::Left(visitor) => Visit::visit_token_and_span(visitor, node),
5878 swc_visit::Either::Right(visitor) => Visit::visit_token_and_span(visitor, node),
5879 }
5880 }
5881
5882 #[inline]
5883 fn visit_type_selector(&mut self, node: &TypeSelector) {
5884 match self {
5885 swc_visit::Either::Left(visitor) => Visit::visit_type_selector(visitor, node),
5886 swc_visit::Either::Right(visitor) => Visit::visit_type_selector(visitor, node),
5887 }
5888 }
5889
5890 #[inline]
5891 fn visit_unicode_range(&mut self, node: &UnicodeRange) {
5892 match self {
5893 swc_visit::Either::Left(visitor) => Visit::visit_unicode_range(visitor, node),
5894 swc_visit::Either::Right(visitor) => Visit::visit_unicode_range(visitor, node),
5895 }
5896 }
5897
5898 #[inline]
5899 fn visit_universal_selector(&mut self, node: &UniversalSelector) {
5900 match self {
5901 swc_visit::Either::Left(visitor) => Visit::visit_universal_selector(visitor, node),
5902 swc_visit::Either::Right(visitor) => Visit::visit_universal_selector(visitor, node),
5903 }
5904 }
5905
5906 #[inline]
5907 fn visit_unknown_dimension(&mut self, node: &UnknownDimension) {
5908 match self {
5909 swc_visit::Either::Left(visitor) => Visit::visit_unknown_dimension(visitor, node),
5910 swc_visit::Either::Right(visitor) => Visit::visit_unknown_dimension(visitor, node),
5911 }
5912 }
5913
5914 #[inline]
5915 fn visit_url(&mut self, node: &Url) {
5916 match self {
5917 swc_visit::Either::Left(visitor) => Visit::visit_url(visitor, node),
5918 swc_visit::Either::Right(visitor) => Visit::visit_url(visitor, node),
5919 }
5920 }
5921
5922 #[inline]
5923 fn visit_url_key_value(&mut self, node: &UrlKeyValue) {
5924 match self {
5925 swc_visit::Either::Left(visitor) => Visit::visit_url_key_value(visitor, node),
5926 swc_visit::Either::Right(visitor) => Visit::visit_url_key_value(visitor, node),
5927 }
5928 }
5929
5930 #[inline]
5931 fn visit_url_modifier(&mut self, node: &UrlModifier) {
5932 match self {
5933 swc_visit::Either::Left(visitor) => Visit::visit_url_modifier(visitor, node),
5934 swc_visit::Either::Right(visitor) => Visit::visit_url_modifier(visitor, node),
5935 }
5936 }
5937
5938 #[inline]
5939 fn visit_url_modifiers(&mut self, node: &[UrlModifier]) {
5940 match self {
5941 swc_visit::Either::Left(visitor) => Visit::visit_url_modifiers(visitor, node),
5942 swc_visit::Either::Right(visitor) => Visit::visit_url_modifiers(visitor, node),
5943 }
5944 }
5945
5946 #[inline]
5947 fn visit_url_value(&mut self, node: &UrlValue) {
5948 match self {
5949 swc_visit::Either::Left(visitor) => Visit::visit_url_value(visitor, node),
5950 swc_visit::Either::Right(visitor) => Visit::visit_url_value(visitor, node),
5951 }
5952 }
5953
5954 #[inline]
5955 fn visit_url_value_raw(&mut self, node: &UrlValueRaw) {
5956 match self {
5957 swc_visit::Either::Left(visitor) => Visit::visit_url_value_raw(visitor, node),
5958 swc_visit::Either::Right(visitor) => Visit::visit_url_value_raw(visitor, node),
5959 }
5960 }
5961
5962 #[inline]
5963 fn visit_wq_name(&mut self, node: &WqName) {
5964 match self {
5965 swc_visit::Either::Left(visitor) => Visit::visit_wq_name(visitor, node),
5966 swc_visit::Either::Right(visitor) => Visit::visit_wq_name(visitor, node),
5967 }
5968 }
5969}
5970impl<V> Visit for ::swc_visit::Optional<V>
5971where
5972 V: Visit,
5973{
5974 #[inline]
5975 fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase) {
5976 if self.enabled {
5977 <V as Visit>::visit_absolute_color_base(&mut self.visitor, node)
5978 } else {
5979 }
5980 }
5981
5982 #[inline]
5983 fn visit_alpha_value(&mut self, node: &AlphaValue) {
5984 if self.enabled {
5985 <V as Visit>::visit_alpha_value(&mut self.visitor, node)
5986 } else {
5987 }
5988 }
5989
5990 #[inline]
5991 fn visit_an_plus_b(&mut self, node: &AnPlusB) {
5992 if self.enabled {
5993 <V as Visit>::visit_an_plus_b(&mut self.visitor, node)
5994 } else {
5995 }
5996 }
5997
5998 #[inline]
5999 fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation) {
6000 if self.enabled {
6001 <V as Visit>::visit_an_plus_b_notation(&mut self.visitor, node)
6002 } else {
6003 }
6004 }
6005
6006 #[inline]
6007 fn visit_angle(&mut self, node: &Angle) {
6008 if self.enabled {
6009 <V as Visit>::visit_angle(&mut self.visitor, node)
6010 } else {
6011 }
6012 }
6013
6014 #[inline]
6015 fn visit_angle_percentage(&mut self, node: &AnglePercentage) {
6016 if self.enabled {
6017 <V as Visit>::visit_angle_percentage(&mut self.visitor, node)
6018 } else {
6019 }
6020 }
6021
6022 #[inline]
6023 fn visit_any_namespace(&mut self, node: &AnyNamespace) {
6024 if self.enabled {
6025 <V as Visit>::visit_any_namespace(&mut self.visitor, node)
6026 } else {
6027 }
6028 }
6029
6030 #[inline]
6031 fn visit_at_rule(&mut self, node: &AtRule) {
6032 if self.enabled {
6033 <V as Visit>::visit_at_rule(&mut self.visitor, node)
6034 } else {
6035 }
6036 }
6037
6038 #[inline]
6039 fn visit_at_rule_name(&mut self, node: &AtRuleName) {
6040 if self.enabled {
6041 <V as Visit>::visit_at_rule_name(&mut self.visitor, node)
6042 } else {
6043 }
6044 }
6045
6046 #[inline]
6047 fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude) {
6048 if self.enabled {
6049 <V as Visit>::visit_at_rule_prelude(&mut self.visitor, node)
6050 } else {
6051 }
6052 }
6053
6054 #[inline]
6055 fn visit_atom(&mut self, node: &swc_atoms::Atom) {
6056 if self.enabled {
6057 <V as Visit>::visit_atom(&mut self.visitor, node)
6058 } else {
6059 }
6060 }
6061
6062 #[inline]
6063 fn visit_attribute_selector(&mut self, node: &AttributeSelector) {
6064 if self.enabled {
6065 <V as Visit>::visit_attribute_selector(&mut self.visitor, node)
6066 } else {
6067 }
6068 }
6069
6070 #[inline]
6071 fn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher) {
6072 if self.enabled {
6073 <V as Visit>::visit_attribute_selector_matcher(&mut self.visitor, node)
6074 } else {
6075 }
6076 }
6077
6078 #[inline]
6079 fn visit_attribute_selector_matcher_value(&mut self, node: &AttributeSelectorMatcherValue) {
6080 if self.enabled {
6081 <V as Visit>::visit_attribute_selector_matcher_value(&mut self.visitor, node)
6082 } else {
6083 }
6084 }
6085
6086 #[inline]
6087 fn visit_attribute_selector_modifier(&mut self, node: &AttributeSelectorModifier) {
6088 if self.enabled {
6089 <V as Visit>::visit_attribute_selector_modifier(&mut self.visitor, node)
6090 } else {
6091 }
6092 }
6093
6094 #[inline]
6095 fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue) {
6096 if self.enabled {
6097 <V as Visit>::visit_attribute_selector_value(&mut self.visitor, node)
6098 } else {
6099 }
6100 }
6101
6102 #[inline]
6103 fn visit_bin_op(&mut self, node: &BinOp) {
6104 if self.enabled {
6105 <V as Visit>::visit_bin_op(&mut self.visitor, node)
6106 } else {
6107 }
6108 }
6109
6110 #[inline]
6111 fn visit_calc_operator(&mut self, node: &CalcOperator) {
6112 if self.enabled {
6113 <V as Visit>::visit_calc_operator(&mut self.visitor, node)
6114 } else {
6115 }
6116 }
6117
6118 #[inline]
6119 fn visit_calc_operator_type(&mut self, node: &CalcOperatorType) {
6120 if self.enabled {
6121 <V as Visit>::visit_calc_operator_type(&mut self.visitor, node)
6122 } else {
6123 }
6124 }
6125
6126 #[inline]
6127 fn visit_calc_product(&mut self, node: &CalcProduct) {
6128 if self.enabled {
6129 <V as Visit>::visit_calc_product(&mut self.visitor, node)
6130 } else {
6131 }
6132 }
6133
6134 #[inline]
6135 fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator) {
6136 if self.enabled {
6137 <V as Visit>::visit_calc_product_or_operator(&mut self.visitor, node)
6138 } else {
6139 }
6140 }
6141
6142 #[inline]
6143 fn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator]) {
6144 if self.enabled {
6145 <V as Visit>::visit_calc_product_or_operators(&mut self.visitor, node)
6146 } else {
6147 }
6148 }
6149
6150 #[inline]
6151 fn visit_calc_sum(&mut self, node: &CalcSum) {
6152 if self.enabled {
6153 <V as Visit>::visit_calc_sum(&mut self.visitor, node)
6154 } else {
6155 }
6156 }
6157
6158 #[inline]
6159 fn visit_calc_value(&mut self, node: &CalcValue) {
6160 if self.enabled {
6161 <V as Visit>::visit_calc_value(&mut self.visitor, node)
6162 } else {
6163 }
6164 }
6165
6166 #[inline]
6167 fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator) {
6168 if self.enabled {
6169 <V as Visit>::visit_calc_value_or_operator(&mut self.visitor, node)
6170 } else {
6171 }
6172 }
6173
6174 #[inline]
6175 fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator]) {
6176 if self.enabled {
6177 <V as Visit>::visit_calc_value_or_operators(&mut self.visitor, node)
6178 } else {
6179 }
6180 }
6181
6182 #[inline]
6183 fn visit_class_selector(&mut self, node: &ClassSelector) {
6184 if self.enabled {
6185 <V as Visit>::visit_class_selector(&mut self.visitor, node)
6186 } else {
6187 }
6188 }
6189
6190 #[inline]
6191 fn visit_cmyk_component(&mut self, node: &CmykComponent) {
6192 if self.enabled {
6193 <V as Visit>::visit_cmyk_component(&mut self.visitor, node)
6194 } else {
6195 }
6196 }
6197
6198 #[inline]
6199 fn visit_color(&mut self, node: &Color) {
6200 if self.enabled {
6201 <V as Visit>::visit_color(&mut self.visitor, node)
6202 } else {
6203 }
6204 }
6205
6206 #[inline]
6207 fn visit_color_profile_name(&mut self, node: &ColorProfileName) {
6208 if self.enabled {
6209 <V as Visit>::visit_color_profile_name(&mut self.visitor, node)
6210 } else {
6211 }
6212 }
6213
6214 #[inline]
6215 fn visit_combinator(&mut self, node: &Combinator) {
6216 if self.enabled {
6217 <V as Visit>::visit_combinator(&mut self.visitor, node)
6218 } else {
6219 }
6220 }
6221
6222 #[inline]
6223 fn visit_combinator_value(&mut self, node: &CombinatorValue) {
6224 if self.enabled {
6225 <V as Visit>::visit_combinator_value(&mut self.visitor, node)
6226 } else {
6227 }
6228 }
6229
6230 #[inline]
6231 fn visit_complex_selector(&mut self, node: &ComplexSelector) {
6232 if self.enabled {
6233 <V as Visit>::visit_complex_selector(&mut self.visitor, node)
6234 } else {
6235 }
6236 }
6237
6238 #[inline]
6239 fn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren) {
6240 if self.enabled {
6241 <V as Visit>::visit_complex_selector_children(&mut self.visitor, node)
6242 } else {
6243 }
6244 }
6245
6246 #[inline]
6247 fn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren]) {
6248 if self.enabled {
6249 <V as Visit>::visit_complex_selector_childrens(&mut self.visitor, node)
6250 } else {
6251 }
6252 }
6253
6254 #[inline]
6255 fn visit_complex_selectors(&mut self, node: &[ComplexSelector]) {
6256 if self.enabled {
6257 <V as Visit>::visit_complex_selectors(&mut self.visitor, node)
6258 } else {
6259 }
6260 }
6261
6262 #[inline]
6263 fn visit_component_value(&mut self, node: &ComponentValue) {
6264 if self.enabled {
6265 <V as Visit>::visit_component_value(&mut self.visitor, node)
6266 } else {
6267 }
6268 }
6269
6270 #[inline]
6271 fn visit_component_values(&mut self, node: &[ComponentValue]) {
6272 if self.enabled {
6273 <V as Visit>::visit_component_values(&mut self.visitor, node)
6274 } else {
6275 }
6276 }
6277
6278 #[inline]
6279 fn visit_compound_selector(&mut self, node: &CompoundSelector) {
6280 if self.enabled {
6281 <V as Visit>::visit_compound_selector(&mut self.visitor, node)
6282 } else {
6283 }
6284 }
6285
6286 #[inline]
6287 fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList) {
6288 if self.enabled {
6289 <V as Visit>::visit_compound_selector_list(&mut self.visitor, node)
6290 } else {
6291 }
6292 }
6293
6294 #[inline]
6295 fn visit_compound_selectors(&mut self, node: &[CompoundSelector]) {
6296 if self.enabled {
6297 <V as Visit>::visit_compound_selectors(&mut self.visitor, node)
6298 } else {
6299 }
6300 }
6301
6302 #[inline]
6303 fn visit_container_condition(&mut self, node: &ContainerCondition) {
6304 if self.enabled {
6305 <V as Visit>::visit_container_condition(&mut self.visitor, node)
6306 } else {
6307 }
6308 }
6309
6310 #[inline]
6311 fn visit_container_name(&mut self, node: &ContainerName) {
6312 if self.enabled {
6313 <V as Visit>::visit_container_name(&mut self.visitor, node)
6314 } else {
6315 }
6316 }
6317
6318 #[inline]
6319 fn visit_container_query(&mut self, node: &ContainerQuery) {
6320 if self.enabled {
6321 <V as Visit>::visit_container_query(&mut self.visitor, node)
6322 } else {
6323 }
6324 }
6325
6326 #[inline]
6327 fn visit_container_query_and(&mut self, node: &ContainerQueryAnd) {
6328 if self.enabled {
6329 <V as Visit>::visit_container_query_and(&mut self.visitor, node)
6330 } else {
6331 }
6332 }
6333
6334 #[inline]
6335 fn visit_container_query_not(&mut self, node: &ContainerQueryNot) {
6336 if self.enabled {
6337 <V as Visit>::visit_container_query_not(&mut self.visitor, node)
6338 } else {
6339 }
6340 }
6341
6342 #[inline]
6343 fn visit_container_query_or(&mut self, node: &ContainerQueryOr) {
6344 if self.enabled {
6345 <V as Visit>::visit_container_query_or(&mut self.visitor, node)
6346 } else {
6347 }
6348 }
6349
6350 #[inline]
6351 fn visit_container_query_type(&mut self, node: &ContainerQueryType) {
6352 if self.enabled {
6353 <V as Visit>::visit_container_query_type(&mut self.visitor, node)
6354 } else {
6355 }
6356 }
6357
6358 #[inline]
6359 fn visit_container_query_types(&mut self, node: &[ContainerQueryType]) {
6360 if self.enabled {
6361 <V as Visit>::visit_container_query_types(&mut self.visitor, node)
6362 } else {
6363 }
6364 }
6365
6366 #[inline]
6367 fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName) {
6368 if self.enabled {
6369 <V as Visit>::visit_custom_highlight_name(&mut self.visitor, node)
6370 } else {
6371 }
6372 }
6373
6374 #[inline]
6375 fn visit_custom_ident(&mut self, node: &CustomIdent) {
6376 if self.enabled {
6377 <V as Visit>::visit_custom_ident(&mut self.visitor, node)
6378 } else {
6379 }
6380 }
6381
6382 #[inline]
6383 fn visit_custom_idents(&mut self, node: &[CustomIdent]) {
6384 if self.enabled {
6385 <V as Visit>::visit_custom_idents(&mut self.visitor, node)
6386 } else {
6387 }
6388 }
6389
6390 #[inline]
6391 fn visit_custom_media_query(&mut self, node: &CustomMediaQuery) {
6392 if self.enabled {
6393 <V as Visit>::visit_custom_media_query(&mut self.visitor, node)
6394 } else {
6395 }
6396 }
6397
6398 #[inline]
6399 fn visit_custom_media_query_media_type(&mut self, node: &CustomMediaQueryMediaType) {
6400 if self.enabled {
6401 <V as Visit>::visit_custom_media_query_media_type(&mut self.visitor, node)
6402 } else {
6403 }
6404 }
6405
6406 #[inline]
6407 fn visit_custom_property_name(&mut self, node: &CustomPropertyName) {
6408 if self.enabled {
6409 <V as Visit>::visit_custom_property_name(&mut self.visitor, node)
6410 } else {
6411 }
6412 }
6413
6414 #[inline]
6415 fn visit_dashed_ident(&mut self, node: &DashedIdent) {
6416 if self.enabled {
6417 <V as Visit>::visit_dashed_ident(&mut self.visitor, node)
6418 } else {
6419 }
6420 }
6421
6422 #[inline]
6423 fn visit_declaration(&mut self, node: &Declaration) {
6424 if self.enabled {
6425 <V as Visit>::visit_declaration(&mut self.visitor, node)
6426 } else {
6427 }
6428 }
6429
6430 #[inline]
6431 fn visit_declaration_name(&mut self, node: &DeclarationName) {
6432 if self.enabled {
6433 <V as Visit>::visit_declaration_name(&mut self.visitor, node)
6434 } else {
6435 }
6436 }
6437
6438 #[inline]
6439 fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule) {
6440 if self.enabled {
6441 <V as Visit>::visit_declaration_or_at_rule(&mut self.visitor, node)
6442 } else {
6443 }
6444 }
6445
6446 #[inline]
6447 fn visit_delimiter(&mut self, node: &Delimiter) {
6448 if self.enabled {
6449 <V as Visit>::visit_delimiter(&mut self.visitor, node)
6450 } else {
6451 }
6452 }
6453
6454 #[inline]
6455 fn visit_delimiter_value(&mut self, node: &DelimiterValue) {
6456 if self.enabled {
6457 <V as Visit>::visit_delimiter_value(&mut self.visitor, node)
6458 } else {
6459 }
6460 }
6461
6462 #[inline]
6463 fn visit_dimension(&mut self, node: &Dimension) {
6464 if self.enabled {
6465 <V as Visit>::visit_dimension(&mut self.visitor, node)
6466 } else {
6467 }
6468 }
6469
6470 #[inline]
6471 fn visit_dimension_token(&mut self, node: &DimensionToken) {
6472 if self.enabled {
6473 <V as Visit>::visit_dimension_token(&mut self.visitor, node)
6474 } else {
6475 }
6476 }
6477
6478 #[inline]
6479 fn visit_document_prelude(&mut self, node: &DocumentPrelude) {
6480 if self.enabled {
6481 <V as Visit>::visit_document_prelude(&mut self.visitor, node)
6482 } else {
6483 }
6484 }
6485
6486 #[inline]
6487 fn visit_document_prelude_matching_function(&mut self, node: &DocumentPreludeMatchingFunction) {
6488 if self.enabled {
6489 <V as Visit>::visit_document_prelude_matching_function(&mut self.visitor, node)
6490 } else {
6491 }
6492 }
6493
6494 #[inline]
6495 fn visit_document_prelude_matching_functions(
6496 &mut self,
6497 node: &[DocumentPreludeMatchingFunction],
6498 ) {
6499 if self.enabled {
6500 <V as Visit>::visit_document_prelude_matching_functions(&mut self.visitor, node)
6501 } else {
6502 }
6503 }
6504
6505 #[inline]
6506 fn visit_extension_name(&mut self, node: &ExtensionName) {
6507 if self.enabled {
6508 <V as Visit>::visit_extension_name(&mut self.visitor, node)
6509 } else {
6510 }
6511 }
6512
6513 #[inline]
6514 fn visit_family_name(&mut self, node: &FamilyName) {
6515 if self.enabled {
6516 <V as Visit>::visit_family_name(&mut self.visitor, node)
6517 } else {
6518 }
6519 }
6520
6521 #[inline]
6522 fn visit_family_names(&mut self, node: &[FamilyName]) {
6523 if self.enabled {
6524 <V as Visit>::visit_family_names(&mut self.visitor, node)
6525 } else {
6526 }
6527 }
6528
6529 #[inline]
6530 fn visit_flex(&mut self, node: &Flex) {
6531 if self.enabled {
6532 <V as Visit>::visit_flex(&mut self.visitor, node)
6533 } else {
6534 }
6535 }
6536
6537 #[inline]
6538 fn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude) {
6539 if self.enabled {
6540 <V as Visit>::visit_font_feature_values_prelude(&mut self.visitor, node)
6541 } else {
6542 }
6543 }
6544
6545 #[inline]
6546 fn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector) {
6547 if self.enabled {
6548 <V as Visit>::visit_forgiving_complex_selector(&mut self.visitor, node)
6549 } else {
6550 }
6551 }
6552
6553 #[inline]
6554 fn visit_forgiving_complex_selectors(&mut self, node: &[ForgivingComplexSelector]) {
6555 if self.enabled {
6556 <V as Visit>::visit_forgiving_complex_selectors(&mut self.visitor, node)
6557 } else {
6558 }
6559 }
6560
6561 #[inline]
6562 fn visit_forgiving_relative_selector(&mut self, node: &ForgivingRelativeSelector) {
6563 if self.enabled {
6564 <V as Visit>::visit_forgiving_relative_selector(&mut self.visitor, node)
6565 } else {
6566 }
6567 }
6568
6569 #[inline]
6570 fn visit_forgiving_relative_selector_list(&mut self, node: &ForgivingRelativeSelectorList) {
6571 if self.enabled {
6572 <V as Visit>::visit_forgiving_relative_selector_list(&mut self.visitor, node)
6573 } else {
6574 }
6575 }
6576
6577 #[inline]
6578 fn visit_forgiving_relative_selectors(&mut self, node: &[ForgivingRelativeSelector]) {
6579 if self.enabled {
6580 <V as Visit>::visit_forgiving_relative_selectors(&mut self.visitor, node)
6581 } else {
6582 }
6583 }
6584
6585 #[inline]
6586 fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList) {
6587 if self.enabled {
6588 <V as Visit>::visit_forgiving_selector_list(&mut self.visitor, node)
6589 } else {
6590 }
6591 }
6592
6593 #[inline]
6594 fn visit_frequency(&mut self, node: &Frequency) {
6595 if self.enabled {
6596 <V as Visit>::visit_frequency(&mut self.visitor, node)
6597 } else {
6598 }
6599 }
6600
6601 #[inline]
6602 fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage) {
6603 if self.enabled {
6604 <V as Visit>::visit_frequency_percentage(&mut self.visitor, node)
6605 } else {
6606 }
6607 }
6608
6609 #[inline]
6610 fn visit_function(&mut self, node: &Function) {
6611 if self.enabled {
6612 <V as Visit>::visit_function(&mut self.visitor, node)
6613 } else {
6614 }
6615 }
6616
6617 #[inline]
6618 fn visit_function_name(&mut self, node: &FunctionName) {
6619 if self.enabled {
6620 <V as Visit>::visit_function_name(&mut self.visitor, node)
6621 } else {
6622 }
6623 }
6624
6625 #[inline]
6626 fn visit_general_enclosed(&mut self, node: &GeneralEnclosed) {
6627 if self.enabled {
6628 <V as Visit>::visit_general_enclosed(&mut self.visitor, node)
6629 } else {
6630 }
6631 }
6632
6633 #[inline]
6634 fn visit_hex_color(&mut self, node: &HexColor) {
6635 if self.enabled {
6636 <V as Visit>::visit_hex_color(&mut self.visitor, node)
6637 } else {
6638 }
6639 }
6640
6641 #[inline]
6642 fn visit_hue(&mut self, node: &Hue) {
6643 if self.enabled {
6644 <V as Visit>::visit_hue(&mut self.visitor, node)
6645 } else {
6646 }
6647 }
6648
6649 #[inline]
6650 fn visit_id_selector(&mut self, node: &IdSelector) {
6651 if self.enabled {
6652 <V as Visit>::visit_id_selector(&mut self.visitor, node)
6653 } else {
6654 }
6655 }
6656
6657 #[inline]
6658 fn visit_ident(&mut self, node: &Ident) {
6659 if self.enabled {
6660 <V as Visit>::visit_ident(&mut self.visitor, node)
6661 } else {
6662 }
6663 }
6664
6665 #[inline]
6666 fn visit_idents(&mut self, node: &[Ident]) {
6667 if self.enabled {
6668 <V as Visit>::visit_idents(&mut self.visitor, node)
6669 } else {
6670 }
6671 }
6672
6673 #[inline]
6674 fn visit_import_conditions(&mut self, node: &ImportConditions) {
6675 if self.enabled {
6676 <V as Visit>::visit_import_conditions(&mut self.visitor, node)
6677 } else {
6678 }
6679 }
6680
6681 #[inline]
6682 fn visit_import_href(&mut self, node: &ImportHref) {
6683 if self.enabled {
6684 <V as Visit>::visit_import_href(&mut self.visitor, node)
6685 } else {
6686 }
6687 }
6688
6689 #[inline]
6690 fn visit_import_layer_name(&mut self, node: &ImportLayerName) {
6691 if self.enabled {
6692 <V as Visit>::visit_import_layer_name(&mut self.visitor, node)
6693 } else {
6694 }
6695 }
6696
6697 #[inline]
6698 fn visit_import_prelude(&mut self, node: &ImportPrelude) {
6699 if self.enabled {
6700 <V as Visit>::visit_import_prelude(&mut self.visitor, node)
6701 } else {
6702 }
6703 }
6704
6705 #[inline]
6706 fn visit_important_flag(&mut self, node: &ImportantFlag) {
6707 if self.enabled {
6708 <V as Visit>::visit_important_flag(&mut self.visitor, node)
6709 } else {
6710 }
6711 }
6712
6713 #[inline]
6714 fn visit_integer(&mut self, node: &Integer) {
6715 if self.enabled {
6716 <V as Visit>::visit_integer(&mut self.visitor, node)
6717 } else {
6718 }
6719 }
6720
6721 #[inline]
6722 fn visit_keyframe_block(&mut self, node: &KeyframeBlock) {
6723 if self.enabled {
6724 <V as Visit>::visit_keyframe_block(&mut self.visitor, node)
6725 } else {
6726 }
6727 }
6728
6729 #[inline]
6730 fn visit_keyframe_selector(&mut self, node: &KeyframeSelector) {
6731 if self.enabled {
6732 <V as Visit>::visit_keyframe_selector(&mut self.visitor, node)
6733 } else {
6734 }
6735 }
6736
6737 #[inline]
6738 fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector]) {
6739 if self.enabled {
6740 <V as Visit>::visit_keyframe_selectors(&mut self.visitor, node)
6741 } else {
6742 }
6743 }
6744
6745 #[inline]
6746 fn visit_keyframes_name(&mut self, node: &KeyframesName) {
6747 if self.enabled {
6748 <V as Visit>::visit_keyframes_name(&mut self.visitor, node)
6749 } else {
6750 }
6751 }
6752
6753 #[inline]
6754 fn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction) {
6755 if self.enabled {
6756 <V as Visit>::visit_keyframes_pseudo_function(&mut self.visitor, node)
6757 } else {
6758 }
6759 }
6760
6761 #[inline]
6762 fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix) {
6763 if self.enabled {
6764 <V as Visit>::visit_keyframes_pseudo_prefix(&mut self.visitor, node)
6765 } else {
6766 }
6767 }
6768
6769 #[inline]
6770 fn visit_layer_name(&mut self, node: &LayerName) {
6771 if self.enabled {
6772 <V as Visit>::visit_layer_name(&mut self.visitor, node)
6773 } else {
6774 }
6775 }
6776
6777 #[inline]
6778 fn visit_layer_name_list(&mut self, node: &LayerNameList) {
6779 if self.enabled {
6780 <V as Visit>::visit_layer_name_list(&mut self.visitor, node)
6781 } else {
6782 }
6783 }
6784
6785 #[inline]
6786 fn visit_layer_names(&mut self, node: &[LayerName]) {
6787 if self.enabled {
6788 <V as Visit>::visit_layer_names(&mut self.visitor, node)
6789 } else {
6790 }
6791 }
6792
6793 #[inline]
6794 fn visit_layer_prelude(&mut self, node: &LayerPrelude) {
6795 if self.enabled {
6796 <V as Visit>::visit_layer_prelude(&mut self.visitor, node)
6797 } else {
6798 }
6799 }
6800
6801 #[inline]
6802 fn visit_length(&mut self, node: &Length) {
6803 if self.enabled {
6804 <V as Visit>::visit_length(&mut self.visitor, node)
6805 } else {
6806 }
6807 }
6808
6809 #[inline]
6810 fn visit_length_percentage(&mut self, node: &LengthPercentage) {
6811 if self.enabled {
6812 <V as Visit>::visit_length_percentage(&mut self.visitor, node)
6813 } else {
6814 }
6815 }
6816
6817 #[inline]
6818 fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues) {
6819 if self.enabled {
6820 <V as Visit>::visit_list_of_component_values(&mut self.visitor, node)
6821 } else {
6822 }
6823 }
6824
6825 #[inline]
6826 fn visit_media_and(&mut self, node: &MediaAnd) {
6827 if self.enabled {
6828 <V as Visit>::visit_media_and(&mut self.visitor, node)
6829 } else {
6830 }
6831 }
6832
6833 #[inline]
6834 fn visit_media_condition(&mut self, node: &MediaCondition) {
6835 if self.enabled {
6836 <V as Visit>::visit_media_condition(&mut self.visitor, node)
6837 } else {
6838 }
6839 }
6840
6841 #[inline]
6842 fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType) {
6843 if self.enabled {
6844 <V as Visit>::visit_media_condition_all_type(&mut self.visitor, node)
6845 } else {
6846 }
6847 }
6848
6849 #[inline]
6850 fn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType]) {
6851 if self.enabled {
6852 <V as Visit>::visit_media_condition_all_types(&mut self.visitor, node)
6853 } else {
6854 }
6855 }
6856
6857 #[inline]
6858 fn visit_media_condition_type(&mut self, node: &MediaConditionType) {
6859 if self.enabled {
6860 <V as Visit>::visit_media_condition_type(&mut self.visitor, node)
6861 } else {
6862 }
6863 }
6864
6865 #[inline]
6866 fn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr) {
6867 if self.enabled {
6868 <V as Visit>::visit_media_condition_without_or(&mut self.visitor, node)
6869 } else {
6870 }
6871 }
6872
6873 #[inline]
6874 fn visit_media_condition_without_or_type(&mut self, node: &MediaConditionWithoutOrType) {
6875 if self.enabled {
6876 <V as Visit>::visit_media_condition_without_or_type(&mut self.visitor, node)
6877 } else {
6878 }
6879 }
6880
6881 #[inline]
6882 fn visit_media_condition_without_or_types(&mut self, node: &[MediaConditionWithoutOrType]) {
6883 if self.enabled {
6884 <V as Visit>::visit_media_condition_without_or_types(&mut self.visitor, node)
6885 } else {
6886 }
6887 }
6888
6889 #[inline]
6890 fn visit_media_feature(&mut self, node: &MediaFeature) {
6891 if self.enabled {
6892 <V as Visit>::visit_media_feature(&mut self.visitor, node)
6893 } else {
6894 }
6895 }
6896
6897 #[inline]
6898 fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean) {
6899 if self.enabled {
6900 <V as Visit>::visit_media_feature_boolean(&mut self.visitor, node)
6901 } else {
6902 }
6903 }
6904
6905 #[inline]
6906 fn visit_media_feature_name(&mut self, node: &MediaFeatureName) {
6907 if self.enabled {
6908 <V as Visit>::visit_media_feature_name(&mut self.visitor, node)
6909 } else {
6910 }
6911 }
6912
6913 #[inline]
6914 fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain) {
6915 if self.enabled {
6916 <V as Visit>::visit_media_feature_plain(&mut self.visitor, node)
6917 } else {
6918 }
6919 }
6920
6921 #[inline]
6922 fn visit_media_feature_range(&mut self, node: &MediaFeatureRange) {
6923 if self.enabled {
6924 <V as Visit>::visit_media_feature_range(&mut self.visitor, node)
6925 } else {
6926 }
6927 }
6928
6929 #[inline]
6930 fn visit_media_feature_range_comparison(&mut self, node: &MediaFeatureRangeComparison) {
6931 if self.enabled {
6932 <V as Visit>::visit_media_feature_range_comparison(&mut self.visitor, node)
6933 } else {
6934 }
6935 }
6936
6937 #[inline]
6938 fn visit_media_feature_range_interval(&mut self, node: &MediaFeatureRangeInterval) {
6939 if self.enabled {
6940 <V as Visit>::visit_media_feature_range_interval(&mut self.visitor, node)
6941 } else {
6942 }
6943 }
6944
6945 #[inline]
6946 fn visit_media_feature_value(&mut self, node: &MediaFeatureValue) {
6947 if self.enabled {
6948 <V as Visit>::visit_media_feature_value(&mut self.visitor, node)
6949 } else {
6950 }
6951 }
6952
6953 #[inline]
6954 fn visit_media_in_parens(&mut self, node: &MediaInParens) {
6955 if self.enabled {
6956 <V as Visit>::visit_media_in_parens(&mut self.visitor, node)
6957 } else {
6958 }
6959 }
6960
6961 #[inline]
6962 fn visit_media_not(&mut self, node: &MediaNot) {
6963 if self.enabled {
6964 <V as Visit>::visit_media_not(&mut self.visitor, node)
6965 } else {
6966 }
6967 }
6968
6969 #[inline]
6970 fn visit_media_or(&mut self, node: &MediaOr) {
6971 if self.enabled {
6972 <V as Visit>::visit_media_or(&mut self.visitor, node)
6973 } else {
6974 }
6975 }
6976
6977 #[inline]
6978 fn visit_media_query(&mut self, node: &MediaQuery) {
6979 if self.enabled {
6980 <V as Visit>::visit_media_query(&mut self.visitor, node)
6981 } else {
6982 }
6983 }
6984
6985 #[inline]
6986 fn visit_media_query_list(&mut self, node: &MediaQueryList) {
6987 if self.enabled {
6988 <V as Visit>::visit_media_query_list(&mut self.visitor, node)
6989 } else {
6990 }
6991 }
6992
6993 #[inline]
6994 fn visit_media_querys(&mut self, node: &[MediaQuery]) {
6995 if self.enabled {
6996 <V as Visit>::visit_media_querys(&mut self.visitor, node)
6997 } else {
6998 }
6999 }
7000
7001 #[inline]
7002 fn visit_media_type(&mut self, node: &MediaType) {
7003 if self.enabled {
7004 <V as Visit>::visit_media_type(&mut self.visitor, node)
7005 } else {
7006 }
7007 }
7008
7009 #[inline]
7010 fn visit_named_namespace(&mut self, node: &NamedNamespace) {
7011 if self.enabled {
7012 <V as Visit>::visit_named_namespace(&mut self.visitor, node)
7013 } else {
7014 }
7015 }
7016
7017 #[inline]
7018 fn visit_namespace(&mut self, node: &Namespace) {
7019 if self.enabled {
7020 <V as Visit>::visit_namespace(&mut self.visitor, node)
7021 } else {
7022 }
7023 }
7024
7025 #[inline]
7026 fn visit_namespace_prefix(&mut self, node: &NamespacePrefix) {
7027 if self.enabled {
7028 <V as Visit>::visit_namespace_prefix(&mut self.visitor, node)
7029 } else {
7030 }
7031 }
7032
7033 #[inline]
7034 fn visit_namespace_prelude(&mut self, node: &NamespacePrelude) {
7035 if self.enabled {
7036 <V as Visit>::visit_namespace_prelude(&mut self.visitor, node)
7037 } else {
7038 }
7039 }
7040
7041 #[inline]
7042 fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri) {
7043 if self.enabled {
7044 <V as Visit>::visit_namespace_prelude_uri(&mut self.visitor, node)
7045 } else {
7046 }
7047 }
7048
7049 #[inline]
7050 fn visit_nesting_selector(&mut self, node: &NestingSelector) {
7051 if self.enabled {
7052 <V as Visit>::visit_nesting_selector(&mut self.visitor, node)
7053 } else {
7054 }
7055 }
7056
7057 #[inline]
7058 fn visit_number(&mut self, node: &Number) {
7059 if self.enabled {
7060 <V as Visit>::visit_number(&mut self.visitor, node)
7061 } else {
7062 }
7063 }
7064
7065 #[inline]
7066 fn visit_number_type(&mut self, node: &NumberType) {
7067 if self.enabled {
7068 <V as Visit>::visit_number_type(&mut self.visitor, node)
7069 } else {
7070 }
7071 }
7072
7073 #[inline]
7074 fn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>) {
7075 if self.enabled {
7076 <V as Visit>::visit_opt_at_rule_prelude(&mut self.visitor, node)
7077 } else {
7078 }
7079 }
7080
7081 #[inline]
7082 fn visit_opt_atom(&mut self, node: &Option<swc_atoms::Atom>) {
7083 if self.enabled {
7084 <V as Visit>::visit_opt_atom(&mut self.visitor, node)
7085 } else {
7086 }
7087 }
7088
7089 #[inline]
7090 fn visit_opt_attribute_selector_matcher(&mut self, node: &Option<AttributeSelectorMatcher>) {
7091 if self.enabled {
7092 <V as Visit>::visit_opt_attribute_selector_matcher(&mut self.visitor, node)
7093 } else {
7094 }
7095 }
7096
7097 #[inline]
7098 fn visit_opt_attribute_selector_modifier(&mut self, node: &Option<AttributeSelectorModifier>) {
7099 if self.enabled {
7100 <V as Visit>::visit_opt_attribute_selector_modifier(&mut self.visitor, node)
7101 } else {
7102 }
7103 }
7104
7105 #[inline]
7106 fn visit_opt_attribute_selector_value(&mut self, node: &Option<AttributeSelectorValue>) {
7107 if self.enabled {
7108 <V as Visit>::visit_opt_attribute_selector_value(&mut self.visitor, node)
7109 } else {
7110 }
7111 }
7112
7113 #[inline]
7114 fn visit_opt_combinator(&mut self, node: &Option<Combinator>) {
7115 if self.enabled {
7116 <V as Visit>::visit_opt_combinator(&mut self.visitor, node)
7117 } else {
7118 }
7119 }
7120
7121 #[inline]
7122 fn visit_opt_container_name(&mut self, node: &Option<ContainerName>) {
7123 if self.enabled {
7124 <V as Visit>::visit_opt_container_name(&mut self.visitor, node)
7125 } else {
7126 }
7127 }
7128
7129 #[inline]
7130 fn visit_opt_forgiving_selector_list(&mut self, node: &Option<ForgivingSelectorList>) {
7131 if self.enabled {
7132 <V as Visit>::visit_opt_forgiving_selector_list(&mut self.visitor, node)
7133 } else {
7134 }
7135 }
7136
7137 #[inline]
7138 fn visit_opt_function(&mut self, node: &Option<Box<Function>>) {
7139 if self.enabled {
7140 <V as Visit>::visit_opt_function(&mut self.visitor, node)
7141 } else {
7142 }
7143 }
7144
7145 #[inline]
7146 fn visit_opt_ident(&mut self, node: &Option<Ident>) {
7147 if self.enabled {
7148 <V as Visit>::visit_opt_ident(&mut self.visitor, node)
7149 } else {
7150 }
7151 }
7152
7153 #[inline]
7154 fn visit_opt_import_conditions(&mut self, node: &Option<Box<ImportConditions>>) {
7155 if self.enabled {
7156 <V as Visit>::visit_opt_import_conditions(&mut self.visitor, node)
7157 } else {
7158 }
7159 }
7160
7161 #[inline]
7162 fn visit_opt_import_layer_name(&mut self, node: &Option<Box<ImportLayerName>>) {
7163 if self.enabled {
7164 <V as Visit>::visit_opt_import_layer_name(&mut self.visitor, node)
7165 } else {
7166 }
7167 }
7168
7169 #[inline]
7170 fn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>) {
7171 if self.enabled {
7172 <V as Visit>::visit_opt_important_flag(&mut self.visitor, node)
7173 } else {
7174 }
7175 }
7176
7177 #[inline]
7178 fn visit_opt_media_condition_type(&mut self, node: &Option<Box<MediaConditionType>>) {
7179 if self.enabled {
7180 <V as Visit>::visit_opt_media_condition_type(&mut self.visitor, node)
7181 } else {
7182 }
7183 }
7184
7185 #[inline]
7186 fn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>) {
7187 if self.enabled {
7188 <V as Visit>::visit_opt_media_query_list(&mut self.visitor, node)
7189 } else {
7190 }
7191 }
7192
7193 #[inline]
7194 fn visit_opt_media_type(&mut self, node: &Option<MediaType>) {
7195 if self.enabled {
7196 <V as Visit>::visit_opt_media_type(&mut self.visitor, node)
7197 } else {
7198 }
7199 }
7200
7201 #[inline]
7202 fn visit_opt_namespace(&mut self, node: &Option<Namespace>) {
7203 if self.enabled {
7204 <V as Visit>::visit_opt_namespace(&mut self.visitor, node)
7205 } else {
7206 }
7207 }
7208
7209 #[inline]
7210 fn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>) {
7211 if self.enabled {
7212 <V as Visit>::visit_opt_namespace_prefix(&mut self.visitor, node)
7213 } else {
7214 }
7215 }
7216
7217 #[inline]
7218 fn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>) {
7219 if self.enabled {
7220 <V as Visit>::visit_opt_nesting_selector(&mut self.visitor, node)
7221 } else {
7222 }
7223 }
7224
7225 #[inline]
7226 fn visit_opt_number(&mut self, node: &Option<Number>) {
7227 if self.enabled {
7228 <V as Visit>::visit_opt_number(&mut self.visitor, node)
7229 } else {
7230 }
7231 }
7232
7233 #[inline]
7234 fn visit_opt_page_selector_pseudos(&mut self, node: &Option<Vec<PageSelectorPseudo>>) {
7235 if self.enabled {
7236 <V as Visit>::visit_opt_page_selector_pseudos(&mut self.visitor, node)
7237 } else {
7238 }
7239 }
7240
7241 #[inline]
7242 fn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>) {
7243 if self.enabled {
7244 <V as Visit>::visit_opt_page_selector_type(&mut self.visitor, node)
7245 } else {
7246 }
7247 }
7248
7249 #[inline]
7250 fn visit_opt_pseudo_class_selector_childrens(
7251 &mut self,
7252 node: &Option<Vec<PseudoClassSelectorChildren>>,
7253 ) {
7254 if self.enabled {
7255 <V as Visit>::visit_opt_pseudo_class_selector_childrens(&mut self.visitor, node)
7256 } else {
7257 }
7258 }
7259
7260 #[inline]
7261 fn visit_opt_pseudo_element_selector_childrens(
7262 &mut self,
7263 node: &Option<Vec<PseudoElementSelectorChildren>>,
7264 ) {
7265 if self.enabled {
7266 <V as Visit>::visit_opt_pseudo_element_selector_childrens(&mut self.visitor, node)
7267 } else {
7268 }
7269 }
7270
7271 #[inline]
7272 fn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>) {
7273 if self.enabled {
7274 <V as Visit>::visit_opt_simple_block(&mut self.visitor, node)
7275 } else {
7276 }
7277 }
7278
7279 #[inline]
7280 fn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>) {
7281 if self.enabled {
7282 <V as Visit>::visit_opt_type_selector(&mut self.visitor, node)
7283 } else {
7284 }
7285 }
7286
7287 #[inline]
7288 fn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>) {
7289 if self.enabled {
7290 <V as Visit>::visit_opt_url_modifiers(&mut self.visitor, node)
7291 } else {
7292 }
7293 }
7294
7295 #[inline]
7296 fn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>) {
7297 if self.enabled {
7298 <V as Visit>::visit_opt_url_value(&mut self.visitor, node)
7299 } else {
7300 }
7301 }
7302
7303 #[inline]
7304 fn visit_page_selector(&mut self, node: &PageSelector) {
7305 if self.enabled {
7306 <V as Visit>::visit_page_selector(&mut self.visitor, node)
7307 } else {
7308 }
7309 }
7310
7311 #[inline]
7312 fn visit_page_selector_list(&mut self, node: &PageSelectorList) {
7313 if self.enabled {
7314 <V as Visit>::visit_page_selector_list(&mut self.visitor, node)
7315 } else {
7316 }
7317 }
7318
7319 #[inline]
7320 fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo) {
7321 if self.enabled {
7322 <V as Visit>::visit_page_selector_pseudo(&mut self.visitor, node)
7323 } else {
7324 }
7325 }
7326
7327 #[inline]
7328 fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo]) {
7329 if self.enabled {
7330 <V as Visit>::visit_page_selector_pseudos(&mut self.visitor, node)
7331 } else {
7332 }
7333 }
7334
7335 #[inline]
7336 fn visit_page_selector_type(&mut self, node: &PageSelectorType) {
7337 if self.enabled {
7338 <V as Visit>::visit_page_selector_type(&mut self.visitor, node)
7339 } else {
7340 }
7341 }
7342
7343 #[inline]
7344 fn visit_page_selectors(&mut self, node: &[PageSelector]) {
7345 if self.enabled {
7346 <V as Visit>::visit_page_selectors(&mut self.visitor, node)
7347 } else {
7348 }
7349 }
7350
7351 #[inline]
7352 fn visit_percentage(&mut self, node: &Percentage) {
7353 if self.enabled {
7354 <V as Visit>::visit_percentage(&mut self.visitor, node)
7355 } else {
7356 }
7357 }
7358
7359 #[inline]
7360 fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector) {
7361 if self.enabled {
7362 <V as Visit>::visit_pseudo_class_selector(&mut self.visitor, node)
7363 } else {
7364 }
7365 }
7366
7367 #[inline]
7368 fn visit_pseudo_class_selector_children(&mut self, node: &PseudoClassSelectorChildren) {
7369 if self.enabled {
7370 <V as Visit>::visit_pseudo_class_selector_children(&mut self.visitor, node)
7371 } else {
7372 }
7373 }
7374
7375 #[inline]
7376 fn visit_pseudo_class_selector_childrens(&mut self, node: &[PseudoClassSelectorChildren]) {
7377 if self.enabled {
7378 <V as Visit>::visit_pseudo_class_selector_childrens(&mut self.visitor, node)
7379 } else {
7380 }
7381 }
7382
7383 #[inline]
7384 fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector) {
7385 if self.enabled {
7386 <V as Visit>::visit_pseudo_element_selector(&mut self.visitor, node)
7387 } else {
7388 }
7389 }
7390
7391 #[inline]
7392 fn visit_pseudo_element_selector_children(&mut self, node: &PseudoElementSelectorChildren) {
7393 if self.enabled {
7394 <V as Visit>::visit_pseudo_element_selector_children(&mut self.visitor, node)
7395 } else {
7396 }
7397 }
7398
7399 #[inline]
7400 fn visit_pseudo_element_selector_childrens(&mut self, node: &[PseudoElementSelectorChildren]) {
7401 if self.enabled {
7402 <V as Visit>::visit_pseudo_element_selector_childrens(&mut self.visitor, node)
7403 } else {
7404 }
7405 }
7406
7407 #[inline]
7408 fn visit_qualified_rule(&mut self, node: &QualifiedRule) {
7409 if self.enabled {
7410 <V as Visit>::visit_qualified_rule(&mut self.visitor, node)
7411 } else {
7412 }
7413 }
7414
7415 #[inline]
7416 fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude) {
7417 if self.enabled {
7418 <V as Visit>::visit_qualified_rule_prelude(&mut self.visitor, node)
7419 } else {
7420 }
7421 }
7422
7423 #[inline]
7424 fn visit_query_in_parens(&mut self, node: &QueryInParens) {
7425 if self.enabled {
7426 <V as Visit>::visit_query_in_parens(&mut self.visitor, node)
7427 } else {
7428 }
7429 }
7430
7431 #[inline]
7432 fn visit_ratio(&mut self, node: &Ratio) {
7433 if self.enabled {
7434 <V as Visit>::visit_ratio(&mut self.visitor, node)
7435 } else {
7436 }
7437 }
7438
7439 #[inline]
7440 fn visit_relative_selector(&mut self, node: &RelativeSelector) {
7441 if self.enabled {
7442 <V as Visit>::visit_relative_selector(&mut self.visitor, node)
7443 } else {
7444 }
7445 }
7446
7447 #[inline]
7448 fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList) {
7449 if self.enabled {
7450 <V as Visit>::visit_relative_selector_list(&mut self.visitor, node)
7451 } else {
7452 }
7453 }
7454
7455 #[inline]
7456 fn visit_relative_selectors(&mut self, node: &[RelativeSelector]) {
7457 if self.enabled {
7458 <V as Visit>::visit_relative_selectors(&mut self.visitor, node)
7459 } else {
7460 }
7461 }
7462
7463 #[inline]
7464 fn visit_resolution(&mut self, node: &Resolution) {
7465 if self.enabled {
7466 <V as Visit>::visit_resolution(&mut self.visitor, node)
7467 } else {
7468 }
7469 }
7470
7471 #[inline]
7472 fn visit_rule(&mut self, node: &Rule) {
7473 if self.enabled {
7474 <V as Visit>::visit_rule(&mut self.visitor, node)
7475 } else {
7476 }
7477 }
7478
7479 #[inline]
7480 fn visit_rules(&mut self, node: &[Rule]) {
7481 if self.enabled {
7482 <V as Visit>::visit_rules(&mut self.visitor, node)
7483 } else {
7484 }
7485 }
7486
7487 #[inline]
7488 fn visit_scope_range(&mut self, node: &ScopeRange) {
7489 if self.enabled {
7490 <V as Visit>::visit_scope_range(&mut self.visitor, node)
7491 } else {
7492 }
7493 }
7494
7495 #[inline]
7496 fn visit_selector_list(&mut self, node: &SelectorList) {
7497 if self.enabled {
7498 <V as Visit>::visit_selector_list(&mut self.visitor, node)
7499 } else {
7500 }
7501 }
7502
7503 #[inline]
7504 fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents) {
7505 if self.enabled {
7506 <V as Visit>::visit_sequence_of_custom_idents(&mut self.visitor, node)
7507 } else {
7508 }
7509 }
7510
7511 #[inline]
7512 fn visit_simple_block(&mut self, node: &SimpleBlock) {
7513 if self.enabled {
7514 <V as Visit>::visit_simple_block(&mut self.visitor, node)
7515 } else {
7516 }
7517 }
7518
7519 #[inline]
7520 fn visit_size_feature(&mut self, node: &SizeFeature) {
7521 if self.enabled {
7522 <V as Visit>::visit_size_feature(&mut self.visitor, node)
7523 } else {
7524 }
7525 }
7526
7527 #[inline]
7528 fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean) {
7529 if self.enabled {
7530 <V as Visit>::visit_size_feature_boolean(&mut self.visitor, node)
7531 } else {
7532 }
7533 }
7534
7535 #[inline]
7536 fn visit_size_feature_name(&mut self, node: &SizeFeatureName) {
7537 if self.enabled {
7538 <V as Visit>::visit_size_feature_name(&mut self.visitor, node)
7539 } else {
7540 }
7541 }
7542
7543 #[inline]
7544 fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain) {
7545 if self.enabled {
7546 <V as Visit>::visit_size_feature_plain(&mut self.visitor, node)
7547 } else {
7548 }
7549 }
7550
7551 #[inline]
7552 fn visit_size_feature_range(&mut self, node: &SizeFeatureRange) {
7553 if self.enabled {
7554 <V as Visit>::visit_size_feature_range(&mut self.visitor, node)
7555 } else {
7556 }
7557 }
7558
7559 #[inline]
7560 fn visit_size_feature_range_comparison(&mut self, node: &SizeFeatureRangeComparison) {
7561 if self.enabled {
7562 <V as Visit>::visit_size_feature_range_comparison(&mut self.visitor, node)
7563 } else {
7564 }
7565 }
7566
7567 #[inline]
7568 fn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval) {
7569 if self.enabled {
7570 <V as Visit>::visit_size_feature_range_interval(&mut self.visitor, node)
7571 } else {
7572 }
7573 }
7574
7575 #[inline]
7576 fn visit_size_feature_value(&mut self, node: &SizeFeatureValue) {
7577 if self.enabled {
7578 <V as Visit>::visit_size_feature_value(&mut self.visitor, node)
7579 } else {
7580 }
7581 }
7582
7583 #[inline]
7584 fn visit_span(&mut self, node: &swc_common::Span) {
7585 if self.enabled {
7586 <V as Visit>::visit_span(&mut self.visitor, node)
7587 } else {
7588 }
7589 }
7590
7591 #[inline]
7592 fn visit_str(&mut self, node: &Str) {
7593 if self.enabled {
7594 <V as Visit>::visit_str(&mut self.visitor, node)
7595 } else {
7596 }
7597 }
7598
7599 #[inline]
7600 fn visit_style_block(&mut self, node: &StyleBlock) {
7601 if self.enabled {
7602 <V as Visit>::visit_style_block(&mut self.visitor, node)
7603 } else {
7604 }
7605 }
7606
7607 #[inline]
7608 fn visit_stylesheet(&mut self, node: &Stylesheet) {
7609 if self.enabled {
7610 <V as Visit>::visit_stylesheet(&mut self.visitor, node)
7611 } else {
7612 }
7613 }
7614
7615 #[inline]
7616 fn visit_subclass_selector(&mut self, node: &SubclassSelector) {
7617 if self.enabled {
7618 <V as Visit>::visit_subclass_selector(&mut self.visitor, node)
7619 } else {
7620 }
7621 }
7622
7623 #[inline]
7624 fn visit_subclass_selectors(&mut self, node: &[SubclassSelector]) {
7625 if self.enabled {
7626 <V as Visit>::visit_subclass_selectors(&mut self.visitor, node)
7627 } else {
7628 }
7629 }
7630
7631 #[inline]
7632 fn visit_supports_and(&mut self, node: &SupportsAnd) {
7633 if self.enabled {
7634 <V as Visit>::visit_supports_and(&mut self.visitor, node)
7635 } else {
7636 }
7637 }
7638
7639 #[inline]
7640 fn visit_supports_condition(&mut self, node: &SupportsCondition) {
7641 if self.enabled {
7642 <V as Visit>::visit_supports_condition(&mut self.visitor, node)
7643 } else {
7644 }
7645 }
7646
7647 #[inline]
7648 fn visit_supports_condition_type(&mut self, node: &SupportsConditionType) {
7649 if self.enabled {
7650 <V as Visit>::visit_supports_condition_type(&mut self.visitor, node)
7651 } else {
7652 }
7653 }
7654
7655 #[inline]
7656 fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType]) {
7657 if self.enabled {
7658 <V as Visit>::visit_supports_condition_types(&mut self.visitor, node)
7659 } else {
7660 }
7661 }
7662
7663 #[inline]
7664 fn visit_supports_feature(&mut self, node: &SupportsFeature) {
7665 if self.enabled {
7666 <V as Visit>::visit_supports_feature(&mut self.visitor, node)
7667 } else {
7668 }
7669 }
7670
7671 #[inline]
7672 fn visit_supports_in_parens(&mut self, node: &SupportsInParens) {
7673 if self.enabled {
7674 <V as Visit>::visit_supports_in_parens(&mut self.visitor, node)
7675 } else {
7676 }
7677 }
7678
7679 #[inline]
7680 fn visit_supports_not(&mut self, node: &SupportsNot) {
7681 if self.enabled {
7682 <V as Visit>::visit_supports_not(&mut self.visitor, node)
7683 } else {
7684 }
7685 }
7686
7687 #[inline]
7688 fn visit_supports_or(&mut self, node: &SupportsOr) {
7689 if self.enabled {
7690 <V as Visit>::visit_supports_or(&mut self.visitor, node)
7691 } else {
7692 }
7693 }
7694
7695 #[inline]
7696 fn visit_tag_name_selector(&mut self, node: &TagNameSelector) {
7697 if self.enabled {
7698 <V as Visit>::visit_tag_name_selector(&mut self.visitor, node)
7699 } else {
7700 }
7701 }
7702
7703 #[inline]
7704 fn visit_time(&mut self, node: &Time) {
7705 if self.enabled {
7706 <V as Visit>::visit_time(&mut self.visitor, node)
7707 } else {
7708 }
7709 }
7710
7711 #[inline]
7712 fn visit_time_percentage(&mut self, node: &TimePercentage) {
7713 if self.enabled {
7714 <V as Visit>::visit_time_percentage(&mut self.visitor, node)
7715 } else {
7716 }
7717 }
7718
7719 #[inline]
7720 fn visit_token(&mut self, node: &Token) {
7721 if self.enabled {
7722 <V as Visit>::visit_token(&mut self.visitor, node)
7723 } else {
7724 }
7725 }
7726
7727 #[inline]
7728 fn visit_token_and_span(&mut self, node: &TokenAndSpan) {
7729 if self.enabled {
7730 <V as Visit>::visit_token_and_span(&mut self.visitor, node)
7731 } else {
7732 }
7733 }
7734
7735 #[inline]
7736 fn visit_type_selector(&mut self, node: &TypeSelector) {
7737 if self.enabled {
7738 <V as Visit>::visit_type_selector(&mut self.visitor, node)
7739 } else {
7740 }
7741 }
7742
7743 #[inline]
7744 fn visit_unicode_range(&mut self, node: &UnicodeRange) {
7745 if self.enabled {
7746 <V as Visit>::visit_unicode_range(&mut self.visitor, node)
7747 } else {
7748 }
7749 }
7750
7751 #[inline]
7752 fn visit_universal_selector(&mut self, node: &UniversalSelector) {
7753 if self.enabled {
7754 <V as Visit>::visit_universal_selector(&mut self.visitor, node)
7755 } else {
7756 }
7757 }
7758
7759 #[inline]
7760 fn visit_unknown_dimension(&mut self, node: &UnknownDimension) {
7761 if self.enabled {
7762 <V as Visit>::visit_unknown_dimension(&mut self.visitor, node)
7763 } else {
7764 }
7765 }
7766
7767 #[inline]
7768 fn visit_url(&mut self, node: &Url) {
7769 if self.enabled {
7770 <V as Visit>::visit_url(&mut self.visitor, node)
7771 } else {
7772 }
7773 }
7774
7775 #[inline]
7776 fn visit_url_key_value(&mut self, node: &UrlKeyValue) {
7777 if self.enabled {
7778 <V as Visit>::visit_url_key_value(&mut self.visitor, node)
7779 } else {
7780 }
7781 }
7782
7783 #[inline]
7784 fn visit_url_modifier(&mut self, node: &UrlModifier) {
7785 if self.enabled {
7786 <V as Visit>::visit_url_modifier(&mut self.visitor, node)
7787 } else {
7788 }
7789 }
7790
7791 #[inline]
7792 fn visit_url_modifiers(&mut self, node: &[UrlModifier]) {
7793 if self.enabled {
7794 <V as Visit>::visit_url_modifiers(&mut self.visitor, node)
7795 } else {
7796 }
7797 }
7798
7799 #[inline]
7800 fn visit_url_value(&mut self, node: &UrlValue) {
7801 if self.enabled {
7802 <V as Visit>::visit_url_value(&mut self.visitor, node)
7803 } else {
7804 }
7805 }
7806
7807 #[inline]
7808 fn visit_url_value_raw(&mut self, node: &UrlValueRaw) {
7809 if self.enabled {
7810 <V as Visit>::visit_url_value_raw(&mut self.visitor, node)
7811 } else {
7812 }
7813 }
7814
7815 #[inline]
7816 fn visit_wq_name(&mut self, node: &WqName) {
7817 if self.enabled {
7818 <V as Visit>::visit_wq_name(&mut self.visitor, node)
7819 } else {
7820 }
7821 }
7822}
7823#[doc = r" A trait implemented for types that can be visited using a visitor."]
7824pub trait VisitWith<V: ?Sized + Visit> {
7825 #[doc = r" Calls a visitor method (visitor.fold_xxx) with self."]
7826 fn visit_with(&self, visitor: &mut V);
7827 #[doc = r" Visit children nodes of `self`` with `visitor`."]
7828 fn visit_children_with(&self, visitor: &mut V);
7829}
7830impl<V: ?Sized + Visit> VisitWith<V> for AbsoluteColorBase {
7831 #[doc = "Calls [Visit`::visit_absolute_color_base`] with `self`."]
7832 fn visit_with(&self, visitor: &mut V) {
7833 <V as Visit>::visit_absolute_color_base(visitor, self)
7834 }
7835
7836 fn visit_children_with(&self, visitor: &mut V) {
7837 match self {
7838 AbsoluteColorBase::HexColor { 0: _field_0 } => {
7839 <HexColor as VisitWith<V>>::visit_with(_field_0, visitor);
7840 }
7841 AbsoluteColorBase::NamedColorOrTransparent { 0: _field_0 } => {
7842 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
7843 }
7844 AbsoluteColorBase::Function { 0: _field_0 } => {
7845 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
7846 }
7847 }
7848 }
7849}
7850impl<V: ?Sized + Visit> VisitWith<V> for AlphaValue {
7851 #[doc = "Calls [Visit`::visit_alpha_value`] with `self`."]
7852 fn visit_with(&self, visitor: &mut V) {
7853 <V as Visit>::visit_alpha_value(visitor, self)
7854 }
7855
7856 fn visit_children_with(&self, visitor: &mut V) {
7857 match self {
7858 AlphaValue::Number { 0: _field_0 } => {
7859 <Number as VisitWith<V>>::visit_with(_field_0, visitor);
7860 }
7861 AlphaValue::Percentage { 0: _field_0 } => {
7862 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
7863 }
7864 }
7865 }
7866}
7867impl<V: ?Sized + Visit> VisitWith<V> for AnPlusB {
7868 #[doc = "Calls [Visit`::visit_an_plus_b`] with `self`."]
7869 fn visit_with(&self, visitor: &mut V) {
7870 <V as Visit>::visit_an_plus_b(visitor, self)
7871 }
7872
7873 fn visit_children_with(&self, visitor: &mut V) {
7874 match self {
7875 AnPlusB::Ident { 0: _field_0 } => {
7876 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
7877 }
7878 AnPlusB::AnPlusBNotation { 0: _field_0 } => {
7879 <AnPlusBNotation as VisitWith<V>>::visit_with(_field_0, visitor);
7880 }
7881 }
7882 }
7883}
7884impl<V: ?Sized + Visit> VisitWith<V> for AnPlusBNotation {
7885 #[doc = "Calls [Visit`::visit_an_plus_b_notation`] with `self`."]
7886 fn visit_with(&self, visitor: &mut V) {
7887 <V as Visit>::visit_an_plus_b_notation(visitor, self)
7888 }
7889
7890 fn visit_children_with(&self, visitor: &mut V) {
7891 match self {
7892 AnPlusBNotation {
7893 span,
7894 a,
7895 a_raw,
7896 b,
7897 b_raw,
7898 } => {
7899 {
7900 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
7901 };
7902 {
7903 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(a_raw, visitor)
7904 };
7905 {
7906 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(b_raw, visitor)
7907 };
7908 }
7909 }
7910 }
7911}
7912impl<V: ?Sized + Visit> VisitWith<V> for Angle {
7913 #[doc = "Calls [Visit`::visit_angle`] with `self`."]
7914 fn visit_with(&self, visitor: &mut V) {
7915 <V as Visit>::visit_angle(visitor, self)
7916 }
7917
7918 fn visit_children_with(&self, visitor: &mut V) {
7919 match self {
7920 Angle { span, value, unit } => {
7921 {
7922 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
7923 };
7924 {
7925 <Number as VisitWith<V>>::visit_with(value, visitor)
7926 };
7927 {
7928 <Ident as VisitWith<V>>::visit_with(unit, visitor)
7929 };
7930 }
7931 }
7932 }
7933}
7934impl<V: ?Sized + Visit> VisitWith<V> for AnglePercentage {
7935 #[doc = "Calls [Visit`::visit_angle_percentage`] with `self`."]
7936 fn visit_with(&self, visitor: &mut V) {
7937 <V as Visit>::visit_angle_percentage(visitor, self)
7938 }
7939
7940 fn visit_children_with(&self, visitor: &mut V) {
7941 match self {
7942 AnglePercentage::Angle { 0: _field_0 } => {
7943 <Angle as VisitWith<V>>::visit_with(_field_0, visitor);
7944 }
7945 AnglePercentage::Percentage { 0: _field_0 } => {
7946 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
7947 }
7948 }
7949 }
7950}
7951impl<V: ?Sized + Visit> VisitWith<V> for AnyNamespace {
7952 #[doc = "Calls [Visit`::visit_any_namespace`] with `self`."]
7953 fn visit_with(&self, visitor: &mut V) {
7954 <V as Visit>::visit_any_namespace(visitor, self)
7955 }
7956
7957 fn visit_children_with(&self, visitor: &mut V) {
7958 match self {
7959 AnyNamespace { span } => {
7960 {
7961 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
7962 };
7963 }
7964 }
7965 }
7966}
7967impl<V: ?Sized + Visit> VisitWith<V> for AtRule {
7968 #[doc = "Calls [Visit`::visit_at_rule`] with `self`."]
7969 fn visit_with(&self, visitor: &mut V) {
7970 <V as Visit>::visit_at_rule(visitor, self)
7971 }
7972
7973 fn visit_children_with(&self, visitor: &mut V) {
7974 match self {
7975 AtRule {
7976 span,
7977 name,
7978 prelude,
7979 block,
7980 } => {
7981 {
7982 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
7983 };
7984 {
7985 <AtRuleName as VisitWith<V>>::visit_with(name, visitor)
7986 };
7987 {
7988 <Option<Box<AtRulePrelude>> as VisitWith<V>>::visit_with(prelude, visitor)
7989 };
7990 {
7991 <Option<SimpleBlock> as VisitWith<V>>::visit_with(block, visitor)
7992 };
7993 }
7994 }
7995 }
7996}
7997impl<V: ?Sized + Visit> VisitWith<V> for AtRuleName {
7998 #[doc = "Calls [Visit`::visit_at_rule_name`] with `self`."]
7999 fn visit_with(&self, visitor: &mut V) {
8000 <V as Visit>::visit_at_rule_name(visitor, self)
8001 }
8002
8003 fn visit_children_with(&self, visitor: &mut V) {
8004 match self {
8005 AtRuleName::DashedIdent { 0: _field_0 } => {
8006 <DashedIdent as VisitWith<V>>::visit_with(_field_0, visitor);
8007 }
8008 AtRuleName::Ident { 0: _field_0 } => {
8009 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
8010 }
8011 }
8012 }
8013}
8014impl<V: ?Sized + Visit> VisitWith<V> for AtRulePrelude {
8015 #[doc = "Calls [Visit`::visit_at_rule_prelude`] with `self`."]
8016 fn visit_with(&self, visitor: &mut V) {
8017 <V as Visit>::visit_at_rule_prelude(visitor, self)
8018 }
8019
8020 fn visit_children_with(&self, visitor: &mut V) {
8021 match self {
8022 AtRulePrelude::ListOfComponentValues { 0: _field_0 } => {
8023 <ListOfComponentValues as VisitWith<V>>::visit_with(_field_0, visitor);
8024 }
8025 AtRulePrelude::CharsetPrelude { 0: _field_0 } => {
8026 <Str as VisitWith<V>>::visit_with(_field_0, visitor);
8027 }
8028 AtRulePrelude::PropertyPrelude { 0: _field_0 } => {
8029 <CustomPropertyName as VisitWith<V>>::visit_with(_field_0, visitor);
8030 }
8031 AtRulePrelude::CounterStylePrelude { 0: _field_0 } => {
8032 <CustomIdent as VisitWith<V>>::visit_with(_field_0, visitor);
8033 }
8034 AtRulePrelude::ColorProfilePrelude { 0: _field_0 } => {
8035 <ColorProfileName as VisitWith<V>>::visit_with(_field_0, visitor);
8036 }
8037 AtRulePrelude::DocumentPrelude { 0: _field_0 } => {
8038 <DocumentPrelude as VisitWith<V>>::visit_with(_field_0, visitor);
8039 }
8040 AtRulePrelude::FontPaletteValuesPrelude { 0: _field_0 } => {
8041 <DashedIdent as VisitWith<V>>::visit_with(_field_0, visitor);
8042 }
8043 AtRulePrelude::FontFeatureValuesPrelude { 0: _field_0 } => {
8044 <FontFeatureValuesPrelude as VisitWith<V>>::visit_with(_field_0, visitor);
8045 }
8046 AtRulePrelude::NestPrelude { 0: _field_0 } => {
8047 <SelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
8048 }
8049 AtRulePrelude::KeyframesPrelude { 0: _field_0 } => {
8050 <KeyframesName as VisitWith<V>>::visit_with(_field_0, visitor);
8051 }
8052 AtRulePrelude::ImportPrelude { 0: _field_0 } => {
8053 <ImportPrelude as VisitWith<V>>::visit_with(_field_0, visitor);
8054 }
8055 AtRulePrelude::NamespacePrelude { 0: _field_0 } => {
8056 <NamespacePrelude as VisitWith<V>>::visit_with(_field_0, visitor);
8057 }
8058 AtRulePrelude::MediaPrelude { 0: _field_0 } => {
8059 <MediaQueryList as VisitWith<V>>::visit_with(_field_0, visitor);
8060 }
8061 AtRulePrelude::SupportsPrelude { 0: _field_0 } => {
8062 <SupportsCondition as VisitWith<V>>::visit_with(_field_0, visitor);
8063 }
8064 AtRulePrelude::PagePrelude { 0: _field_0 } => {
8065 <PageSelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
8066 }
8067 AtRulePrelude::LayerPrelude { 0: _field_0 } => {
8068 <LayerPrelude as VisitWith<V>>::visit_with(_field_0, visitor);
8069 }
8070 AtRulePrelude::ContainerPrelude { 0: _field_0 } => {
8071 <ContainerCondition as VisitWith<V>>::visit_with(_field_0, visitor);
8072 }
8073 AtRulePrelude::CustomMediaPrelude { 0: _field_0 } => {
8074 <CustomMediaQuery as VisitWith<V>>::visit_with(_field_0, visitor);
8075 }
8076 AtRulePrelude::ScopePrelude { 0: _field_0 } => {
8077 <ScopeRange as VisitWith<V>>::visit_with(_field_0, visitor);
8078 }
8079 }
8080 }
8081}
8082impl<V: ?Sized + Visit> VisitWith<V> for AttributeSelector {
8083 #[doc = "Calls [Visit`::visit_attribute_selector`] with `self`."]
8084 fn visit_with(&self, visitor: &mut V) {
8085 <V as Visit>::visit_attribute_selector(visitor, self)
8086 }
8087
8088 fn visit_children_with(&self, visitor: &mut V) {
8089 match self {
8090 AttributeSelector {
8091 span,
8092 name,
8093 matcher,
8094 value,
8095 modifier,
8096 } => {
8097 {
8098 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8099 };
8100 {
8101 <WqName as VisitWith<V>>::visit_with(name, visitor)
8102 };
8103 {
8104 <Option<AttributeSelectorMatcher> as VisitWith<V>>::visit_with(matcher, visitor)
8105 };
8106 {
8107 <Option<AttributeSelectorValue> as VisitWith<V>>::visit_with(value, visitor)
8108 };
8109 {
8110 <Option<AttributeSelectorModifier> as VisitWith<V>>::visit_with(
8111 modifier, visitor,
8112 )
8113 };
8114 }
8115 }
8116 }
8117}
8118impl<V: ?Sized + Visit> VisitWith<V> for AttributeSelectorMatcher {
8119 #[doc = "Calls [Visit`::visit_attribute_selector_matcher`] with `self`."]
8120 fn visit_with(&self, visitor: &mut V) {
8121 <V as Visit>::visit_attribute_selector_matcher(visitor, self)
8122 }
8123
8124 fn visit_children_with(&self, visitor: &mut V) {
8125 match self {
8126 AttributeSelectorMatcher { span, value } => {
8127 {
8128 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8129 };
8130 {
8131 <AttributeSelectorMatcherValue as VisitWith<V>>::visit_with(value, visitor)
8132 };
8133 }
8134 }
8135 }
8136}
8137impl<V: ?Sized + Visit> VisitWith<V> for AttributeSelectorMatcherValue {
8138 #[doc = "Calls [Visit`::visit_attribute_selector_matcher_value`] with `self`."]
8139 fn visit_with(&self, visitor: &mut V) {
8140 <V as Visit>::visit_attribute_selector_matcher_value(visitor, self)
8141 }
8142
8143 fn visit_children_with(&self, visitor: &mut V) {
8144 match self {
8145 AttributeSelectorMatcherValue::Equals => {}
8146 AttributeSelectorMatcherValue::Tilde => {}
8147 AttributeSelectorMatcherValue::Bar => {}
8148 AttributeSelectorMatcherValue::Caret => {}
8149 AttributeSelectorMatcherValue::Dollar => {}
8150 AttributeSelectorMatcherValue::Asterisk => {}
8151 }
8152 }
8153}
8154impl<V: ?Sized + Visit> VisitWith<V> for AttributeSelectorModifier {
8155 #[doc = "Calls [Visit`::visit_attribute_selector_modifier`] with `self`."]
8156 fn visit_with(&self, visitor: &mut V) {
8157 <V as Visit>::visit_attribute_selector_modifier(visitor, self)
8158 }
8159
8160 fn visit_children_with(&self, visitor: &mut V) {
8161 match self {
8162 AttributeSelectorModifier { span, value } => {
8163 {
8164 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8165 };
8166 {
8167 <Ident as VisitWith<V>>::visit_with(value, visitor)
8168 };
8169 }
8170 }
8171 }
8172}
8173impl<V: ?Sized + Visit> VisitWith<V> for AttributeSelectorValue {
8174 #[doc = "Calls [Visit`::visit_attribute_selector_value`] with `self`."]
8175 fn visit_with(&self, visitor: &mut V) {
8176 <V as Visit>::visit_attribute_selector_value(visitor, self)
8177 }
8178
8179 fn visit_children_with(&self, visitor: &mut V) {
8180 match self {
8181 AttributeSelectorValue::Str { 0: _field_0 } => {
8182 <Str as VisitWith<V>>::visit_with(_field_0, visitor);
8183 }
8184 AttributeSelectorValue::Ident { 0: _field_0 } => {
8185 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
8186 }
8187 }
8188 }
8189}
8190impl<V: ?Sized + Visit> VisitWith<V> for BinOp {
8191 #[doc = "Calls [Visit`::visit_bin_op`] with `self`."]
8192 fn visit_with(&self, visitor: &mut V) {
8193 <V as Visit>::visit_bin_op(visitor, self)
8194 }
8195
8196 fn visit_children_with(&self, visitor: &mut V) {
8197 match self {
8198 BinOp::Add => {}
8199 BinOp::Sub => {}
8200 BinOp::Mul => {}
8201 BinOp::Div => {}
8202 }
8203 }
8204}
8205impl<V: ?Sized + Visit> VisitWith<V> for CalcOperator {
8206 #[doc = "Calls [Visit`::visit_calc_operator`] with `self`."]
8207 fn visit_with(&self, visitor: &mut V) {
8208 <V as Visit>::visit_calc_operator(visitor, self)
8209 }
8210
8211 fn visit_children_with(&self, visitor: &mut V) {
8212 match self {
8213 CalcOperator { span, value } => {
8214 {
8215 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8216 };
8217 {
8218 <CalcOperatorType as VisitWith<V>>::visit_with(value, visitor)
8219 };
8220 }
8221 }
8222 }
8223}
8224impl<V: ?Sized + Visit> VisitWith<V> for CalcOperatorType {
8225 #[doc = "Calls [Visit`::visit_calc_operator_type`] with `self`."]
8226 fn visit_with(&self, visitor: &mut V) {
8227 <V as Visit>::visit_calc_operator_type(visitor, self)
8228 }
8229
8230 fn visit_children_with(&self, visitor: &mut V) {
8231 match self {
8232 CalcOperatorType::Add => {}
8233 CalcOperatorType::Sub => {}
8234 CalcOperatorType::Mul => {}
8235 CalcOperatorType::Div => {}
8236 }
8237 }
8238}
8239impl<V: ?Sized + Visit> VisitWith<V> for CalcProduct {
8240 #[doc = "Calls [Visit`::visit_calc_product`] with `self`."]
8241 fn visit_with(&self, visitor: &mut V) {
8242 <V as Visit>::visit_calc_product(visitor, self)
8243 }
8244
8245 fn visit_children_with(&self, visitor: &mut V) {
8246 match self {
8247 CalcProduct { span, expressions } => {
8248 {
8249 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8250 };
8251 {
8252 <Vec<CalcValueOrOperator> as VisitWith<V>>::visit_with(expressions, visitor)
8253 };
8254 }
8255 }
8256 }
8257}
8258impl<V: ?Sized + Visit> VisitWith<V> for CalcProductOrOperator {
8259 #[doc = "Calls [Visit`::visit_calc_product_or_operator`] with `self`."]
8260 fn visit_with(&self, visitor: &mut V) {
8261 <V as Visit>::visit_calc_product_or_operator(visitor, self)
8262 }
8263
8264 fn visit_children_with(&self, visitor: &mut V) {
8265 match self {
8266 CalcProductOrOperator::Product { 0: _field_0 } => {
8267 <CalcProduct as VisitWith<V>>::visit_with(_field_0, visitor);
8268 }
8269 CalcProductOrOperator::Operator { 0: _field_0 } => {
8270 <CalcOperator as VisitWith<V>>::visit_with(_field_0, visitor);
8271 }
8272 }
8273 }
8274}
8275impl<V: ?Sized + Visit> VisitWith<V> for CalcSum {
8276 #[doc = "Calls [Visit`::visit_calc_sum`] with `self`."]
8277 fn visit_with(&self, visitor: &mut V) {
8278 <V as Visit>::visit_calc_sum(visitor, self)
8279 }
8280
8281 fn visit_children_with(&self, visitor: &mut V) {
8282 match self {
8283 CalcSum { span, expressions } => {
8284 {
8285 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8286 };
8287 {
8288 <Vec<CalcProductOrOperator> as VisitWith<V>>::visit_with(expressions, visitor)
8289 };
8290 }
8291 }
8292 }
8293}
8294impl<V: ?Sized + Visit> VisitWith<V> for CalcValue {
8295 #[doc = "Calls [Visit`::visit_calc_value`] with `self`."]
8296 fn visit_with(&self, visitor: &mut V) {
8297 <V as Visit>::visit_calc_value(visitor, self)
8298 }
8299
8300 fn visit_children_with(&self, visitor: &mut V) {
8301 match self {
8302 CalcValue::Number { 0: _field_0 } => {
8303 <Number as VisitWith<V>>::visit_with(_field_0, visitor);
8304 }
8305 CalcValue::Dimension { 0: _field_0 } => {
8306 <Dimension as VisitWith<V>>::visit_with(_field_0, visitor);
8307 }
8308 CalcValue::Percentage { 0: _field_0 } => {
8309 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
8310 }
8311 CalcValue::Constant { 0: _field_0 } => {
8312 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
8313 }
8314 CalcValue::Sum { 0: _field_0 } => {
8315 <CalcSum as VisitWith<V>>::visit_with(_field_0, visitor);
8316 }
8317 CalcValue::Function { 0: _field_0 } => {
8318 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
8319 }
8320 }
8321 }
8322}
8323impl<V: ?Sized + Visit> VisitWith<V> for CalcValueOrOperator {
8324 #[doc = "Calls [Visit`::visit_calc_value_or_operator`] with `self`."]
8325 fn visit_with(&self, visitor: &mut V) {
8326 <V as Visit>::visit_calc_value_or_operator(visitor, self)
8327 }
8328
8329 fn visit_children_with(&self, visitor: &mut V) {
8330 match self {
8331 CalcValueOrOperator::Value { 0: _field_0 } => {
8332 <CalcValue as VisitWith<V>>::visit_with(_field_0, visitor);
8333 }
8334 CalcValueOrOperator::Operator { 0: _field_0 } => {
8335 <CalcOperator as VisitWith<V>>::visit_with(_field_0, visitor);
8336 }
8337 }
8338 }
8339}
8340impl<V: ?Sized + Visit> VisitWith<V> for ClassSelector {
8341 #[doc = "Calls [Visit`::visit_class_selector`] with `self`."]
8342 fn visit_with(&self, visitor: &mut V) {
8343 <V as Visit>::visit_class_selector(visitor, self)
8344 }
8345
8346 fn visit_children_with(&self, visitor: &mut V) {
8347 match self {
8348 ClassSelector { span, text } => {
8349 {
8350 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8351 };
8352 {
8353 <Ident as VisitWith<V>>::visit_with(text, visitor)
8354 };
8355 }
8356 }
8357 }
8358}
8359impl<V: ?Sized + Visit> VisitWith<V> for CmykComponent {
8360 #[doc = "Calls [Visit`::visit_cmyk_component`] with `self`."]
8361 fn visit_with(&self, visitor: &mut V) {
8362 <V as Visit>::visit_cmyk_component(visitor, self)
8363 }
8364
8365 fn visit_children_with(&self, visitor: &mut V) {
8366 match self {
8367 CmykComponent::Number { 0: _field_0 } => {
8368 <Number as VisitWith<V>>::visit_with(_field_0, visitor);
8369 }
8370 CmykComponent::Percentage { 0: _field_0 } => {
8371 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
8372 }
8373 CmykComponent::Function { 0: _field_0 } => {
8374 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
8375 }
8376 }
8377 }
8378}
8379impl<V: ?Sized + Visit> VisitWith<V> for Color {
8380 #[doc = "Calls [Visit`::visit_color`] with `self`."]
8381 fn visit_with(&self, visitor: &mut V) {
8382 <V as Visit>::visit_color(visitor, self)
8383 }
8384
8385 fn visit_children_with(&self, visitor: &mut V) {
8386 match self {
8387 Color::AbsoluteColorBase { 0: _field_0 } => {
8388 <AbsoluteColorBase as VisitWith<V>>::visit_with(_field_0, visitor);
8389 }
8390 Color::CurrentColorOrSystemColor { 0: _field_0 } => {
8391 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
8392 }
8393 Color::Function { 0: _field_0 } => {
8394 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
8395 }
8396 }
8397 }
8398}
8399impl<V: ?Sized + Visit> VisitWith<V> for ColorProfileName {
8400 #[doc = "Calls [Visit`::visit_color_profile_name`] with `self`."]
8401 fn visit_with(&self, visitor: &mut V) {
8402 <V as Visit>::visit_color_profile_name(visitor, self)
8403 }
8404
8405 fn visit_children_with(&self, visitor: &mut V) {
8406 match self {
8407 ColorProfileName::DashedIdent { 0: _field_0 } => {
8408 <DashedIdent as VisitWith<V>>::visit_with(_field_0, visitor);
8409 }
8410 ColorProfileName::Ident { 0: _field_0 } => {
8411 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
8412 }
8413 }
8414 }
8415}
8416impl<V: ?Sized + Visit> VisitWith<V> for Combinator {
8417 #[doc = "Calls [Visit`::visit_combinator`] with `self`."]
8418 fn visit_with(&self, visitor: &mut V) {
8419 <V as Visit>::visit_combinator(visitor, self)
8420 }
8421
8422 fn visit_children_with(&self, visitor: &mut V) {
8423 match self {
8424 Combinator { span, value } => {
8425 {
8426 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8427 };
8428 {
8429 <CombinatorValue as VisitWith<V>>::visit_with(value, visitor)
8430 };
8431 }
8432 }
8433 }
8434}
8435impl<V: ?Sized + Visit> VisitWith<V> for CombinatorValue {
8436 #[doc = "Calls [Visit`::visit_combinator_value`] with `self`."]
8437 fn visit_with(&self, visitor: &mut V) {
8438 <V as Visit>::visit_combinator_value(visitor, self)
8439 }
8440
8441 fn visit_children_with(&self, visitor: &mut V) {
8442 match self {
8443 CombinatorValue::Descendant => {}
8444 CombinatorValue::NextSibling => {}
8445 CombinatorValue::Child => {}
8446 CombinatorValue::LaterSibling => {}
8447 CombinatorValue::Column => {}
8448 }
8449 }
8450}
8451impl<V: ?Sized + Visit> VisitWith<V> for ComplexSelector {
8452 #[doc = "Calls [Visit`::visit_complex_selector`] with `self`."]
8453 fn visit_with(&self, visitor: &mut V) {
8454 <V as Visit>::visit_complex_selector(visitor, self)
8455 }
8456
8457 fn visit_children_with(&self, visitor: &mut V) {
8458 match self {
8459 ComplexSelector { span, children } => {
8460 {
8461 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8462 };
8463 {
8464 <Vec<ComplexSelectorChildren> as VisitWith<V>>::visit_with(children, visitor)
8465 };
8466 }
8467 }
8468 }
8469}
8470impl<V: ?Sized + Visit> VisitWith<V> for ComplexSelectorChildren {
8471 #[doc = "Calls [Visit`::visit_complex_selector_children`] with `self`."]
8472 fn visit_with(&self, visitor: &mut V) {
8473 <V as Visit>::visit_complex_selector_children(visitor, self)
8474 }
8475
8476 fn visit_children_with(&self, visitor: &mut V) {
8477 match self {
8478 ComplexSelectorChildren::CompoundSelector { 0: _field_0 } => {
8479 <CompoundSelector as VisitWith<V>>::visit_with(_field_0, visitor);
8480 }
8481 ComplexSelectorChildren::Combinator { 0: _field_0 } => {
8482 <Combinator as VisitWith<V>>::visit_with(_field_0, visitor);
8483 }
8484 }
8485 }
8486}
8487impl<V: ?Sized + Visit> VisitWith<V> for ComponentValue {
8488 #[doc = "Calls [Visit`::visit_component_value`] with `self`."]
8489 fn visit_with(&self, visitor: &mut V) {
8490 <V as Visit>::visit_component_value(visitor, self)
8491 }
8492
8493 fn visit_children_with(&self, visitor: &mut V) {
8494 match self {
8495 ComponentValue::PreservedToken { 0: _field_0 } => {
8496 <Box<TokenAndSpan> as VisitWith<V>>::visit_with(_field_0, visitor);
8497 }
8498 ComponentValue::Function { 0: _field_0 } => {
8499 <Box<Function> as VisitWith<V>>::visit_with(_field_0, visitor);
8500 }
8501 ComponentValue::SimpleBlock { 0: _field_0 } => {
8502 <Box<SimpleBlock> as VisitWith<V>>::visit_with(_field_0, visitor);
8503 }
8504 ComponentValue::AtRule { 0: _field_0 } => {
8505 <Box<AtRule> as VisitWith<V>>::visit_with(_field_0, visitor);
8506 }
8507 ComponentValue::QualifiedRule { 0: _field_0 } => {
8508 <Box<QualifiedRule> as VisitWith<V>>::visit_with(_field_0, visitor);
8509 }
8510 ComponentValue::ListOfComponentValues { 0: _field_0 } => {
8511 <Box<ListOfComponentValues> as VisitWith<V>>::visit_with(_field_0, visitor);
8512 }
8513 ComponentValue::KeyframeBlock { 0: _field_0 } => {
8514 <Box<KeyframeBlock> as VisitWith<V>>::visit_with(_field_0, visitor);
8515 }
8516 ComponentValue::Ident { 0: _field_0 } => {
8517 <Box<Ident> as VisitWith<V>>::visit_with(_field_0, visitor);
8518 }
8519 ComponentValue::DashedIdent { 0: _field_0 } => {
8520 <Box<DashedIdent> as VisitWith<V>>::visit_with(_field_0, visitor);
8521 }
8522 ComponentValue::Str { 0: _field_0 } => {
8523 <Box<Str> as VisitWith<V>>::visit_with(_field_0, visitor);
8524 }
8525 ComponentValue::Url { 0: _field_0 } => {
8526 <Box<Url> as VisitWith<V>>::visit_with(_field_0, visitor);
8527 }
8528 ComponentValue::Integer { 0: _field_0 } => {
8529 <Box<Integer> as VisitWith<V>>::visit_with(_field_0, visitor);
8530 }
8531 ComponentValue::Number { 0: _field_0 } => {
8532 <Box<Number> as VisitWith<V>>::visit_with(_field_0, visitor);
8533 }
8534 ComponentValue::Percentage { 0: _field_0 } => {
8535 <Box<Percentage> as VisitWith<V>>::visit_with(_field_0, visitor);
8536 }
8537 ComponentValue::Dimension { 0: _field_0 } => {
8538 <Box<Dimension> as VisitWith<V>>::visit_with(_field_0, visitor);
8539 }
8540 ComponentValue::LengthPercentage { 0: _field_0 } => {
8541 <Box<LengthPercentage> as VisitWith<V>>::visit_with(_field_0, visitor);
8542 }
8543 ComponentValue::FrequencyPercentage { 0: _field_0 } => {
8544 <Box<FrequencyPercentage> as VisitWith<V>>::visit_with(_field_0, visitor);
8545 }
8546 ComponentValue::AnglePercentage { 0: _field_0 } => {
8547 <Box<AnglePercentage> as VisitWith<V>>::visit_with(_field_0, visitor);
8548 }
8549 ComponentValue::TimePercentage { 0: _field_0 } => {
8550 <Box<TimePercentage> as VisitWith<V>>::visit_with(_field_0, visitor);
8551 }
8552 ComponentValue::Ratio { 0: _field_0 } => {
8553 <Box<Ratio> as VisitWith<V>>::visit_with(_field_0, visitor);
8554 }
8555 ComponentValue::UnicodeRange { 0: _field_0 } => {
8556 <Box<UnicodeRange> as VisitWith<V>>::visit_with(_field_0, visitor);
8557 }
8558 ComponentValue::Color { 0: _field_0 } => {
8559 <Box<Color> as VisitWith<V>>::visit_with(_field_0, visitor);
8560 }
8561 ComponentValue::AlphaValue { 0: _field_0 } => {
8562 <Box<AlphaValue> as VisitWith<V>>::visit_with(_field_0, visitor);
8563 }
8564 ComponentValue::Hue { 0: _field_0 } => {
8565 <Box<Hue> as VisitWith<V>>::visit_with(_field_0, visitor);
8566 }
8567 ComponentValue::CmykComponent { 0: _field_0 } => {
8568 <Box<CmykComponent> as VisitWith<V>>::visit_with(_field_0, visitor);
8569 }
8570 ComponentValue::Delimiter { 0: _field_0 } => {
8571 <Box<Delimiter> as VisitWith<V>>::visit_with(_field_0, visitor);
8572 }
8573 ComponentValue::CalcSum { 0: _field_0 } => {
8574 <Box<CalcSum> as VisitWith<V>>::visit_with(_field_0, visitor);
8575 }
8576 ComponentValue::ComplexSelector { 0: _field_0 } => {
8577 <Box<ComplexSelector> as VisitWith<V>>::visit_with(_field_0, visitor);
8578 }
8579 ComponentValue::LayerName { 0: _field_0 } => {
8580 <Box<LayerName> as VisitWith<V>>::visit_with(_field_0, visitor);
8581 }
8582 ComponentValue::SupportsCondition { 0: _field_0 } => {
8583 <Box<SupportsCondition> as VisitWith<V>>::visit_with(_field_0, visitor);
8584 }
8585 ComponentValue::Declaration { 0: _field_0 } => {
8586 <Box<Declaration> as VisitWith<V>>::visit_with(_field_0, visitor);
8587 }
8588 ComponentValue::IdSelector { 0: _field_0 } => {
8589 <Box<IdSelector> as VisitWith<V>>::visit_with(_field_0, visitor);
8590 }
8591 }
8592 }
8593}
8594impl<V: ?Sized + Visit> VisitWith<V> for CompoundSelector {
8595 #[doc = "Calls [Visit`::visit_compound_selector`] with `self`."]
8596 fn visit_with(&self, visitor: &mut V) {
8597 <V as Visit>::visit_compound_selector(visitor, self)
8598 }
8599
8600 fn visit_children_with(&self, visitor: &mut V) {
8601 match self {
8602 CompoundSelector {
8603 span,
8604 nesting_selector,
8605 type_selector,
8606 subclass_selectors,
8607 } => {
8608 {
8609 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8610 };
8611 {
8612 <Option<NestingSelector> as VisitWith<V>>::visit_with(nesting_selector, visitor)
8613 };
8614 {
8615 <Option<Box<TypeSelector>> as VisitWith<V>>::visit_with(type_selector, visitor)
8616 };
8617 {
8618 <Vec<SubclassSelector> as VisitWith<V>>::visit_with(subclass_selectors, visitor)
8619 };
8620 }
8621 }
8622 }
8623}
8624impl<V: ?Sized + Visit> VisitWith<V> for CompoundSelectorList {
8625 #[doc = "Calls [Visit`::visit_compound_selector_list`] with `self`."]
8626 fn visit_with(&self, visitor: &mut V) {
8627 <V as Visit>::visit_compound_selector_list(visitor, self)
8628 }
8629
8630 fn visit_children_with(&self, visitor: &mut V) {
8631 match self {
8632 CompoundSelectorList { span, children } => {
8633 {
8634 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8635 };
8636 {
8637 <Vec<CompoundSelector> as VisitWith<V>>::visit_with(children, visitor)
8638 };
8639 }
8640 }
8641 }
8642}
8643impl<V: ?Sized + Visit> VisitWith<V> for ContainerCondition {
8644 #[doc = "Calls [Visit`::visit_container_condition`] with `self`."]
8645 fn visit_with(&self, visitor: &mut V) {
8646 <V as Visit>::visit_container_condition(visitor, self)
8647 }
8648
8649 fn visit_children_with(&self, visitor: &mut V) {
8650 match self {
8651 ContainerCondition { span, name, query } => {
8652 {
8653 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8654 };
8655 {
8656 <Option<ContainerName> as VisitWith<V>>::visit_with(name, visitor)
8657 };
8658 {
8659 <ContainerQuery as VisitWith<V>>::visit_with(query, visitor)
8660 };
8661 }
8662 }
8663 }
8664}
8665impl<V: ?Sized + Visit> VisitWith<V> for ContainerName {
8666 #[doc = "Calls [Visit`::visit_container_name`] with `self`."]
8667 fn visit_with(&self, visitor: &mut V) {
8668 <V as Visit>::visit_container_name(visitor, self)
8669 }
8670
8671 fn visit_children_with(&self, visitor: &mut V) {
8672 match self {
8673 ContainerName::CustomIdent { 0: _field_0 } => {
8674 <CustomIdent as VisitWith<V>>::visit_with(_field_0, visitor);
8675 }
8676 }
8677 }
8678}
8679impl<V: ?Sized + Visit> VisitWith<V> for ContainerQuery {
8680 #[doc = "Calls [Visit`::visit_container_query`] with `self`."]
8681 fn visit_with(&self, visitor: &mut V) {
8682 <V as Visit>::visit_container_query(visitor, self)
8683 }
8684
8685 fn visit_children_with(&self, visitor: &mut V) {
8686 match self {
8687 ContainerQuery { span, queries } => {
8688 {
8689 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8690 };
8691 {
8692 <Vec<ContainerQueryType> as VisitWith<V>>::visit_with(queries, visitor)
8693 };
8694 }
8695 }
8696 }
8697}
8698impl<V: ?Sized + Visit> VisitWith<V> for ContainerQueryAnd {
8699 #[doc = "Calls [Visit`::visit_container_query_and`] with `self`."]
8700 fn visit_with(&self, visitor: &mut V) {
8701 <V as Visit>::visit_container_query_and(visitor, self)
8702 }
8703
8704 fn visit_children_with(&self, visitor: &mut V) {
8705 match self {
8706 ContainerQueryAnd {
8707 span,
8708 keyword,
8709 query,
8710 } => {
8711 {
8712 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8713 };
8714 {
8715 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
8716 };
8717 {
8718 <QueryInParens as VisitWith<V>>::visit_with(query, visitor)
8719 };
8720 }
8721 }
8722 }
8723}
8724impl<V: ?Sized + Visit> VisitWith<V> for ContainerQueryNot {
8725 #[doc = "Calls [Visit`::visit_container_query_not`] with `self`."]
8726 fn visit_with(&self, visitor: &mut V) {
8727 <V as Visit>::visit_container_query_not(visitor, self)
8728 }
8729
8730 fn visit_children_with(&self, visitor: &mut V) {
8731 match self {
8732 ContainerQueryNot {
8733 span,
8734 keyword,
8735 query,
8736 } => {
8737 {
8738 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8739 };
8740 {
8741 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
8742 };
8743 {
8744 <QueryInParens as VisitWith<V>>::visit_with(query, visitor)
8745 };
8746 }
8747 }
8748 }
8749}
8750impl<V: ?Sized + Visit> VisitWith<V> for ContainerQueryOr {
8751 #[doc = "Calls [Visit`::visit_container_query_or`] with `self`."]
8752 fn visit_with(&self, visitor: &mut V) {
8753 <V as Visit>::visit_container_query_or(visitor, self)
8754 }
8755
8756 fn visit_children_with(&self, visitor: &mut V) {
8757 match self {
8758 ContainerQueryOr {
8759 span,
8760 keyword,
8761 query,
8762 } => {
8763 {
8764 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8765 };
8766 {
8767 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
8768 };
8769 {
8770 <QueryInParens as VisitWith<V>>::visit_with(query, visitor)
8771 };
8772 }
8773 }
8774 }
8775}
8776impl<V: ?Sized + Visit> VisitWith<V> for ContainerQueryType {
8777 #[doc = "Calls [Visit`::visit_container_query_type`] with `self`."]
8778 fn visit_with(&self, visitor: &mut V) {
8779 <V as Visit>::visit_container_query_type(visitor, self)
8780 }
8781
8782 fn visit_children_with(&self, visitor: &mut V) {
8783 match self {
8784 ContainerQueryType::Not { 0: _field_0 } => {
8785 <ContainerQueryNot as VisitWith<V>>::visit_with(_field_0, visitor);
8786 }
8787 ContainerQueryType::And { 0: _field_0 } => {
8788 <ContainerQueryAnd as VisitWith<V>>::visit_with(_field_0, visitor);
8789 }
8790 ContainerQueryType::Or { 0: _field_0 } => {
8791 <ContainerQueryOr as VisitWith<V>>::visit_with(_field_0, visitor);
8792 }
8793 ContainerQueryType::QueryInParens { 0: _field_0 } => {
8794 <QueryInParens as VisitWith<V>>::visit_with(_field_0, visitor);
8795 }
8796 }
8797 }
8798}
8799impl<V: ?Sized + Visit> VisitWith<V> for CustomHighlightName {
8800 #[doc = "Calls [Visit`::visit_custom_highlight_name`] with `self`."]
8801 fn visit_with(&self, visitor: &mut V) {
8802 <V as Visit>::visit_custom_highlight_name(visitor, self)
8803 }
8804
8805 fn visit_children_with(&self, visitor: &mut V) {
8806 match self {
8807 CustomHighlightName { span, value, raw } => {
8808 {
8809 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8810 };
8811 {
8812 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
8813 };
8814 {
8815 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
8816 };
8817 }
8818 }
8819 }
8820}
8821impl<V: ?Sized + Visit> VisitWith<V> for CustomIdent {
8822 #[doc = "Calls [Visit`::visit_custom_ident`] with `self`."]
8823 fn visit_with(&self, visitor: &mut V) {
8824 <V as Visit>::visit_custom_ident(visitor, self)
8825 }
8826
8827 fn visit_children_with(&self, visitor: &mut V) {
8828 match self {
8829 CustomIdent { span, value, raw } => {
8830 {
8831 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8832 };
8833 {
8834 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
8835 };
8836 {
8837 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
8838 };
8839 }
8840 }
8841 }
8842}
8843impl<V: ?Sized + Visit> VisitWith<V> for CustomMediaQuery {
8844 #[doc = "Calls [Visit`::visit_custom_media_query`] with `self`."]
8845 fn visit_with(&self, visitor: &mut V) {
8846 <V as Visit>::visit_custom_media_query(visitor, self)
8847 }
8848
8849 fn visit_children_with(&self, visitor: &mut V) {
8850 match self {
8851 CustomMediaQuery { span, name, media } => {
8852 {
8853 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8854 };
8855 {
8856 <ExtensionName as VisitWith<V>>::visit_with(name, visitor)
8857 };
8858 {
8859 <CustomMediaQueryMediaType as VisitWith<V>>::visit_with(media, visitor)
8860 };
8861 }
8862 }
8863 }
8864}
8865impl<V: ?Sized + Visit> VisitWith<V> for CustomMediaQueryMediaType {
8866 #[doc = "Calls [Visit`::visit_custom_media_query_media_type`] with `self`."]
8867 fn visit_with(&self, visitor: &mut V) {
8868 <V as Visit>::visit_custom_media_query_media_type(visitor, self)
8869 }
8870
8871 fn visit_children_with(&self, visitor: &mut V) {
8872 match self {
8873 CustomMediaQueryMediaType::Ident { 0: _field_0 } => {
8874 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
8875 }
8876 CustomMediaQueryMediaType::MediaQueryList { 0: _field_0 } => {
8877 <MediaQueryList as VisitWith<V>>::visit_with(_field_0, visitor);
8878 }
8879 }
8880 }
8881}
8882impl<V: ?Sized + Visit> VisitWith<V> for CustomPropertyName {
8883 #[doc = "Calls [Visit`::visit_custom_property_name`] with `self`."]
8884 fn visit_with(&self, visitor: &mut V) {
8885 <V as Visit>::visit_custom_property_name(visitor, self)
8886 }
8887
8888 fn visit_children_with(&self, visitor: &mut V) {
8889 match self {
8890 CustomPropertyName { span, value, raw } => {
8891 {
8892 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8893 };
8894 {
8895 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
8896 };
8897 {
8898 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
8899 };
8900 }
8901 }
8902 }
8903}
8904impl<V: ?Sized + Visit> VisitWith<V> for DashedIdent {
8905 #[doc = "Calls [Visit`::visit_dashed_ident`] with `self`."]
8906 fn visit_with(&self, visitor: &mut V) {
8907 <V as Visit>::visit_dashed_ident(visitor, self)
8908 }
8909
8910 fn visit_children_with(&self, visitor: &mut V) {
8911 match self {
8912 DashedIdent { span, value, raw } => {
8913 {
8914 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8915 };
8916 {
8917 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
8918 };
8919 {
8920 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
8921 };
8922 }
8923 }
8924 }
8925}
8926impl<V: ?Sized + Visit> VisitWith<V> for Declaration {
8927 #[doc = "Calls [Visit`::visit_declaration`] with `self`."]
8928 fn visit_with(&self, visitor: &mut V) {
8929 <V as Visit>::visit_declaration(visitor, self)
8930 }
8931
8932 fn visit_children_with(&self, visitor: &mut V) {
8933 match self {
8934 Declaration {
8935 span,
8936 name,
8937 value,
8938 important,
8939 } => {
8940 {
8941 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
8942 };
8943 {
8944 <DeclarationName as VisitWith<V>>::visit_with(name, visitor)
8945 };
8946 {
8947 <Vec<ComponentValue> as VisitWith<V>>::visit_with(value, visitor)
8948 };
8949 {
8950 <Option<ImportantFlag> as VisitWith<V>>::visit_with(important, visitor)
8951 };
8952 }
8953 }
8954 }
8955}
8956impl<V: ?Sized + Visit> VisitWith<V> for DeclarationName {
8957 #[doc = "Calls [Visit`::visit_declaration_name`] with `self`."]
8958 fn visit_with(&self, visitor: &mut V) {
8959 <V as Visit>::visit_declaration_name(visitor, self)
8960 }
8961
8962 fn visit_children_with(&self, visitor: &mut V) {
8963 match self {
8964 DeclarationName::Ident { 0: _field_0 } => {
8965 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
8966 }
8967 DeclarationName::DashedIdent { 0: _field_0 } => {
8968 <DashedIdent as VisitWith<V>>::visit_with(_field_0, visitor);
8969 }
8970 }
8971 }
8972}
8973impl<V: ?Sized + Visit> VisitWith<V> for DeclarationOrAtRule {
8974 #[doc = "Calls [Visit`::visit_declaration_or_at_rule`] with `self`."]
8975 fn visit_with(&self, visitor: &mut V) {
8976 <V as Visit>::visit_declaration_or_at_rule(visitor, self)
8977 }
8978
8979 fn visit_children_with(&self, visitor: &mut V) {
8980 match self {
8981 DeclarationOrAtRule::Declaration { 0: _field_0 } => {
8982 <Box<Declaration> as VisitWith<V>>::visit_with(_field_0, visitor);
8983 }
8984 DeclarationOrAtRule::AtRule { 0: _field_0 } => {
8985 <Box<AtRule> as VisitWith<V>>::visit_with(_field_0, visitor);
8986 }
8987 DeclarationOrAtRule::ListOfComponentValues { 0: _field_0 } => {
8988 <Box<ListOfComponentValues> as VisitWith<V>>::visit_with(_field_0, visitor);
8989 }
8990 }
8991 }
8992}
8993impl<V: ?Sized + Visit> VisitWith<V> for Delimiter {
8994 #[doc = "Calls [Visit`::visit_delimiter`] with `self`."]
8995 fn visit_with(&self, visitor: &mut V) {
8996 <V as Visit>::visit_delimiter(visitor, self)
8997 }
8998
8999 fn visit_children_with(&self, visitor: &mut V) {
9000 match self {
9001 Delimiter { span, value } => {
9002 {
9003 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9004 };
9005 {
9006 <DelimiterValue as VisitWith<V>>::visit_with(value, visitor)
9007 };
9008 }
9009 }
9010 }
9011}
9012impl<V: ?Sized + Visit> VisitWith<V> for DelimiterValue {
9013 #[doc = "Calls [Visit`::visit_delimiter_value`] with `self`."]
9014 fn visit_with(&self, visitor: &mut V) {
9015 <V as Visit>::visit_delimiter_value(visitor, self)
9016 }
9017
9018 fn visit_children_with(&self, visitor: &mut V) {
9019 match self {
9020 DelimiterValue::Comma => {}
9021 DelimiterValue::Solidus => {}
9022 DelimiterValue::Semicolon => {}
9023 }
9024 }
9025}
9026impl<V: ?Sized + Visit> VisitWith<V> for Dimension {
9027 #[doc = "Calls [Visit`::visit_dimension`] with `self`."]
9028 fn visit_with(&self, visitor: &mut V) {
9029 <V as Visit>::visit_dimension(visitor, self)
9030 }
9031
9032 fn visit_children_with(&self, visitor: &mut V) {
9033 match self {
9034 Dimension::Length { 0: _field_0 } => {
9035 <Length as VisitWith<V>>::visit_with(_field_0, visitor);
9036 }
9037 Dimension::Angle { 0: _field_0 } => {
9038 <Angle as VisitWith<V>>::visit_with(_field_0, visitor);
9039 }
9040 Dimension::Time { 0: _field_0 } => {
9041 <Time as VisitWith<V>>::visit_with(_field_0, visitor);
9042 }
9043 Dimension::Frequency { 0: _field_0 } => {
9044 <Frequency as VisitWith<V>>::visit_with(_field_0, visitor);
9045 }
9046 Dimension::Resolution { 0: _field_0 } => {
9047 <Resolution as VisitWith<V>>::visit_with(_field_0, visitor);
9048 }
9049 Dimension::Flex { 0: _field_0 } => {
9050 <Flex as VisitWith<V>>::visit_with(_field_0, visitor);
9051 }
9052 Dimension::UnknownDimension { 0: _field_0 } => {
9053 <UnknownDimension as VisitWith<V>>::visit_with(_field_0, visitor);
9054 }
9055 }
9056 }
9057}
9058impl<V: ?Sized + Visit> VisitWith<V> for DimensionToken {
9059 #[doc = "Calls [Visit`::visit_dimension_token`] with `self`."]
9060 fn visit_with(&self, visitor: &mut V) {
9061 <V as Visit>::visit_dimension_token(visitor, self)
9062 }
9063
9064 fn visit_children_with(&self, visitor: &mut V) {
9065 match self {
9066 DimensionToken {
9067 value,
9068 raw_value,
9069 unit,
9070 type_flag,
9071 raw_unit,
9072 } => {
9073 {
9074 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw_value, visitor)
9075 };
9076 {
9077 <swc_atoms::Atom as VisitWith<V>>::visit_with(unit, visitor)
9078 };
9079 {
9080 <NumberType as VisitWith<V>>::visit_with(type_flag, visitor)
9081 };
9082 {
9083 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw_unit, visitor)
9084 };
9085 }
9086 }
9087 }
9088}
9089impl<V: ?Sized + Visit> VisitWith<V> for DocumentPrelude {
9090 #[doc = "Calls [Visit`::visit_document_prelude`] with `self`."]
9091 fn visit_with(&self, visitor: &mut V) {
9092 <V as Visit>::visit_document_prelude(visitor, self)
9093 }
9094
9095 fn visit_children_with(&self, visitor: &mut V) {
9096 match self {
9097 DocumentPrelude {
9098 span,
9099 matching_functions,
9100 } => {
9101 {
9102 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9103 };
9104 {
9105 <Vec<DocumentPreludeMatchingFunction> as VisitWith<V>>::visit_with(
9106 matching_functions,
9107 visitor,
9108 )
9109 };
9110 }
9111 }
9112 }
9113}
9114impl<V: ?Sized + Visit> VisitWith<V> for DocumentPreludeMatchingFunction {
9115 #[doc = "Calls [Visit`::visit_document_prelude_matching_function`] with `self`."]
9116 fn visit_with(&self, visitor: &mut V) {
9117 <V as Visit>::visit_document_prelude_matching_function(visitor, self)
9118 }
9119
9120 fn visit_children_with(&self, visitor: &mut V) {
9121 match self {
9122 DocumentPreludeMatchingFunction::Url { 0: _field_0 } => {
9123 <Url as VisitWith<V>>::visit_with(_field_0, visitor);
9124 }
9125 DocumentPreludeMatchingFunction::Function { 0: _field_0 } => {
9126 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
9127 }
9128 }
9129 }
9130}
9131impl<V: ?Sized + Visit> VisitWith<V> for ExtensionName {
9132 #[doc = "Calls [Visit`::visit_extension_name`] with `self`."]
9133 fn visit_with(&self, visitor: &mut V) {
9134 <V as Visit>::visit_extension_name(visitor, self)
9135 }
9136
9137 fn visit_children_with(&self, visitor: &mut V) {
9138 match self {
9139 ExtensionName { span, value, raw } => {
9140 {
9141 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9142 };
9143 {
9144 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
9145 };
9146 {
9147 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
9148 };
9149 }
9150 }
9151 }
9152}
9153impl<V: ?Sized + Visit> VisitWith<V> for FamilyName {
9154 #[doc = "Calls [Visit`::visit_family_name`] with `self`."]
9155 fn visit_with(&self, visitor: &mut V) {
9156 <V as Visit>::visit_family_name(visitor, self)
9157 }
9158
9159 fn visit_children_with(&self, visitor: &mut V) {
9160 match self {
9161 FamilyName::Str { 0: _field_0 } => {
9162 <Str as VisitWith<V>>::visit_with(_field_0, visitor);
9163 }
9164 FamilyName::SequenceOfCustomIdents { 0: _field_0 } => {
9165 <SequenceOfCustomIdents as VisitWith<V>>::visit_with(_field_0, visitor);
9166 }
9167 }
9168 }
9169}
9170impl<V: ?Sized + Visit> VisitWith<V> for Flex {
9171 #[doc = "Calls [Visit`::visit_flex`] with `self`."]
9172 fn visit_with(&self, visitor: &mut V) {
9173 <V as Visit>::visit_flex(visitor, self)
9174 }
9175
9176 fn visit_children_with(&self, visitor: &mut V) {
9177 match self {
9178 Flex { span, value, unit } => {
9179 {
9180 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9181 };
9182 {
9183 <Number as VisitWith<V>>::visit_with(value, visitor)
9184 };
9185 {
9186 <Ident as VisitWith<V>>::visit_with(unit, visitor)
9187 };
9188 }
9189 }
9190 }
9191}
9192impl<V: ?Sized + Visit> VisitWith<V> for FontFeatureValuesPrelude {
9193 #[doc = "Calls [Visit`::visit_font_feature_values_prelude`] with `self`."]
9194 fn visit_with(&self, visitor: &mut V) {
9195 <V as Visit>::visit_font_feature_values_prelude(visitor, self)
9196 }
9197
9198 fn visit_children_with(&self, visitor: &mut V) {
9199 match self {
9200 FontFeatureValuesPrelude { span, font_family } => {
9201 {
9202 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9203 };
9204 {
9205 <Vec<FamilyName> as VisitWith<V>>::visit_with(font_family, visitor)
9206 };
9207 }
9208 }
9209 }
9210}
9211impl<V: ?Sized + Visit> VisitWith<V> for ForgivingComplexSelector {
9212 #[doc = "Calls [Visit`::visit_forgiving_complex_selector`] with `self`."]
9213 fn visit_with(&self, visitor: &mut V) {
9214 <V as Visit>::visit_forgiving_complex_selector(visitor, self)
9215 }
9216
9217 fn visit_children_with(&self, visitor: &mut V) {
9218 match self {
9219 ForgivingComplexSelector::ComplexSelector { 0: _field_0 } => {
9220 <ComplexSelector as VisitWith<V>>::visit_with(_field_0, visitor);
9221 }
9222 ForgivingComplexSelector::ListOfComponentValues { 0: _field_0 } => {
9223 <ListOfComponentValues as VisitWith<V>>::visit_with(_field_0, visitor);
9224 }
9225 }
9226 }
9227}
9228impl<V: ?Sized + Visit> VisitWith<V> for ForgivingRelativeSelector {
9229 #[doc = "Calls [Visit`::visit_forgiving_relative_selector`] with `self`."]
9230 fn visit_with(&self, visitor: &mut V) {
9231 <V as Visit>::visit_forgiving_relative_selector(visitor, self)
9232 }
9233
9234 fn visit_children_with(&self, visitor: &mut V) {
9235 match self {
9236 ForgivingRelativeSelector::RelativeSelector { 0: _field_0 } => {
9237 <RelativeSelector as VisitWith<V>>::visit_with(_field_0, visitor);
9238 }
9239 ForgivingRelativeSelector::ListOfComponentValues { 0: _field_0 } => {
9240 <ListOfComponentValues as VisitWith<V>>::visit_with(_field_0, visitor);
9241 }
9242 }
9243 }
9244}
9245impl<V: ?Sized + Visit> VisitWith<V> for ForgivingRelativeSelectorList {
9246 #[doc = "Calls [Visit`::visit_forgiving_relative_selector_list`] with `self`."]
9247 fn visit_with(&self, visitor: &mut V) {
9248 <V as Visit>::visit_forgiving_relative_selector_list(visitor, self)
9249 }
9250
9251 fn visit_children_with(&self, visitor: &mut V) {
9252 match self {
9253 ForgivingRelativeSelectorList { span, children } => {
9254 {
9255 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9256 };
9257 {
9258 <Vec<ForgivingRelativeSelector> as VisitWith<V>>::visit_with(children, visitor)
9259 };
9260 }
9261 }
9262 }
9263}
9264impl<V: ?Sized + Visit> VisitWith<V> for ForgivingSelectorList {
9265 #[doc = "Calls [Visit`::visit_forgiving_selector_list`] with `self`."]
9266 fn visit_with(&self, visitor: &mut V) {
9267 <V as Visit>::visit_forgiving_selector_list(visitor, self)
9268 }
9269
9270 fn visit_children_with(&self, visitor: &mut V) {
9271 match self {
9272 ForgivingSelectorList { span, children } => {
9273 {
9274 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9275 };
9276 {
9277 <Vec<ForgivingComplexSelector> as VisitWith<V>>::visit_with(children, visitor)
9278 };
9279 }
9280 }
9281 }
9282}
9283impl<V: ?Sized + Visit> VisitWith<V> for Frequency {
9284 #[doc = "Calls [Visit`::visit_frequency`] with `self`."]
9285 fn visit_with(&self, visitor: &mut V) {
9286 <V as Visit>::visit_frequency(visitor, self)
9287 }
9288
9289 fn visit_children_with(&self, visitor: &mut V) {
9290 match self {
9291 Frequency { span, value, unit } => {
9292 {
9293 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9294 };
9295 {
9296 <Number as VisitWith<V>>::visit_with(value, visitor)
9297 };
9298 {
9299 <Ident as VisitWith<V>>::visit_with(unit, visitor)
9300 };
9301 }
9302 }
9303 }
9304}
9305impl<V: ?Sized + Visit> VisitWith<V> for FrequencyPercentage {
9306 #[doc = "Calls [Visit`::visit_frequency_percentage`] with `self`."]
9307 fn visit_with(&self, visitor: &mut V) {
9308 <V as Visit>::visit_frequency_percentage(visitor, self)
9309 }
9310
9311 fn visit_children_with(&self, visitor: &mut V) {
9312 match self {
9313 FrequencyPercentage::Frequency { 0: _field_0 } => {
9314 <Frequency as VisitWith<V>>::visit_with(_field_0, visitor);
9315 }
9316 FrequencyPercentage::Percentage { 0: _field_0 } => {
9317 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
9318 }
9319 }
9320 }
9321}
9322impl<V: ?Sized + Visit> VisitWith<V> for Function {
9323 #[doc = "Calls [Visit`::visit_function`] with `self`."]
9324 fn visit_with(&self, visitor: &mut V) {
9325 <V as Visit>::visit_function(visitor, self)
9326 }
9327
9328 fn visit_children_with(&self, visitor: &mut V) {
9329 match self {
9330 Function { span, name, value } => {
9331 {
9332 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9333 };
9334 {
9335 <FunctionName as VisitWith<V>>::visit_with(name, visitor)
9336 };
9337 {
9338 <Vec<ComponentValue> as VisitWith<V>>::visit_with(value, visitor)
9339 };
9340 }
9341 }
9342 }
9343}
9344impl<V: ?Sized + Visit> VisitWith<V> for FunctionName {
9345 #[doc = "Calls [Visit`::visit_function_name`] with `self`."]
9346 fn visit_with(&self, visitor: &mut V) {
9347 <V as Visit>::visit_function_name(visitor, self)
9348 }
9349
9350 fn visit_children_with(&self, visitor: &mut V) {
9351 match self {
9352 FunctionName::Ident { 0: _field_0 } => {
9353 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
9354 }
9355 FunctionName::DashedIdent { 0: _field_0 } => {
9356 <DashedIdent as VisitWith<V>>::visit_with(_field_0, visitor);
9357 }
9358 }
9359 }
9360}
9361impl<V: ?Sized + Visit> VisitWith<V> for GeneralEnclosed {
9362 #[doc = "Calls [Visit`::visit_general_enclosed`] with `self`."]
9363 fn visit_with(&self, visitor: &mut V) {
9364 <V as Visit>::visit_general_enclosed(visitor, self)
9365 }
9366
9367 fn visit_children_with(&self, visitor: &mut V) {
9368 match self {
9369 GeneralEnclosed::Function { 0: _field_0 } => {
9370 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
9371 }
9372 GeneralEnclosed::SimpleBlock { 0: _field_0 } => {
9373 <SimpleBlock as VisitWith<V>>::visit_with(_field_0, visitor);
9374 }
9375 }
9376 }
9377}
9378impl<V: ?Sized + Visit> VisitWith<V> for HexColor {
9379 #[doc = "Calls [Visit`::visit_hex_color`] with `self`."]
9380 fn visit_with(&self, visitor: &mut V) {
9381 <V as Visit>::visit_hex_color(visitor, self)
9382 }
9383
9384 fn visit_children_with(&self, visitor: &mut V) {
9385 match self {
9386 HexColor { span, value, raw } => {
9387 {
9388 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9389 };
9390 {
9391 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
9392 };
9393 {
9394 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
9395 };
9396 }
9397 }
9398 }
9399}
9400impl<V: ?Sized + Visit> VisitWith<V> for Hue {
9401 #[doc = "Calls [Visit`::visit_hue`] with `self`."]
9402 fn visit_with(&self, visitor: &mut V) {
9403 <V as Visit>::visit_hue(visitor, self)
9404 }
9405
9406 fn visit_children_with(&self, visitor: &mut V) {
9407 match self {
9408 Hue::Number { 0: _field_0 } => {
9409 <Number as VisitWith<V>>::visit_with(_field_0, visitor);
9410 }
9411 Hue::Angle { 0: _field_0 } => {
9412 <Angle as VisitWith<V>>::visit_with(_field_0, visitor);
9413 }
9414 }
9415 }
9416}
9417impl<V: ?Sized + Visit> VisitWith<V> for IdSelector {
9418 #[doc = "Calls [Visit`::visit_id_selector`] with `self`."]
9419 fn visit_with(&self, visitor: &mut V) {
9420 <V as Visit>::visit_id_selector(visitor, self)
9421 }
9422
9423 fn visit_children_with(&self, visitor: &mut V) {
9424 match self {
9425 IdSelector { span, text } => {
9426 {
9427 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9428 };
9429 {
9430 <Ident as VisitWith<V>>::visit_with(text, visitor)
9431 };
9432 }
9433 }
9434 }
9435}
9436impl<V: ?Sized + Visit> VisitWith<V> for Ident {
9437 #[doc = "Calls [Visit`::visit_ident`] with `self`."]
9438 fn visit_with(&self, visitor: &mut V) {
9439 <V as Visit>::visit_ident(visitor, self)
9440 }
9441
9442 fn visit_children_with(&self, visitor: &mut V) {
9443 match self {
9444 Ident { span, value, raw } => {
9445 {
9446 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9447 };
9448 {
9449 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
9450 };
9451 {
9452 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
9453 };
9454 }
9455 }
9456 }
9457}
9458impl<V: ?Sized + Visit> VisitWith<V> for ImportConditions {
9459 #[doc = "Calls [Visit`::visit_import_conditions`] with `self`."]
9460 fn visit_with(&self, visitor: &mut V) {
9461 <V as Visit>::visit_import_conditions(visitor, self)
9462 }
9463
9464 fn visit_children_with(&self, visitor: &mut V) {
9465 match self {
9466 ImportConditions {
9467 span,
9468 supports,
9469 media,
9470 } => {
9471 {
9472 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9473 };
9474 {
9475 <Option<Box<Function>> as VisitWith<V>>::visit_with(supports, visitor)
9476 };
9477 {
9478 <Option<Box<MediaQueryList>> as VisitWith<V>>::visit_with(media, visitor)
9479 };
9480 }
9481 }
9482 }
9483}
9484impl<V: ?Sized + Visit> VisitWith<V> for ImportHref {
9485 #[doc = "Calls [Visit`::visit_import_href`] with `self`."]
9486 fn visit_with(&self, visitor: &mut V) {
9487 <V as Visit>::visit_import_href(visitor, self)
9488 }
9489
9490 fn visit_children_with(&self, visitor: &mut V) {
9491 match self {
9492 ImportHref::Url { 0: _field_0 } => {
9493 <Url as VisitWith<V>>::visit_with(_field_0, visitor);
9494 }
9495 ImportHref::Str { 0: _field_0 } => {
9496 <Str as VisitWith<V>>::visit_with(_field_0, visitor);
9497 }
9498 }
9499 }
9500}
9501impl<V: ?Sized + Visit> VisitWith<V> for ImportLayerName {
9502 #[doc = "Calls [Visit`::visit_import_layer_name`] with `self`."]
9503 fn visit_with(&self, visitor: &mut V) {
9504 <V as Visit>::visit_import_layer_name(visitor, self)
9505 }
9506
9507 fn visit_children_with(&self, visitor: &mut V) {
9508 match self {
9509 ImportLayerName::Ident { 0: _field_0 } => {
9510 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
9511 }
9512 ImportLayerName::Function { 0: _field_0 } => {
9513 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
9514 }
9515 }
9516 }
9517}
9518impl<V: ?Sized + Visit> VisitWith<V> for ImportPrelude {
9519 #[doc = "Calls [Visit`::visit_import_prelude`] with `self`."]
9520 fn visit_with(&self, visitor: &mut V) {
9521 <V as Visit>::visit_import_prelude(visitor, self)
9522 }
9523
9524 fn visit_children_with(&self, visitor: &mut V) {
9525 match self {
9526 ImportPrelude {
9527 span,
9528 href,
9529 layer_name,
9530 import_conditions,
9531 } => {
9532 {
9533 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9534 };
9535 {
9536 <Box<ImportHref> as VisitWith<V>>::visit_with(href, visitor)
9537 };
9538 {
9539 <Option<Box<ImportLayerName>> as VisitWith<V>>::visit_with(layer_name, visitor)
9540 };
9541 {
9542 <Option<Box<ImportConditions>> as VisitWith<V>>::visit_with(
9543 import_conditions,
9544 visitor,
9545 )
9546 };
9547 }
9548 }
9549 }
9550}
9551impl<V: ?Sized + Visit> VisitWith<V> for ImportantFlag {
9552 #[doc = "Calls [Visit`::visit_important_flag`] with `self`."]
9553 fn visit_with(&self, visitor: &mut V) {
9554 <V as Visit>::visit_important_flag(visitor, self)
9555 }
9556
9557 fn visit_children_with(&self, visitor: &mut V) {
9558 match self {
9559 ImportantFlag { span, value } => {
9560 {
9561 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9562 };
9563 {
9564 <Ident as VisitWith<V>>::visit_with(value, visitor)
9565 };
9566 }
9567 }
9568 }
9569}
9570impl<V: ?Sized + Visit> VisitWith<V> for Integer {
9571 #[doc = "Calls [Visit`::visit_integer`] with `self`."]
9572 fn visit_with(&self, visitor: &mut V) {
9573 <V as Visit>::visit_integer(visitor, self)
9574 }
9575
9576 fn visit_children_with(&self, visitor: &mut V) {
9577 match self {
9578 Integer { span, value, raw } => {
9579 {
9580 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9581 };
9582 {
9583 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
9584 };
9585 }
9586 }
9587 }
9588}
9589impl<V: ?Sized + Visit> VisitWith<V> for KeyframeBlock {
9590 #[doc = "Calls [Visit`::visit_keyframe_block`] with `self`."]
9591 fn visit_with(&self, visitor: &mut V) {
9592 <V as Visit>::visit_keyframe_block(visitor, self)
9593 }
9594
9595 fn visit_children_with(&self, visitor: &mut V) {
9596 match self {
9597 KeyframeBlock {
9598 span,
9599 prelude,
9600 block,
9601 } => {
9602 {
9603 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9604 };
9605 {
9606 <Vec<KeyframeSelector> as VisitWith<V>>::visit_with(prelude, visitor)
9607 };
9608 {
9609 <SimpleBlock as VisitWith<V>>::visit_with(block, visitor)
9610 };
9611 }
9612 }
9613 }
9614}
9615impl<V: ?Sized + Visit> VisitWith<V> for KeyframeSelector {
9616 #[doc = "Calls [Visit`::visit_keyframe_selector`] with `self`."]
9617 fn visit_with(&self, visitor: &mut V) {
9618 <V as Visit>::visit_keyframe_selector(visitor, self)
9619 }
9620
9621 fn visit_children_with(&self, visitor: &mut V) {
9622 match self {
9623 KeyframeSelector::Ident { 0: _field_0 } => {
9624 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
9625 }
9626 KeyframeSelector::Percentage { 0: _field_0 } => {
9627 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
9628 }
9629 }
9630 }
9631}
9632impl<V: ?Sized + Visit> VisitWith<V> for KeyframesName {
9633 #[doc = "Calls [Visit`::visit_keyframes_name`] with `self`."]
9634 fn visit_with(&self, visitor: &mut V) {
9635 <V as Visit>::visit_keyframes_name(visitor, self)
9636 }
9637
9638 fn visit_children_with(&self, visitor: &mut V) {
9639 match self {
9640 KeyframesName::CustomIdent { 0: _field_0 } => {
9641 <Box<CustomIdent> as VisitWith<V>>::visit_with(_field_0, visitor);
9642 }
9643 KeyframesName::Str { 0: _field_0 } => {
9644 <Box<Str> as VisitWith<V>>::visit_with(_field_0, visitor);
9645 }
9646 KeyframesName::PseudoPrefix { 0: _field_0 } => {
9647 <Box<KeyframesPseudoPrefix> as VisitWith<V>>::visit_with(_field_0, visitor);
9648 }
9649 KeyframesName::PseudoFunction { 0: _field_0 } => {
9650 <Box<KeyframesPseudoFunction> as VisitWith<V>>::visit_with(_field_0, visitor);
9651 }
9652 }
9653 }
9654}
9655impl<V: ?Sized + Visit> VisitWith<V> for KeyframesPseudoFunction {
9656 #[doc = "Calls [Visit`::visit_keyframes_pseudo_function`] with `self`."]
9657 fn visit_with(&self, visitor: &mut V) {
9658 <V as Visit>::visit_keyframes_pseudo_function(visitor, self)
9659 }
9660
9661 fn visit_children_with(&self, visitor: &mut V) {
9662 match self {
9663 KeyframesPseudoFunction { span, pseudo, name } => {
9664 {
9665 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9666 };
9667 {
9668 <Ident as VisitWith<V>>::visit_with(pseudo, visitor)
9669 };
9670 {
9671 <KeyframesName as VisitWith<V>>::visit_with(name, visitor)
9672 };
9673 }
9674 }
9675 }
9676}
9677impl<V: ?Sized + Visit> VisitWith<V> for KeyframesPseudoPrefix {
9678 #[doc = "Calls [Visit`::visit_keyframes_pseudo_prefix`] with `self`."]
9679 fn visit_with(&self, visitor: &mut V) {
9680 <V as Visit>::visit_keyframes_pseudo_prefix(visitor, self)
9681 }
9682
9683 fn visit_children_with(&self, visitor: &mut V) {
9684 match self {
9685 KeyframesPseudoPrefix { span, pseudo, name } => {
9686 {
9687 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9688 };
9689 {
9690 <Ident as VisitWith<V>>::visit_with(pseudo, visitor)
9691 };
9692 {
9693 <KeyframesName as VisitWith<V>>::visit_with(name, visitor)
9694 };
9695 }
9696 }
9697 }
9698}
9699impl<V: ?Sized + Visit> VisitWith<V> for LayerName {
9700 #[doc = "Calls [Visit`::visit_layer_name`] with `self`."]
9701 fn visit_with(&self, visitor: &mut V) {
9702 <V as Visit>::visit_layer_name(visitor, self)
9703 }
9704
9705 fn visit_children_with(&self, visitor: &mut V) {
9706 match self {
9707 LayerName { span, name } => {
9708 {
9709 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9710 };
9711 {
9712 <Vec<Ident> as VisitWith<V>>::visit_with(name, visitor)
9713 };
9714 }
9715 }
9716 }
9717}
9718impl<V: ?Sized + Visit> VisitWith<V> for LayerNameList {
9719 #[doc = "Calls [Visit`::visit_layer_name_list`] with `self`."]
9720 fn visit_with(&self, visitor: &mut V) {
9721 <V as Visit>::visit_layer_name_list(visitor, self)
9722 }
9723
9724 fn visit_children_with(&self, visitor: &mut V) {
9725 match self {
9726 LayerNameList { span, name_list } => {
9727 {
9728 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9729 };
9730 {
9731 <Vec<LayerName> as VisitWith<V>>::visit_with(name_list, visitor)
9732 };
9733 }
9734 }
9735 }
9736}
9737impl<V: ?Sized + Visit> VisitWith<V> for LayerPrelude {
9738 #[doc = "Calls [Visit`::visit_layer_prelude`] with `self`."]
9739 fn visit_with(&self, visitor: &mut V) {
9740 <V as Visit>::visit_layer_prelude(visitor, self)
9741 }
9742
9743 fn visit_children_with(&self, visitor: &mut V) {
9744 match self {
9745 LayerPrelude::Name { 0: _field_0 } => {
9746 <LayerName as VisitWith<V>>::visit_with(_field_0, visitor);
9747 }
9748 LayerPrelude::NameList { 0: _field_0 } => {
9749 <LayerNameList as VisitWith<V>>::visit_with(_field_0, visitor);
9750 }
9751 }
9752 }
9753}
9754impl<V: ?Sized + Visit> VisitWith<V> for Length {
9755 #[doc = "Calls [Visit`::visit_length`] with `self`."]
9756 fn visit_with(&self, visitor: &mut V) {
9757 <V as Visit>::visit_length(visitor, self)
9758 }
9759
9760 fn visit_children_with(&self, visitor: &mut V) {
9761 match self {
9762 Length { span, value, unit } => {
9763 {
9764 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9765 };
9766 {
9767 <Number as VisitWith<V>>::visit_with(value, visitor)
9768 };
9769 {
9770 <Ident as VisitWith<V>>::visit_with(unit, visitor)
9771 };
9772 }
9773 }
9774 }
9775}
9776impl<V: ?Sized + Visit> VisitWith<V> for LengthPercentage {
9777 #[doc = "Calls [Visit`::visit_length_percentage`] with `self`."]
9778 fn visit_with(&self, visitor: &mut V) {
9779 <V as Visit>::visit_length_percentage(visitor, self)
9780 }
9781
9782 fn visit_children_with(&self, visitor: &mut V) {
9783 match self {
9784 LengthPercentage::Length { 0: _field_0 } => {
9785 <Length as VisitWith<V>>::visit_with(_field_0, visitor);
9786 }
9787 LengthPercentage::Percentage { 0: _field_0 } => {
9788 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
9789 }
9790 }
9791 }
9792}
9793impl<V: ?Sized + Visit> VisitWith<V> for ListOfComponentValues {
9794 #[doc = "Calls [Visit`::visit_list_of_component_values`] with `self`."]
9795 fn visit_with(&self, visitor: &mut V) {
9796 <V as Visit>::visit_list_of_component_values(visitor, self)
9797 }
9798
9799 fn visit_children_with(&self, visitor: &mut V) {
9800 match self {
9801 ListOfComponentValues { span, children } => {
9802 {
9803 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9804 };
9805 {
9806 <Vec<ComponentValue> as VisitWith<V>>::visit_with(children, visitor)
9807 };
9808 }
9809 }
9810 }
9811}
9812impl<V: ?Sized + Visit> VisitWith<V> for MediaAnd {
9813 #[doc = "Calls [Visit`::visit_media_and`] with `self`."]
9814 fn visit_with(&self, visitor: &mut V) {
9815 <V as Visit>::visit_media_and(visitor, self)
9816 }
9817
9818 fn visit_children_with(&self, visitor: &mut V) {
9819 match self {
9820 MediaAnd {
9821 span,
9822 keyword,
9823 condition,
9824 } => {
9825 {
9826 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9827 };
9828 {
9829 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
9830 };
9831 {
9832 <MediaInParens as VisitWith<V>>::visit_with(condition, visitor)
9833 };
9834 }
9835 }
9836 }
9837}
9838impl<V: ?Sized + Visit> VisitWith<V> for MediaCondition {
9839 #[doc = "Calls [Visit`::visit_media_condition`] with `self`."]
9840 fn visit_with(&self, visitor: &mut V) {
9841 <V as Visit>::visit_media_condition(visitor, self)
9842 }
9843
9844 fn visit_children_with(&self, visitor: &mut V) {
9845 match self {
9846 MediaCondition { span, conditions } => {
9847 {
9848 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9849 };
9850 {
9851 <Vec<MediaConditionAllType> as VisitWith<V>>::visit_with(conditions, visitor)
9852 };
9853 }
9854 }
9855 }
9856}
9857impl<V: ?Sized + Visit> VisitWith<V> for MediaConditionAllType {
9858 #[doc = "Calls [Visit`::visit_media_condition_all_type`] with `self`."]
9859 fn visit_with(&self, visitor: &mut V) {
9860 <V as Visit>::visit_media_condition_all_type(visitor, self)
9861 }
9862
9863 fn visit_children_with(&self, visitor: &mut V) {
9864 match self {
9865 MediaConditionAllType::Not { 0: _field_0 } => {
9866 <MediaNot as VisitWith<V>>::visit_with(_field_0, visitor);
9867 }
9868 MediaConditionAllType::And { 0: _field_0 } => {
9869 <MediaAnd as VisitWith<V>>::visit_with(_field_0, visitor);
9870 }
9871 MediaConditionAllType::Or { 0: _field_0 } => {
9872 <MediaOr as VisitWith<V>>::visit_with(_field_0, visitor);
9873 }
9874 MediaConditionAllType::MediaInParens { 0: _field_0 } => {
9875 <MediaInParens as VisitWith<V>>::visit_with(_field_0, visitor);
9876 }
9877 }
9878 }
9879}
9880impl<V: ?Sized + Visit> VisitWith<V> for MediaConditionType {
9881 #[doc = "Calls [Visit`::visit_media_condition_type`] with `self`."]
9882 fn visit_with(&self, visitor: &mut V) {
9883 <V as Visit>::visit_media_condition_type(visitor, self)
9884 }
9885
9886 fn visit_children_with(&self, visitor: &mut V) {
9887 match self {
9888 MediaConditionType::All { 0: _field_0 } => {
9889 <MediaCondition as VisitWith<V>>::visit_with(_field_0, visitor);
9890 }
9891 MediaConditionType::WithoutOr { 0: _field_0 } => {
9892 <MediaConditionWithoutOr as VisitWith<V>>::visit_with(_field_0, visitor);
9893 }
9894 }
9895 }
9896}
9897impl<V: ?Sized + Visit> VisitWith<V> for MediaConditionWithoutOr {
9898 #[doc = "Calls [Visit`::visit_media_condition_without_or`] with `self`."]
9899 fn visit_with(&self, visitor: &mut V) {
9900 <V as Visit>::visit_media_condition_without_or(visitor, self)
9901 }
9902
9903 fn visit_children_with(&self, visitor: &mut V) {
9904 match self {
9905 MediaConditionWithoutOr { span, conditions } => {
9906 {
9907 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9908 };
9909 {
9910 <Vec<MediaConditionWithoutOrType> as VisitWith<V>>::visit_with(
9911 conditions, visitor,
9912 )
9913 };
9914 }
9915 }
9916 }
9917}
9918impl<V: ?Sized + Visit> VisitWith<V> for MediaConditionWithoutOrType {
9919 #[doc = "Calls [Visit`::visit_media_condition_without_or_type`] with `self`."]
9920 fn visit_with(&self, visitor: &mut V) {
9921 <V as Visit>::visit_media_condition_without_or_type(visitor, self)
9922 }
9923
9924 fn visit_children_with(&self, visitor: &mut V) {
9925 match self {
9926 MediaConditionWithoutOrType::Not { 0: _field_0 } => {
9927 <MediaNot as VisitWith<V>>::visit_with(_field_0, visitor);
9928 }
9929 MediaConditionWithoutOrType::And { 0: _field_0 } => {
9930 <MediaAnd as VisitWith<V>>::visit_with(_field_0, visitor);
9931 }
9932 MediaConditionWithoutOrType::MediaInParens { 0: _field_0 } => {
9933 <MediaInParens as VisitWith<V>>::visit_with(_field_0, visitor);
9934 }
9935 }
9936 }
9937}
9938impl<V: ?Sized + Visit> VisitWith<V> for MediaFeature {
9939 #[doc = "Calls [Visit`::visit_media_feature`] with `self`."]
9940 fn visit_with(&self, visitor: &mut V) {
9941 <V as Visit>::visit_media_feature(visitor, self)
9942 }
9943
9944 fn visit_children_with(&self, visitor: &mut V) {
9945 match self {
9946 MediaFeature::Plain { 0: _field_0 } => {
9947 <MediaFeaturePlain as VisitWith<V>>::visit_with(_field_0, visitor);
9948 }
9949 MediaFeature::Boolean { 0: _field_0 } => {
9950 <MediaFeatureBoolean as VisitWith<V>>::visit_with(_field_0, visitor);
9951 }
9952 MediaFeature::Range { 0: _field_0 } => {
9953 <MediaFeatureRange as VisitWith<V>>::visit_with(_field_0, visitor);
9954 }
9955 MediaFeature::RangeInterval { 0: _field_0 } => {
9956 <MediaFeatureRangeInterval as VisitWith<V>>::visit_with(_field_0, visitor);
9957 }
9958 }
9959 }
9960}
9961impl<V: ?Sized + Visit> VisitWith<V> for MediaFeatureBoolean {
9962 #[doc = "Calls [Visit`::visit_media_feature_boolean`] with `self`."]
9963 fn visit_with(&self, visitor: &mut V) {
9964 <V as Visit>::visit_media_feature_boolean(visitor, self)
9965 }
9966
9967 fn visit_children_with(&self, visitor: &mut V) {
9968 match self {
9969 MediaFeatureBoolean { span, name } => {
9970 {
9971 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
9972 };
9973 {
9974 <MediaFeatureName as VisitWith<V>>::visit_with(name, visitor)
9975 };
9976 }
9977 }
9978 }
9979}
9980impl<V: ?Sized + Visit> VisitWith<V> for MediaFeatureName {
9981 #[doc = "Calls [Visit`::visit_media_feature_name`] with `self`."]
9982 fn visit_with(&self, visitor: &mut V) {
9983 <V as Visit>::visit_media_feature_name(visitor, self)
9984 }
9985
9986 fn visit_children_with(&self, visitor: &mut V) {
9987 match self {
9988 MediaFeatureName::Ident { 0: _field_0 } => {
9989 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
9990 }
9991 MediaFeatureName::ExtensionName { 0: _field_0 } => {
9992 <ExtensionName as VisitWith<V>>::visit_with(_field_0, visitor);
9993 }
9994 }
9995 }
9996}
9997impl<V: ?Sized + Visit> VisitWith<V> for MediaFeaturePlain {
9998 #[doc = "Calls [Visit`::visit_media_feature_plain`] with `self`."]
9999 fn visit_with(&self, visitor: &mut V) {
10000 <V as Visit>::visit_media_feature_plain(visitor, self)
10001 }
10002
10003 fn visit_children_with(&self, visitor: &mut V) {
10004 match self {
10005 MediaFeaturePlain { span, name, value } => {
10006 {
10007 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10008 };
10009 {
10010 <MediaFeatureName as VisitWith<V>>::visit_with(name, visitor)
10011 };
10012 {
10013 <Box<MediaFeatureValue> as VisitWith<V>>::visit_with(value, visitor)
10014 };
10015 }
10016 }
10017 }
10018}
10019impl<V: ?Sized + Visit> VisitWith<V> for MediaFeatureRange {
10020 #[doc = "Calls [Visit`::visit_media_feature_range`] with `self`."]
10021 fn visit_with(&self, visitor: &mut V) {
10022 <V as Visit>::visit_media_feature_range(visitor, self)
10023 }
10024
10025 fn visit_children_with(&self, visitor: &mut V) {
10026 match self {
10027 MediaFeatureRange {
10028 span,
10029 left,
10030 comparison,
10031 right,
10032 } => {
10033 {
10034 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10035 };
10036 {
10037 <Box<MediaFeatureValue> as VisitWith<V>>::visit_with(left, visitor)
10038 };
10039 {
10040 <MediaFeatureRangeComparison as VisitWith<V>>::visit_with(comparison, visitor)
10041 };
10042 {
10043 <Box<MediaFeatureValue> as VisitWith<V>>::visit_with(right, visitor)
10044 };
10045 }
10046 }
10047 }
10048}
10049impl<V: ?Sized + Visit> VisitWith<V> for MediaFeatureRangeComparison {
10050 #[doc = "Calls [Visit`::visit_media_feature_range_comparison`] with `self`."]
10051 fn visit_with(&self, visitor: &mut V) {
10052 <V as Visit>::visit_media_feature_range_comparison(visitor, self)
10053 }
10054
10055 fn visit_children_with(&self, visitor: &mut V) {
10056 match self {
10057 MediaFeatureRangeComparison::Lt => {}
10058 MediaFeatureRangeComparison::Le => {}
10059 MediaFeatureRangeComparison::Gt => {}
10060 MediaFeatureRangeComparison::Ge => {}
10061 MediaFeatureRangeComparison::Eq => {}
10062 }
10063 }
10064}
10065impl<V: ?Sized + Visit> VisitWith<V> for MediaFeatureRangeInterval {
10066 #[doc = "Calls [Visit`::visit_media_feature_range_interval`] with `self`."]
10067 fn visit_with(&self, visitor: &mut V) {
10068 <V as Visit>::visit_media_feature_range_interval(visitor, self)
10069 }
10070
10071 fn visit_children_with(&self, visitor: &mut V) {
10072 match self {
10073 MediaFeatureRangeInterval {
10074 span,
10075 left,
10076 left_comparison,
10077 name,
10078 right_comparison,
10079 right,
10080 } => {
10081 {
10082 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10083 };
10084 {
10085 <Box<MediaFeatureValue> as VisitWith<V>>::visit_with(left, visitor)
10086 };
10087 {
10088 <MediaFeatureRangeComparison as VisitWith<V>>::visit_with(
10089 left_comparison,
10090 visitor,
10091 )
10092 };
10093 {
10094 <MediaFeatureName as VisitWith<V>>::visit_with(name, visitor)
10095 };
10096 {
10097 <MediaFeatureRangeComparison as VisitWith<V>>::visit_with(
10098 right_comparison,
10099 visitor,
10100 )
10101 };
10102 {
10103 <Box<MediaFeatureValue> as VisitWith<V>>::visit_with(right, visitor)
10104 };
10105 }
10106 }
10107 }
10108}
10109impl<V: ?Sized + Visit> VisitWith<V> for MediaFeatureValue {
10110 #[doc = "Calls [Visit`::visit_media_feature_value`] with `self`."]
10111 fn visit_with(&self, visitor: &mut V) {
10112 <V as Visit>::visit_media_feature_value(visitor, self)
10113 }
10114
10115 fn visit_children_with(&self, visitor: &mut V) {
10116 match self {
10117 MediaFeatureValue::Number { 0: _field_0 } => {
10118 <Number as VisitWith<V>>::visit_with(_field_0, visitor);
10119 }
10120 MediaFeatureValue::Dimension { 0: _field_0 } => {
10121 <Dimension as VisitWith<V>>::visit_with(_field_0, visitor);
10122 }
10123 MediaFeatureValue::Ident { 0: _field_0 } => {
10124 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
10125 }
10126 MediaFeatureValue::Ratio { 0: _field_0 } => {
10127 <Ratio as VisitWith<V>>::visit_with(_field_0, visitor);
10128 }
10129 MediaFeatureValue::Function { 0: _field_0 } => {
10130 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
10131 }
10132 }
10133 }
10134}
10135impl<V: ?Sized + Visit> VisitWith<V> for MediaInParens {
10136 #[doc = "Calls [Visit`::visit_media_in_parens`] with `self`."]
10137 fn visit_with(&self, visitor: &mut V) {
10138 <V as Visit>::visit_media_in_parens(visitor, self)
10139 }
10140
10141 fn visit_children_with(&self, visitor: &mut V) {
10142 match self {
10143 MediaInParens::MediaCondition { 0: _field_0 } => {
10144 <MediaCondition as VisitWith<V>>::visit_with(_field_0, visitor);
10145 }
10146 MediaInParens::Feature { 0: _field_0 } => {
10147 <Box<MediaFeature> as VisitWith<V>>::visit_with(_field_0, visitor);
10148 }
10149 MediaInParens::GeneralEnclosed { 0: _field_0 } => {
10150 <GeneralEnclosed as VisitWith<V>>::visit_with(_field_0, visitor);
10151 }
10152 }
10153 }
10154}
10155impl<V: ?Sized + Visit> VisitWith<V> for MediaNot {
10156 #[doc = "Calls [Visit`::visit_media_not`] with `self`."]
10157 fn visit_with(&self, visitor: &mut V) {
10158 <V as Visit>::visit_media_not(visitor, self)
10159 }
10160
10161 fn visit_children_with(&self, visitor: &mut V) {
10162 match self {
10163 MediaNot {
10164 span,
10165 keyword,
10166 condition,
10167 } => {
10168 {
10169 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10170 };
10171 {
10172 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
10173 };
10174 {
10175 <MediaInParens as VisitWith<V>>::visit_with(condition, visitor)
10176 };
10177 }
10178 }
10179 }
10180}
10181impl<V: ?Sized + Visit> VisitWith<V> for MediaOr {
10182 #[doc = "Calls [Visit`::visit_media_or`] with `self`."]
10183 fn visit_with(&self, visitor: &mut V) {
10184 <V as Visit>::visit_media_or(visitor, self)
10185 }
10186
10187 fn visit_children_with(&self, visitor: &mut V) {
10188 match self {
10189 MediaOr {
10190 span,
10191 keyword,
10192 condition,
10193 } => {
10194 {
10195 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10196 };
10197 {
10198 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
10199 };
10200 {
10201 <MediaInParens as VisitWith<V>>::visit_with(condition, visitor)
10202 };
10203 }
10204 }
10205 }
10206}
10207impl<V: ?Sized + Visit> VisitWith<V> for MediaQuery {
10208 #[doc = "Calls [Visit`::visit_media_query`] with `self`."]
10209 fn visit_with(&self, visitor: &mut V) {
10210 <V as Visit>::visit_media_query(visitor, self)
10211 }
10212
10213 fn visit_children_with(&self, visitor: &mut V) {
10214 match self {
10215 MediaQuery {
10216 span,
10217 modifier,
10218 media_type,
10219 keyword,
10220 condition,
10221 } => {
10222 {
10223 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10224 };
10225 {
10226 <Option<Ident> as VisitWith<V>>::visit_with(modifier, visitor)
10227 };
10228 {
10229 <Option<MediaType> as VisitWith<V>>::visit_with(media_type, visitor)
10230 };
10231 {
10232 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
10233 };
10234 {
10235 <Option<Box<MediaConditionType>> as VisitWith<V>>::visit_with(
10236 condition, visitor,
10237 )
10238 };
10239 }
10240 }
10241 }
10242}
10243impl<V: ?Sized + Visit> VisitWith<V> for MediaQueryList {
10244 #[doc = "Calls [Visit`::visit_media_query_list`] with `self`."]
10245 fn visit_with(&self, visitor: &mut V) {
10246 <V as Visit>::visit_media_query_list(visitor, self)
10247 }
10248
10249 fn visit_children_with(&self, visitor: &mut V) {
10250 match self {
10251 MediaQueryList { span, queries } => {
10252 {
10253 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10254 };
10255 {
10256 <Vec<MediaQuery> as VisitWith<V>>::visit_with(queries, visitor)
10257 };
10258 }
10259 }
10260 }
10261}
10262impl<V: ?Sized + Visit> VisitWith<V> for MediaType {
10263 #[doc = "Calls [Visit`::visit_media_type`] with `self`."]
10264 fn visit_with(&self, visitor: &mut V) {
10265 <V as Visit>::visit_media_type(visitor, self)
10266 }
10267
10268 fn visit_children_with(&self, visitor: &mut V) {
10269 match self {
10270 MediaType::Ident { 0: _field_0 } => {
10271 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
10272 }
10273 }
10274 }
10275}
10276impl<V: ?Sized + Visit> VisitWith<V> for NamedNamespace {
10277 #[doc = "Calls [Visit`::visit_named_namespace`] with `self`."]
10278 fn visit_with(&self, visitor: &mut V) {
10279 <V as Visit>::visit_named_namespace(visitor, self)
10280 }
10281
10282 fn visit_children_with(&self, visitor: &mut V) {
10283 match self {
10284 NamedNamespace { span, name } => {
10285 {
10286 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10287 };
10288 {
10289 <Ident as VisitWith<V>>::visit_with(name, visitor)
10290 };
10291 }
10292 }
10293 }
10294}
10295impl<V: ?Sized + Visit> VisitWith<V> for Namespace {
10296 #[doc = "Calls [Visit`::visit_namespace`] with `self`."]
10297 fn visit_with(&self, visitor: &mut V) {
10298 <V as Visit>::visit_namespace(visitor, self)
10299 }
10300
10301 fn visit_children_with(&self, visitor: &mut V) {
10302 match self {
10303 Namespace::Named { 0: _field_0 } => {
10304 <NamedNamespace as VisitWith<V>>::visit_with(_field_0, visitor);
10305 }
10306 Namespace::Any { 0: _field_0 } => {
10307 <AnyNamespace as VisitWith<V>>::visit_with(_field_0, visitor);
10308 }
10309 }
10310 }
10311}
10312impl<V: ?Sized + Visit> VisitWith<V> for NamespacePrefix {
10313 #[doc = "Calls [Visit`::visit_namespace_prefix`] with `self`."]
10314 fn visit_with(&self, visitor: &mut V) {
10315 <V as Visit>::visit_namespace_prefix(visitor, self)
10316 }
10317
10318 fn visit_children_with(&self, visitor: &mut V) {
10319 match self {
10320 NamespacePrefix { span, namespace } => {
10321 {
10322 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10323 };
10324 {
10325 <Option<Namespace> as VisitWith<V>>::visit_with(namespace, visitor)
10326 };
10327 }
10328 }
10329 }
10330}
10331impl<V: ?Sized + Visit> VisitWith<V> for NamespacePrelude {
10332 #[doc = "Calls [Visit`::visit_namespace_prelude`] with `self`."]
10333 fn visit_with(&self, visitor: &mut V) {
10334 <V as Visit>::visit_namespace_prelude(visitor, self)
10335 }
10336
10337 fn visit_children_with(&self, visitor: &mut V) {
10338 match self {
10339 NamespacePrelude { span, prefix, uri } => {
10340 {
10341 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10342 };
10343 {
10344 <Option<Ident> as VisitWith<V>>::visit_with(prefix, visitor)
10345 };
10346 {
10347 <Box<NamespacePreludeUri> as VisitWith<V>>::visit_with(uri, visitor)
10348 };
10349 }
10350 }
10351 }
10352}
10353impl<V: ?Sized + Visit> VisitWith<V> for NamespacePreludeUri {
10354 #[doc = "Calls [Visit`::visit_namespace_prelude_uri`] with `self`."]
10355 fn visit_with(&self, visitor: &mut V) {
10356 <V as Visit>::visit_namespace_prelude_uri(visitor, self)
10357 }
10358
10359 fn visit_children_with(&self, visitor: &mut V) {
10360 match self {
10361 NamespacePreludeUri::Url { 0: _field_0 } => {
10362 <Url as VisitWith<V>>::visit_with(_field_0, visitor);
10363 }
10364 NamespacePreludeUri::Str { 0: _field_0 } => {
10365 <Str as VisitWith<V>>::visit_with(_field_0, visitor);
10366 }
10367 }
10368 }
10369}
10370impl<V: ?Sized + Visit> VisitWith<V> for NestingSelector {
10371 #[doc = "Calls [Visit`::visit_nesting_selector`] with `self`."]
10372 fn visit_with(&self, visitor: &mut V) {
10373 <V as Visit>::visit_nesting_selector(visitor, self)
10374 }
10375
10376 fn visit_children_with(&self, visitor: &mut V) {
10377 match self {
10378 NestingSelector { span } => {
10379 {
10380 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10381 };
10382 }
10383 }
10384 }
10385}
10386impl<V: ?Sized + Visit> VisitWith<V> for Number {
10387 #[doc = "Calls [Visit`::visit_number`] with `self`."]
10388 fn visit_with(&self, visitor: &mut V) {
10389 <V as Visit>::visit_number(visitor, self)
10390 }
10391
10392 fn visit_children_with(&self, visitor: &mut V) {
10393 match self {
10394 Number { span, value, raw } => {
10395 {
10396 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10397 };
10398 {
10399 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
10400 };
10401 }
10402 }
10403 }
10404}
10405impl<V: ?Sized + Visit> VisitWith<V> for NumberType {
10406 #[doc = "Calls [Visit`::visit_number_type`] with `self`."]
10407 fn visit_with(&self, visitor: &mut V) {
10408 <V as Visit>::visit_number_type(visitor, self)
10409 }
10410
10411 fn visit_children_with(&self, visitor: &mut V) {
10412 match self {
10413 NumberType::Integer => {}
10414 NumberType::Number => {}
10415 }
10416 }
10417}
10418impl<V: ?Sized + Visit> VisitWith<V> for PageSelector {
10419 #[doc = "Calls [Visit`::visit_page_selector`] with `self`."]
10420 fn visit_with(&self, visitor: &mut V) {
10421 <V as Visit>::visit_page_selector(visitor, self)
10422 }
10423
10424 fn visit_children_with(&self, visitor: &mut V) {
10425 match self {
10426 PageSelector {
10427 span,
10428 page_type,
10429 pseudos,
10430 } => {
10431 {
10432 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10433 };
10434 {
10435 <Option<PageSelectorType> as VisitWith<V>>::visit_with(page_type, visitor)
10436 };
10437 {
10438 <Option<Vec<PageSelectorPseudo>> as VisitWith<V>>::visit_with(pseudos, visitor)
10439 };
10440 }
10441 }
10442 }
10443}
10444impl<V: ?Sized + Visit> VisitWith<V> for PageSelectorList {
10445 #[doc = "Calls [Visit`::visit_page_selector_list`] with `self`."]
10446 fn visit_with(&self, visitor: &mut V) {
10447 <V as Visit>::visit_page_selector_list(visitor, self)
10448 }
10449
10450 fn visit_children_with(&self, visitor: &mut V) {
10451 match self {
10452 PageSelectorList { span, selectors } => {
10453 {
10454 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10455 };
10456 {
10457 <Vec<PageSelector> as VisitWith<V>>::visit_with(selectors, visitor)
10458 };
10459 }
10460 }
10461 }
10462}
10463impl<V: ?Sized + Visit> VisitWith<V> for PageSelectorPseudo {
10464 #[doc = "Calls [Visit`::visit_page_selector_pseudo`] with `self`."]
10465 fn visit_with(&self, visitor: &mut V) {
10466 <V as Visit>::visit_page_selector_pseudo(visitor, self)
10467 }
10468
10469 fn visit_children_with(&self, visitor: &mut V) {
10470 match self {
10471 PageSelectorPseudo { span, value } => {
10472 {
10473 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10474 };
10475 {
10476 <Ident as VisitWith<V>>::visit_with(value, visitor)
10477 };
10478 }
10479 }
10480 }
10481}
10482impl<V: ?Sized + Visit> VisitWith<V> for PageSelectorType {
10483 #[doc = "Calls [Visit`::visit_page_selector_type`] with `self`."]
10484 fn visit_with(&self, visitor: &mut V) {
10485 <V as Visit>::visit_page_selector_type(visitor, self)
10486 }
10487
10488 fn visit_children_with(&self, visitor: &mut V) {
10489 match self {
10490 PageSelectorType { span, value } => {
10491 {
10492 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10493 };
10494 {
10495 <Ident as VisitWith<V>>::visit_with(value, visitor)
10496 };
10497 }
10498 }
10499 }
10500}
10501impl<V: ?Sized + Visit> VisitWith<V> for Percentage {
10502 #[doc = "Calls [Visit`::visit_percentage`] with `self`."]
10503 fn visit_with(&self, visitor: &mut V) {
10504 <V as Visit>::visit_percentage(visitor, self)
10505 }
10506
10507 fn visit_children_with(&self, visitor: &mut V) {
10508 match self {
10509 Percentage { span, value } => {
10510 {
10511 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10512 };
10513 {
10514 <Number as VisitWith<V>>::visit_with(value, visitor)
10515 };
10516 }
10517 }
10518 }
10519}
10520impl<V: ?Sized + Visit> VisitWith<V> for PseudoClassSelector {
10521 #[doc = "Calls [Visit`::visit_pseudo_class_selector`] with `self`."]
10522 fn visit_with(&self, visitor: &mut V) {
10523 <V as Visit>::visit_pseudo_class_selector(visitor, self)
10524 }
10525
10526 fn visit_children_with(&self, visitor: &mut V) {
10527 match self {
10528 PseudoClassSelector {
10529 span,
10530 name,
10531 children,
10532 } => {
10533 {
10534 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10535 };
10536 {
10537 <Ident as VisitWith<V>>::visit_with(name, visitor)
10538 };
10539 {
10540 <Option<Vec<PseudoClassSelectorChildren>> as VisitWith<V>>::visit_with(
10541 children, visitor,
10542 )
10543 };
10544 }
10545 }
10546 }
10547}
10548impl<V: ?Sized + Visit> VisitWith<V> for PseudoClassSelectorChildren {
10549 #[doc = "Calls [Visit`::visit_pseudo_class_selector_children`] with `self`."]
10550 fn visit_with(&self, visitor: &mut V) {
10551 <V as Visit>::visit_pseudo_class_selector_children(visitor, self)
10552 }
10553
10554 fn visit_children_with(&self, visitor: &mut V) {
10555 match self {
10556 PseudoClassSelectorChildren::PreservedToken { 0: _field_0 } => {
10557 <TokenAndSpan as VisitWith<V>>::visit_with(_field_0, visitor);
10558 }
10559 PseudoClassSelectorChildren::AnPlusB { 0: _field_0 } => {
10560 <AnPlusB as VisitWith<V>>::visit_with(_field_0, visitor);
10561 }
10562 PseudoClassSelectorChildren::Ident { 0: _field_0 } => {
10563 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
10564 }
10565 PseudoClassSelectorChildren::Str { 0: _field_0 } => {
10566 <Str as VisitWith<V>>::visit_with(_field_0, visitor);
10567 }
10568 PseudoClassSelectorChildren::Delimiter { 0: _field_0 } => {
10569 <Delimiter as VisitWith<V>>::visit_with(_field_0, visitor);
10570 }
10571 PseudoClassSelectorChildren::ComplexSelector { 0: _field_0 } => {
10572 <ComplexSelector as VisitWith<V>>::visit_with(_field_0, visitor);
10573 }
10574 PseudoClassSelectorChildren::SelectorList { 0: _field_0 } => {
10575 <SelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
10576 }
10577 PseudoClassSelectorChildren::ForgivingSelectorList { 0: _field_0 } => {
10578 <ForgivingSelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
10579 }
10580 PseudoClassSelectorChildren::CompoundSelectorList { 0: _field_0 } => {
10581 <CompoundSelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
10582 }
10583 PseudoClassSelectorChildren::RelativeSelectorList { 0: _field_0 } => {
10584 <RelativeSelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
10585 }
10586 PseudoClassSelectorChildren::ForgivingRelativeSelectorList { 0: _field_0 } => {
10587 <ForgivingRelativeSelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
10588 }
10589 PseudoClassSelectorChildren::CompoundSelector { 0: _field_0 } => {
10590 <CompoundSelector as VisitWith<V>>::visit_with(_field_0, visitor);
10591 }
10592 }
10593 }
10594}
10595impl<V: ?Sized + Visit> VisitWith<V> for PseudoElementSelector {
10596 #[doc = "Calls [Visit`::visit_pseudo_element_selector`] with `self`."]
10597 fn visit_with(&self, visitor: &mut V) {
10598 <V as Visit>::visit_pseudo_element_selector(visitor, self)
10599 }
10600
10601 fn visit_children_with(&self, visitor: &mut V) {
10602 match self {
10603 PseudoElementSelector {
10604 span,
10605 name,
10606 children,
10607 } => {
10608 {
10609 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10610 };
10611 {
10612 <Ident as VisitWith<V>>::visit_with(name, visitor)
10613 };
10614 {
10615 <Option<Vec<PseudoElementSelectorChildren>> as VisitWith<V>>::visit_with(
10616 children, visitor,
10617 )
10618 };
10619 }
10620 }
10621 }
10622}
10623impl<V: ?Sized + Visit> VisitWith<V> for PseudoElementSelectorChildren {
10624 #[doc = "Calls [Visit`::visit_pseudo_element_selector_children`] with `self`."]
10625 fn visit_with(&self, visitor: &mut V) {
10626 <V as Visit>::visit_pseudo_element_selector_children(visitor, self)
10627 }
10628
10629 fn visit_children_with(&self, visitor: &mut V) {
10630 match self {
10631 PseudoElementSelectorChildren::PreservedToken { 0: _field_0 } => {
10632 <TokenAndSpan as VisitWith<V>>::visit_with(_field_0, visitor);
10633 }
10634 PseudoElementSelectorChildren::Ident { 0: _field_0 } => {
10635 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
10636 }
10637 PseudoElementSelectorChildren::CompoundSelector { 0: _field_0 } => {
10638 <CompoundSelector as VisitWith<V>>::visit_with(_field_0, visitor);
10639 }
10640 PseudoElementSelectorChildren::CustomHighlightName { 0: _field_0 } => {
10641 <CustomHighlightName as VisitWith<V>>::visit_with(_field_0, visitor);
10642 }
10643 }
10644 }
10645}
10646impl<V: ?Sized + Visit> VisitWith<V> for QualifiedRule {
10647 #[doc = "Calls [Visit`::visit_qualified_rule`] with `self`."]
10648 fn visit_with(&self, visitor: &mut V) {
10649 <V as Visit>::visit_qualified_rule(visitor, self)
10650 }
10651
10652 fn visit_children_with(&self, visitor: &mut V) {
10653 match self {
10654 QualifiedRule {
10655 span,
10656 prelude,
10657 block,
10658 } => {
10659 {
10660 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10661 };
10662 {
10663 <QualifiedRulePrelude as VisitWith<V>>::visit_with(prelude, visitor)
10664 };
10665 {
10666 <SimpleBlock as VisitWith<V>>::visit_with(block, visitor)
10667 };
10668 }
10669 }
10670 }
10671}
10672impl<V: ?Sized + Visit> VisitWith<V> for QualifiedRulePrelude {
10673 #[doc = "Calls [Visit`::visit_qualified_rule_prelude`] with `self`."]
10674 fn visit_with(&self, visitor: &mut V) {
10675 <V as Visit>::visit_qualified_rule_prelude(visitor, self)
10676 }
10677
10678 fn visit_children_with(&self, visitor: &mut V) {
10679 match self {
10680 QualifiedRulePrelude::SelectorList { 0: _field_0 } => {
10681 <SelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
10682 }
10683 QualifiedRulePrelude::RelativeSelectorList { 0: _field_0 } => {
10684 <RelativeSelectorList as VisitWith<V>>::visit_with(_field_0, visitor);
10685 }
10686 QualifiedRulePrelude::ListOfComponentValues { 0: _field_0 } => {
10687 <ListOfComponentValues as VisitWith<V>>::visit_with(_field_0, visitor);
10688 }
10689 }
10690 }
10691}
10692impl<V: ?Sized + Visit> VisitWith<V> for QueryInParens {
10693 #[doc = "Calls [Visit`::visit_query_in_parens`] with `self`."]
10694 fn visit_with(&self, visitor: &mut V) {
10695 <V as Visit>::visit_query_in_parens(visitor, self)
10696 }
10697
10698 fn visit_children_with(&self, visitor: &mut V) {
10699 match self {
10700 QueryInParens::ContainerQuery { 0: _field_0 } => {
10701 <Box<ContainerQuery> as VisitWith<V>>::visit_with(_field_0, visitor);
10702 }
10703 QueryInParens::SizeFeature { 0: _field_0 } => {
10704 <SizeFeature as VisitWith<V>>::visit_with(_field_0, visitor);
10705 }
10706 QueryInParens::GeneralEnclosed { 0: _field_0 } => {
10707 <GeneralEnclosed as VisitWith<V>>::visit_with(_field_0, visitor);
10708 }
10709 }
10710 }
10711}
10712impl<V: ?Sized + Visit> VisitWith<V> for Ratio {
10713 #[doc = "Calls [Visit`::visit_ratio`] with `self`."]
10714 fn visit_with(&self, visitor: &mut V) {
10715 <V as Visit>::visit_ratio(visitor, self)
10716 }
10717
10718 fn visit_children_with(&self, visitor: &mut V) {
10719 match self {
10720 Ratio { span, left, right } => {
10721 {
10722 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10723 };
10724 {
10725 <Number as VisitWith<V>>::visit_with(left, visitor)
10726 };
10727 {
10728 <Option<Number> as VisitWith<V>>::visit_with(right, visitor)
10729 };
10730 }
10731 }
10732 }
10733}
10734impl<V: ?Sized + Visit> VisitWith<V> for RelativeSelector {
10735 #[doc = "Calls [Visit`::visit_relative_selector`] with `self`."]
10736 fn visit_with(&self, visitor: &mut V) {
10737 <V as Visit>::visit_relative_selector(visitor, self)
10738 }
10739
10740 fn visit_children_with(&self, visitor: &mut V) {
10741 match self {
10742 RelativeSelector {
10743 span,
10744 combinator,
10745 selector,
10746 } => {
10747 {
10748 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10749 };
10750 {
10751 <Option<Combinator> as VisitWith<V>>::visit_with(combinator, visitor)
10752 };
10753 {
10754 <ComplexSelector as VisitWith<V>>::visit_with(selector, visitor)
10755 };
10756 }
10757 }
10758 }
10759}
10760impl<V: ?Sized + Visit> VisitWith<V> for RelativeSelectorList {
10761 #[doc = "Calls [Visit`::visit_relative_selector_list`] with `self`."]
10762 fn visit_with(&self, visitor: &mut V) {
10763 <V as Visit>::visit_relative_selector_list(visitor, self)
10764 }
10765
10766 fn visit_children_with(&self, visitor: &mut V) {
10767 match self {
10768 RelativeSelectorList { span, children } => {
10769 {
10770 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10771 };
10772 {
10773 <Vec<RelativeSelector> as VisitWith<V>>::visit_with(children, visitor)
10774 };
10775 }
10776 }
10777 }
10778}
10779impl<V: ?Sized + Visit> VisitWith<V> for Resolution {
10780 #[doc = "Calls [Visit`::visit_resolution`] with `self`."]
10781 fn visit_with(&self, visitor: &mut V) {
10782 <V as Visit>::visit_resolution(visitor, self)
10783 }
10784
10785 fn visit_children_with(&self, visitor: &mut V) {
10786 match self {
10787 Resolution { span, value, unit } => {
10788 {
10789 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10790 };
10791 {
10792 <Number as VisitWith<V>>::visit_with(value, visitor)
10793 };
10794 {
10795 <Ident as VisitWith<V>>::visit_with(unit, visitor)
10796 };
10797 }
10798 }
10799 }
10800}
10801impl<V: ?Sized + Visit> VisitWith<V> for Rule {
10802 #[doc = "Calls [Visit`::visit_rule`] with `self`."]
10803 fn visit_with(&self, visitor: &mut V) {
10804 <V as Visit>::visit_rule(visitor, self)
10805 }
10806
10807 fn visit_children_with(&self, visitor: &mut V) {
10808 match self {
10809 Rule::QualifiedRule { 0: _field_0 } => {
10810 <Box<QualifiedRule> as VisitWith<V>>::visit_with(_field_0, visitor);
10811 }
10812 Rule::AtRule { 0: _field_0 } => {
10813 <Box<AtRule> as VisitWith<V>>::visit_with(_field_0, visitor);
10814 }
10815 Rule::ListOfComponentValues { 0: _field_0 } => {
10816 <Box<ListOfComponentValues> as VisitWith<V>>::visit_with(_field_0, visitor);
10817 }
10818 }
10819 }
10820}
10821impl<V: ?Sized + Visit> VisitWith<V> for ScopeRange {
10822 #[doc = "Calls [Visit`::visit_scope_range`] with `self`."]
10823 fn visit_with(&self, visitor: &mut V) {
10824 <V as Visit>::visit_scope_range(visitor, self)
10825 }
10826
10827 fn visit_children_with(&self, visitor: &mut V) {
10828 match self {
10829 ScopeRange {
10830 span,
10831 scope_start,
10832 scope_end,
10833 } => {
10834 {
10835 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10836 };
10837 {
10838 <Option<ForgivingSelectorList> as VisitWith<V>>::visit_with(
10839 scope_start,
10840 visitor,
10841 )
10842 };
10843 {
10844 <Option<ForgivingSelectorList> as VisitWith<V>>::visit_with(scope_end, visitor)
10845 };
10846 }
10847 }
10848 }
10849}
10850impl<V: ?Sized + Visit> VisitWith<V> for SelectorList {
10851 #[doc = "Calls [Visit`::visit_selector_list`] with `self`."]
10852 fn visit_with(&self, visitor: &mut V) {
10853 <V as Visit>::visit_selector_list(visitor, self)
10854 }
10855
10856 fn visit_children_with(&self, visitor: &mut V) {
10857 match self {
10858 SelectorList { span, children } => {
10859 {
10860 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10861 };
10862 {
10863 <Vec<ComplexSelector> as VisitWith<V>>::visit_with(children, visitor)
10864 };
10865 }
10866 }
10867 }
10868}
10869impl<V: ?Sized + Visit> VisitWith<V> for SequenceOfCustomIdents {
10870 #[doc = "Calls [Visit`::visit_sequence_of_custom_idents`] with `self`."]
10871 fn visit_with(&self, visitor: &mut V) {
10872 <V as Visit>::visit_sequence_of_custom_idents(visitor, self)
10873 }
10874
10875 fn visit_children_with(&self, visitor: &mut V) {
10876 match self {
10877 SequenceOfCustomIdents { span, value } => {
10878 {
10879 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10880 };
10881 {
10882 <Vec<CustomIdent> as VisitWith<V>>::visit_with(value, visitor)
10883 };
10884 }
10885 }
10886 }
10887}
10888impl<V: ?Sized + Visit> VisitWith<V> for SimpleBlock {
10889 #[doc = "Calls [Visit`::visit_simple_block`] with `self`."]
10890 fn visit_with(&self, visitor: &mut V) {
10891 <V as Visit>::visit_simple_block(visitor, self)
10892 }
10893
10894 fn visit_children_with(&self, visitor: &mut V) {
10895 match self {
10896 SimpleBlock { span, name, value } => {
10897 {
10898 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10899 };
10900 {
10901 <TokenAndSpan as VisitWith<V>>::visit_with(name, visitor)
10902 };
10903 {
10904 <Vec<ComponentValue> as VisitWith<V>>::visit_with(value, visitor)
10905 };
10906 }
10907 }
10908 }
10909}
10910impl<V: ?Sized + Visit> VisitWith<V> for SizeFeature {
10911 #[doc = "Calls [Visit`::visit_size_feature`] with `self`."]
10912 fn visit_with(&self, visitor: &mut V) {
10913 <V as Visit>::visit_size_feature(visitor, self)
10914 }
10915
10916 fn visit_children_with(&self, visitor: &mut V) {
10917 match self {
10918 SizeFeature::Plain { 0: _field_0 } => {
10919 <SizeFeaturePlain as VisitWith<V>>::visit_with(_field_0, visitor);
10920 }
10921 SizeFeature::Boolean { 0: _field_0 } => {
10922 <SizeFeatureBoolean as VisitWith<V>>::visit_with(_field_0, visitor);
10923 }
10924 SizeFeature::Range { 0: _field_0 } => {
10925 <SizeFeatureRange as VisitWith<V>>::visit_with(_field_0, visitor);
10926 }
10927 SizeFeature::RangeInterval { 0: _field_0 } => {
10928 <SizeFeatureRangeInterval as VisitWith<V>>::visit_with(_field_0, visitor);
10929 }
10930 }
10931 }
10932}
10933impl<V: ?Sized + Visit> VisitWith<V> for SizeFeatureBoolean {
10934 #[doc = "Calls [Visit`::visit_size_feature_boolean`] with `self`."]
10935 fn visit_with(&self, visitor: &mut V) {
10936 <V as Visit>::visit_size_feature_boolean(visitor, self)
10937 }
10938
10939 fn visit_children_with(&self, visitor: &mut V) {
10940 match self {
10941 SizeFeatureBoolean { span, name } => {
10942 {
10943 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10944 };
10945 {
10946 <SizeFeatureName as VisitWith<V>>::visit_with(name, visitor)
10947 };
10948 }
10949 }
10950 }
10951}
10952impl<V: ?Sized + Visit> VisitWith<V> for SizeFeatureName {
10953 #[doc = "Calls [Visit`::visit_size_feature_name`] with `self`."]
10954 fn visit_with(&self, visitor: &mut V) {
10955 <V as Visit>::visit_size_feature_name(visitor, self)
10956 }
10957
10958 fn visit_children_with(&self, visitor: &mut V) {
10959 match self {
10960 SizeFeatureName::Ident { 0: _field_0 } => {
10961 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
10962 }
10963 }
10964 }
10965}
10966impl<V: ?Sized + Visit> VisitWith<V> for SizeFeaturePlain {
10967 #[doc = "Calls [Visit`::visit_size_feature_plain`] with `self`."]
10968 fn visit_with(&self, visitor: &mut V) {
10969 <V as Visit>::visit_size_feature_plain(visitor, self)
10970 }
10971
10972 fn visit_children_with(&self, visitor: &mut V) {
10973 match self {
10974 SizeFeaturePlain { span, name, value } => {
10975 {
10976 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
10977 };
10978 {
10979 <SizeFeatureName as VisitWith<V>>::visit_with(name, visitor)
10980 };
10981 {
10982 <Box<SizeFeatureValue> as VisitWith<V>>::visit_with(value, visitor)
10983 };
10984 }
10985 }
10986 }
10987}
10988impl<V: ?Sized + Visit> VisitWith<V> for SizeFeatureRange {
10989 #[doc = "Calls [Visit`::visit_size_feature_range`] with `self`."]
10990 fn visit_with(&self, visitor: &mut V) {
10991 <V as Visit>::visit_size_feature_range(visitor, self)
10992 }
10993
10994 fn visit_children_with(&self, visitor: &mut V) {
10995 match self {
10996 SizeFeatureRange {
10997 span,
10998 left,
10999 comparison,
11000 right,
11001 } => {
11002 {
11003 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11004 };
11005 {
11006 <Box<SizeFeatureValue> as VisitWith<V>>::visit_with(left, visitor)
11007 };
11008 {
11009 <SizeFeatureRangeComparison as VisitWith<V>>::visit_with(comparison, visitor)
11010 };
11011 {
11012 <Box<SizeFeatureValue> as VisitWith<V>>::visit_with(right, visitor)
11013 };
11014 }
11015 }
11016 }
11017}
11018impl<V: ?Sized + Visit> VisitWith<V> for SizeFeatureRangeComparison {
11019 #[doc = "Calls [Visit`::visit_size_feature_range_comparison`] with `self`."]
11020 fn visit_with(&self, visitor: &mut V) {
11021 <V as Visit>::visit_size_feature_range_comparison(visitor, self)
11022 }
11023
11024 fn visit_children_with(&self, visitor: &mut V) {
11025 match self {
11026 SizeFeatureRangeComparison::Lt => {}
11027 SizeFeatureRangeComparison::Le => {}
11028 SizeFeatureRangeComparison::Gt => {}
11029 SizeFeatureRangeComparison::Ge => {}
11030 SizeFeatureRangeComparison::Eq => {}
11031 }
11032 }
11033}
11034impl<V: ?Sized + Visit> VisitWith<V> for SizeFeatureRangeInterval {
11035 #[doc = "Calls [Visit`::visit_size_feature_range_interval`] with `self`."]
11036 fn visit_with(&self, visitor: &mut V) {
11037 <V as Visit>::visit_size_feature_range_interval(visitor, self)
11038 }
11039
11040 fn visit_children_with(&self, visitor: &mut V) {
11041 match self {
11042 SizeFeatureRangeInterval {
11043 span,
11044 left,
11045 left_comparison,
11046 name,
11047 right_comparison,
11048 right,
11049 } => {
11050 {
11051 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11052 };
11053 {
11054 <Box<SizeFeatureValue> as VisitWith<V>>::visit_with(left, visitor)
11055 };
11056 {
11057 <SizeFeatureRangeComparison as VisitWith<V>>::visit_with(
11058 left_comparison,
11059 visitor,
11060 )
11061 };
11062 {
11063 <SizeFeatureName as VisitWith<V>>::visit_with(name, visitor)
11064 };
11065 {
11066 <SizeFeatureRangeComparison as VisitWith<V>>::visit_with(
11067 right_comparison,
11068 visitor,
11069 )
11070 };
11071 {
11072 <Box<SizeFeatureValue> as VisitWith<V>>::visit_with(right, visitor)
11073 };
11074 }
11075 }
11076 }
11077}
11078impl<V: ?Sized + Visit> VisitWith<V> for SizeFeatureValue {
11079 #[doc = "Calls [Visit`::visit_size_feature_value`] with `self`."]
11080 fn visit_with(&self, visitor: &mut V) {
11081 <V as Visit>::visit_size_feature_value(visitor, self)
11082 }
11083
11084 fn visit_children_with(&self, visitor: &mut V) {
11085 match self {
11086 SizeFeatureValue::Number { 0: _field_0 } => {
11087 <Number as VisitWith<V>>::visit_with(_field_0, visitor);
11088 }
11089 SizeFeatureValue::Dimension { 0: _field_0 } => {
11090 <Dimension as VisitWith<V>>::visit_with(_field_0, visitor);
11091 }
11092 SizeFeatureValue::Ident { 0: _field_0 } => {
11093 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
11094 }
11095 SizeFeatureValue::Ratio { 0: _field_0 } => {
11096 <Ratio as VisitWith<V>>::visit_with(_field_0, visitor);
11097 }
11098 SizeFeatureValue::Function { 0: _field_0 } => {
11099 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
11100 }
11101 }
11102 }
11103}
11104impl<V: ?Sized + Visit> VisitWith<V> for Str {
11105 #[doc = "Calls [Visit`::visit_str`] with `self`."]
11106 fn visit_with(&self, visitor: &mut V) {
11107 <V as Visit>::visit_str(visitor, self)
11108 }
11109
11110 fn visit_children_with(&self, visitor: &mut V) {
11111 match self {
11112 Str { span, value, raw } => {
11113 {
11114 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11115 };
11116 {
11117 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11118 };
11119 {
11120 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
11121 };
11122 }
11123 }
11124 }
11125}
11126impl<V: ?Sized + Visit> VisitWith<V> for StyleBlock {
11127 #[doc = "Calls [Visit`::visit_style_block`] with `self`."]
11128 fn visit_with(&self, visitor: &mut V) {
11129 <V as Visit>::visit_style_block(visitor, self)
11130 }
11131
11132 fn visit_children_with(&self, visitor: &mut V) {
11133 match self {
11134 StyleBlock::AtRule { 0: _field_0 } => {
11135 <Box<AtRule> as VisitWith<V>>::visit_with(_field_0, visitor);
11136 }
11137 StyleBlock::Declaration { 0: _field_0 } => {
11138 <Box<Declaration> as VisitWith<V>>::visit_with(_field_0, visitor);
11139 }
11140 StyleBlock::QualifiedRule { 0: _field_0 } => {
11141 <Box<QualifiedRule> as VisitWith<V>>::visit_with(_field_0, visitor);
11142 }
11143 StyleBlock::ListOfComponentValues { 0: _field_0 } => {
11144 <Box<ListOfComponentValues> as VisitWith<V>>::visit_with(_field_0, visitor);
11145 }
11146 }
11147 }
11148}
11149impl<V: ?Sized + Visit> VisitWith<V> for Stylesheet {
11150 #[doc = "Calls [Visit`::visit_stylesheet`] with `self`."]
11151 fn visit_with(&self, visitor: &mut V) {
11152 <V as Visit>::visit_stylesheet(visitor, self)
11153 }
11154
11155 fn visit_children_with(&self, visitor: &mut V) {
11156 match self {
11157 Stylesheet { span, rules } => {
11158 {
11159 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11160 };
11161 {
11162 <Vec<Rule> as VisitWith<V>>::visit_with(rules, visitor)
11163 };
11164 }
11165 }
11166 }
11167}
11168impl<V: ?Sized + Visit> VisitWith<V> for SubclassSelector {
11169 #[doc = "Calls [Visit`::visit_subclass_selector`] with `self`."]
11170 fn visit_with(&self, visitor: &mut V) {
11171 <V as Visit>::visit_subclass_selector(visitor, self)
11172 }
11173
11174 fn visit_children_with(&self, visitor: &mut V) {
11175 match self {
11176 SubclassSelector::Id { 0: _field_0 } => {
11177 <IdSelector as VisitWith<V>>::visit_with(_field_0, visitor);
11178 }
11179 SubclassSelector::Class { 0: _field_0 } => {
11180 <ClassSelector as VisitWith<V>>::visit_with(_field_0, visitor);
11181 }
11182 SubclassSelector::Attribute { 0: _field_0 } => {
11183 <Box<AttributeSelector> as VisitWith<V>>::visit_with(_field_0, visitor);
11184 }
11185 SubclassSelector::PseudoClass { 0: _field_0 } => {
11186 <PseudoClassSelector as VisitWith<V>>::visit_with(_field_0, visitor);
11187 }
11188 SubclassSelector::PseudoElement { 0: _field_0 } => {
11189 <PseudoElementSelector as VisitWith<V>>::visit_with(_field_0, visitor);
11190 }
11191 }
11192 }
11193}
11194impl<V: ?Sized + Visit> VisitWith<V> for SupportsAnd {
11195 #[doc = "Calls [Visit`::visit_supports_and`] with `self`."]
11196 fn visit_with(&self, visitor: &mut V) {
11197 <V as Visit>::visit_supports_and(visitor, self)
11198 }
11199
11200 fn visit_children_with(&self, visitor: &mut V) {
11201 match self {
11202 SupportsAnd {
11203 span,
11204 keyword,
11205 condition,
11206 } => {
11207 {
11208 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11209 };
11210 {
11211 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
11212 };
11213 {
11214 <Box<SupportsInParens> as VisitWith<V>>::visit_with(condition, visitor)
11215 };
11216 }
11217 }
11218 }
11219}
11220impl<V: ?Sized + Visit> VisitWith<V> for SupportsCondition {
11221 #[doc = "Calls [Visit`::visit_supports_condition`] with `self`."]
11222 fn visit_with(&self, visitor: &mut V) {
11223 <V as Visit>::visit_supports_condition(visitor, self)
11224 }
11225
11226 fn visit_children_with(&self, visitor: &mut V) {
11227 match self {
11228 SupportsCondition { span, conditions } => {
11229 {
11230 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11231 };
11232 {
11233 <Vec<SupportsConditionType> as VisitWith<V>>::visit_with(conditions, visitor)
11234 };
11235 }
11236 }
11237 }
11238}
11239impl<V: ?Sized + Visit> VisitWith<V> for SupportsConditionType {
11240 #[doc = "Calls [Visit`::visit_supports_condition_type`] with `self`."]
11241 fn visit_with(&self, visitor: &mut V) {
11242 <V as Visit>::visit_supports_condition_type(visitor, self)
11243 }
11244
11245 fn visit_children_with(&self, visitor: &mut V) {
11246 match self {
11247 SupportsConditionType::Not { 0: _field_0 } => {
11248 <SupportsNot as VisitWith<V>>::visit_with(_field_0, visitor);
11249 }
11250 SupportsConditionType::And { 0: _field_0 } => {
11251 <SupportsAnd as VisitWith<V>>::visit_with(_field_0, visitor);
11252 }
11253 SupportsConditionType::Or { 0: _field_0 } => {
11254 <SupportsOr as VisitWith<V>>::visit_with(_field_0, visitor);
11255 }
11256 SupportsConditionType::SupportsInParens { 0: _field_0 } => {
11257 <SupportsInParens as VisitWith<V>>::visit_with(_field_0, visitor);
11258 }
11259 }
11260 }
11261}
11262impl<V: ?Sized + Visit> VisitWith<V> for SupportsFeature {
11263 #[doc = "Calls [Visit`::visit_supports_feature`] with `self`."]
11264 fn visit_with(&self, visitor: &mut V) {
11265 <V as Visit>::visit_supports_feature(visitor, self)
11266 }
11267
11268 fn visit_children_with(&self, visitor: &mut V) {
11269 match self {
11270 SupportsFeature::Declaration { 0: _field_0 } => {
11271 <Box<Declaration> as VisitWith<V>>::visit_with(_field_0, visitor);
11272 }
11273 SupportsFeature::Function { 0: _field_0 } => {
11274 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
11275 }
11276 }
11277 }
11278}
11279impl<V: ?Sized + Visit> VisitWith<V> for SupportsInParens {
11280 #[doc = "Calls [Visit`::visit_supports_in_parens`] with `self`."]
11281 fn visit_with(&self, visitor: &mut V) {
11282 <V as Visit>::visit_supports_in_parens(visitor, self)
11283 }
11284
11285 fn visit_children_with(&self, visitor: &mut V) {
11286 match self {
11287 SupportsInParens::SupportsCondition { 0: _field_0 } => {
11288 <SupportsCondition as VisitWith<V>>::visit_with(_field_0, visitor);
11289 }
11290 SupportsInParens::Feature { 0: _field_0 } => {
11291 <SupportsFeature as VisitWith<V>>::visit_with(_field_0, visitor);
11292 }
11293 SupportsInParens::GeneralEnclosed { 0: _field_0 } => {
11294 <GeneralEnclosed as VisitWith<V>>::visit_with(_field_0, visitor);
11295 }
11296 }
11297 }
11298}
11299impl<V: ?Sized + Visit> VisitWith<V> for SupportsNot {
11300 #[doc = "Calls [Visit`::visit_supports_not`] with `self`."]
11301 fn visit_with(&self, visitor: &mut V) {
11302 <V as Visit>::visit_supports_not(visitor, self)
11303 }
11304
11305 fn visit_children_with(&self, visitor: &mut V) {
11306 match self {
11307 SupportsNot {
11308 span,
11309 keyword,
11310 condition,
11311 } => {
11312 {
11313 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11314 };
11315 {
11316 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
11317 };
11318 {
11319 <Box<SupportsInParens> as VisitWith<V>>::visit_with(condition, visitor)
11320 };
11321 }
11322 }
11323 }
11324}
11325impl<V: ?Sized + Visit> VisitWith<V> for SupportsOr {
11326 #[doc = "Calls [Visit`::visit_supports_or`] with `self`."]
11327 fn visit_with(&self, visitor: &mut V) {
11328 <V as Visit>::visit_supports_or(visitor, self)
11329 }
11330
11331 fn visit_children_with(&self, visitor: &mut V) {
11332 match self {
11333 SupportsOr {
11334 span,
11335 keyword,
11336 condition,
11337 } => {
11338 {
11339 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11340 };
11341 {
11342 <Option<Ident> as VisitWith<V>>::visit_with(keyword, visitor)
11343 };
11344 {
11345 <Box<SupportsInParens> as VisitWith<V>>::visit_with(condition, visitor)
11346 };
11347 }
11348 }
11349 }
11350}
11351impl<V: ?Sized + Visit> VisitWith<V> for TagNameSelector {
11352 #[doc = "Calls [Visit`::visit_tag_name_selector`] with `self`."]
11353 fn visit_with(&self, visitor: &mut V) {
11354 <V as Visit>::visit_tag_name_selector(visitor, self)
11355 }
11356
11357 fn visit_children_with(&self, visitor: &mut V) {
11358 match self {
11359 TagNameSelector { span, name } => {
11360 {
11361 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11362 };
11363 {
11364 <WqName as VisitWith<V>>::visit_with(name, visitor)
11365 };
11366 }
11367 }
11368 }
11369}
11370impl<V: ?Sized + Visit> VisitWith<V> for Time {
11371 #[doc = "Calls [Visit`::visit_time`] with `self`."]
11372 fn visit_with(&self, visitor: &mut V) {
11373 <V as Visit>::visit_time(visitor, self)
11374 }
11375
11376 fn visit_children_with(&self, visitor: &mut V) {
11377 match self {
11378 Time { span, value, unit } => {
11379 {
11380 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11381 };
11382 {
11383 <Number as VisitWith<V>>::visit_with(value, visitor)
11384 };
11385 {
11386 <Ident as VisitWith<V>>::visit_with(unit, visitor)
11387 };
11388 }
11389 }
11390 }
11391}
11392impl<V: ?Sized + Visit> VisitWith<V> for TimePercentage {
11393 #[doc = "Calls [Visit`::visit_time_percentage`] with `self`."]
11394 fn visit_with(&self, visitor: &mut V) {
11395 <V as Visit>::visit_time_percentage(visitor, self)
11396 }
11397
11398 fn visit_children_with(&self, visitor: &mut V) {
11399 match self {
11400 TimePercentage::Time { 0: _field_0 } => {
11401 <Time as VisitWith<V>>::visit_with(_field_0, visitor);
11402 }
11403 TimePercentage::Percentage { 0: _field_0 } => {
11404 <Percentage as VisitWith<V>>::visit_with(_field_0, visitor);
11405 }
11406 }
11407 }
11408}
11409impl<V: ?Sized + Visit> VisitWith<V> for Token {
11410 #[doc = "Calls [Visit`::visit_token`] with `self`."]
11411 fn visit_with(&self, visitor: &mut V) {
11412 <V as Visit>::visit_token(visitor, self)
11413 }
11414
11415 fn visit_children_with(&self, visitor: &mut V) {
11416 match self {
11417 Token::Ident { value, raw } => {
11418 {
11419 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11420 };
11421 {
11422 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11423 };
11424 }
11425 Token::Function { value, raw } => {
11426 {
11427 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11428 };
11429 {
11430 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11431 };
11432 }
11433 Token::AtKeyword { value, raw } => {
11434 {
11435 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11436 };
11437 {
11438 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11439 };
11440 }
11441 Token::Hash { is_id, value, raw } => {
11442 {
11443 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11444 };
11445 {
11446 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11447 };
11448 }
11449 Token::String { value, raw } => {
11450 {
11451 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11452 };
11453 {
11454 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11455 };
11456 }
11457 Token::BadString { raw } => {
11458 {
11459 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11460 };
11461 }
11462 Token::Url { value, raw } => {
11463 {
11464 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11465 };
11466 {
11467 <Box<UrlKeyValue> as VisitWith<V>>::visit_with(raw, visitor)
11468 };
11469 }
11470 Token::BadUrl { raw } => {
11471 {
11472 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11473 };
11474 }
11475 Token::Delim { value } => {}
11476 Token::Number {
11477 value,
11478 raw,
11479 type_flag,
11480 } => {
11481 {
11482 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11483 };
11484 {
11485 <NumberType as VisitWith<V>>::visit_with(type_flag, visitor)
11486 };
11487 }
11488 Token::Percentage { value, raw } => {
11489 {
11490 <swc_atoms::Atom as VisitWith<V>>::visit_with(raw, visitor)
11491 };
11492 }
11493 Token::Dimension { 0: _field_0 } => {
11494 <Box<DimensionToken> as VisitWith<V>>::visit_with(_field_0, visitor);
11495 }
11496 Token::WhiteSpace { value } => {
11497 {
11498 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11499 };
11500 }
11501 Token::CDO => {}
11502 Token::CDC => {}
11503 Token::Colon => {}
11504 Token::Semi => {}
11505 Token::Comma => {}
11506 Token::LBracket => {}
11507 Token::RBracket => {}
11508 Token::LParen => {}
11509 Token::RParen => {}
11510 Token::LBrace => {}
11511 Token::RBrace => {}
11512 }
11513 }
11514}
11515impl<V: ?Sized + Visit> VisitWith<V> for TokenAndSpan {
11516 #[doc = "Calls [Visit`::visit_token_and_span`] with `self`."]
11517 fn visit_with(&self, visitor: &mut V) {
11518 <V as Visit>::visit_token_and_span(visitor, self)
11519 }
11520
11521 fn visit_children_with(&self, visitor: &mut V) {
11522 match self {
11523 TokenAndSpan { span, token } => {
11524 {
11525 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11526 };
11527 {
11528 <Token as VisitWith<V>>::visit_with(token, visitor)
11529 };
11530 }
11531 }
11532 }
11533}
11534impl<V: ?Sized + Visit> VisitWith<V> for TypeSelector {
11535 #[doc = "Calls [Visit`::visit_type_selector`] with `self`."]
11536 fn visit_with(&self, visitor: &mut V) {
11537 <V as Visit>::visit_type_selector(visitor, self)
11538 }
11539
11540 fn visit_children_with(&self, visitor: &mut V) {
11541 match self {
11542 TypeSelector::TagName { 0: _field_0 } => {
11543 <TagNameSelector as VisitWith<V>>::visit_with(_field_0, visitor);
11544 }
11545 TypeSelector::Universal { 0: _field_0 } => {
11546 <UniversalSelector as VisitWith<V>>::visit_with(_field_0, visitor);
11547 }
11548 }
11549 }
11550}
11551impl<V: ?Sized + Visit> VisitWith<V> for UnicodeRange {
11552 #[doc = "Calls [Visit`::visit_unicode_range`] with `self`."]
11553 fn visit_with(&self, visitor: &mut V) {
11554 <V as Visit>::visit_unicode_range(visitor, self)
11555 }
11556
11557 fn visit_children_with(&self, visitor: &mut V) {
11558 match self {
11559 UnicodeRange {
11560 span,
11561 start,
11562 end,
11563 raw,
11564 } => {
11565 {
11566 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11567 };
11568 {
11569 <swc_atoms::Atom as VisitWith<V>>::visit_with(start, visitor)
11570 };
11571 {
11572 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(end, visitor)
11573 };
11574 {
11575 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
11576 };
11577 }
11578 }
11579 }
11580}
11581impl<V: ?Sized + Visit> VisitWith<V> for UniversalSelector {
11582 #[doc = "Calls [Visit`::visit_universal_selector`] with `self`."]
11583 fn visit_with(&self, visitor: &mut V) {
11584 <V as Visit>::visit_universal_selector(visitor, self)
11585 }
11586
11587 fn visit_children_with(&self, visitor: &mut V) {
11588 match self {
11589 UniversalSelector { span, prefix } => {
11590 {
11591 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11592 };
11593 {
11594 <Option<NamespacePrefix> as VisitWith<V>>::visit_with(prefix, visitor)
11595 };
11596 }
11597 }
11598 }
11599}
11600impl<V: ?Sized + Visit> VisitWith<V> for UnknownDimension {
11601 #[doc = "Calls [Visit`::visit_unknown_dimension`] with `self`."]
11602 fn visit_with(&self, visitor: &mut V) {
11603 <V as Visit>::visit_unknown_dimension(visitor, self)
11604 }
11605
11606 fn visit_children_with(&self, visitor: &mut V) {
11607 match self {
11608 UnknownDimension { span, value, unit } => {
11609 {
11610 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11611 };
11612 {
11613 <Number as VisitWith<V>>::visit_with(value, visitor)
11614 };
11615 {
11616 <Ident as VisitWith<V>>::visit_with(unit, visitor)
11617 };
11618 }
11619 }
11620 }
11621}
11622impl<V: ?Sized + Visit> VisitWith<V> for Url {
11623 #[doc = "Calls [Visit`::visit_url`] with `self`."]
11624 fn visit_with(&self, visitor: &mut V) {
11625 <V as Visit>::visit_url(visitor, self)
11626 }
11627
11628 fn visit_children_with(&self, visitor: &mut V) {
11629 match self {
11630 Url {
11631 span,
11632 name,
11633 value,
11634 modifiers,
11635 } => {
11636 {
11637 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11638 };
11639 {
11640 <Ident as VisitWith<V>>::visit_with(name, visitor)
11641 };
11642 {
11643 <Option<Box<UrlValue>> as VisitWith<V>>::visit_with(value, visitor)
11644 };
11645 {
11646 <Option<Vec<UrlModifier>> as VisitWith<V>>::visit_with(modifiers, visitor)
11647 };
11648 }
11649 }
11650 }
11651}
11652impl<V: ?Sized + Visit> VisitWith<V> for UrlKeyValue {
11653 #[doc = "Calls [Visit`::visit_url_key_value`] with `self`."]
11654 fn visit_with(&self, visitor: &mut V) {
11655 <V as Visit>::visit_url_key_value(visitor, self)
11656 }
11657
11658 fn visit_children_with(&self, visitor: &mut V) {
11659 match self {
11660 UrlKeyValue {
11661 0: _field_0,
11662 1: _field_1,
11663 } => {
11664 <swc_atoms::Atom as VisitWith<V>>::visit_with(_field_0, visitor);
11665 <swc_atoms::Atom as VisitWith<V>>::visit_with(_field_1, visitor);
11666 }
11667 }
11668 }
11669}
11670impl<V: ?Sized + Visit> VisitWith<V> for UrlModifier {
11671 #[doc = "Calls [Visit`::visit_url_modifier`] with `self`."]
11672 fn visit_with(&self, visitor: &mut V) {
11673 <V as Visit>::visit_url_modifier(visitor, self)
11674 }
11675
11676 fn visit_children_with(&self, visitor: &mut V) {
11677 match self {
11678 UrlModifier::Ident { 0: _field_0 } => {
11679 <Ident as VisitWith<V>>::visit_with(_field_0, visitor);
11680 }
11681 UrlModifier::Function { 0: _field_0 } => {
11682 <Function as VisitWith<V>>::visit_with(_field_0, visitor);
11683 }
11684 }
11685 }
11686}
11687impl<V: ?Sized + Visit> VisitWith<V> for UrlValue {
11688 #[doc = "Calls [Visit`::visit_url_value`] with `self`."]
11689 fn visit_with(&self, visitor: &mut V) {
11690 <V as Visit>::visit_url_value(visitor, self)
11691 }
11692
11693 fn visit_children_with(&self, visitor: &mut V) {
11694 match self {
11695 UrlValue::Str { 0: _field_0 } => {
11696 <Str as VisitWith<V>>::visit_with(_field_0, visitor);
11697 }
11698 UrlValue::Raw { 0: _field_0 } => {
11699 <UrlValueRaw as VisitWith<V>>::visit_with(_field_0, visitor);
11700 }
11701 }
11702 }
11703}
11704impl<V: ?Sized + Visit> VisitWith<V> for UrlValueRaw {
11705 #[doc = "Calls [Visit`::visit_url_value_raw`] with `self`."]
11706 fn visit_with(&self, visitor: &mut V) {
11707 <V as Visit>::visit_url_value_raw(visitor, self)
11708 }
11709
11710 fn visit_children_with(&self, visitor: &mut V) {
11711 match self {
11712 UrlValueRaw { span, value, raw } => {
11713 {
11714 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11715 };
11716 {
11717 <swc_atoms::Atom as VisitWith<V>>::visit_with(value, visitor)
11718 };
11719 {
11720 <Option<swc_atoms::Atom> as VisitWith<V>>::visit_with(raw, visitor)
11721 };
11722 }
11723 }
11724 }
11725}
11726impl<V: ?Sized + Visit> VisitWith<V> for WqName {
11727 #[doc = "Calls [Visit`::visit_wq_name`] with `self`."]
11728 fn visit_with(&self, visitor: &mut V) {
11729 <V as Visit>::visit_wq_name(visitor, self)
11730 }
11731
11732 fn visit_children_with(&self, visitor: &mut V) {
11733 match self {
11734 WqName {
11735 span,
11736 prefix,
11737 value,
11738 } => {
11739 {
11740 <swc_common::Span as VisitWith<V>>::visit_with(span, visitor)
11741 };
11742 {
11743 <Option<NamespacePrefix> as VisitWith<V>>::visit_with(prefix, visitor)
11744 };
11745 {
11746 <Ident as VisitWith<V>>::visit_with(value, visitor)
11747 };
11748 }
11749 }
11750 }
11751}
11752impl<V: ?Sized + Visit> VisitWith<V> for swc_atoms::Atom {
11753 #[doc = "Calls [Visit`::visit_atom`] with `self`. (Extra impl)"]
11754 #[inline]
11755 fn visit_with(&self, visitor: &mut V) {
11756 <V as Visit>::visit_atom(visitor, self)
11757 }
11758
11759 #[inline]
11760 fn visit_children_with(&self, visitor: &mut V) {
11761 {}
11762 }
11763}
11764impl<V: ?Sized + Visit> VisitWith<V> for [CalcProductOrOperator] {
11765 #[doc = "Calls [Visit`::visit_calc_product_or_operators`] with `self`. (Extra impl)"]
11766 #[inline]
11767 fn visit_with(&self, visitor: &mut V) {
11768 <V as Visit>::visit_calc_product_or_operators(visitor, self)
11769 }
11770
11771 #[inline]
11772 fn visit_children_with(&self, visitor: &mut V) {
11773 self.iter()
11774 .for_each(|item| <CalcProductOrOperator as VisitWith<V>>::visit_with(item, visitor))
11775 }
11776}
11777impl<V: ?Sized + Visit> VisitWith<V> for [CalcValueOrOperator] {
11778 #[doc = "Calls [Visit`::visit_calc_value_or_operators`] with `self`. (Extra impl)"]
11779 #[inline]
11780 fn visit_with(&self, visitor: &mut V) {
11781 <V as Visit>::visit_calc_value_or_operators(visitor, self)
11782 }
11783
11784 #[inline]
11785 fn visit_children_with(&self, visitor: &mut V) {
11786 self.iter()
11787 .for_each(|item| <CalcValueOrOperator as VisitWith<V>>::visit_with(item, visitor))
11788 }
11789}
11790impl<V: ?Sized + Visit> VisitWith<V> for [ComplexSelectorChildren] {
11791 #[doc = "Calls [Visit`::visit_complex_selector_childrens`] with `self`. (Extra impl)"]
11792 #[inline]
11793 fn visit_with(&self, visitor: &mut V) {
11794 <V as Visit>::visit_complex_selector_childrens(visitor, self)
11795 }
11796
11797 #[inline]
11798 fn visit_children_with(&self, visitor: &mut V) {
11799 self.iter()
11800 .for_each(|item| <ComplexSelectorChildren as VisitWith<V>>::visit_with(item, visitor))
11801 }
11802}
11803impl<V: ?Sized + Visit> VisitWith<V> for [ComplexSelector] {
11804 #[doc = "Calls [Visit`::visit_complex_selectors`] with `self`. (Extra impl)"]
11805 #[inline]
11806 fn visit_with(&self, visitor: &mut V) {
11807 <V as Visit>::visit_complex_selectors(visitor, self)
11808 }
11809
11810 #[inline]
11811 fn visit_children_with(&self, visitor: &mut V) {
11812 self.iter()
11813 .for_each(|item| <ComplexSelector as VisitWith<V>>::visit_with(item, visitor))
11814 }
11815}
11816impl<V: ?Sized + Visit> VisitWith<V> for [ComponentValue] {
11817 #[doc = "Calls [Visit`::visit_component_values`] with `self`. (Extra impl)"]
11818 #[inline]
11819 fn visit_with(&self, visitor: &mut V) {
11820 <V as Visit>::visit_component_values(visitor, self)
11821 }
11822
11823 #[inline]
11824 fn visit_children_with(&self, visitor: &mut V) {
11825 self.iter()
11826 .for_each(|item| <ComponentValue as VisitWith<V>>::visit_with(item, visitor))
11827 }
11828}
11829impl<V: ?Sized + Visit> VisitWith<V> for [CompoundSelector] {
11830 #[doc = "Calls [Visit`::visit_compound_selectors`] with `self`. (Extra impl)"]
11831 #[inline]
11832 fn visit_with(&self, visitor: &mut V) {
11833 <V as Visit>::visit_compound_selectors(visitor, self)
11834 }
11835
11836 #[inline]
11837 fn visit_children_with(&self, visitor: &mut V) {
11838 self.iter()
11839 .for_each(|item| <CompoundSelector as VisitWith<V>>::visit_with(item, visitor))
11840 }
11841}
11842impl<V: ?Sized + Visit> VisitWith<V> for [ContainerQueryType] {
11843 #[doc = "Calls [Visit`::visit_container_query_types`] with `self`. (Extra impl)"]
11844 #[inline]
11845 fn visit_with(&self, visitor: &mut V) {
11846 <V as Visit>::visit_container_query_types(visitor, self)
11847 }
11848
11849 #[inline]
11850 fn visit_children_with(&self, visitor: &mut V) {
11851 self.iter()
11852 .for_each(|item| <ContainerQueryType as VisitWith<V>>::visit_with(item, visitor))
11853 }
11854}
11855impl<V: ?Sized + Visit> VisitWith<V> for [CustomIdent] {
11856 #[doc = "Calls [Visit`::visit_custom_idents`] with `self`. (Extra impl)"]
11857 #[inline]
11858 fn visit_with(&self, visitor: &mut V) {
11859 <V as Visit>::visit_custom_idents(visitor, self)
11860 }
11861
11862 #[inline]
11863 fn visit_children_with(&self, visitor: &mut V) {
11864 self.iter()
11865 .for_each(|item| <CustomIdent as VisitWith<V>>::visit_with(item, visitor))
11866 }
11867}
11868impl<V: ?Sized + Visit> VisitWith<V> for [DocumentPreludeMatchingFunction] {
11869 #[doc = "Calls [Visit`::visit_document_prelude_matching_functions`] with `self`. (Extra impl)"]
11870 #[inline]
11871 fn visit_with(&self, visitor: &mut V) {
11872 <V as Visit>::visit_document_prelude_matching_functions(visitor, self)
11873 }
11874
11875 #[inline]
11876 fn visit_children_with(&self, visitor: &mut V) {
11877 self.iter().for_each(|item| {
11878 <DocumentPreludeMatchingFunction as VisitWith<V>>::visit_with(item, visitor)
11879 })
11880 }
11881}
11882impl<V: ?Sized + Visit> VisitWith<V> for [FamilyName] {
11883 #[doc = "Calls [Visit`::visit_family_names`] with `self`. (Extra impl)"]
11884 #[inline]
11885 fn visit_with(&self, visitor: &mut V) {
11886 <V as Visit>::visit_family_names(visitor, self)
11887 }
11888
11889 #[inline]
11890 fn visit_children_with(&self, visitor: &mut V) {
11891 self.iter()
11892 .for_each(|item| <FamilyName as VisitWith<V>>::visit_with(item, visitor))
11893 }
11894}
11895impl<V: ?Sized + Visit> VisitWith<V> for [ForgivingComplexSelector] {
11896 #[doc = "Calls [Visit`::visit_forgiving_complex_selectors`] with `self`. (Extra impl)"]
11897 #[inline]
11898 fn visit_with(&self, visitor: &mut V) {
11899 <V as Visit>::visit_forgiving_complex_selectors(visitor, self)
11900 }
11901
11902 #[inline]
11903 fn visit_children_with(&self, visitor: &mut V) {
11904 self.iter()
11905 .for_each(|item| <ForgivingComplexSelector as VisitWith<V>>::visit_with(item, visitor))
11906 }
11907}
11908impl<V: ?Sized + Visit> VisitWith<V> for [ForgivingRelativeSelector] {
11909 #[doc = "Calls [Visit`::visit_forgiving_relative_selectors`] with `self`. (Extra impl)"]
11910 #[inline]
11911 fn visit_with(&self, visitor: &mut V) {
11912 <V as Visit>::visit_forgiving_relative_selectors(visitor, self)
11913 }
11914
11915 #[inline]
11916 fn visit_children_with(&self, visitor: &mut V) {
11917 self.iter()
11918 .for_each(|item| <ForgivingRelativeSelector as VisitWith<V>>::visit_with(item, visitor))
11919 }
11920}
11921impl<V: ?Sized + Visit> VisitWith<V> for [Ident] {
11922 #[doc = "Calls [Visit`::visit_idents`] with `self`. (Extra impl)"]
11923 #[inline]
11924 fn visit_with(&self, visitor: &mut V) {
11925 <V as Visit>::visit_idents(visitor, self)
11926 }
11927
11928 #[inline]
11929 fn visit_children_with(&self, visitor: &mut V) {
11930 self.iter()
11931 .for_each(|item| <Ident as VisitWith<V>>::visit_with(item, visitor))
11932 }
11933}
11934impl<V: ?Sized + Visit> VisitWith<V> for [KeyframeSelector] {
11935 #[doc = "Calls [Visit`::visit_keyframe_selectors`] with `self`. (Extra impl)"]
11936 #[inline]
11937 fn visit_with(&self, visitor: &mut V) {
11938 <V as Visit>::visit_keyframe_selectors(visitor, self)
11939 }
11940
11941 #[inline]
11942 fn visit_children_with(&self, visitor: &mut V) {
11943 self.iter()
11944 .for_each(|item| <KeyframeSelector as VisitWith<V>>::visit_with(item, visitor))
11945 }
11946}
11947impl<V: ?Sized + Visit> VisitWith<V> for [LayerName] {
11948 #[doc = "Calls [Visit`::visit_layer_names`] with `self`. (Extra impl)"]
11949 #[inline]
11950 fn visit_with(&self, visitor: &mut V) {
11951 <V as Visit>::visit_layer_names(visitor, self)
11952 }
11953
11954 #[inline]
11955 fn visit_children_with(&self, visitor: &mut V) {
11956 self.iter()
11957 .for_each(|item| <LayerName as VisitWith<V>>::visit_with(item, visitor))
11958 }
11959}
11960impl<V: ?Sized + Visit> VisitWith<V> for [MediaConditionAllType] {
11961 #[doc = "Calls [Visit`::visit_media_condition_all_types`] with `self`. (Extra impl)"]
11962 #[inline]
11963 fn visit_with(&self, visitor: &mut V) {
11964 <V as Visit>::visit_media_condition_all_types(visitor, self)
11965 }
11966
11967 #[inline]
11968 fn visit_children_with(&self, visitor: &mut V) {
11969 self.iter()
11970 .for_each(|item| <MediaConditionAllType as VisitWith<V>>::visit_with(item, visitor))
11971 }
11972}
11973impl<V: ?Sized + Visit> VisitWith<V> for [MediaConditionWithoutOrType] {
11974 #[doc = "Calls [Visit`::visit_media_condition_without_or_types`] with `self`. (Extra impl)"]
11975 #[inline]
11976 fn visit_with(&self, visitor: &mut V) {
11977 <V as Visit>::visit_media_condition_without_or_types(visitor, self)
11978 }
11979
11980 #[inline]
11981 fn visit_children_with(&self, visitor: &mut V) {
11982 self.iter().for_each(|item| {
11983 <MediaConditionWithoutOrType as VisitWith<V>>::visit_with(item, visitor)
11984 })
11985 }
11986}
11987impl<V: ?Sized + Visit> VisitWith<V> for [MediaQuery] {
11988 #[doc = "Calls [Visit`::visit_media_querys`] with `self`. (Extra impl)"]
11989 #[inline]
11990 fn visit_with(&self, visitor: &mut V) {
11991 <V as Visit>::visit_media_querys(visitor, self)
11992 }
11993
11994 #[inline]
11995 fn visit_children_with(&self, visitor: &mut V) {
11996 self.iter()
11997 .for_each(|item| <MediaQuery as VisitWith<V>>::visit_with(item, visitor))
11998 }
11999}
12000impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<AtRulePrelude>> {
12001 #[doc = "Calls [Visit`::visit_opt_at_rule_prelude`] with `self`. (Extra impl)"]
12002 #[inline]
12003 fn visit_with(&self, visitor: &mut V) {
12004 <V as Visit>::visit_opt_at_rule_prelude(visitor, self)
12005 }
12006
12007 #[inline]
12008 fn visit_children_with(&self, visitor: &mut V) {
12009 match self {
12010 Some(inner) => <Box<AtRulePrelude> as VisitWith<V>>::visit_with(inner, visitor),
12011 None => {}
12012 }
12013 }
12014}
12015impl<V: ?Sized + Visit> VisitWith<V> for Option<swc_atoms::Atom> {
12016 #[doc = "Calls [Visit`::visit_opt_atom`] with `self`. (Extra impl)"]
12017 #[inline]
12018 fn visit_with(&self, visitor: &mut V) {
12019 <V as Visit>::visit_opt_atom(visitor, self)
12020 }
12021
12022 #[inline]
12023 fn visit_children_with(&self, visitor: &mut V) {
12024 match self {
12025 Some(inner) => <swc_atoms::Atom as VisitWith<V>>::visit_with(inner, visitor),
12026 None => {}
12027 }
12028 }
12029}
12030impl<V: ?Sized + Visit> VisitWith<V> for Option<AttributeSelectorMatcher> {
12031 #[doc = "Calls [Visit`::visit_opt_attribute_selector_matcher`] with `self`. (Extra impl)"]
12032 #[inline]
12033 fn visit_with(&self, visitor: &mut V) {
12034 <V as Visit>::visit_opt_attribute_selector_matcher(visitor, self)
12035 }
12036
12037 #[inline]
12038 fn visit_children_with(&self, visitor: &mut V) {
12039 match self {
12040 Some(inner) => <AttributeSelectorMatcher as VisitWith<V>>::visit_with(inner, visitor),
12041 None => {}
12042 }
12043 }
12044}
12045impl<V: ?Sized + Visit> VisitWith<V> for Option<AttributeSelectorModifier> {
12046 #[doc = "Calls [Visit`::visit_opt_attribute_selector_modifier`] with `self`. (Extra impl)"]
12047 #[inline]
12048 fn visit_with(&self, visitor: &mut V) {
12049 <V as Visit>::visit_opt_attribute_selector_modifier(visitor, self)
12050 }
12051
12052 #[inline]
12053 fn visit_children_with(&self, visitor: &mut V) {
12054 match self {
12055 Some(inner) => <AttributeSelectorModifier as VisitWith<V>>::visit_with(inner, visitor),
12056 None => {}
12057 }
12058 }
12059}
12060impl<V: ?Sized + Visit> VisitWith<V> for Option<AttributeSelectorValue> {
12061 #[doc = "Calls [Visit`::visit_opt_attribute_selector_value`] with `self`. (Extra impl)"]
12062 #[inline]
12063 fn visit_with(&self, visitor: &mut V) {
12064 <V as Visit>::visit_opt_attribute_selector_value(visitor, self)
12065 }
12066
12067 #[inline]
12068 fn visit_children_with(&self, visitor: &mut V) {
12069 match self {
12070 Some(inner) => <AttributeSelectorValue as VisitWith<V>>::visit_with(inner, visitor),
12071 None => {}
12072 }
12073 }
12074}
12075impl<V: ?Sized + Visit> VisitWith<V> for Option<Combinator> {
12076 #[doc = "Calls [Visit`::visit_opt_combinator`] with `self`. (Extra impl)"]
12077 #[inline]
12078 fn visit_with(&self, visitor: &mut V) {
12079 <V as Visit>::visit_opt_combinator(visitor, self)
12080 }
12081
12082 #[inline]
12083 fn visit_children_with(&self, visitor: &mut V) {
12084 match self {
12085 Some(inner) => <Combinator as VisitWith<V>>::visit_with(inner, visitor),
12086 None => {}
12087 }
12088 }
12089}
12090impl<V: ?Sized + Visit> VisitWith<V> for Option<ContainerName> {
12091 #[doc = "Calls [Visit`::visit_opt_container_name`] with `self`. (Extra impl)"]
12092 #[inline]
12093 fn visit_with(&self, visitor: &mut V) {
12094 <V as Visit>::visit_opt_container_name(visitor, self)
12095 }
12096
12097 #[inline]
12098 fn visit_children_with(&self, visitor: &mut V) {
12099 match self {
12100 Some(inner) => <ContainerName as VisitWith<V>>::visit_with(inner, visitor),
12101 None => {}
12102 }
12103 }
12104}
12105impl<V: ?Sized + Visit> VisitWith<V> for Option<ForgivingSelectorList> {
12106 #[doc = "Calls [Visit`::visit_opt_forgiving_selector_list`] with `self`. (Extra impl)"]
12107 #[inline]
12108 fn visit_with(&self, visitor: &mut V) {
12109 <V as Visit>::visit_opt_forgiving_selector_list(visitor, self)
12110 }
12111
12112 #[inline]
12113 fn visit_children_with(&self, visitor: &mut V) {
12114 match self {
12115 Some(inner) => <ForgivingSelectorList as VisitWith<V>>::visit_with(inner, visitor),
12116 None => {}
12117 }
12118 }
12119}
12120impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<Function>> {
12121 #[doc = "Calls [Visit`::visit_opt_function`] with `self`. (Extra impl)"]
12122 #[inline]
12123 fn visit_with(&self, visitor: &mut V) {
12124 <V as Visit>::visit_opt_function(visitor, self)
12125 }
12126
12127 #[inline]
12128 fn visit_children_with(&self, visitor: &mut V) {
12129 match self {
12130 Some(inner) => <Box<Function> as VisitWith<V>>::visit_with(inner, visitor),
12131 None => {}
12132 }
12133 }
12134}
12135impl<V: ?Sized + Visit> VisitWith<V> for Option<Ident> {
12136 #[doc = "Calls [Visit`::visit_opt_ident`] with `self`. (Extra impl)"]
12137 #[inline]
12138 fn visit_with(&self, visitor: &mut V) {
12139 <V as Visit>::visit_opt_ident(visitor, self)
12140 }
12141
12142 #[inline]
12143 fn visit_children_with(&self, visitor: &mut V) {
12144 match self {
12145 Some(inner) => <Ident as VisitWith<V>>::visit_with(inner, visitor),
12146 None => {}
12147 }
12148 }
12149}
12150impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<ImportConditions>> {
12151 #[doc = "Calls [Visit`::visit_opt_import_conditions`] with `self`. (Extra impl)"]
12152 #[inline]
12153 fn visit_with(&self, visitor: &mut V) {
12154 <V as Visit>::visit_opt_import_conditions(visitor, self)
12155 }
12156
12157 #[inline]
12158 fn visit_children_with(&self, visitor: &mut V) {
12159 match self {
12160 Some(inner) => <Box<ImportConditions> as VisitWith<V>>::visit_with(inner, visitor),
12161 None => {}
12162 }
12163 }
12164}
12165impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<ImportLayerName>> {
12166 #[doc = "Calls [Visit`::visit_opt_import_layer_name`] with `self`. (Extra impl)"]
12167 #[inline]
12168 fn visit_with(&self, visitor: &mut V) {
12169 <V as Visit>::visit_opt_import_layer_name(visitor, self)
12170 }
12171
12172 #[inline]
12173 fn visit_children_with(&self, visitor: &mut V) {
12174 match self {
12175 Some(inner) => <Box<ImportLayerName> as VisitWith<V>>::visit_with(inner, visitor),
12176 None => {}
12177 }
12178 }
12179}
12180impl<V: ?Sized + Visit> VisitWith<V> for Option<ImportantFlag> {
12181 #[doc = "Calls [Visit`::visit_opt_important_flag`] with `self`. (Extra impl)"]
12182 #[inline]
12183 fn visit_with(&self, visitor: &mut V) {
12184 <V as Visit>::visit_opt_important_flag(visitor, self)
12185 }
12186
12187 #[inline]
12188 fn visit_children_with(&self, visitor: &mut V) {
12189 match self {
12190 Some(inner) => <ImportantFlag as VisitWith<V>>::visit_with(inner, visitor),
12191 None => {}
12192 }
12193 }
12194}
12195impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<MediaConditionType>> {
12196 #[doc = "Calls [Visit`::visit_opt_media_condition_type`] with `self`. (Extra impl)"]
12197 #[inline]
12198 fn visit_with(&self, visitor: &mut V) {
12199 <V as Visit>::visit_opt_media_condition_type(visitor, self)
12200 }
12201
12202 #[inline]
12203 fn visit_children_with(&self, visitor: &mut V) {
12204 match self {
12205 Some(inner) => <Box<MediaConditionType> as VisitWith<V>>::visit_with(inner, visitor),
12206 None => {}
12207 }
12208 }
12209}
12210impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<MediaQueryList>> {
12211 #[doc = "Calls [Visit`::visit_opt_media_query_list`] with `self`. (Extra impl)"]
12212 #[inline]
12213 fn visit_with(&self, visitor: &mut V) {
12214 <V as Visit>::visit_opt_media_query_list(visitor, self)
12215 }
12216
12217 #[inline]
12218 fn visit_children_with(&self, visitor: &mut V) {
12219 match self {
12220 Some(inner) => <Box<MediaQueryList> as VisitWith<V>>::visit_with(inner, visitor),
12221 None => {}
12222 }
12223 }
12224}
12225impl<V: ?Sized + Visit> VisitWith<V> for Option<MediaType> {
12226 #[doc = "Calls [Visit`::visit_opt_media_type`] with `self`. (Extra impl)"]
12227 #[inline]
12228 fn visit_with(&self, visitor: &mut V) {
12229 <V as Visit>::visit_opt_media_type(visitor, self)
12230 }
12231
12232 #[inline]
12233 fn visit_children_with(&self, visitor: &mut V) {
12234 match self {
12235 Some(inner) => <MediaType as VisitWith<V>>::visit_with(inner, visitor),
12236 None => {}
12237 }
12238 }
12239}
12240impl<V: ?Sized + Visit> VisitWith<V> for Option<Namespace> {
12241 #[doc = "Calls [Visit`::visit_opt_namespace`] with `self`. (Extra impl)"]
12242 #[inline]
12243 fn visit_with(&self, visitor: &mut V) {
12244 <V as Visit>::visit_opt_namespace(visitor, self)
12245 }
12246
12247 #[inline]
12248 fn visit_children_with(&self, visitor: &mut V) {
12249 match self {
12250 Some(inner) => <Namespace as VisitWith<V>>::visit_with(inner, visitor),
12251 None => {}
12252 }
12253 }
12254}
12255impl<V: ?Sized + Visit> VisitWith<V> for Option<NamespacePrefix> {
12256 #[doc = "Calls [Visit`::visit_opt_namespace_prefix`] with `self`. (Extra impl)"]
12257 #[inline]
12258 fn visit_with(&self, visitor: &mut V) {
12259 <V as Visit>::visit_opt_namespace_prefix(visitor, self)
12260 }
12261
12262 #[inline]
12263 fn visit_children_with(&self, visitor: &mut V) {
12264 match self {
12265 Some(inner) => <NamespacePrefix as VisitWith<V>>::visit_with(inner, visitor),
12266 None => {}
12267 }
12268 }
12269}
12270impl<V: ?Sized + Visit> VisitWith<V> for Option<NestingSelector> {
12271 #[doc = "Calls [Visit`::visit_opt_nesting_selector`] with `self`. (Extra impl)"]
12272 #[inline]
12273 fn visit_with(&self, visitor: &mut V) {
12274 <V as Visit>::visit_opt_nesting_selector(visitor, self)
12275 }
12276
12277 #[inline]
12278 fn visit_children_with(&self, visitor: &mut V) {
12279 match self {
12280 Some(inner) => <NestingSelector as VisitWith<V>>::visit_with(inner, visitor),
12281 None => {}
12282 }
12283 }
12284}
12285impl<V: ?Sized + Visit> VisitWith<V> for Option<Number> {
12286 #[doc = "Calls [Visit`::visit_opt_number`] with `self`. (Extra impl)"]
12287 #[inline]
12288 fn visit_with(&self, visitor: &mut V) {
12289 <V as Visit>::visit_opt_number(visitor, self)
12290 }
12291
12292 #[inline]
12293 fn visit_children_with(&self, visitor: &mut V) {
12294 match self {
12295 Some(inner) => <Number as VisitWith<V>>::visit_with(inner, visitor),
12296 None => {}
12297 }
12298 }
12299}
12300impl<V: ?Sized + Visit> VisitWith<V> for Option<Vec<PageSelectorPseudo>> {
12301 #[doc = "Calls [Visit`::visit_opt_page_selector_pseudos`] with `self`. (Extra impl)"]
12302 #[inline]
12303 fn visit_with(&self, visitor: &mut V) {
12304 <V as Visit>::visit_opt_page_selector_pseudos(visitor, self)
12305 }
12306
12307 #[inline]
12308 fn visit_children_with(&self, visitor: &mut V) {
12309 match self {
12310 Some(inner) => <Vec<PageSelectorPseudo> as VisitWith<V>>::visit_with(inner, visitor),
12311 None => {}
12312 }
12313 }
12314}
12315impl<V: ?Sized + Visit> VisitWith<V> for Option<PageSelectorType> {
12316 #[doc = "Calls [Visit`::visit_opt_page_selector_type`] with `self`. (Extra impl)"]
12317 #[inline]
12318 fn visit_with(&self, visitor: &mut V) {
12319 <V as Visit>::visit_opt_page_selector_type(visitor, self)
12320 }
12321
12322 #[inline]
12323 fn visit_children_with(&self, visitor: &mut V) {
12324 match self {
12325 Some(inner) => <PageSelectorType as VisitWith<V>>::visit_with(inner, visitor),
12326 None => {}
12327 }
12328 }
12329}
12330impl<V: ?Sized + Visit> VisitWith<V> for Option<Vec<PseudoClassSelectorChildren>> {
12331 #[doc = "Calls [Visit`::visit_opt_pseudo_class_selector_childrens`] with `self`. (Extra impl)"]
12332 #[inline]
12333 fn visit_with(&self, visitor: &mut V) {
12334 <V as Visit>::visit_opt_pseudo_class_selector_childrens(visitor, self)
12335 }
12336
12337 #[inline]
12338 fn visit_children_with(&self, visitor: &mut V) {
12339 match self {
12340 Some(inner) => {
12341 <Vec<PseudoClassSelectorChildren> as VisitWith<V>>::visit_with(inner, visitor)
12342 }
12343 None => {}
12344 }
12345 }
12346}
12347impl<V: ?Sized + Visit> VisitWith<V> for Option<Vec<PseudoElementSelectorChildren>> {
12348 #[doc = "Calls [Visit`::visit_opt_pseudo_element_selector_childrens`] with `self`. (Extra impl)"]
12349 #[inline]
12350 fn visit_with(&self, visitor: &mut V) {
12351 <V as Visit>::visit_opt_pseudo_element_selector_childrens(visitor, self)
12352 }
12353
12354 #[inline]
12355 fn visit_children_with(&self, visitor: &mut V) {
12356 match self {
12357 Some(inner) => {
12358 <Vec<PseudoElementSelectorChildren> as VisitWith<V>>::visit_with(inner, visitor)
12359 }
12360 None => {}
12361 }
12362 }
12363}
12364impl<V: ?Sized + Visit> VisitWith<V> for Option<SimpleBlock> {
12365 #[doc = "Calls [Visit`::visit_opt_simple_block`] with `self`. (Extra impl)"]
12366 #[inline]
12367 fn visit_with(&self, visitor: &mut V) {
12368 <V as Visit>::visit_opt_simple_block(visitor, self)
12369 }
12370
12371 #[inline]
12372 fn visit_children_with(&self, visitor: &mut V) {
12373 match self {
12374 Some(inner) => <SimpleBlock as VisitWith<V>>::visit_with(inner, visitor),
12375 None => {}
12376 }
12377 }
12378}
12379impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<TypeSelector>> {
12380 #[doc = "Calls [Visit`::visit_opt_type_selector`] with `self`. (Extra impl)"]
12381 #[inline]
12382 fn visit_with(&self, visitor: &mut V) {
12383 <V as Visit>::visit_opt_type_selector(visitor, self)
12384 }
12385
12386 #[inline]
12387 fn visit_children_with(&self, visitor: &mut V) {
12388 match self {
12389 Some(inner) => <Box<TypeSelector> as VisitWith<V>>::visit_with(inner, visitor),
12390 None => {}
12391 }
12392 }
12393}
12394impl<V: ?Sized + Visit> VisitWith<V> for Option<Vec<UrlModifier>> {
12395 #[doc = "Calls [Visit`::visit_opt_url_modifiers`] with `self`. (Extra impl)"]
12396 #[inline]
12397 fn visit_with(&self, visitor: &mut V) {
12398 <V as Visit>::visit_opt_url_modifiers(visitor, self)
12399 }
12400
12401 #[inline]
12402 fn visit_children_with(&self, visitor: &mut V) {
12403 match self {
12404 Some(inner) => <Vec<UrlModifier> as VisitWith<V>>::visit_with(inner, visitor),
12405 None => {}
12406 }
12407 }
12408}
12409impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<UrlValue>> {
12410 #[doc = "Calls [Visit`::visit_opt_url_value`] with `self`. (Extra impl)"]
12411 #[inline]
12412 fn visit_with(&self, visitor: &mut V) {
12413 <V as Visit>::visit_opt_url_value(visitor, self)
12414 }
12415
12416 #[inline]
12417 fn visit_children_with(&self, visitor: &mut V) {
12418 match self {
12419 Some(inner) => <Box<UrlValue> as VisitWith<V>>::visit_with(inner, visitor),
12420 None => {}
12421 }
12422 }
12423}
12424impl<V: ?Sized + Visit> VisitWith<V> for [PageSelectorPseudo] {
12425 #[doc = "Calls [Visit`::visit_page_selector_pseudos`] with `self`. (Extra impl)"]
12426 #[inline]
12427 fn visit_with(&self, visitor: &mut V) {
12428 <V as Visit>::visit_page_selector_pseudos(visitor, self)
12429 }
12430
12431 #[inline]
12432 fn visit_children_with(&self, visitor: &mut V) {
12433 self.iter()
12434 .for_each(|item| <PageSelectorPseudo as VisitWith<V>>::visit_with(item, visitor))
12435 }
12436}
12437impl<V: ?Sized + Visit> VisitWith<V> for [PageSelector] {
12438 #[doc = "Calls [Visit`::visit_page_selectors`] with `self`. (Extra impl)"]
12439 #[inline]
12440 fn visit_with(&self, visitor: &mut V) {
12441 <V as Visit>::visit_page_selectors(visitor, self)
12442 }
12443
12444 #[inline]
12445 fn visit_children_with(&self, visitor: &mut V) {
12446 self.iter()
12447 .for_each(|item| <PageSelector as VisitWith<V>>::visit_with(item, visitor))
12448 }
12449}
12450impl<V: ?Sized + Visit> VisitWith<V> for [PseudoClassSelectorChildren] {
12451 #[doc = "Calls [Visit`::visit_pseudo_class_selector_childrens`] with `self`. (Extra impl)"]
12452 #[inline]
12453 fn visit_with(&self, visitor: &mut V) {
12454 <V as Visit>::visit_pseudo_class_selector_childrens(visitor, self)
12455 }
12456
12457 #[inline]
12458 fn visit_children_with(&self, visitor: &mut V) {
12459 self.iter().for_each(|item| {
12460 <PseudoClassSelectorChildren as VisitWith<V>>::visit_with(item, visitor)
12461 })
12462 }
12463}
12464impl<V: ?Sized + Visit> VisitWith<V> for [PseudoElementSelectorChildren] {
12465 #[doc = "Calls [Visit`::visit_pseudo_element_selector_childrens`] with `self`. (Extra impl)"]
12466 #[inline]
12467 fn visit_with(&self, visitor: &mut V) {
12468 <V as Visit>::visit_pseudo_element_selector_childrens(visitor, self)
12469 }
12470
12471 #[inline]
12472 fn visit_children_with(&self, visitor: &mut V) {
12473 self.iter().for_each(|item| {
12474 <PseudoElementSelectorChildren as VisitWith<V>>::visit_with(item, visitor)
12475 })
12476 }
12477}
12478impl<V: ?Sized + Visit> VisitWith<V> for [RelativeSelector] {
12479 #[doc = "Calls [Visit`::visit_relative_selectors`] with `self`. (Extra impl)"]
12480 #[inline]
12481 fn visit_with(&self, visitor: &mut V) {
12482 <V as Visit>::visit_relative_selectors(visitor, self)
12483 }
12484
12485 #[inline]
12486 fn visit_children_with(&self, visitor: &mut V) {
12487 self.iter()
12488 .for_each(|item| <RelativeSelector as VisitWith<V>>::visit_with(item, visitor))
12489 }
12490}
12491impl<V: ?Sized + Visit> VisitWith<V> for [Rule] {
12492 #[doc = "Calls [Visit`::visit_rules`] with `self`. (Extra impl)"]
12493 #[inline]
12494 fn visit_with(&self, visitor: &mut V) {
12495 <V as Visit>::visit_rules(visitor, self)
12496 }
12497
12498 #[inline]
12499 fn visit_children_with(&self, visitor: &mut V) {
12500 self.iter()
12501 .for_each(|item| <Rule as VisitWith<V>>::visit_with(item, visitor))
12502 }
12503}
12504impl<V: ?Sized + Visit> VisitWith<V> for swc_common::Span {
12505 #[doc = "Calls [Visit`::visit_span`] with `self`. (Extra impl)"]
12506 #[inline]
12507 fn visit_with(&self, visitor: &mut V) {
12508 <V as Visit>::visit_span(visitor, self)
12509 }
12510
12511 #[inline]
12512 fn visit_children_with(&self, visitor: &mut V) {
12513 {}
12514 }
12515}
12516impl<V: ?Sized + Visit> VisitWith<V> for [SubclassSelector] {
12517 #[doc = "Calls [Visit`::visit_subclass_selectors`] with `self`. (Extra impl)"]
12518 #[inline]
12519 fn visit_with(&self, visitor: &mut V) {
12520 <V as Visit>::visit_subclass_selectors(visitor, self)
12521 }
12522
12523 #[inline]
12524 fn visit_children_with(&self, visitor: &mut V) {
12525 self.iter()
12526 .for_each(|item| <SubclassSelector as VisitWith<V>>::visit_with(item, visitor))
12527 }
12528}
12529impl<V: ?Sized + Visit> VisitWith<V> for [SupportsConditionType] {
12530 #[doc = "Calls [Visit`::visit_supports_condition_types`] with `self`. (Extra impl)"]
12531 #[inline]
12532 fn visit_with(&self, visitor: &mut V) {
12533 <V as Visit>::visit_supports_condition_types(visitor, self)
12534 }
12535
12536 #[inline]
12537 fn visit_children_with(&self, visitor: &mut V) {
12538 self.iter()
12539 .for_each(|item| <SupportsConditionType as VisitWith<V>>::visit_with(item, visitor))
12540 }
12541}
12542impl<V: ?Sized + Visit> VisitWith<V> for [UrlModifier] {
12543 #[doc = "Calls [Visit`::visit_url_modifiers`] with `self`. (Extra impl)"]
12544 #[inline]
12545 fn visit_with(&self, visitor: &mut V) {
12546 <V as Visit>::visit_url_modifiers(visitor, self)
12547 }
12548
12549 #[inline]
12550 fn visit_children_with(&self, visitor: &mut V) {
12551 self.iter()
12552 .for_each(|item| <UrlModifier as VisitWith<V>>::visit_with(item, visitor))
12553 }
12554}
12555impl<V, T> VisitWith<V> for std::boxed::Box<T>
12556where
12557 V: ?Sized + Visit,
12558 T: VisitWith<V>,
12559{
12560 #[inline]
12561 fn visit_with(&self, visitor: &mut V) {
12562 let v = <T as VisitWith<V>>::visit_with(&**self, visitor);
12563 v
12564 }
12565
12566 #[inline]
12567 fn visit_children_with(&self, visitor: &mut V) {
12568 let v = <T as VisitWith<V>>::visit_children_with(&**self, visitor);
12569 v
12570 }
12571}
12572impl<V, T> VisitWith<V> for std::vec::Vec<T>
12573where
12574 V: ?Sized + Visit,
12575 [T]: VisitWith<V>,
12576{
12577 #[inline]
12578 fn visit_with(&self, visitor: &mut V) {
12579 let v = <[T] as VisitWith<V>>::visit_with(self, visitor);
12580 v
12581 }
12582
12583 #[inline]
12584 fn visit_children_with(&self, visitor: &mut V) {
12585 let v = <[T] as VisitWith<V>>::visit_children_with(self, visitor);
12586 v
12587 }
12588}
12589#[doc = r" A visitor trait for traversing the AST."]
12590#[cfg(any(docsrs, feature = "path"))]
12591#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
12592pub trait VisitAstPath {
12593 #[doc = "Visit a node of type `AbsoluteColorBase`.\n\nBy default, this method calls \
12594 [`AbsoluteColorBase::visit_children_with_ast_path`]. If you want to recurse, you need \
12595 to call it manually."]
12596 #[inline]
12597 fn visit_absolute_color_base<'ast: 'r, 'r>(
12598 &mut self,
12599 node: &'ast AbsoluteColorBase,
12600 __ast_path: &mut AstNodePath<'r>,
12601 ) {
12602 <AbsoluteColorBase as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12603 node, self, __ast_path,
12604 )
12605 }
12606 #[doc = "Visit a node of type `AlphaValue`.\n\nBy default, this method calls \
12607 [`AlphaValue::visit_children_with_ast_path`]. If you want to recurse, you need to \
12608 call it manually."]
12609 #[inline]
12610 fn visit_alpha_value<'ast: 'r, 'r>(
12611 &mut self,
12612 node: &'ast AlphaValue,
12613 __ast_path: &mut AstNodePath<'r>,
12614 ) {
12615 <AlphaValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12616 }
12617 #[doc = "Visit a node of type `AnPlusB`.\n\nBy default, this method calls \
12618 [`AnPlusB::visit_children_with_ast_path`]. If you want to recurse, you need to call \
12619 it manually."]
12620 #[inline]
12621 fn visit_an_plus_b<'ast: 'r, 'r>(
12622 &mut self,
12623 node: &'ast AnPlusB,
12624 __ast_path: &mut AstNodePath<'r>,
12625 ) {
12626 <AnPlusB as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12627 }
12628 #[doc = "Visit a node of type `AnPlusBNotation`.\n\nBy default, this method calls \
12629 [`AnPlusBNotation::visit_children_with_ast_path`]. If you want to recurse, you need \
12630 to call it manually."]
12631 #[inline]
12632 fn visit_an_plus_b_notation<'ast: 'r, 'r>(
12633 &mut self,
12634 node: &'ast AnPlusBNotation,
12635 __ast_path: &mut AstNodePath<'r>,
12636 ) {
12637 <AnPlusBNotation as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12638 node, self, __ast_path,
12639 )
12640 }
12641 #[doc = "Visit a node of type `Angle`.\n\nBy default, this method calls \
12642 [`Angle::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
12643 manually."]
12644 #[inline]
12645 fn visit_angle<'ast: 'r, 'r>(&mut self, node: &'ast Angle, __ast_path: &mut AstNodePath<'r>) {
12646 <Angle as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12647 }
12648 #[doc = "Visit a node of type `AnglePercentage`.\n\nBy default, this method calls \
12649 [`AnglePercentage::visit_children_with_ast_path`]. If you want to recurse, you need \
12650 to call it manually."]
12651 #[inline]
12652 fn visit_angle_percentage<'ast: 'r, 'r>(
12653 &mut self,
12654 node: &'ast AnglePercentage,
12655 __ast_path: &mut AstNodePath<'r>,
12656 ) {
12657 <AnglePercentage as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12658 node, self, __ast_path,
12659 )
12660 }
12661 #[doc = "Visit a node of type `AnyNamespace`.\n\nBy default, this method calls \
12662 [`AnyNamespace::visit_children_with_ast_path`]. If you want to recurse, you need to \
12663 call it manually."]
12664 #[inline]
12665 fn visit_any_namespace<'ast: 'r, 'r>(
12666 &mut self,
12667 node: &'ast AnyNamespace,
12668 __ast_path: &mut AstNodePath<'r>,
12669 ) {
12670 <AnyNamespace as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12671 node, self, __ast_path,
12672 )
12673 }
12674 #[doc = "Visit a node of type `AtRule`.\n\nBy default, this method calls \
12675 [`AtRule::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
12676 manually."]
12677 #[inline]
12678 fn visit_at_rule<'ast: 'r, 'r>(
12679 &mut self,
12680 node: &'ast AtRule,
12681 __ast_path: &mut AstNodePath<'r>,
12682 ) {
12683 <AtRule as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12684 }
12685 #[doc = "Visit a node of type `AtRuleName`.\n\nBy default, this method calls \
12686 [`AtRuleName::visit_children_with_ast_path`]. If you want to recurse, you need to \
12687 call it manually."]
12688 #[inline]
12689 fn visit_at_rule_name<'ast: 'r, 'r>(
12690 &mut self,
12691 node: &'ast AtRuleName,
12692 __ast_path: &mut AstNodePath<'r>,
12693 ) {
12694 <AtRuleName as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12695 }
12696 #[doc = "Visit a node of type `AtRulePrelude`.\n\nBy default, this method calls \
12697 [`AtRulePrelude::visit_children_with_ast_path`]. If you want to recurse, you need to \
12698 call it manually."]
12699 #[inline]
12700 fn visit_at_rule_prelude<'ast: 'r, 'r>(
12701 &mut self,
12702 node: &'ast AtRulePrelude,
12703 __ast_path: &mut AstNodePath<'r>,
12704 ) {
12705 <AtRulePrelude as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12706 node, self, __ast_path,
12707 )
12708 }
12709 #[doc = "Visit a node of type `swc_atoms :: Atom`.\n\nBy default, this method calls \
12710 [`swc_atoms :: Atom::visit_children_with_ast_path`]. If you want to recurse, you need \
12711 to call it manually."]
12712 #[inline]
12713 fn visit_atom<'ast: 'r, 'r>(
12714 &mut self,
12715 node: &'ast swc_atoms::Atom,
12716 __ast_path: &mut AstNodePath<'r>,
12717 ) {
12718 <swc_atoms::Atom as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12719 node, self, __ast_path,
12720 )
12721 }
12722 #[doc = "Visit a node of type `AttributeSelector`.\n\nBy default, this method calls \
12723 [`AttributeSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
12724 to call it manually."]
12725 #[inline]
12726 fn visit_attribute_selector<'ast: 'r, 'r>(
12727 &mut self,
12728 node: &'ast AttributeSelector,
12729 __ast_path: &mut AstNodePath<'r>,
12730 ) {
12731 <AttributeSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12732 node, self, __ast_path,
12733 )
12734 }
12735 #[doc = "Visit a node of type `AttributeSelectorMatcher`.\n\nBy default, this method calls \
12736 [`AttributeSelectorMatcher::visit_children_with_ast_path`]. If you want to recurse, \
12737 you need to call it manually."]
12738 #[inline]
12739 fn visit_attribute_selector_matcher<'ast: 'r, 'r>(
12740 &mut self,
12741 node: &'ast AttributeSelectorMatcher,
12742 __ast_path: &mut AstNodePath<'r>,
12743 ) {
12744 <AttributeSelectorMatcher as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12745 node, self, __ast_path,
12746 )
12747 }
12748 #[doc = "Visit a node of type `AttributeSelectorMatcherValue`.\n\nBy default, this method \
12749 calls [`AttributeSelectorMatcherValue::visit_children_with_ast_path`]. If you want to \
12750 recurse, you need to call it manually."]
12751 #[inline]
12752 fn visit_attribute_selector_matcher_value<'ast: 'r, 'r>(
12753 &mut self,
12754 node: &'ast AttributeSelectorMatcherValue,
12755 __ast_path: &mut AstNodePath<'r>,
12756 ) {
12757 <AttributeSelectorMatcherValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12758 node, self, __ast_path,
12759 )
12760 }
12761 #[doc = "Visit a node of type `AttributeSelectorModifier`.\n\nBy default, this method calls \
12762 [`AttributeSelectorModifier::visit_children_with_ast_path`]. If you want to recurse, \
12763 you need to call it manually."]
12764 #[inline]
12765 fn visit_attribute_selector_modifier<'ast: 'r, 'r>(
12766 &mut self,
12767 node: &'ast AttributeSelectorModifier,
12768 __ast_path: &mut AstNodePath<'r>,
12769 ) {
12770 <AttributeSelectorModifier as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12771 node, self, __ast_path,
12772 )
12773 }
12774 #[doc = "Visit a node of type `AttributeSelectorValue`.\n\nBy default, this method calls \
12775 [`AttributeSelectorValue::visit_children_with_ast_path`]. If you want to recurse, you \
12776 need to call it manually."]
12777 #[inline]
12778 fn visit_attribute_selector_value<'ast: 'r, 'r>(
12779 &mut self,
12780 node: &'ast AttributeSelectorValue,
12781 __ast_path: &mut AstNodePath<'r>,
12782 ) {
12783 <AttributeSelectorValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12784 node, self, __ast_path,
12785 )
12786 }
12787 #[doc = "Visit a node of type `BinOp`.\n\nBy default, this method calls \
12788 [`BinOp::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
12789 manually."]
12790 #[inline]
12791 fn visit_bin_op<'ast: 'r, 'r>(&mut self, node: &'ast BinOp, __ast_path: &mut AstNodePath<'r>) {
12792 <BinOp as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12793 }
12794 #[doc = "Visit a node of type `CalcOperator`.\n\nBy default, this method calls \
12795 [`CalcOperator::visit_children_with_ast_path`]. If you want to recurse, you need to \
12796 call it manually."]
12797 #[inline]
12798 fn visit_calc_operator<'ast: 'r, 'r>(
12799 &mut self,
12800 node: &'ast CalcOperator,
12801 __ast_path: &mut AstNodePath<'r>,
12802 ) {
12803 <CalcOperator as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12804 node, self, __ast_path,
12805 )
12806 }
12807 #[doc = "Visit a node of type `CalcOperatorType`.\n\nBy default, this method calls \
12808 [`CalcOperatorType::visit_children_with_ast_path`]. If you want to recurse, you need \
12809 to call it manually."]
12810 #[inline]
12811 fn visit_calc_operator_type<'ast: 'r, 'r>(
12812 &mut self,
12813 node: &'ast CalcOperatorType,
12814 __ast_path: &mut AstNodePath<'r>,
12815 ) {
12816 <CalcOperatorType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12817 node, self, __ast_path,
12818 )
12819 }
12820 #[doc = "Visit a node of type `CalcProduct`.\n\nBy default, this method calls \
12821 [`CalcProduct::visit_children_with_ast_path`]. If you want to recurse, you need to \
12822 call it manually."]
12823 #[inline]
12824 fn visit_calc_product<'ast: 'r, 'r>(
12825 &mut self,
12826 node: &'ast CalcProduct,
12827 __ast_path: &mut AstNodePath<'r>,
12828 ) {
12829 <CalcProduct as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12830 node, self, __ast_path,
12831 )
12832 }
12833 #[doc = "Visit a node of type `CalcProductOrOperator`.\n\nBy default, this method calls \
12834 [`CalcProductOrOperator::visit_children_with_ast_path`]. If you want to recurse, you \
12835 need to call it manually."]
12836 #[inline]
12837 fn visit_calc_product_or_operator<'ast: 'r, 'r>(
12838 &mut self,
12839 node: &'ast CalcProductOrOperator,
12840 __ast_path: &mut AstNodePath<'r>,
12841 ) {
12842 <CalcProductOrOperator as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12843 node, self, __ast_path,
12844 )
12845 }
12846 #[doc = "Visit a node of type `Vec < CalcProductOrOperator >`.\n\nBy default, this method \
12847 calls [`Vec < CalcProductOrOperator >::visit_children_with_ast_path`]. If you want to \
12848 recurse, you need to call it manually."]
12849 #[inline]
12850 fn visit_calc_product_or_operators<'ast: 'r, 'r>(
12851 &mut self,
12852 node: &'ast [CalcProductOrOperator],
12853 __ast_path: &mut AstNodePath<'r>,
12854 ) {
12855 <[CalcProductOrOperator] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12856 node, self, __ast_path,
12857 )
12858 }
12859 #[doc = "Visit a node of type `CalcSum`.\n\nBy default, this method calls \
12860 [`CalcSum::visit_children_with_ast_path`]. If you want to recurse, you need to call \
12861 it manually."]
12862 #[inline]
12863 fn visit_calc_sum<'ast: 'r, 'r>(
12864 &mut self,
12865 node: &'ast CalcSum,
12866 __ast_path: &mut AstNodePath<'r>,
12867 ) {
12868 <CalcSum as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12869 }
12870 #[doc = "Visit a node of type `CalcValue`.\n\nBy default, this method calls \
12871 [`CalcValue::visit_children_with_ast_path`]. If you want to recurse, you need to call \
12872 it manually."]
12873 #[inline]
12874 fn visit_calc_value<'ast: 'r, 'r>(
12875 &mut self,
12876 node: &'ast CalcValue,
12877 __ast_path: &mut AstNodePath<'r>,
12878 ) {
12879 <CalcValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12880 }
12881 #[doc = "Visit a node of type `CalcValueOrOperator`.\n\nBy default, this method calls \
12882 [`CalcValueOrOperator::visit_children_with_ast_path`]. If you want to recurse, you \
12883 need to call it manually."]
12884 #[inline]
12885 fn visit_calc_value_or_operator<'ast: 'r, 'r>(
12886 &mut self,
12887 node: &'ast CalcValueOrOperator,
12888 __ast_path: &mut AstNodePath<'r>,
12889 ) {
12890 <CalcValueOrOperator as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12891 node, self, __ast_path,
12892 )
12893 }
12894 #[doc = "Visit a node of type `Vec < CalcValueOrOperator >`.\n\nBy default, this method calls \
12895 [`Vec < CalcValueOrOperator >::visit_children_with_ast_path`]. If you want to \
12896 recurse, you need to call it manually."]
12897 #[inline]
12898 fn visit_calc_value_or_operators<'ast: 'r, 'r>(
12899 &mut self,
12900 node: &'ast [CalcValueOrOperator],
12901 __ast_path: &mut AstNodePath<'r>,
12902 ) {
12903 <[CalcValueOrOperator] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12904 node, self, __ast_path,
12905 )
12906 }
12907 #[doc = "Visit a node of type `ClassSelector`.\n\nBy default, this method calls \
12908 [`ClassSelector::visit_children_with_ast_path`]. If you want to recurse, you need to \
12909 call it manually."]
12910 #[inline]
12911 fn visit_class_selector<'ast: 'r, 'r>(
12912 &mut self,
12913 node: &'ast ClassSelector,
12914 __ast_path: &mut AstNodePath<'r>,
12915 ) {
12916 <ClassSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12917 node, self, __ast_path,
12918 )
12919 }
12920 #[doc = "Visit a node of type `CmykComponent`.\n\nBy default, this method calls \
12921 [`CmykComponent::visit_children_with_ast_path`]. If you want to recurse, you need to \
12922 call it manually."]
12923 #[inline]
12924 fn visit_cmyk_component<'ast: 'r, 'r>(
12925 &mut self,
12926 node: &'ast CmykComponent,
12927 __ast_path: &mut AstNodePath<'r>,
12928 ) {
12929 <CmykComponent as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12930 node, self, __ast_path,
12931 )
12932 }
12933 #[doc = "Visit a node of type `Color`.\n\nBy default, this method calls \
12934 [`Color::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
12935 manually."]
12936 #[inline]
12937 fn visit_color<'ast: 'r, 'r>(&mut self, node: &'ast Color, __ast_path: &mut AstNodePath<'r>) {
12938 <Color as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12939 }
12940 #[doc = "Visit a node of type `ColorProfileName`.\n\nBy default, this method calls \
12941 [`ColorProfileName::visit_children_with_ast_path`]. If you want to recurse, you need \
12942 to call it manually."]
12943 #[inline]
12944 fn visit_color_profile_name<'ast: 'r, 'r>(
12945 &mut self,
12946 node: &'ast ColorProfileName,
12947 __ast_path: &mut AstNodePath<'r>,
12948 ) {
12949 <ColorProfileName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12950 node, self, __ast_path,
12951 )
12952 }
12953 #[doc = "Visit a node of type `Combinator`.\n\nBy default, this method calls \
12954 [`Combinator::visit_children_with_ast_path`]. If you want to recurse, you need to \
12955 call it manually."]
12956 #[inline]
12957 fn visit_combinator<'ast: 'r, 'r>(
12958 &mut self,
12959 node: &'ast Combinator,
12960 __ast_path: &mut AstNodePath<'r>,
12961 ) {
12962 <Combinator as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
12963 }
12964 #[doc = "Visit a node of type `CombinatorValue`.\n\nBy default, this method calls \
12965 [`CombinatorValue::visit_children_with_ast_path`]. If you want to recurse, you need \
12966 to call it manually."]
12967 #[inline]
12968 fn visit_combinator_value<'ast: 'r, 'r>(
12969 &mut self,
12970 node: &'ast CombinatorValue,
12971 __ast_path: &mut AstNodePath<'r>,
12972 ) {
12973 <CombinatorValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12974 node, self, __ast_path,
12975 )
12976 }
12977 #[doc = "Visit a node of type `ComplexSelector`.\n\nBy default, this method calls \
12978 [`ComplexSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
12979 to call it manually."]
12980 #[inline]
12981 fn visit_complex_selector<'ast: 'r, 'r>(
12982 &mut self,
12983 node: &'ast ComplexSelector,
12984 __ast_path: &mut AstNodePath<'r>,
12985 ) {
12986 <ComplexSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
12987 node, self, __ast_path,
12988 )
12989 }
12990 #[doc = "Visit a node of type `ComplexSelectorChildren`.\n\nBy default, this method calls \
12991 [`ComplexSelectorChildren::visit_children_with_ast_path`]. If you want to recurse, \
12992 you need to call it manually."]
12993 #[inline]
12994 fn visit_complex_selector_children<'ast: 'r, 'r>(
12995 &mut self,
12996 node: &'ast ComplexSelectorChildren,
12997 __ast_path: &mut AstNodePath<'r>,
12998 ) {
12999 <ComplexSelectorChildren as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13000 node, self, __ast_path,
13001 )
13002 }
13003 #[doc = "Visit a node of type `Vec < ComplexSelectorChildren >`.\n\nBy default, this method \
13004 calls [`Vec < ComplexSelectorChildren >::visit_children_with_ast_path`]. If you want \
13005 to recurse, you need to call it manually."]
13006 #[inline]
13007 fn visit_complex_selector_childrens<'ast: 'r, 'r>(
13008 &mut self,
13009 node: &'ast [ComplexSelectorChildren],
13010 __ast_path: &mut AstNodePath<'r>,
13011 ) {
13012 <[ComplexSelectorChildren] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13013 node, self, __ast_path,
13014 )
13015 }
13016 #[doc = "Visit a node of type `Vec < ComplexSelector >`.\n\nBy default, this method calls \
13017 [`Vec < ComplexSelector >::visit_children_with_ast_path`]. If you want to recurse, \
13018 you need to call it manually."]
13019 #[inline]
13020 fn visit_complex_selectors<'ast: 'r, 'r>(
13021 &mut self,
13022 node: &'ast [ComplexSelector],
13023 __ast_path: &mut AstNodePath<'r>,
13024 ) {
13025 <[ComplexSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13026 node, self, __ast_path,
13027 )
13028 }
13029 #[doc = "Visit a node of type `ComponentValue`.\n\nBy default, this method calls \
13030 [`ComponentValue::visit_children_with_ast_path`]. If you want to recurse, you need to \
13031 call it manually."]
13032 #[inline]
13033 fn visit_component_value<'ast: 'r, 'r>(
13034 &mut self,
13035 node: &'ast ComponentValue,
13036 __ast_path: &mut AstNodePath<'r>,
13037 ) {
13038 <ComponentValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13039 node, self, __ast_path,
13040 )
13041 }
13042 #[doc = "Visit a node of type `Vec < ComponentValue >`.\n\nBy default, this method calls [`Vec \
13043 < ComponentValue >::visit_children_with_ast_path`]. If you want to recurse, you need \
13044 to call it manually."]
13045 #[inline]
13046 fn visit_component_values<'ast: 'r, 'r>(
13047 &mut self,
13048 node: &'ast [ComponentValue],
13049 __ast_path: &mut AstNodePath<'r>,
13050 ) {
13051 <[ComponentValue] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13052 node, self, __ast_path,
13053 )
13054 }
13055 #[doc = "Visit a node of type `CompoundSelector`.\n\nBy default, this method calls \
13056 [`CompoundSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
13057 to call it manually."]
13058 #[inline]
13059 fn visit_compound_selector<'ast: 'r, 'r>(
13060 &mut self,
13061 node: &'ast CompoundSelector,
13062 __ast_path: &mut AstNodePath<'r>,
13063 ) {
13064 <CompoundSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13065 node, self, __ast_path,
13066 )
13067 }
13068 #[doc = "Visit a node of type `CompoundSelectorList`.\n\nBy default, this method calls \
13069 [`CompoundSelectorList::visit_children_with_ast_path`]. If you want to recurse, you \
13070 need to call it manually."]
13071 #[inline]
13072 fn visit_compound_selector_list<'ast: 'r, 'r>(
13073 &mut self,
13074 node: &'ast CompoundSelectorList,
13075 __ast_path: &mut AstNodePath<'r>,
13076 ) {
13077 <CompoundSelectorList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13078 node, self, __ast_path,
13079 )
13080 }
13081 #[doc = "Visit a node of type `Vec < CompoundSelector >`.\n\nBy default, this method calls \
13082 [`Vec < CompoundSelector >::visit_children_with_ast_path`]. If you want to recurse, \
13083 you need to call it manually."]
13084 #[inline]
13085 fn visit_compound_selectors<'ast: 'r, 'r>(
13086 &mut self,
13087 node: &'ast [CompoundSelector],
13088 __ast_path: &mut AstNodePath<'r>,
13089 ) {
13090 <[CompoundSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13091 node, self, __ast_path,
13092 )
13093 }
13094 #[doc = "Visit a node of type `ContainerCondition`.\n\nBy default, this method calls \
13095 [`ContainerCondition::visit_children_with_ast_path`]. If you want to recurse, you \
13096 need to call it manually."]
13097 #[inline]
13098 fn visit_container_condition<'ast: 'r, 'r>(
13099 &mut self,
13100 node: &'ast ContainerCondition,
13101 __ast_path: &mut AstNodePath<'r>,
13102 ) {
13103 <ContainerCondition as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13104 node, self, __ast_path,
13105 )
13106 }
13107 #[doc = "Visit a node of type `ContainerName`.\n\nBy default, this method calls \
13108 [`ContainerName::visit_children_with_ast_path`]. If you want to recurse, you need to \
13109 call it manually."]
13110 #[inline]
13111 fn visit_container_name<'ast: 'r, 'r>(
13112 &mut self,
13113 node: &'ast ContainerName,
13114 __ast_path: &mut AstNodePath<'r>,
13115 ) {
13116 <ContainerName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13117 node, self, __ast_path,
13118 )
13119 }
13120 #[doc = "Visit a node of type `ContainerQuery`.\n\nBy default, this method calls \
13121 [`ContainerQuery::visit_children_with_ast_path`]. If you want to recurse, you need to \
13122 call it manually."]
13123 #[inline]
13124 fn visit_container_query<'ast: 'r, 'r>(
13125 &mut self,
13126 node: &'ast ContainerQuery,
13127 __ast_path: &mut AstNodePath<'r>,
13128 ) {
13129 <ContainerQuery as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13130 node, self, __ast_path,
13131 )
13132 }
13133 #[doc = "Visit a node of type `ContainerQueryAnd`.\n\nBy default, this method calls \
13134 [`ContainerQueryAnd::visit_children_with_ast_path`]. If you want to recurse, you need \
13135 to call it manually."]
13136 #[inline]
13137 fn visit_container_query_and<'ast: 'r, 'r>(
13138 &mut self,
13139 node: &'ast ContainerQueryAnd,
13140 __ast_path: &mut AstNodePath<'r>,
13141 ) {
13142 <ContainerQueryAnd as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13143 node, self, __ast_path,
13144 )
13145 }
13146 #[doc = "Visit a node of type `ContainerQueryNot`.\n\nBy default, this method calls \
13147 [`ContainerQueryNot::visit_children_with_ast_path`]. If you want to recurse, you need \
13148 to call it manually."]
13149 #[inline]
13150 fn visit_container_query_not<'ast: 'r, 'r>(
13151 &mut self,
13152 node: &'ast ContainerQueryNot,
13153 __ast_path: &mut AstNodePath<'r>,
13154 ) {
13155 <ContainerQueryNot as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13156 node, self, __ast_path,
13157 )
13158 }
13159 #[doc = "Visit a node of type `ContainerQueryOr`.\n\nBy default, this method calls \
13160 [`ContainerQueryOr::visit_children_with_ast_path`]. If you want to recurse, you need \
13161 to call it manually."]
13162 #[inline]
13163 fn visit_container_query_or<'ast: 'r, 'r>(
13164 &mut self,
13165 node: &'ast ContainerQueryOr,
13166 __ast_path: &mut AstNodePath<'r>,
13167 ) {
13168 <ContainerQueryOr as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13169 node, self, __ast_path,
13170 )
13171 }
13172 #[doc = "Visit a node of type `ContainerQueryType`.\n\nBy default, this method calls \
13173 [`ContainerQueryType::visit_children_with_ast_path`]. If you want to recurse, you \
13174 need to call it manually."]
13175 #[inline]
13176 fn visit_container_query_type<'ast: 'r, 'r>(
13177 &mut self,
13178 node: &'ast ContainerQueryType,
13179 __ast_path: &mut AstNodePath<'r>,
13180 ) {
13181 <ContainerQueryType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13182 node, self, __ast_path,
13183 )
13184 }
13185 #[doc = "Visit a node of type `Vec < ContainerQueryType >`.\n\nBy default, this method calls \
13186 [`Vec < ContainerQueryType >::visit_children_with_ast_path`]. If you want to recurse, \
13187 you need to call it manually."]
13188 #[inline]
13189 fn visit_container_query_types<'ast: 'r, 'r>(
13190 &mut self,
13191 node: &'ast [ContainerQueryType],
13192 __ast_path: &mut AstNodePath<'r>,
13193 ) {
13194 <[ContainerQueryType] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13195 node, self, __ast_path,
13196 )
13197 }
13198 #[doc = "Visit a node of type `CustomHighlightName`.\n\nBy default, this method calls \
13199 [`CustomHighlightName::visit_children_with_ast_path`]. If you want to recurse, you \
13200 need to call it manually."]
13201 #[inline]
13202 fn visit_custom_highlight_name<'ast: 'r, 'r>(
13203 &mut self,
13204 node: &'ast CustomHighlightName,
13205 __ast_path: &mut AstNodePath<'r>,
13206 ) {
13207 <CustomHighlightName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13208 node, self, __ast_path,
13209 )
13210 }
13211 #[doc = "Visit a node of type `CustomIdent`.\n\nBy default, this method calls \
13212 [`CustomIdent::visit_children_with_ast_path`]. If you want to recurse, you need to \
13213 call it manually."]
13214 #[inline]
13215 fn visit_custom_ident<'ast: 'r, 'r>(
13216 &mut self,
13217 node: &'ast CustomIdent,
13218 __ast_path: &mut AstNodePath<'r>,
13219 ) {
13220 <CustomIdent as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13221 node, self, __ast_path,
13222 )
13223 }
13224 #[doc = "Visit a node of type `Vec < CustomIdent >`.\n\nBy default, this method calls [`Vec < \
13225 CustomIdent >::visit_children_with_ast_path`]. If you want to recurse, you need to \
13226 call it manually."]
13227 #[inline]
13228 fn visit_custom_idents<'ast: 'r, 'r>(
13229 &mut self,
13230 node: &'ast [CustomIdent],
13231 __ast_path: &mut AstNodePath<'r>,
13232 ) {
13233 <[CustomIdent] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13234 node, self, __ast_path,
13235 )
13236 }
13237 #[doc = "Visit a node of type `CustomMediaQuery`.\n\nBy default, this method calls \
13238 [`CustomMediaQuery::visit_children_with_ast_path`]. If you want to recurse, you need \
13239 to call it manually."]
13240 #[inline]
13241 fn visit_custom_media_query<'ast: 'r, 'r>(
13242 &mut self,
13243 node: &'ast CustomMediaQuery,
13244 __ast_path: &mut AstNodePath<'r>,
13245 ) {
13246 <CustomMediaQuery as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13247 node, self, __ast_path,
13248 )
13249 }
13250 #[doc = "Visit a node of type `CustomMediaQueryMediaType`.\n\nBy default, this method calls \
13251 [`CustomMediaQueryMediaType::visit_children_with_ast_path`]. If you want to recurse, \
13252 you need to call it manually."]
13253 #[inline]
13254 fn visit_custom_media_query_media_type<'ast: 'r, 'r>(
13255 &mut self,
13256 node: &'ast CustomMediaQueryMediaType,
13257 __ast_path: &mut AstNodePath<'r>,
13258 ) {
13259 <CustomMediaQueryMediaType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13260 node, self, __ast_path,
13261 )
13262 }
13263 #[doc = "Visit a node of type `CustomPropertyName`.\n\nBy default, this method calls \
13264 [`CustomPropertyName::visit_children_with_ast_path`]. If you want to recurse, you \
13265 need to call it manually."]
13266 #[inline]
13267 fn visit_custom_property_name<'ast: 'r, 'r>(
13268 &mut self,
13269 node: &'ast CustomPropertyName,
13270 __ast_path: &mut AstNodePath<'r>,
13271 ) {
13272 <CustomPropertyName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13273 node, self, __ast_path,
13274 )
13275 }
13276 #[doc = "Visit a node of type `DashedIdent`.\n\nBy default, this method calls \
13277 [`DashedIdent::visit_children_with_ast_path`]. If you want to recurse, you need to \
13278 call it manually."]
13279 #[inline]
13280 fn visit_dashed_ident<'ast: 'r, 'r>(
13281 &mut self,
13282 node: &'ast DashedIdent,
13283 __ast_path: &mut AstNodePath<'r>,
13284 ) {
13285 <DashedIdent as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13286 node, self, __ast_path,
13287 )
13288 }
13289 #[doc = "Visit a node of type `Declaration`.\n\nBy default, this method calls \
13290 [`Declaration::visit_children_with_ast_path`]. If you want to recurse, you need to \
13291 call it manually."]
13292 #[inline]
13293 fn visit_declaration<'ast: 'r, 'r>(
13294 &mut self,
13295 node: &'ast Declaration,
13296 __ast_path: &mut AstNodePath<'r>,
13297 ) {
13298 <Declaration as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13299 node, self, __ast_path,
13300 )
13301 }
13302 #[doc = "Visit a node of type `DeclarationName`.\n\nBy default, this method calls \
13303 [`DeclarationName::visit_children_with_ast_path`]. If you want to recurse, you need \
13304 to call it manually."]
13305 #[inline]
13306 fn visit_declaration_name<'ast: 'r, 'r>(
13307 &mut self,
13308 node: &'ast DeclarationName,
13309 __ast_path: &mut AstNodePath<'r>,
13310 ) {
13311 <DeclarationName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13312 node, self, __ast_path,
13313 )
13314 }
13315 #[doc = "Visit a node of type `DeclarationOrAtRule`.\n\nBy default, this method calls \
13316 [`DeclarationOrAtRule::visit_children_with_ast_path`]. If you want to recurse, you \
13317 need to call it manually."]
13318 #[inline]
13319 fn visit_declaration_or_at_rule<'ast: 'r, 'r>(
13320 &mut self,
13321 node: &'ast DeclarationOrAtRule,
13322 __ast_path: &mut AstNodePath<'r>,
13323 ) {
13324 <DeclarationOrAtRule as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13325 node, self, __ast_path,
13326 )
13327 }
13328 #[doc = "Visit a node of type `Delimiter`.\n\nBy default, this method calls \
13329 [`Delimiter::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13330 it manually."]
13331 #[inline]
13332 fn visit_delimiter<'ast: 'r, 'r>(
13333 &mut self,
13334 node: &'ast Delimiter,
13335 __ast_path: &mut AstNodePath<'r>,
13336 ) {
13337 <Delimiter as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13338 }
13339 #[doc = "Visit a node of type `DelimiterValue`.\n\nBy default, this method calls \
13340 [`DelimiterValue::visit_children_with_ast_path`]. If you want to recurse, you need to \
13341 call it manually."]
13342 #[inline]
13343 fn visit_delimiter_value<'ast: 'r, 'r>(
13344 &mut self,
13345 node: &'ast DelimiterValue,
13346 __ast_path: &mut AstNodePath<'r>,
13347 ) {
13348 <DelimiterValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13349 node, self, __ast_path,
13350 )
13351 }
13352 #[doc = "Visit a node of type `Dimension`.\n\nBy default, this method calls \
13353 [`Dimension::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13354 it manually."]
13355 #[inline]
13356 fn visit_dimension<'ast: 'r, 'r>(
13357 &mut self,
13358 node: &'ast Dimension,
13359 __ast_path: &mut AstNodePath<'r>,
13360 ) {
13361 <Dimension as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13362 }
13363 #[doc = "Visit a node of type `DimensionToken`.\n\nBy default, this method calls \
13364 [`DimensionToken::visit_children_with_ast_path`]. If you want to recurse, you need to \
13365 call it manually."]
13366 #[inline]
13367 fn visit_dimension_token<'ast: 'r, 'r>(
13368 &mut self,
13369 node: &'ast DimensionToken,
13370 __ast_path: &mut AstNodePath<'r>,
13371 ) {
13372 <DimensionToken as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13373 node, self, __ast_path,
13374 )
13375 }
13376 #[doc = "Visit a node of type `DocumentPrelude`.\n\nBy default, this method calls \
13377 [`DocumentPrelude::visit_children_with_ast_path`]. If you want to recurse, you need \
13378 to call it manually."]
13379 #[inline]
13380 fn visit_document_prelude<'ast: 'r, 'r>(
13381 &mut self,
13382 node: &'ast DocumentPrelude,
13383 __ast_path: &mut AstNodePath<'r>,
13384 ) {
13385 <DocumentPrelude as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13386 node, self, __ast_path,
13387 )
13388 }
13389 #[doc = "Visit a node of type `DocumentPreludeMatchingFunction`.\n\nBy default, this method \
13390 calls [`DocumentPreludeMatchingFunction::visit_children_with_ast_path`]. If you want \
13391 to recurse, you need to call it manually."]
13392 #[inline]
13393 fn visit_document_prelude_matching_function<'ast: 'r, 'r>(
13394 &mut self,
13395 node: &'ast DocumentPreludeMatchingFunction,
13396 __ast_path: &mut AstNodePath<'r>,
13397 ) {
13398 <DocumentPreludeMatchingFunction as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13399 node, self, __ast_path,
13400 )
13401 }
13402 #[doc = "Visit a node of type `Vec < DocumentPreludeMatchingFunction >`.\n\nBy default, this \
13403 method calls [`Vec < DocumentPreludeMatchingFunction \
13404 >::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
13405 manually."]
13406 #[inline]
13407 fn visit_document_prelude_matching_functions<'ast: 'r, 'r>(
13408 &mut self,
13409 node: &'ast [DocumentPreludeMatchingFunction],
13410 __ast_path: &mut AstNodePath<'r>,
13411 ) {
13412 <[DocumentPreludeMatchingFunction] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13413 node, self, __ast_path,
13414 )
13415 }
13416 #[doc = "Visit a node of type `ExtensionName`.\n\nBy default, this method calls \
13417 [`ExtensionName::visit_children_with_ast_path`]. If you want to recurse, you need to \
13418 call it manually."]
13419 #[inline]
13420 fn visit_extension_name<'ast: 'r, 'r>(
13421 &mut self,
13422 node: &'ast ExtensionName,
13423 __ast_path: &mut AstNodePath<'r>,
13424 ) {
13425 <ExtensionName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13426 node, self, __ast_path,
13427 )
13428 }
13429 #[doc = "Visit a node of type `FamilyName`.\n\nBy default, this method calls \
13430 [`FamilyName::visit_children_with_ast_path`]. If you want to recurse, you need to \
13431 call it manually."]
13432 #[inline]
13433 fn visit_family_name<'ast: 'r, 'r>(
13434 &mut self,
13435 node: &'ast FamilyName,
13436 __ast_path: &mut AstNodePath<'r>,
13437 ) {
13438 <FamilyName as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13439 }
13440 #[doc = "Visit a node of type `Vec < FamilyName >`.\n\nBy default, this method calls [`Vec < \
13441 FamilyName >::visit_children_with_ast_path`]. If you want to recurse, you need to \
13442 call it manually."]
13443 #[inline]
13444 fn visit_family_names<'ast: 'r, 'r>(
13445 &mut self,
13446 node: &'ast [FamilyName],
13447 __ast_path: &mut AstNodePath<'r>,
13448 ) {
13449 <[FamilyName] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13450 node, self, __ast_path,
13451 )
13452 }
13453 #[doc = "Visit a node of type `Flex`.\n\nBy default, this method calls \
13454 [`Flex::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
13455 manually."]
13456 #[inline]
13457 fn visit_flex<'ast: 'r, 'r>(&mut self, node: &'ast Flex, __ast_path: &mut AstNodePath<'r>) {
13458 <Flex as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13459 }
13460 #[doc = "Visit a node of type `FontFeatureValuesPrelude`.\n\nBy default, this method calls \
13461 [`FontFeatureValuesPrelude::visit_children_with_ast_path`]. If you want to recurse, \
13462 you need to call it manually."]
13463 #[inline]
13464 fn visit_font_feature_values_prelude<'ast: 'r, 'r>(
13465 &mut self,
13466 node: &'ast FontFeatureValuesPrelude,
13467 __ast_path: &mut AstNodePath<'r>,
13468 ) {
13469 <FontFeatureValuesPrelude as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13470 node, self, __ast_path,
13471 )
13472 }
13473 #[doc = "Visit a node of type `ForgivingComplexSelector`.\n\nBy default, this method calls \
13474 [`ForgivingComplexSelector::visit_children_with_ast_path`]. If you want to recurse, \
13475 you need to call it manually."]
13476 #[inline]
13477 fn visit_forgiving_complex_selector<'ast: 'r, 'r>(
13478 &mut self,
13479 node: &'ast ForgivingComplexSelector,
13480 __ast_path: &mut AstNodePath<'r>,
13481 ) {
13482 <ForgivingComplexSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13483 node, self, __ast_path,
13484 )
13485 }
13486 #[doc = "Visit a node of type `Vec < ForgivingComplexSelector >`.\n\nBy default, this method \
13487 calls [`Vec < ForgivingComplexSelector >::visit_children_with_ast_path`]. If you want \
13488 to recurse, you need to call it manually."]
13489 #[inline]
13490 fn visit_forgiving_complex_selectors<'ast: 'r, 'r>(
13491 &mut self,
13492 node: &'ast [ForgivingComplexSelector],
13493 __ast_path: &mut AstNodePath<'r>,
13494 ) {
13495 <[ForgivingComplexSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13496 node, self, __ast_path,
13497 )
13498 }
13499 #[doc = "Visit a node of type `ForgivingRelativeSelector`.\n\nBy default, this method calls \
13500 [`ForgivingRelativeSelector::visit_children_with_ast_path`]. If you want to recurse, \
13501 you need to call it manually."]
13502 #[inline]
13503 fn visit_forgiving_relative_selector<'ast: 'r, 'r>(
13504 &mut self,
13505 node: &'ast ForgivingRelativeSelector,
13506 __ast_path: &mut AstNodePath<'r>,
13507 ) {
13508 <ForgivingRelativeSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13509 node, self, __ast_path,
13510 )
13511 }
13512 #[doc = "Visit a node of type `ForgivingRelativeSelectorList`.\n\nBy default, this method \
13513 calls [`ForgivingRelativeSelectorList::visit_children_with_ast_path`]. If you want to \
13514 recurse, you need to call it manually."]
13515 #[inline]
13516 fn visit_forgiving_relative_selector_list<'ast: 'r, 'r>(
13517 &mut self,
13518 node: &'ast ForgivingRelativeSelectorList,
13519 __ast_path: &mut AstNodePath<'r>,
13520 ) {
13521 <ForgivingRelativeSelectorList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13522 node, self, __ast_path,
13523 )
13524 }
13525 #[doc = "Visit a node of type `Vec < ForgivingRelativeSelector >`.\n\nBy default, this method \
13526 calls [`Vec < ForgivingRelativeSelector >::visit_children_with_ast_path`]. If you \
13527 want to recurse, you need to call it manually."]
13528 #[inline]
13529 fn visit_forgiving_relative_selectors<'ast: 'r, 'r>(
13530 &mut self,
13531 node: &'ast [ForgivingRelativeSelector],
13532 __ast_path: &mut AstNodePath<'r>,
13533 ) {
13534 <[ForgivingRelativeSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13535 node, self, __ast_path,
13536 )
13537 }
13538 #[doc = "Visit a node of type `ForgivingSelectorList`.\n\nBy default, this method calls \
13539 [`ForgivingSelectorList::visit_children_with_ast_path`]. If you want to recurse, you \
13540 need to call it manually."]
13541 #[inline]
13542 fn visit_forgiving_selector_list<'ast: 'r, 'r>(
13543 &mut self,
13544 node: &'ast ForgivingSelectorList,
13545 __ast_path: &mut AstNodePath<'r>,
13546 ) {
13547 <ForgivingSelectorList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13548 node, self, __ast_path,
13549 )
13550 }
13551 #[doc = "Visit a node of type `Frequency`.\n\nBy default, this method calls \
13552 [`Frequency::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13553 it manually."]
13554 #[inline]
13555 fn visit_frequency<'ast: 'r, 'r>(
13556 &mut self,
13557 node: &'ast Frequency,
13558 __ast_path: &mut AstNodePath<'r>,
13559 ) {
13560 <Frequency as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13561 }
13562 #[doc = "Visit a node of type `FrequencyPercentage`.\n\nBy default, this method calls \
13563 [`FrequencyPercentage::visit_children_with_ast_path`]. If you want to recurse, you \
13564 need to call it manually."]
13565 #[inline]
13566 fn visit_frequency_percentage<'ast: 'r, 'r>(
13567 &mut self,
13568 node: &'ast FrequencyPercentage,
13569 __ast_path: &mut AstNodePath<'r>,
13570 ) {
13571 <FrequencyPercentage as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13572 node, self, __ast_path,
13573 )
13574 }
13575 #[doc = "Visit a node of type `Function`.\n\nBy default, this method calls \
13576 [`Function::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13577 it manually."]
13578 #[inline]
13579 fn visit_function<'ast: 'r, 'r>(
13580 &mut self,
13581 node: &'ast Function,
13582 __ast_path: &mut AstNodePath<'r>,
13583 ) {
13584 <Function as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13585 }
13586 #[doc = "Visit a node of type `FunctionName`.\n\nBy default, this method calls \
13587 [`FunctionName::visit_children_with_ast_path`]. If you want to recurse, you need to \
13588 call it manually."]
13589 #[inline]
13590 fn visit_function_name<'ast: 'r, 'r>(
13591 &mut self,
13592 node: &'ast FunctionName,
13593 __ast_path: &mut AstNodePath<'r>,
13594 ) {
13595 <FunctionName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13596 node, self, __ast_path,
13597 )
13598 }
13599 #[doc = "Visit a node of type `GeneralEnclosed`.\n\nBy default, this method calls \
13600 [`GeneralEnclosed::visit_children_with_ast_path`]. If you want to recurse, you need \
13601 to call it manually."]
13602 #[inline]
13603 fn visit_general_enclosed<'ast: 'r, 'r>(
13604 &mut self,
13605 node: &'ast GeneralEnclosed,
13606 __ast_path: &mut AstNodePath<'r>,
13607 ) {
13608 <GeneralEnclosed as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13609 node, self, __ast_path,
13610 )
13611 }
13612 #[doc = "Visit a node of type `HexColor`.\n\nBy default, this method calls \
13613 [`HexColor::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13614 it manually."]
13615 #[inline]
13616 fn visit_hex_color<'ast: 'r, 'r>(
13617 &mut self,
13618 node: &'ast HexColor,
13619 __ast_path: &mut AstNodePath<'r>,
13620 ) {
13621 <HexColor as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13622 }
13623 #[doc = "Visit a node of type `Hue`.\n\nBy default, this method calls \
13624 [`Hue::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
13625 manually."]
13626 #[inline]
13627 fn visit_hue<'ast: 'r, 'r>(&mut self, node: &'ast Hue, __ast_path: &mut AstNodePath<'r>) {
13628 <Hue as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13629 }
13630 #[doc = "Visit a node of type `IdSelector`.\n\nBy default, this method calls \
13631 [`IdSelector::visit_children_with_ast_path`]. If you want to recurse, you need to \
13632 call it manually."]
13633 #[inline]
13634 fn visit_id_selector<'ast: 'r, 'r>(
13635 &mut self,
13636 node: &'ast IdSelector,
13637 __ast_path: &mut AstNodePath<'r>,
13638 ) {
13639 <IdSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13640 }
13641 #[doc = "Visit a node of type `Ident`.\n\nBy default, this method calls \
13642 [`Ident::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
13643 manually."]
13644 #[inline]
13645 fn visit_ident<'ast: 'r, 'r>(&mut self, node: &'ast Ident, __ast_path: &mut AstNodePath<'r>) {
13646 <Ident as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13647 }
13648 #[doc = "Visit a node of type `Vec < Ident >`.\n\nBy default, this method calls [`Vec < Ident \
13649 >::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
13650 manually."]
13651 #[inline]
13652 fn visit_idents<'ast: 'r, 'r>(
13653 &mut self,
13654 node: &'ast [Ident],
13655 __ast_path: &mut AstNodePath<'r>,
13656 ) {
13657 <[Ident] as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13658 }
13659 #[doc = "Visit a node of type `ImportConditions`.\n\nBy default, this method calls \
13660 [`ImportConditions::visit_children_with_ast_path`]. If you want to recurse, you need \
13661 to call it manually."]
13662 #[inline]
13663 fn visit_import_conditions<'ast: 'r, 'r>(
13664 &mut self,
13665 node: &'ast ImportConditions,
13666 __ast_path: &mut AstNodePath<'r>,
13667 ) {
13668 <ImportConditions as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13669 node, self, __ast_path,
13670 )
13671 }
13672 #[doc = "Visit a node of type `ImportHref`.\n\nBy default, this method calls \
13673 [`ImportHref::visit_children_with_ast_path`]. If you want to recurse, you need to \
13674 call it manually."]
13675 #[inline]
13676 fn visit_import_href<'ast: 'r, 'r>(
13677 &mut self,
13678 node: &'ast ImportHref,
13679 __ast_path: &mut AstNodePath<'r>,
13680 ) {
13681 <ImportHref as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13682 }
13683 #[doc = "Visit a node of type `ImportLayerName`.\n\nBy default, this method calls \
13684 [`ImportLayerName::visit_children_with_ast_path`]. If you want to recurse, you need \
13685 to call it manually."]
13686 #[inline]
13687 fn visit_import_layer_name<'ast: 'r, 'r>(
13688 &mut self,
13689 node: &'ast ImportLayerName,
13690 __ast_path: &mut AstNodePath<'r>,
13691 ) {
13692 <ImportLayerName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13693 node, self, __ast_path,
13694 )
13695 }
13696 #[doc = "Visit a node of type `ImportPrelude`.\n\nBy default, this method calls \
13697 [`ImportPrelude::visit_children_with_ast_path`]. If you want to recurse, you need to \
13698 call it manually."]
13699 #[inline]
13700 fn visit_import_prelude<'ast: 'r, 'r>(
13701 &mut self,
13702 node: &'ast ImportPrelude,
13703 __ast_path: &mut AstNodePath<'r>,
13704 ) {
13705 <ImportPrelude as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13706 node, self, __ast_path,
13707 )
13708 }
13709 #[doc = "Visit a node of type `ImportantFlag`.\n\nBy default, this method calls \
13710 [`ImportantFlag::visit_children_with_ast_path`]. If you want to recurse, you need to \
13711 call it manually."]
13712 #[inline]
13713 fn visit_important_flag<'ast: 'r, 'r>(
13714 &mut self,
13715 node: &'ast ImportantFlag,
13716 __ast_path: &mut AstNodePath<'r>,
13717 ) {
13718 <ImportantFlag as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13719 node, self, __ast_path,
13720 )
13721 }
13722 #[doc = "Visit a node of type `Integer`.\n\nBy default, this method calls \
13723 [`Integer::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13724 it manually."]
13725 #[inline]
13726 fn visit_integer<'ast: 'r, 'r>(
13727 &mut self,
13728 node: &'ast Integer,
13729 __ast_path: &mut AstNodePath<'r>,
13730 ) {
13731 <Integer as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13732 }
13733 #[doc = "Visit a node of type `KeyframeBlock`.\n\nBy default, this method calls \
13734 [`KeyframeBlock::visit_children_with_ast_path`]. If you want to recurse, you need to \
13735 call it manually."]
13736 #[inline]
13737 fn visit_keyframe_block<'ast: 'r, 'r>(
13738 &mut self,
13739 node: &'ast KeyframeBlock,
13740 __ast_path: &mut AstNodePath<'r>,
13741 ) {
13742 <KeyframeBlock as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13743 node, self, __ast_path,
13744 )
13745 }
13746 #[doc = "Visit a node of type `KeyframeSelector`.\n\nBy default, this method calls \
13747 [`KeyframeSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
13748 to call it manually."]
13749 #[inline]
13750 fn visit_keyframe_selector<'ast: 'r, 'r>(
13751 &mut self,
13752 node: &'ast KeyframeSelector,
13753 __ast_path: &mut AstNodePath<'r>,
13754 ) {
13755 <KeyframeSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13756 node, self, __ast_path,
13757 )
13758 }
13759 #[doc = "Visit a node of type `Vec < KeyframeSelector >`.\n\nBy default, this method calls \
13760 [`Vec < KeyframeSelector >::visit_children_with_ast_path`]. If you want to recurse, \
13761 you need to call it manually."]
13762 #[inline]
13763 fn visit_keyframe_selectors<'ast: 'r, 'r>(
13764 &mut self,
13765 node: &'ast [KeyframeSelector],
13766 __ast_path: &mut AstNodePath<'r>,
13767 ) {
13768 <[KeyframeSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13769 node, self, __ast_path,
13770 )
13771 }
13772 #[doc = "Visit a node of type `KeyframesName`.\n\nBy default, this method calls \
13773 [`KeyframesName::visit_children_with_ast_path`]. If you want to recurse, you need to \
13774 call it manually."]
13775 #[inline]
13776 fn visit_keyframes_name<'ast: 'r, 'r>(
13777 &mut self,
13778 node: &'ast KeyframesName,
13779 __ast_path: &mut AstNodePath<'r>,
13780 ) {
13781 <KeyframesName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13782 node, self, __ast_path,
13783 )
13784 }
13785 #[doc = "Visit a node of type `KeyframesPseudoFunction`.\n\nBy default, this method calls \
13786 [`KeyframesPseudoFunction::visit_children_with_ast_path`]. If you want to recurse, \
13787 you need to call it manually."]
13788 #[inline]
13789 fn visit_keyframes_pseudo_function<'ast: 'r, 'r>(
13790 &mut self,
13791 node: &'ast KeyframesPseudoFunction,
13792 __ast_path: &mut AstNodePath<'r>,
13793 ) {
13794 <KeyframesPseudoFunction as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13795 node, self, __ast_path,
13796 )
13797 }
13798 #[doc = "Visit a node of type `KeyframesPseudoPrefix`.\n\nBy default, this method calls \
13799 [`KeyframesPseudoPrefix::visit_children_with_ast_path`]. If you want to recurse, you \
13800 need to call it manually."]
13801 #[inline]
13802 fn visit_keyframes_pseudo_prefix<'ast: 'r, 'r>(
13803 &mut self,
13804 node: &'ast KeyframesPseudoPrefix,
13805 __ast_path: &mut AstNodePath<'r>,
13806 ) {
13807 <KeyframesPseudoPrefix as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13808 node, self, __ast_path,
13809 )
13810 }
13811 #[doc = "Visit a node of type `LayerName`.\n\nBy default, this method calls \
13812 [`LayerName::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13813 it manually."]
13814 #[inline]
13815 fn visit_layer_name<'ast: 'r, 'r>(
13816 &mut self,
13817 node: &'ast LayerName,
13818 __ast_path: &mut AstNodePath<'r>,
13819 ) {
13820 <LayerName as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13821 }
13822 #[doc = "Visit a node of type `LayerNameList`.\n\nBy default, this method calls \
13823 [`LayerNameList::visit_children_with_ast_path`]. If you want to recurse, you need to \
13824 call it manually."]
13825 #[inline]
13826 fn visit_layer_name_list<'ast: 'r, 'r>(
13827 &mut self,
13828 node: &'ast LayerNameList,
13829 __ast_path: &mut AstNodePath<'r>,
13830 ) {
13831 <LayerNameList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13832 node, self, __ast_path,
13833 )
13834 }
13835 #[doc = "Visit a node of type `Vec < LayerName >`.\n\nBy default, this method calls [`Vec < \
13836 LayerName >::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13837 it manually."]
13838 #[inline]
13839 fn visit_layer_names<'ast: 'r, 'r>(
13840 &mut self,
13841 node: &'ast [LayerName],
13842 __ast_path: &mut AstNodePath<'r>,
13843 ) {
13844 <[LayerName] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13845 node, self, __ast_path,
13846 )
13847 }
13848 #[doc = "Visit a node of type `LayerPrelude`.\n\nBy default, this method calls \
13849 [`LayerPrelude::visit_children_with_ast_path`]. If you want to recurse, you need to \
13850 call it manually."]
13851 #[inline]
13852 fn visit_layer_prelude<'ast: 'r, 'r>(
13853 &mut self,
13854 node: &'ast LayerPrelude,
13855 __ast_path: &mut AstNodePath<'r>,
13856 ) {
13857 <LayerPrelude as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13858 node, self, __ast_path,
13859 )
13860 }
13861 #[doc = "Visit a node of type `Length`.\n\nBy default, this method calls \
13862 [`Length::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
13863 manually."]
13864 #[inline]
13865 fn visit_length<'ast: 'r, 'r>(&mut self, node: &'ast Length, __ast_path: &mut AstNodePath<'r>) {
13866 <Length as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13867 }
13868 #[doc = "Visit a node of type `LengthPercentage`.\n\nBy default, this method calls \
13869 [`LengthPercentage::visit_children_with_ast_path`]. If you want to recurse, you need \
13870 to call it manually."]
13871 #[inline]
13872 fn visit_length_percentage<'ast: 'r, 'r>(
13873 &mut self,
13874 node: &'ast LengthPercentage,
13875 __ast_path: &mut AstNodePath<'r>,
13876 ) {
13877 <LengthPercentage as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13878 node, self, __ast_path,
13879 )
13880 }
13881 #[doc = "Visit a node of type `ListOfComponentValues`.\n\nBy default, this method calls \
13882 [`ListOfComponentValues::visit_children_with_ast_path`]. If you want to recurse, you \
13883 need to call it manually."]
13884 #[inline]
13885 fn visit_list_of_component_values<'ast: 'r, 'r>(
13886 &mut self,
13887 node: &'ast ListOfComponentValues,
13888 __ast_path: &mut AstNodePath<'r>,
13889 ) {
13890 <ListOfComponentValues as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13891 node, self, __ast_path,
13892 )
13893 }
13894 #[doc = "Visit a node of type `MediaAnd`.\n\nBy default, this method calls \
13895 [`MediaAnd::visit_children_with_ast_path`]. If you want to recurse, you need to call \
13896 it manually."]
13897 #[inline]
13898 fn visit_media_and<'ast: 'r, 'r>(
13899 &mut self,
13900 node: &'ast MediaAnd,
13901 __ast_path: &mut AstNodePath<'r>,
13902 ) {
13903 <MediaAnd as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
13904 }
13905 #[doc = "Visit a node of type `MediaCondition`.\n\nBy default, this method calls \
13906 [`MediaCondition::visit_children_with_ast_path`]. If you want to recurse, you need to \
13907 call it manually."]
13908 #[inline]
13909 fn visit_media_condition<'ast: 'r, 'r>(
13910 &mut self,
13911 node: &'ast MediaCondition,
13912 __ast_path: &mut AstNodePath<'r>,
13913 ) {
13914 <MediaCondition as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13915 node, self, __ast_path,
13916 )
13917 }
13918 #[doc = "Visit a node of type `MediaConditionAllType`.\n\nBy default, this method calls \
13919 [`MediaConditionAllType::visit_children_with_ast_path`]. If you want to recurse, you \
13920 need to call it manually."]
13921 #[inline]
13922 fn visit_media_condition_all_type<'ast: 'r, 'r>(
13923 &mut self,
13924 node: &'ast MediaConditionAllType,
13925 __ast_path: &mut AstNodePath<'r>,
13926 ) {
13927 <MediaConditionAllType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13928 node, self, __ast_path,
13929 )
13930 }
13931 #[doc = "Visit a node of type `Vec < MediaConditionAllType >`.\n\nBy default, this method \
13932 calls [`Vec < MediaConditionAllType >::visit_children_with_ast_path`]. If you want to \
13933 recurse, you need to call it manually."]
13934 #[inline]
13935 fn visit_media_condition_all_types<'ast: 'r, 'r>(
13936 &mut self,
13937 node: &'ast [MediaConditionAllType],
13938 __ast_path: &mut AstNodePath<'r>,
13939 ) {
13940 <[MediaConditionAllType] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13941 node, self, __ast_path,
13942 )
13943 }
13944 #[doc = "Visit a node of type `MediaConditionType`.\n\nBy default, this method calls \
13945 [`MediaConditionType::visit_children_with_ast_path`]. If you want to recurse, you \
13946 need to call it manually."]
13947 #[inline]
13948 fn visit_media_condition_type<'ast: 'r, 'r>(
13949 &mut self,
13950 node: &'ast MediaConditionType,
13951 __ast_path: &mut AstNodePath<'r>,
13952 ) {
13953 <MediaConditionType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13954 node, self, __ast_path,
13955 )
13956 }
13957 #[doc = "Visit a node of type `MediaConditionWithoutOr`.\n\nBy default, this method calls \
13958 [`MediaConditionWithoutOr::visit_children_with_ast_path`]. If you want to recurse, \
13959 you need to call it manually."]
13960 #[inline]
13961 fn visit_media_condition_without_or<'ast: 'r, 'r>(
13962 &mut self,
13963 node: &'ast MediaConditionWithoutOr,
13964 __ast_path: &mut AstNodePath<'r>,
13965 ) {
13966 <MediaConditionWithoutOr as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13967 node, self, __ast_path,
13968 )
13969 }
13970 #[doc = "Visit a node of type `MediaConditionWithoutOrType`.\n\nBy default, this method calls \
13971 [`MediaConditionWithoutOrType::visit_children_with_ast_path`]. If you want to \
13972 recurse, you need to call it manually."]
13973 #[inline]
13974 fn visit_media_condition_without_or_type<'ast: 'r, 'r>(
13975 &mut self,
13976 node: &'ast MediaConditionWithoutOrType,
13977 __ast_path: &mut AstNodePath<'r>,
13978 ) {
13979 <MediaConditionWithoutOrType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13980 node, self, __ast_path,
13981 )
13982 }
13983 #[doc = "Visit a node of type `Vec < MediaConditionWithoutOrType >`.\n\nBy default, this \
13984 method calls [`Vec < MediaConditionWithoutOrType >::visit_children_with_ast_path`]. \
13985 If you want to recurse, you need to call it manually."]
13986 #[inline]
13987 fn visit_media_condition_without_or_types<'ast: 'r, 'r>(
13988 &mut self,
13989 node: &'ast [MediaConditionWithoutOrType],
13990 __ast_path: &mut AstNodePath<'r>,
13991 ) {
13992 <[MediaConditionWithoutOrType] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
13993 node, self, __ast_path,
13994 )
13995 }
13996 #[doc = "Visit a node of type `MediaFeature`.\n\nBy default, this method calls \
13997 [`MediaFeature::visit_children_with_ast_path`]. If you want to recurse, you need to \
13998 call it manually."]
13999 #[inline]
14000 fn visit_media_feature<'ast: 'r, 'r>(
14001 &mut self,
14002 node: &'ast MediaFeature,
14003 __ast_path: &mut AstNodePath<'r>,
14004 ) {
14005 <MediaFeature as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14006 node, self, __ast_path,
14007 )
14008 }
14009 #[doc = "Visit a node of type `MediaFeatureBoolean`.\n\nBy default, this method calls \
14010 [`MediaFeatureBoolean::visit_children_with_ast_path`]. If you want to recurse, you \
14011 need to call it manually."]
14012 #[inline]
14013 fn visit_media_feature_boolean<'ast: 'r, 'r>(
14014 &mut self,
14015 node: &'ast MediaFeatureBoolean,
14016 __ast_path: &mut AstNodePath<'r>,
14017 ) {
14018 <MediaFeatureBoolean as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14019 node, self, __ast_path,
14020 )
14021 }
14022 #[doc = "Visit a node of type `MediaFeatureName`.\n\nBy default, this method calls \
14023 [`MediaFeatureName::visit_children_with_ast_path`]. If you want to recurse, you need \
14024 to call it manually."]
14025 #[inline]
14026 fn visit_media_feature_name<'ast: 'r, 'r>(
14027 &mut self,
14028 node: &'ast MediaFeatureName,
14029 __ast_path: &mut AstNodePath<'r>,
14030 ) {
14031 <MediaFeatureName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14032 node, self, __ast_path,
14033 )
14034 }
14035 #[doc = "Visit a node of type `MediaFeaturePlain`.\n\nBy default, this method calls \
14036 [`MediaFeaturePlain::visit_children_with_ast_path`]. If you want to recurse, you need \
14037 to call it manually."]
14038 #[inline]
14039 fn visit_media_feature_plain<'ast: 'r, 'r>(
14040 &mut self,
14041 node: &'ast MediaFeaturePlain,
14042 __ast_path: &mut AstNodePath<'r>,
14043 ) {
14044 <MediaFeaturePlain as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14045 node, self, __ast_path,
14046 )
14047 }
14048 #[doc = "Visit a node of type `MediaFeatureRange`.\n\nBy default, this method calls \
14049 [`MediaFeatureRange::visit_children_with_ast_path`]. If you want to recurse, you need \
14050 to call it manually."]
14051 #[inline]
14052 fn visit_media_feature_range<'ast: 'r, 'r>(
14053 &mut self,
14054 node: &'ast MediaFeatureRange,
14055 __ast_path: &mut AstNodePath<'r>,
14056 ) {
14057 <MediaFeatureRange as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14058 node, self, __ast_path,
14059 )
14060 }
14061 #[doc = "Visit a node of type `MediaFeatureRangeComparison`.\n\nBy default, this method calls \
14062 [`MediaFeatureRangeComparison::visit_children_with_ast_path`]. If you want to \
14063 recurse, you need to call it manually."]
14064 #[inline]
14065 fn visit_media_feature_range_comparison<'ast: 'r, 'r>(
14066 &mut self,
14067 node: &'ast MediaFeatureRangeComparison,
14068 __ast_path: &mut AstNodePath<'r>,
14069 ) {
14070 <MediaFeatureRangeComparison as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14071 node, self, __ast_path,
14072 )
14073 }
14074 #[doc = "Visit a node of type `MediaFeatureRangeInterval`.\n\nBy default, this method calls \
14075 [`MediaFeatureRangeInterval::visit_children_with_ast_path`]. If you want to recurse, \
14076 you need to call it manually."]
14077 #[inline]
14078 fn visit_media_feature_range_interval<'ast: 'r, 'r>(
14079 &mut self,
14080 node: &'ast MediaFeatureRangeInterval,
14081 __ast_path: &mut AstNodePath<'r>,
14082 ) {
14083 <MediaFeatureRangeInterval as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14084 node, self, __ast_path,
14085 )
14086 }
14087 #[doc = "Visit a node of type `MediaFeatureValue`.\n\nBy default, this method calls \
14088 [`MediaFeatureValue::visit_children_with_ast_path`]. If you want to recurse, you need \
14089 to call it manually."]
14090 #[inline]
14091 fn visit_media_feature_value<'ast: 'r, 'r>(
14092 &mut self,
14093 node: &'ast MediaFeatureValue,
14094 __ast_path: &mut AstNodePath<'r>,
14095 ) {
14096 <MediaFeatureValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14097 node, self, __ast_path,
14098 )
14099 }
14100 #[doc = "Visit a node of type `MediaInParens`.\n\nBy default, this method calls \
14101 [`MediaInParens::visit_children_with_ast_path`]. If you want to recurse, you need to \
14102 call it manually."]
14103 #[inline]
14104 fn visit_media_in_parens<'ast: 'r, 'r>(
14105 &mut self,
14106 node: &'ast MediaInParens,
14107 __ast_path: &mut AstNodePath<'r>,
14108 ) {
14109 <MediaInParens as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14110 node, self, __ast_path,
14111 )
14112 }
14113 #[doc = "Visit a node of type `MediaNot`.\n\nBy default, this method calls \
14114 [`MediaNot::visit_children_with_ast_path`]. If you want to recurse, you need to call \
14115 it manually."]
14116 #[inline]
14117 fn visit_media_not<'ast: 'r, 'r>(
14118 &mut self,
14119 node: &'ast MediaNot,
14120 __ast_path: &mut AstNodePath<'r>,
14121 ) {
14122 <MediaNot as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14123 }
14124 #[doc = "Visit a node of type `MediaOr`.\n\nBy default, this method calls \
14125 [`MediaOr::visit_children_with_ast_path`]. If you want to recurse, you need to call \
14126 it manually."]
14127 #[inline]
14128 fn visit_media_or<'ast: 'r, 'r>(
14129 &mut self,
14130 node: &'ast MediaOr,
14131 __ast_path: &mut AstNodePath<'r>,
14132 ) {
14133 <MediaOr as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14134 }
14135 #[doc = "Visit a node of type `MediaQuery`.\n\nBy default, this method calls \
14136 [`MediaQuery::visit_children_with_ast_path`]. If you want to recurse, you need to \
14137 call it manually."]
14138 #[inline]
14139 fn visit_media_query<'ast: 'r, 'r>(
14140 &mut self,
14141 node: &'ast MediaQuery,
14142 __ast_path: &mut AstNodePath<'r>,
14143 ) {
14144 <MediaQuery as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14145 }
14146 #[doc = "Visit a node of type `MediaQueryList`.\n\nBy default, this method calls \
14147 [`MediaQueryList::visit_children_with_ast_path`]. If you want to recurse, you need to \
14148 call it manually."]
14149 #[inline]
14150 fn visit_media_query_list<'ast: 'r, 'r>(
14151 &mut self,
14152 node: &'ast MediaQueryList,
14153 __ast_path: &mut AstNodePath<'r>,
14154 ) {
14155 <MediaQueryList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14156 node, self, __ast_path,
14157 )
14158 }
14159 #[doc = "Visit a node of type `Vec < MediaQuery >`.\n\nBy default, this method calls [`Vec < \
14160 MediaQuery >::visit_children_with_ast_path`]. If you want to recurse, you need to \
14161 call it manually."]
14162 #[inline]
14163 fn visit_media_querys<'ast: 'r, 'r>(
14164 &mut self,
14165 node: &'ast [MediaQuery],
14166 __ast_path: &mut AstNodePath<'r>,
14167 ) {
14168 <[MediaQuery] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14169 node, self, __ast_path,
14170 )
14171 }
14172 #[doc = "Visit a node of type `MediaType`.\n\nBy default, this method calls \
14173 [`MediaType::visit_children_with_ast_path`]. If you want to recurse, you need to call \
14174 it manually."]
14175 #[inline]
14176 fn visit_media_type<'ast: 'r, 'r>(
14177 &mut self,
14178 node: &'ast MediaType,
14179 __ast_path: &mut AstNodePath<'r>,
14180 ) {
14181 <MediaType as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14182 }
14183 #[doc = "Visit a node of type `NamedNamespace`.\n\nBy default, this method calls \
14184 [`NamedNamespace::visit_children_with_ast_path`]. If you want to recurse, you need to \
14185 call it manually."]
14186 #[inline]
14187 fn visit_named_namespace<'ast: 'r, 'r>(
14188 &mut self,
14189 node: &'ast NamedNamespace,
14190 __ast_path: &mut AstNodePath<'r>,
14191 ) {
14192 <NamedNamespace as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14193 node, self, __ast_path,
14194 )
14195 }
14196 #[doc = "Visit a node of type `Namespace`.\n\nBy default, this method calls \
14197 [`Namespace::visit_children_with_ast_path`]. If you want to recurse, you need to call \
14198 it manually."]
14199 #[inline]
14200 fn visit_namespace<'ast: 'r, 'r>(
14201 &mut self,
14202 node: &'ast Namespace,
14203 __ast_path: &mut AstNodePath<'r>,
14204 ) {
14205 <Namespace as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14206 }
14207 #[doc = "Visit a node of type `NamespacePrefix`.\n\nBy default, this method calls \
14208 [`NamespacePrefix::visit_children_with_ast_path`]. If you want to recurse, you need \
14209 to call it manually."]
14210 #[inline]
14211 fn visit_namespace_prefix<'ast: 'r, 'r>(
14212 &mut self,
14213 node: &'ast NamespacePrefix,
14214 __ast_path: &mut AstNodePath<'r>,
14215 ) {
14216 <NamespacePrefix as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14217 node, self, __ast_path,
14218 )
14219 }
14220 #[doc = "Visit a node of type `NamespacePrelude`.\n\nBy default, this method calls \
14221 [`NamespacePrelude::visit_children_with_ast_path`]. If you want to recurse, you need \
14222 to call it manually."]
14223 #[inline]
14224 fn visit_namespace_prelude<'ast: 'r, 'r>(
14225 &mut self,
14226 node: &'ast NamespacePrelude,
14227 __ast_path: &mut AstNodePath<'r>,
14228 ) {
14229 <NamespacePrelude as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14230 node, self, __ast_path,
14231 )
14232 }
14233 #[doc = "Visit a node of type `NamespacePreludeUri`.\n\nBy default, this method calls \
14234 [`NamespacePreludeUri::visit_children_with_ast_path`]. If you want to recurse, you \
14235 need to call it manually."]
14236 #[inline]
14237 fn visit_namespace_prelude_uri<'ast: 'r, 'r>(
14238 &mut self,
14239 node: &'ast NamespacePreludeUri,
14240 __ast_path: &mut AstNodePath<'r>,
14241 ) {
14242 <NamespacePreludeUri as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14243 node, self, __ast_path,
14244 )
14245 }
14246 #[doc = "Visit a node of type `NestingSelector`.\n\nBy default, this method calls \
14247 [`NestingSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
14248 to call it manually."]
14249 #[inline]
14250 fn visit_nesting_selector<'ast: 'r, 'r>(
14251 &mut self,
14252 node: &'ast NestingSelector,
14253 __ast_path: &mut AstNodePath<'r>,
14254 ) {
14255 <NestingSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14256 node, self, __ast_path,
14257 )
14258 }
14259 #[doc = "Visit a node of type `Number`.\n\nBy default, this method calls \
14260 [`Number::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14261 manually."]
14262 #[inline]
14263 fn visit_number<'ast: 'r, 'r>(&mut self, node: &'ast Number, __ast_path: &mut AstNodePath<'r>) {
14264 <Number as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14265 }
14266 #[doc = "Visit a node of type `NumberType`.\n\nBy default, this method calls \
14267 [`NumberType::visit_children_with_ast_path`]. If you want to recurse, you need to \
14268 call it manually."]
14269 #[inline]
14270 fn visit_number_type<'ast: 'r, 'r>(
14271 &mut self,
14272 node: &'ast NumberType,
14273 __ast_path: &mut AstNodePath<'r>,
14274 ) {
14275 <NumberType as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14276 }
14277 #[doc = "Visit a node of type `Option < Box < AtRulePrelude > >`.\n\nBy default, this method \
14278 calls [`Option < Box < AtRulePrelude > >::visit_children_with_ast_path`]. If you want \
14279 to recurse, you need to call it manually."]
14280 #[inline]
14281 fn visit_opt_at_rule_prelude<'ast: 'r, 'r>(
14282 &mut self,
14283 node: &'ast Option<Box<AtRulePrelude>>,
14284 __ast_path: &mut AstNodePath<'r>,
14285 ) {
14286 <Option<Box<AtRulePrelude>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14287 node, self, __ast_path,
14288 )
14289 }
14290 #[doc = "Visit a node of type `Option < swc_atoms :: Atom >`.\n\nBy default, this method calls \
14291 [`Option < swc_atoms :: Atom >::visit_children_with_ast_path`]. If you want to \
14292 recurse, you need to call it manually."]
14293 #[inline]
14294 fn visit_opt_atom<'ast: 'r, 'r>(
14295 &mut self,
14296 node: &'ast Option<swc_atoms::Atom>,
14297 __ast_path: &mut AstNodePath<'r>,
14298 ) {
14299 <Option<swc_atoms::Atom> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14300 node, self, __ast_path,
14301 )
14302 }
14303 #[doc = "Visit a node of type `Option < AttributeSelectorMatcher >`.\n\nBy default, this \
14304 method calls [`Option < AttributeSelectorMatcher >::visit_children_with_ast_path`]. \
14305 If you want to recurse, you need to call it manually."]
14306 #[inline]
14307 fn visit_opt_attribute_selector_matcher<'ast: 'r, 'r>(
14308 &mut self,
14309 node: &'ast Option<AttributeSelectorMatcher>,
14310 __ast_path: &mut AstNodePath<'r>,
14311 ) {
14312 <Option<AttributeSelectorMatcher> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14313 node, self, __ast_path,
14314 )
14315 }
14316 #[doc = "Visit a node of type `Option < AttributeSelectorModifier >`.\n\nBy default, this \
14317 method calls [`Option < AttributeSelectorModifier >::visit_children_with_ast_path`]. \
14318 If you want to recurse, you need to call it manually."]
14319 #[inline]
14320 fn visit_opt_attribute_selector_modifier<'ast: 'r, 'r>(
14321 &mut self,
14322 node: &'ast Option<AttributeSelectorModifier>,
14323 __ast_path: &mut AstNodePath<'r>,
14324 ) {
14325 <Option<AttributeSelectorModifier> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14326 node, self, __ast_path,
14327 )
14328 }
14329 #[doc = "Visit a node of type `Option < AttributeSelectorValue >`.\n\nBy default, this method \
14330 calls [`Option < AttributeSelectorValue >::visit_children_with_ast_path`]. If you \
14331 want to recurse, you need to call it manually."]
14332 #[inline]
14333 fn visit_opt_attribute_selector_value<'ast: 'r, 'r>(
14334 &mut self,
14335 node: &'ast Option<AttributeSelectorValue>,
14336 __ast_path: &mut AstNodePath<'r>,
14337 ) {
14338 <Option<AttributeSelectorValue> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14339 node, self, __ast_path,
14340 )
14341 }
14342 #[doc = "Visit a node of type `Option < Combinator >`.\n\nBy default, this method calls \
14343 [`Option < Combinator >::visit_children_with_ast_path`]. If you want to recurse, you \
14344 need to call it manually."]
14345 #[inline]
14346 fn visit_opt_combinator<'ast: 'r, 'r>(
14347 &mut self,
14348 node: &'ast Option<Combinator>,
14349 __ast_path: &mut AstNodePath<'r>,
14350 ) {
14351 <Option<Combinator> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14352 node, self, __ast_path,
14353 )
14354 }
14355 #[doc = "Visit a node of type `Option < ContainerName >`.\n\nBy default, this method calls \
14356 [`Option < ContainerName >::visit_children_with_ast_path`]. If you want to recurse, \
14357 you need to call it manually."]
14358 #[inline]
14359 fn visit_opt_container_name<'ast: 'r, 'r>(
14360 &mut self,
14361 node: &'ast Option<ContainerName>,
14362 __ast_path: &mut AstNodePath<'r>,
14363 ) {
14364 <Option<ContainerName> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14365 node, self, __ast_path,
14366 )
14367 }
14368 #[doc = "Visit a node of type `Option < ForgivingSelectorList >`.\n\nBy default, this method \
14369 calls [`Option < ForgivingSelectorList >::visit_children_with_ast_path`]. If you want \
14370 to recurse, you need to call it manually."]
14371 #[inline]
14372 fn visit_opt_forgiving_selector_list<'ast: 'r, 'r>(
14373 &mut self,
14374 node: &'ast Option<ForgivingSelectorList>,
14375 __ast_path: &mut AstNodePath<'r>,
14376 ) {
14377 <Option<ForgivingSelectorList> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14378 node, self, __ast_path,
14379 )
14380 }
14381 #[doc = "Visit a node of type `Option < Box < Function > >`.\n\nBy default, this method calls \
14382 [`Option < Box < Function > >::visit_children_with_ast_path`]. If you want to \
14383 recurse, you need to call it manually."]
14384 #[inline]
14385 fn visit_opt_function<'ast: 'r, 'r>(
14386 &mut self,
14387 node: &'ast Option<Box<Function>>,
14388 __ast_path: &mut AstNodePath<'r>,
14389 ) {
14390 <Option<Box<Function>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14391 node, self, __ast_path,
14392 )
14393 }
14394 #[doc = "Visit a node of type `Option < Ident >`.\n\nBy default, this method calls [`Option < \
14395 Ident >::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14396 manually."]
14397 #[inline]
14398 fn visit_opt_ident<'ast: 'r, 'r>(
14399 &mut self,
14400 node: &'ast Option<Ident>,
14401 __ast_path: &mut AstNodePath<'r>,
14402 ) {
14403 <Option<Ident> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14404 node, self, __ast_path,
14405 )
14406 }
14407 #[doc = "Visit a node of type `Option < Box < ImportConditions > >`.\n\nBy default, this \
14408 method calls [`Option < Box < ImportConditions > >::visit_children_with_ast_path`]. \
14409 If you want to recurse, you need to call it manually."]
14410 #[inline]
14411 fn visit_opt_import_conditions<'ast: 'r, 'r>(
14412 &mut self,
14413 node: &'ast Option<Box<ImportConditions>>,
14414 __ast_path: &mut AstNodePath<'r>,
14415 ) {
14416 <Option<Box<ImportConditions>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14417 node, self, __ast_path,
14418 )
14419 }
14420 #[doc = "Visit a node of type `Option < Box < ImportLayerName > >`.\n\nBy default, this method \
14421 calls [`Option < Box < ImportLayerName > >::visit_children_with_ast_path`]. If you \
14422 want to recurse, you need to call it manually."]
14423 #[inline]
14424 fn visit_opt_import_layer_name<'ast: 'r, 'r>(
14425 &mut self,
14426 node: &'ast Option<Box<ImportLayerName>>,
14427 __ast_path: &mut AstNodePath<'r>,
14428 ) {
14429 <Option<Box<ImportLayerName>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14430 node, self, __ast_path,
14431 )
14432 }
14433 #[doc = "Visit a node of type `Option < ImportantFlag >`.\n\nBy default, this method calls \
14434 [`Option < ImportantFlag >::visit_children_with_ast_path`]. If you want to recurse, \
14435 you need to call it manually."]
14436 #[inline]
14437 fn visit_opt_important_flag<'ast: 'r, 'r>(
14438 &mut self,
14439 node: &'ast Option<ImportantFlag>,
14440 __ast_path: &mut AstNodePath<'r>,
14441 ) {
14442 <Option<ImportantFlag> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14443 node, self, __ast_path,
14444 )
14445 }
14446 #[doc = "Visit a node of type `Option < Box < MediaConditionType > >`.\n\nBy default, this \
14447 method calls [`Option < Box < MediaConditionType > >::visit_children_with_ast_path`]. \
14448 If you want to recurse, you need to call it manually."]
14449 #[inline]
14450 fn visit_opt_media_condition_type<'ast: 'r, 'r>(
14451 &mut self,
14452 node: &'ast Option<Box<MediaConditionType>>,
14453 __ast_path: &mut AstNodePath<'r>,
14454 ) {
14455 <Option<Box<MediaConditionType>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14456 node, self, __ast_path,
14457 )
14458 }
14459 #[doc = "Visit a node of type `Option < Box < MediaQueryList > >`.\n\nBy default, this method \
14460 calls [`Option < Box < MediaQueryList > >::visit_children_with_ast_path`]. If you \
14461 want to recurse, you need to call it manually."]
14462 #[inline]
14463 fn visit_opt_media_query_list<'ast: 'r, 'r>(
14464 &mut self,
14465 node: &'ast Option<Box<MediaQueryList>>,
14466 __ast_path: &mut AstNodePath<'r>,
14467 ) {
14468 <Option<Box<MediaQueryList>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14469 node, self, __ast_path,
14470 )
14471 }
14472 #[doc = "Visit a node of type `Option < MediaType >`.\n\nBy default, this method calls \
14473 [`Option < MediaType >::visit_children_with_ast_path`]. If you want to recurse, you \
14474 need to call it manually."]
14475 #[inline]
14476 fn visit_opt_media_type<'ast: 'r, 'r>(
14477 &mut self,
14478 node: &'ast Option<MediaType>,
14479 __ast_path: &mut AstNodePath<'r>,
14480 ) {
14481 <Option<MediaType> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14482 node, self, __ast_path,
14483 )
14484 }
14485 #[doc = "Visit a node of type `Option < Namespace >`.\n\nBy default, this method calls \
14486 [`Option < Namespace >::visit_children_with_ast_path`]. If you want to recurse, you \
14487 need to call it manually."]
14488 #[inline]
14489 fn visit_opt_namespace<'ast: 'r, 'r>(
14490 &mut self,
14491 node: &'ast Option<Namespace>,
14492 __ast_path: &mut AstNodePath<'r>,
14493 ) {
14494 <Option<Namespace> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14495 node, self, __ast_path,
14496 )
14497 }
14498 #[doc = "Visit a node of type `Option < NamespacePrefix >`.\n\nBy default, this method calls \
14499 [`Option < NamespacePrefix >::visit_children_with_ast_path`]. If you want to recurse, \
14500 you need to call it manually."]
14501 #[inline]
14502 fn visit_opt_namespace_prefix<'ast: 'r, 'r>(
14503 &mut self,
14504 node: &'ast Option<NamespacePrefix>,
14505 __ast_path: &mut AstNodePath<'r>,
14506 ) {
14507 <Option<NamespacePrefix> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14508 node, self, __ast_path,
14509 )
14510 }
14511 #[doc = "Visit a node of type `Option < NestingSelector >`.\n\nBy default, this method calls \
14512 [`Option < NestingSelector >::visit_children_with_ast_path`]. If you want to recurse, \
14513 you need to call it manually."]
14514 #[inline]
14515 fn visit_opt_nesting_selector<'ast: 'r, 'r>(
14516 &mut self,
14517 node: &'ast Option<NestingSelector>,
14518 __ast_path: &mut AstNodePath<'r>,
14519 ) {
14520 <Option<NestingSelector> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14521 node, self, __ast_path,
14522 )
14523 }
14524 #[doc = "Visit a node of type `Option < Number >`.\n\nBy default, this method calls [`Option < \
14525 Number >::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14526 manually."]
14527 #[inline]
14528 fn visit_opt_number<'ast: 'r, 'r>(
14529 &mut self,
14530 node: &'ast Option<Number>,
14531 __ast_path: &mut AstNodePath<'r>,
14532 ) {
14533 <Option<Number> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14534 node, self, __ast_path,
14535 )
14536 }
14537 #[doc = "Visit a node of type `Option < Vec < PageSelectorPseudo > >`.\n\nBy default, this \
14538 method calls [`Option < Vec < PageSelectorPseudo > >::visit_children_with_ast_path`]. \
14539 If you want to recurse, you need to call it manually."]
14540 #[inline]
14541 fn visit_opt_page_selector_pseudos<'ast: 'r, 'r>(
14542 &mut self,
14543 node: &'ast Option<Vec<PageSelectorPseudo>>,
14544 __ast_path: &mut AstNodePath<'r>,
14545 ) {
14546 <Option<Vec<PageSelectorPseudo>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14547 node, self, __ast_path,
14548 )
14549 }
14550 #[doc = "Visit a node of type `Option < PageSelectorType >`.\n\nBy default, this method calls \
14551 [`Option < PageSelectorType >::visit_children_with_ast_path`]. If you want to \
14552 recurse, you need to call it manually."]
14553 #[inline]
14554 fn visit_opt_page_selector_type<'ast: 'r, 'r>(
14555 &mut self,
14556 node: &'ast Option<PageSelectorType>,
14557 __ast_path: &mut AstNodePath<'r>,
14558 ) {
14559 <Option<PageSelectorType> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14560 node, self, __ast_path,
14561 )
14562 }
14563 #[doc = "Visit a node of type `Option < Vec < PseudoClassSelectorChildren > >`.\n\nBy default, \
14564 this method calls [`Option < Vec < PseudoClassSelectorChildren > \
14565 >::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14566 manually."]
14567 #[inline]
14568 fn visit_opt_pseudo_class_selector_childrens<'ast: 'r, 'r>(
14569 &mut self,
14570 node: &'ast Option<Vec<PseudoClassSelectorChildren>>,
14571 __ast_path: &mut AstNodePath<'r>,
14572 ) {
14573 < Option < Vec < PseudoClassSelectorChildren > > as VisitWithAstPath < Self > > :: visit_children_with_ast_path (node , self , __ast_path)
14574 }
14575 #[doc = "Visit a node of type `Option < Vec < PseudoElementSelectorChildren > >`.\n\nBy \
14576 default, this method calls [`Option < Vec < PseudoElementSelectorChildren > \
14577 >::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14578 manually."]
14579 #[inline]
14580 fn visit_opt_pseudo_element_selector_childrens<'ast: 'r, 'r>(
14581 &mut self,
14582 node: &'ast Option<Vec<PseudoElementSelectorChildren>>,
14583 __ast_path: &mut AstNodePath<'r>,
14584 ) {
14585 < Option < Vec < PseudoElementSelectorChildren > > as VisitWithAstPath < Self > > :: visit_children_with_ast_path (node , self , __ast_path)
14586 }
14587 #[doc = "Visit a node of type `Option < SimpleBlock >`.\n\nBy default, this method calls \
14588 [`Option < SimpleBlock >::visit_children_with_ast_path`]. If you want to recurse, you \
14589 need to call it manually."]
14590 #[inline]
14591 fn visit_opt_simple_block<'ast: 'r, 'r>(
14592 &mut self,
14593 node: &'ast Option<SimpleBlock>,
14594 __ast_path: &mut AstNodePath<'r>,
14595 ) {
14596 <Option<SimpleBlock> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14597 node, self, __ast_path,
14598 )
14599 }
14600 #[doc = "Visit a node of type `Option < Box < TypeSelector > >`.\n\nBy default, this method \
14601 calls [`Option < Box < TypeSelector > >::visit_children_with_ast_path`]. If you want \
14602 to recurse, you need to call it manually."]
14603 #[inline]
14604 fn visit_opt_type_selector<'ast: 'r, 'r>(
14605 &mut self,
14606 node: &'ast Option<Box<TypeSelector>>,
14607 __ast_path: &mut AstNodePath<'r>,
14608 ) {
14609 <Option<Box<TypeSelector>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14610 node, self, __ast_path,
14611 )
14612 }
14613 #[doc = "Visit a node of type `Option < Vec < UrlModifier > >`.\n\nBy default, this method \
14614 calls [`Option < Vec < UrlModifier > >::visit_children_with_ast_path`]. If you want \
14615 to recurse, you need to call it manually."]
14616 #[inline]
14617 fn visit_opt_url_modifiers<'ast: 'r, 'r>(
14618 &mut self,
14619 node: &'ast Option<Vec<UrlModifier>>,
14620 __ast_path: &mut AstNodePath<'r>,
14621 ) {
14622 <Option<Vec<UrlModifier>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14623 node, self, __ast_path,
14624 )
14625 }
14626 #[doc = "Visit a node of type `Option < Box < UrlValue > >`.\n\nBy default, this method calls \
14627 [`Option < Box < UrlValue > >::visit_children_with_ast_path`]. If you want to \
14628 recurse, you need to call it manually."]
14629 #[inline]
14630 fn visit_opt_url_value<'ast: 'r, 'r>(
14631 &mut self,
14632 node: &'ast Option<Box<UrlValue>>,
14633 __ast_path: &mut AstNodePath<'r>,
14634 ) {
14635 <Option<Box<UrlValue>> as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14636 node, self, __ast_path,
14637 )
14638 }
14639 #[doc = "Visit a node of type `PageSelector`.\n\nBy default, this method calls \
14640 [`PageSelector::visit_children_with_ast_path`]. If you want to recurse, you need to \
14641 call it manually."]
14642 #[inline]
14643 fn visit_page_selector<'ast: 'r, 'r>(
14644 &mut self,
14645 node: &'ast PageSelector,
14646 __ast_path: &mut AstNodePath<'r>,
14647 ) {
14648 <PageSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14649 node, self, __ast_path,
14650 )
14651 }
14652 #[doc = "Visit a node of type `PageSelectorList`.\n\nBy default, this method calls \
14653 [`PageSelectorList::visit_children_with_ast_path`]. If you want to recurse, you need \
14654 to call it manually."]
14655 #[inline]
14656 fn visit_page_selector_list<'ast: 'r, 'r>(
14657 &mut self,
14658 node: &'ast PageSelectorList,
14659 __ast_path: &mut AstNodePath<'r>,
14660 ) {
14661 <PageSelectorList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14662 node, self, __ast_path,
14663 )
14664 }
14665 #[doc = "Visit a node of type `PageSelectorPseudo`.\n\nBy default, this method calls \
14666 [`PageSelectorPseudo::visit_children_with_ast_path`]. If you want to recurse, you \
14667 need to call it manually."]
14668 #[inline]
14669 fn visit_page_selector_pseudo<'ast: 'r, 'r>(
14670 &mut self,
14671 node: &'ast PageSelectorPseudo,
14672 __ast_path: &mut AstNodePath<'r>,
14673 ) {
14674 <PageSelectorPseudo as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14675 node, self, __ast_path,
14676 )
14677 }
14678 #[doc = "Visit a node of type `Vec < PageSelectorPseudo >`.\n\nBy default, this method calls \
14679 [`Vec < PageSelectorPseudo >::visit_children_with_ast_path`]. If you want to recurse, \
14680 you need to call it manually."]
14681 #[inline]
14682 fn visit_page_selector_pseudos<'ast: 'r, 'r>(
14683 &mut self,
14684 node: &'ast [PageSelectorPseudo],
14685 __ast_path: &mut AstNodePath<'r>,
14686 ) {
14687 <[PageSelectorPseudo] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14688 node, self, __ast_path,
14689 )
14690 }
14691 #[doc = "Visit a node of type `PageSelectorType`.\n\nBy default, this method calls \
14692 [`PageSelectorType::visit_children_with_ast_path`]. If you want to recurse, you need \
14693 to call it manually."]
14694 #[inline]
14695 fn visit_page_selector_type<'ast: 'r, 'r>(
14696 &mut self,
14697 node: &'ast PageSelectorType,
14698 __ast_path: &mut AstNodePath<'r>,
14699 ) {
14700 <PageSelectorType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14701 node, self, __ast_path,
14702 )
14703 }
14704 #[doc = "Visit a node of type `Vec < PageSelector >`.\n\nBy default, this method calls [`Vec < \
14705 PageSelector >::visit_children_with_ast_path`]. If you want to recurse, you need to \
14706 call it manually."]
14707 #[inline]
14708 fn visit_page_selectors<'ast: 'r, 'r>(
14709 &mut self,
14710 node: &'ast [PageSelector],
14711 __ast_path: &mut AstNodePath<'r>,
14712 ) {
14713 <[PageSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14714 node, self, __ast_path,
14715 )
14716 }
14717 #[doc = "Visit a node of type `Percentage`.\n\nBy default, this method calls \
14718 [`Percentage::visit_children_with_ast_path`]. If you want to recurse, you need to \
14719 call it manually."]
14720 #[inline]
14721 fn visit_percentage<'ast: 'r, 'r>(
14722 &mut self,
14723 node: &'ast Percentage,
14724 __ast_path: &mut AstNodePath<'r>,
14725 ) {
14726 <Percentage as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14727 }
14728 #[doc = "Visit a node of type `PseudoClassSelector`.\n\nBy default, this method calls \
14729 [`PseudoClassSelector::visit_children_with_ast_path`]. If you want to recurse, you \
14730 need to call it manually."]
14731 #[inline]
14732 fn visit_pseudo_class_selector<'ast: 'r, 'r>(
14733 &mut self,
14734 node: &'ast PseudoClassSelector,
14735 __ast_path: &mut AstNodePath<'r>,
14736 ) {
14737 <PseudoClassSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14738 node, self, __ast_path,
14739 )
14740 }
14741 #[doc = "Visit a node of type `PseudoClassSelectorChildren`.\n\nBy default, this method calls \
14742 [`PseudoClassSelectorChildren::visit_children_with_ast_path`]. If you want to \
14743 recurse, you need to call it manually."]
14744 #[inline]
14745 fn visit_pseudo_class_selector_children<'ast: 'r, 'r>(
14746 &mut self,
14747 node: &'ast PseudoClassSelectorChildren,
14748 __ast_path: &mut AstNodePath<'r>,
14749 ) {
14750 <PseudoClassSelectorChildren as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14751 node, self, __ast_path,
14752 )
14753 }
14754 #[doc = "Visit a node of type `Vec < PseudoClassSelectorChildren >`.\n\nBy default, this \
14755 method calls [`Vec < PseudoClassSelectorChildren >::visit_children_with_ast_path`]. \
14756 If you want to recurse, you need to call it manually."]
14757 #[inline]
14758 fn visit_pseudo_class_selector_childrens<'ast: 'r, 'r>(
14759 &mut self,
14760 node: &'ast [PseudoClassSelectorChildren],
14761 __ast_path: &mut AstNodePath<'r>,
14762 ) {
14763 <[PseudoClassSelectorChildren] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14764 node, self, __ast_path,
14765 )
14766 }
14767 #[doc = "Visit a node of type `PseudoElementSelector`.\n\nBy default, this method calls \
14768 [`PseudoElementSelector::visit_children_with_ast_path`]. If you want to recurse, you \
14769 need to call it manually."]
14770 #[inline]
14771 fn visit_pseudo_element_selector<'ast: 'r, 'r>(
14772 &mut self,
14773 node: &'ast PseudoElementSelector,
14774 __ast_path: &mut AstNodePath<'r>,
14775 ) {
14776 <PseudoElementSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14777 node, self, __ast_path,
14778 )
14779 }
14780 #[doc = "Visit a node of type `PseudoElementSelectorChildren`.\n\nBy default, this method \
14781 calls [`PseudoElementSelectorChildren::visit_children_with_ast_path`]. If you want to \
14782 recurse, you need to call it manually."]
14783 #[inline]
14784 fn visit_pseudo_element_selector_children<'ast: 'r, 'r>(
14785 &mut self,
14786 node: &'ast PseudoElementSelectorChildren,
14787 __ast_path: &mut AstNodePath<'r>,
14788 ) {
14789 <PseudoElementSelectorChildren as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14790 node, self, __ast_path,
14791 )
14792 }
14793 #[doc = "Visit a node of type `Vec < PseudoElementSelectorChildren >`.\n\nBy default, this \
14794 method calls [`Vec < PseudoElementSelectorChildren >::visit_children_with_ast_path`]. \
14795 If you want to recurse, you need to call it manually."]
14796 #[inline]
14797 fn visit_pseudo_element_selector_childrens<'ast: 'r, 'r>(
14798 &mut self,
14799 node: &'ast [PseudoElementSelectorChildren],
14800 __ast_path: &mut AstNodePath<'r>,
14801 ) {
14802 <[PseudoElementSelectorChildren] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14803 node, self, __ast_path,
14804 )
14805 }
14806 #[doc = "Visit a node of type `QualifiedRule`.\n\nBy default, this method calls \
14807 [`QualifiedRule::visit_children_with_ast_path`]. If you want to recurse, you need to \
14808 call it manually."]
14809 #[inline]
14810 fn visit_qualified_rule<'ast: 'r, 'r>(
14811 &mut self,
14812 node: &'ast QualifiedRule,
14813 __ast_path: &mut AstNodePath<'r>,
14814 ) {
14815 <QualifiedRule as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14816 node, self, __ast_path,
14817 )
14818 }
14819 #[doc = "Visit a node of type `QualifiedRulePrelude`.\n\nBy default, this method calls \
14820 [`QualifiedRulePrelude::visit_children_with_ast_path`]. If you want to recurse, you \
14821 need to call it manually."]
14822 #[inline]
14823 fn visit_qualified_rule_prelude<'ast: 'r, 'r>(
14824 &mut self,
14825 node: &'ast QualifiedRulePrelude,
14826 __ast_path: &mut AstNodePath<'r>,
14827 ) {
14828 <QualifiedRulePrelude as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14829 node, self, __ast_path,
14830 )
14831 }
14832 #[doc = "Visit a node of type `QueryInParens`.\n\nBy default, this method calls \
14833 [`QueryInParens::visit_children_with_ast_path`]. If you want to recurse, you need to \
14834 call it manually."]
14835 #[inline]
14836 fn visit_query_in_parens<'ast: 'r, 'r>(
14837 &mut self,
14838 node: &'ast QueryInParens,
14839 __ast_path: &mut AstNodePath<'r>,
14840 ) {
14841 <QueryInParens as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14842 node, self, __ast_path,
14843 )
14844 }
14845 #[doc = "Visit a node of type `Ratio`.\n\nBy default, this method calls \
14846 [`Ratio::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14847 manually."]
14848 #[inline]
14849 fn visit_ratio<'ast: 'r, 'r>(&mut self, node: &'ast Ratio, __ast_path: &mut AstNodePath<'r>) {
14850 <Ratio as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14851 }
14852 #[doc = "Visit a node of type `RelativeSelector`.\n\nBy default, this method calls \
14853 [`RelativeSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
14854 to call it manually."]
14855 #[inline]
14856 fn visit_relative_selector<'ast: 'r, 'r>(
14857 &mut self,
14858 node: &'ast RelativeSelector,
14859 __ast_path: &mut AstNodePath<'r>,
14860 ) {
14861 <RelativeSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14862 node, self, __ast_path,
14863 )
14864 }
14865 #[doc = "Visit a node of type `RelativeSelectorList`.\n\nBy default, this method calls \
14866 [`RelativeSelectorList::visit_children_with_ast_path`]. If you want to recurse, you \
14867 need to call it manually."]
14868 #[inline]
14869 fn visit_relative_selector_list<'ast: 'r, 'r>(
14870 &mut self,
14871 node: &'ast RelativeSelectorList,
14872 __ast_path: &mut AstNodePath<'r>,
14873 ) {
14874 <RelativeSelectorList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14875 node, self, __ast_path,
14876 )
14877 }
14878 #[doc = "Visit a node of type `Vec < RelativeSelector >`.\n\nBy default, this method calls \
14879 [`Vec < RelativeSelector >::visit_children_with_ast_path`]. If you want to recurse, \
14880 you need to call it manually."]
14881 #[inline]
14882 fn visit_relative_selectors<'ast: 'r, 'r>(
14883 &mut self,
14884 node: &'ast [RelativeSelector],
14885 __ast_path: &mut AstNodePath<'r>,
14886 ) {
14887 <[RelativeSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14888 node, self, __ast_path,
14889 )
14890 }
14891 #[doc = "Visit a node of type `Resolution`.\n\nBy default, this method calls \
14892 [`Resolution::visit_children_with_ast_path`]. If you want to recurse, you need to \
14893 call it manually."]
14894 #[inline]
14895 fn visit_resolution<'ast: 'r, 'r>(
14896 &mut self,
14897 node: &'ast Resolution,
14898 __ast_path: &mut AstNodePath<'r>,
14899 ) {
14900 <Resolution as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14901 }
14902 #[doc = "Visit a node of type `Rule`.\n\nBy default, this method calls \
14903 [`Rule::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14904 manually."]
14905 #[inline]
14906 fn visit_rule<'ast: 'r, 'r>(&mut self, node: &'ast Rule, __ast_path: &mut AstNodePath<'r>) {
14907 <Rule as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14908 }
14909 #[doc = "Visit a node of type `Vec < Rule >`.\n\nBy default, this method calls [`Vec < Rule \
14910 >::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
14911 manually."]
14912 #[inline]
14913 fn visit_rules<'ast: 'r, 'r>(&mut self, node: &'ast [Rule], __ast_path: &mut AstNodePath<'r>) {
14914 <[Rule] as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14915 }
14916 #[doc = "Visit a node of type `ScopeRange`.\n\nBy default, this method calls \
14917 [`ScopeRange::visit_children_with_ast_path`]. If you want to recurse, you need to \
14918 call it manually."]
14919 #[inline]
14920 fn visit_scope_range<'ast: 'r, 'r>(
14921 &mut self,
14922 node: &'ast ScopeRange,
14923 __ast_path: &mut AstNodePath<'r>,
14924 ) {
14925 <ScopeRange as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
14926 }
14927 #[doc = "Visit a node of type `SelectorList`.\n\nBy default, this method calls \
14928 [`SelectorList::visit_children_with_ast_path`]. If you want to recurse, you need to \
14929 call it manually."]
14930 #[inline]
14931 fn visit_selector_list<'ast: 'r, 'r>(
14932 &mut self,
14933 node: &'ast SelectorList,
14934 __ast_path: &mut AstNodePath<'r>,
14935 ) {
14936 <SelectorList as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14937 node, self, __ast_path,
14938 )
14939 }
14940 #[doc = "Visit a node of type `SequenceOfCustomIdents`.\n\nBy default, this method calls \
14941 [`SequenceOfCustomIdents::visit_children_with_ast_path`]. If you want to recurse, you \
14942 need to call it manually."]
14943 #[inline]
14944 fn visit_sequence_of_custom_idents<'ast: 'r, 'r>(
14945 &mut self,
14946 node: &'ast SequenceOfCustomIdents,
14947 __ast_path: &mut AstNodePath<'r>,
14948 ) {
14949 <SequenceOfCustomIdents as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14950 node, self, __ast_path,
14951 )
14952 }
14953 #[doc = "Visit a node of type `SimpleBlock`.\n\nBy default, this method calls \
14954 [`SimpleBlock::visit_children_with_ast_path`]. If you want to recurse, you need to \
14955 call it manually."]
14956 #[inline]
14957 fn visit_simple_block<'ast: 'r, 'r>(
14958 &mut self,
14959 node: &'ast SimpleBlock,
14960 __ast_path: &mut AstNodePath<'r>,
14961 ) {
14962 <SimpleBlock as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14963 node, self, __ast_path,
14964 )
14965 }
14966 #[doc = "Visit a node of type `SizeFeature`.\n\nBy default, this method calls \
14967 [`SizeFeature::visit_children_with_ast_path`]. If you want to recurse, you need to \
14968 call it manually."]
14969 #[inline]
14970 fn visit_size_feature<'ast: 'r, 'r>(
14971 &mut self,
14972 node: &'ast SizeFeature,
14973 __ast_path: &mut AstNodePath<'r>,
14974 ) {
14975 <SizeFeature as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14976 node, self, __ast_path,
14977 )
14978 }
14979 #[doc = "Visit a node of type `SizeFeatureBoolean`.\n\nBy default, this method calls \
14980 [`SizeFeatureBoolean::visit_children_with_ast_path`]. If you want to recurse, you \
14981 need to call it manually."]
14982 #[inline]
14983 fn visit_size_feature_boolean<'ast: 'r, 'r>(
14984 &mut self,
14985 node: &'ast SizeFeatureBoolean,
14986 __ast_path: &mut AstNodePath<'r>,
14987 ) {
14988 <SizeFeatureBoolean as VisitWithAstPath<Self>>::visit_children_with_ast_path(
14989 node, self, __ast_path,
14990 )
14991 }
14992 #[doc = "Visit a node of type `SizeFeatureName`.\n\nBy default, this method calls \
14993 [`SizeFeatureName::visit_children_with_ast_path`]. If you want to recurse, you need \
14994 to call it manually."]
14995 #[inline]
14996 fn visit_size_feature_name<'ast: 'r, 'r>(
14997 &mut self,
14998 node: &'ast SizeFeatureName,
14999 __ast_path: &mut AstNodePath<'r>,
15000 ) {
15001 <SizeFeatureName as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15002 node, self, __ast_path,
15003 )
15004 }
15005 #[doc = "Visit a node of type `SizeFeaturePlain`.\n\nBy default, this method calls \
15006 [`SizeFeaturePlain::visit_children_with_ast_path`]. If you want to recurse, you need \
15007 to call it manually."]
15008 #[inline]
15009 fn visit_size_feature_plain<'ast: 'r, 'r>(
15010 &mut self,
15011 node: &'ast SizeFeaturePlain,
15012 __ast_path: &mut AstNodePath<'r>,
15013 ) {
15014 <SizeFeaturePlain as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15015 node, self, __ast_path,
15016 )
15017 }
15018 #[doc = "Visit a node of type `SizeFeatureRange`.\n\nBy default, this method calls \
15019 [`SizeFeatureRange::visit_children_with_ast_path`]. If you want to recurse, you need \
15020 to call it manually."]
15021 #[inline]
15022 fn visit_size_feature_range<'ast: 'r, 'r>(
15023 &mut self,
15024 node: &'ast SizeFeatureRange,
15025 __ast_path: &mut AstNodePath<'r>,
15026 ) {
15027 <SizeFeatureRange as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15028 node, self, __ast_path,
15029 )
15030 }
15031 #[doc = "Visit a node of type `SizeFeatureRangeComparison`.\n\nBy default, this method calls \
15032 [`SizeFeatureRangeComparison::visit_children_with_ast_path`]. If you want to recurse, \
15033 you need to call it manually."]
15034 #[inline]
15035 fn visit_size_feature_range_comparison<'ast: 'r, 'r>(
15036 &mut self,
15037 node: &'ast SizeFeatureRangeComparison,
15038 __ast_path: &mut AstNodePath<'r>,
15039 ) {
15040 <SizeFeatureRangeComparison as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15041 node, self, __ast_path,
15042 )
15043 }
15044 #[doc = "Visit a node of type `SizeFeatureRangeInterval`.\n\nBy default, this method calls \
15045 [`SizeFeatureRangeInterval::visit_children_with_ast_path`]. If you want to recurse, \
15046 you need to call it manually."]
15047 #[inline]
15048 fn visit_size_feature_range_interval<'ast: 'r, 'r>(
15049 &mut self,
15050 node: &'ast SizeFeatureRangeInterval,
15051 __ast_path: &mut AstNodePath<'r>,
15052 ) {
15053 <SizeFeatureRangeInterval as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15054 node, self, __ast_path,
15055 )
15056 }
15057 #[doc = "Visit a node of type `SizeFeatureValue`.\n\nBy default, this method calls \
15058 [`SizeFeatureValue::visit_children_with_ast_path`]. If you want to recurse, you need \
15059 to call it manually."]
15060 #[inline]
15061 fn visit_size_feature_value<'ast: 'r, 'r>(
15062 &mut self,
15063 node: &'ast SizeFeatureValue,
15064 __ast_path: &mut AstNodePath<'r>,
15065 ) {
15066 <SizeFeatureValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15067 node, self, __ast_path,
15068 )
15069 }
15070 #[doc = "Visit a node of type `swc_common :: Span`.\n\nBy default, this method calls \
15071 [`swc_common :: Span::visit_children_with_ast_path`]. If you want to recurse, you \
15072 need to call it manually."]
15073 #[inline]
15074 fn visit_span<'ast: 'r, 'r>(
15075 &mut self,
15076 node: &'ast swc_common::Span,
15077 __ast_path: &mut AstNodePath<'r>,
15078 ) {
15079 <swc_common::Span as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15080 node, self, __ast_path,
15081 )
15082 }
15083 #[doc = "Visit a node of type `Str`.\n\nBy default, this method calls \
15084 [`Str::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
15085 manually."]
15086 #[inline]
15087 fn visit_str<'ast: 'r, 'r>(&mut self, node: &'ast Str, __ast_path: &mut AstNodePath<'r>) {
15088 <Str as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15089 }
15090 #[doc = "Visit a node of type `StyleBlock`.\n\nBy default, this method calls \
15091 [`StyleBlock::visit_children_with_ast_path`]. If you want to recurse, you need to \
15092 call it manually."]
15093 #[inline]
15094 fn visit_style_block<'ast: 'r, 'r>(
15095 &mut self,
15096 node: &'ast StyleBlock,
15097 __ast_path: &mut AstNodePath<'r>,
15098 ) {
15099 <StyleBlock as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15100 }
15101 #[doc = "Visit a node of type `Stylesheet`.\n\nBy default, this method calls \
15102 [`Stylesheet::visit_children_with_ast_path`]. If you want to recurse, you need to \
15103 call it manually."]
15104 #[inline]
15105 fn visit_stylesheet<'ast: 'r, 'r>(
15106 &mut self,
15107 node: &'ast Stylesheet,
15108 __ast_path: &mut AstNodePath<'r>,
15109 ) {
15110 <Stylesheet as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15111 }
15112 #[doc = "Visit a node of type `SubclassSelector`.\n\nBy default, this method calls \
15113 [`SubclassSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
15114 to call it manually."]
15115 #[inline]
15116 fn visit_subclass_selector<'ast: 'r, 'r>(
15117 &mut self,
15118 node: &'ast SubclassSelector,
15119 __ast_path: &mut AstNodePath<'r>,
15120 ) {
15121 <SubclassSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15122 node, self, __ast_path,
15123 )
15124 }
15125 #[doc = "Visit a node of type `Vec < SubclassSelector >`.\n\nBy default, this method calls \
15126 [`Vec < SubclassSelector >::visit_children_with_ast_path`]. If you want to recurse, \
15127 you need to call it manually."]
15128 #[inline]
15129 fn visit_subclass_selectors<'ast: 'r, 'r>(
15130 &mut self,
15131 node: &'ast [SubclassSelector],
15132 __ast_path: &mut AstNodePath<'r>,
15133 ) {
15134 <[SubclassSelector] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15135 node, self, __ast_path,
15136 )
15137 }
15138 #[doc = "Visit a node of type `SupportsAnd`.\n\nBy default, this method calls \
15139 [`SupportsAnd::visit_children_with_ast_path`]. If you want to recurse, you need to \
15140 call it manually."]
15141 #[inline]
15142 fn visit_supports_and<'ast: 'r, 'r>(
15143 &mut self,
15144 node: &'ast SupportsAnd,
15145 __ast_path: &mut AstNodePath<'r>,
15146 ) {
15147 <SupportsAnd as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15148 node, self, __ast_path,
15149 )
15150 }
15151 #[doc = "Visit a node of type `SupportsCondition`.\n\nBy default, this method calls \
15152 [`SupportsCondition::visit_children_with_ast_path`]. If you want to recurse, you need \
15153 to call it manually."]
15154 #[inline]
15155 fn visit_supports_condition<'ast: 'r, 'r>(
15156 &mut self,
15157 node: &'ast SupportsCondition,
15158 __ast_path: &mut AstNodePath<'r>,
15159 ) {
15160 <SupportsCondition as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15161 node, self, __ast_path,
15162 )
15163 }
15164 #[doc = "Visit a node of type `SupportsConditionType`.\n\nBy default, this method calls \
15165 [`SupportsConditionType::visit_children_with_ast_path`]. If you want to recurse, you \
15166 need to call it manually."]
15167 #[inline]
15168 fn visit_supports_condition_type<'ast: 'r, 'r>(
15169 &mut self,
15170 node: &'ast SupportsConditionType,
15171 __ast_path: &mut AstNodePath<'r>,
15172 ) {
15173 <SupportsConditionType as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15174 node, self, __ast_path,
15175 )
15176 }
15177 #[doc = "Visit a node of type `Vec < SupportsConditionType >`.\n\nBy default, this method \
15178 calls [`Vec < SupportsConditionType >::visit_children_with_ast_path`]. If you want to \
15179 recurse, you need to call it manually."]
15180 #[inline]
15181 fn visit_supports_condition_types<'ast: 'r, 'r>(
15182 &mut self,
15183 node: &'ast [SupportsConditionType],
15184 __ast_path: &mut AstNodePath<'r>,
15185 ) {
15186 <[SupportsConditionType] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15187 node, self, __ast_path,
15188 )
15189 }
15190 #[doc = "Visit a node of type `SupportsFeature`.\n\nBy default, this method calls \
15191 [`SupportsFeature::visit_children_with_ast_path`]. If you want to recurse, you need \
15192 to call it manually."]
15193 #[inline]
15194 fn visit_supports_feature<'ast: 'r, 'r>(
15195 &mut self,
15196 node: &'ast SupportsFeature,
15197 __ast_path: &mut AstNodePath<'r>,
15198 ) {
15199 <SupportsFeature as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15200 node, self, __ast_path,
15201 )
15202 }
15203 #[doc = "Visit a node of type `SupportsInParens`.\n\nBy default, this method calls \
15204 [`SupportsInParens::visit_children_with_ast_path`]. If you want to recurse, you need \
15205 to call it manually."]
15206 #[inline]
15207 fn visit_supports_in_parens<'ast: 'r, 'r>(
15208 &mut self,
15209 node: &'ast SupportsInParens,
15210 __ast_path: &mut AstNodePath<'r>,
15211 ) {
15212 <SupportsInParens as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15213 node, self, __ast_path,
15214 )
15215 }
15216 #[doc = "Visit a node of type `SupportsNot`.\n\nBy default, this method calls \
15217 [`SupportsNot::visit_children_with_ast_path`]. If you want to recurse, you need to \
15218 call it manually."]
15219 #[inline]
15220 fn visit_supports_not<'ast: 'r, 'r>(
15221 &mut self,
15222 node: &'ast SupportsNot,
15223 __ast_path: &mut AstNodePath<'r>,
15224 ) {
15225 <SupportsNot as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15226 node, self, __ast_path,
15227 )
15228 }
15229 #[doc = "Visit a node of type `SupportsOr`.\n\nBy default, this method calls \
15230 [`SupportsOr::visit_children_with_ast_path`]. If you want to recurse, you need to \
15231 call it manually."]
15232 #[inline]
15233 fn visit_supports_or<'ast: 'r, 'r>(
15234 &mut self,
15235 node: &'ast SupportsOr,
15236 __ast_path: &mut AstNodePath<'r>,
15237 ) {
15238 <SupportsOr as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15239 }
15240 #[doc = "Visit a node of type `TagNameSelector`.\n\nBy default, this method calls \
15241 [`TagNameSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
15242 to call it manually."]
15243 #[inline]
15244 fn visit_tag_name_selector<'ast: 'r, 'r>(
15245 &mut self,
15246 node: &'ast TagNameSelector,
15247 __ast_path: &mut AstNodePath<'r>,
15248 ) {
15249 <TagNameSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15250 node, self, __ast_path,
15251 )
15252 }
15253 #[doc = "Visit a node of type `Time`.\n\nBy default, this method calls \
15254 [`Time::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
15255 manually."]
15256 #[inline]
15257 fn visit_time<'ast: 'r, 'r>(&mut self, node: &'ast Time, __ast_path: &mut AstNodePath<'r>) {
15258 <Time as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15259 }
15260 #[doc = "Visit a node of type `TimePercentage`.\n\nBy default, this method calls \
15261 [`TimePercentage::visit_children_with_ast_path`]. If you want to recurse, you need to \
15262 call it manually."]
15263 #[inline]
15264 fn visit_time_percentage<'ast: 'r, 'r>(
15265 &mut self,
15266 node: &'ast TimePercentage,
15267 __ast_path: &mut AstNodePath<'r>,
15268 ) {
15269 <TimePercentage as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15270 node, self, __ast_path,
15271 )
15272 }
15273 #[doc = "Visit a node of type `Token`.\n\nBy default, this method calls \
15274 [`Token::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
15275 manually."]
15276 #[inline]
15277 fn visit_token<'ast: 'r, 'r>(&mut self, node: &'ast Token, __ast_path: &mut AstNodePath<'r>) {
15278 <Token as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15279 }
15280 #[doc = "Visit a node of type `TokenAndSpan`.\n\nBy default, this method calls \
15281 [`TokenAndSpan::visit_children_with_ast_path`]. If you want to recurse, you need to \
15282 call it manually."]
15283 #[inline]
15284 fn visit_token_and_span<'ast: 'r, 'r>(
15285 &mut self,
15286 node: &'ast TokenAndSpan,
15287 __ast_path: &mut AstNodePath<'r>,
15288 ) {
15289 <TokenAndSpan as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15290 node, self, __ast_path,
15291 )
15292 }
15293 #[doc = "Visit a node of type `TypeSelector`.\n\nBy default, this method calls \
15294 [`TypeSelector::visit_children_with_ast_path`]. If you want to recurse, you need to \
15295 call it manually."]
15296 #[inline]
15297 fn visit_type_selector<'ast: 'r, 'r>(
15298 &mut self,
15299 node: &'ast TypeSelector,
15300 __ast_path: &mut AstNodePath<'r>,
15301 ) {
15302 <TypeSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15303 node, self, __ast_path,
15304 )
15305 }
15306 #[doc = "Visit a node of type `UnicodeRange`.\n\nBy default, this method calls \
15307 [`UnicodeRange::visit_children_with_ast_path`]. If you want to recurse, you need to \
15308 call it manually."]
15309 #[inline]
15310 fn visit_unicode_range<'ast: 'r, 'r>(
15311 &mut self,
15312 node: &'ast UnicodeRange,
15313 __ast_path: &mut AstNodePath<'r>,
15314 ) {
15315 <UnicodeRange as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15316 node, self, __ast_path,
15317 )
15318 }
15319 #[doc = "Visit a node of type `UniversalSelector`.\n\nBy default, this method calls \
15320 [`UniversalSelector::visit_children_with_ast_path`]. If you want to recurse, you need \
15321 to call it manually."]
15322 #[inline]
15323 fn visit_universal_selector<'ast: 'r, 'r>(
15324 &mut self,
15325 node: &'ast UniversalSelector,
15326 __ast_path: &mut AstNodePath<'r>,
15327 ) {
15328 <UniversalSelector as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15329 node, self, __ast_path,
15330 )
15331 }
15332 #[doc = "Visit a node of type `UnknownDimension`.\n\nBy default, this method calls \
15333 [`UnknownDimension::visit_children_with_ast_path`]. If you want to recurse, you need \
15334 to call it manually."]
15335 #[inline]
15336 fn visit_unknown_dimension<'ast: 'r, 'r>(
15337 &mut self,
15338 node: &'ast UnknownDimension,
15339 __ast_path: &mut AstNodePath<'r>,
15340 ) {
15341 <UnknownDimension as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15342 node, self, __ast_path,
15343 )
15344 }
15345 #[doc = "Visit a node of type `Url`.\n\nBy default, this method calls \
15346 [`Url::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
15347 manually."]
15348 #[inline]
15349 fn visit_url<'ast: 'r, 'r>(&mut self, node: &'ast Url, __ast_path: &mut AstNodePath<'r>) {
15350 <Url as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15351 }
15352 #[doc = "Visit a node of type `UrlKeyValue`.\n\nBy default, this method calls \
15353 [`UrlKeyValue::visit_children_with_ast_path`]. If you want to recurse, you need to \
15354 call it manually."]
15355 #[inline]
15356 fn visit_url_key_value<'ast: 'r, 'r>(
15357 &mut self,
15358 node: &'ast UrlKeyValue,
15359 __ast_path: &mut AstNodePath<'r>,
15360 ) {
15361 <UrlKeyValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15362 node, self, __ast_path,
15363 )
15364 }
15365 #[doc = "Visit a node of type `UrlModifier`.\n\nBy default, this method calls \
15366 [`UrlModifier::visit_children_with_ast_path`]. If you want to recurse, you need to \
15367 call it manually."]
15368 #[inline]
15369 fn visit_url_modifier<'ast: 'r, 'r>(
15370 &mut self,
15371 node: &'ast UrlModifier,
15372 __ast_path: &mut AstNodePath<'r>,
15373 ) {
15374 <UrlModifier as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15375 node, self, __ast_path,
15376 )
15377 }
15378 #[doc = "Visit a node of type `Vec < UrlModifier >`.\n\nBy default, this method calls [`Vec < \
15379 UrlModifier >::visit_children_with_ast_path`]. If you want to recurse, you need to \
15380 call it manually."]
15381 #[inline]
15382 fn visit_url_modifiers<'ast: 'r, 'r>(
15383 &mut self,
15384 node: &'ast [UrlModifier],
15385 __ast_path: &mut AstNodePath<'r>,
15386 ) {
15387 <[UrlModifier] as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15388 node, self, __ast_path,
15389 )
15390 }
15391 #[doc = "Visit a node of type `UrlValue`.\n\nBy default, this method calls \
15392 [`UrlValue::visit_children_with_ast_path`]. If you want to recurse, you need to call \
15393 it manually."]
15394 #[inline]
15395 fn visit_url_value<'ast: 'r, 'r>(
15396 &mut self,
15397 node: &'ast UrlValue,
15398 __ast_path: &mut AstNodePath<'r>,
15399 ) {
15400 <UrlValue as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15401 }
15402 #[doc = "Visit a node of type `UrlValueRaw`.\n\nBy default, this method calls \
15403 [`UrlValueRaw::visit_children_with_ast_path`]. If you want to recurse, you need to \
15404 call it manually."]
15405 #[inline]
15406 fn visit_url_value_raw<'ast: 'r, 'r>(
15407 &mut self,
15408 node: &'ast UrlValueRaw,
15409 __ast_path: &mut AstNodePath<'r>,
15410 ) {
15411 <UrlValueRaw as VisitWithAstPath<Self>>::visit_children_with_ast_path(
15412 node, self, __ast_path,
15413 )
15414 }
15415 #[doc = "Visit a node of type `WqName`.\n\nBy default, this method calls \
15416 [`WqName::visit_children_with_ast_path`]. If you want to recurse, you need to call it \
15417 manually."]
15418 #[inline]
15419 fn visit_wq_name<'ast: 'r, 'r>(
15420 &mut self,
15421 node: &'ast WqName,
15422 __ast_path: &mut AstNodePath<'r>,
15423 ) {
15424 <WqName as VisitWithAstPath<Self>>::visit_children_with_ast_path(node, self, __ast_path)
15425 }
15426}
15427#[cfg(any(docsrs, feature = "path"))]
15428#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
15429impl<V> VisitAstPath for &mut V
15430where
15431 V: ?Sized + VisitAstPath,
15432{
15433 #[inline]
15434 fn visit_absolute_color_base<'ast: 'r, 'r>(
15435 &mut self,
15436 node: &'ast AbsoluteColorBase,
15437 __ast_path: &mut AstNodePath<'r>,
15438 ) {
15439 <V as VisitAstPath>::visit_absolute_color_base(&mut **self, node, __ast_path)
15440 }
15441
15442 #[inline]
15443 fn visit_alpha_value<'ast: 'r, 'r>(
15444 &mut self,
15445 node: &'ast AlphaValue,
15446 __ast_path: &mut AstNodePath<'r>,
15447 ) {
15448 <V as VisitAstPath>::visit_alpha_value(&mut **self, node, __ast_path)
15449 }
15450
15451 #[inline]
15452 fn visit_an_plus_b<'ast: 'r, 'r>(
15453 &mut self,
15454 node: &'ast AnPlusB,
15455 __ast_path: &mut AstNodePath<'r>,
15456 ) {
15457 <V as VisitAstPath>::visit_an_plus_b(&mut **self, node, __ast_path)
15458 }
15459
15460 #[inline]
15461 fn visit_an_plus_b_notation<'ast: 'r, 'r>(
15462 &mut self,
15463 node: &'ast AnPlusBNotation,
15464 __ast_path: &mut AstNodePath<'r>,
15465 ) {
15466 <V as VisitAstPath>::visit_an_plus_b_notation(&mut **self, node, __ast_path)
15467 }
15468
15469 #[inline]
15470 fn visit_angle<'ast: 'r, 'r>(&mut self, node: &'ast Angle, __ast_path: &mut AstNodePath<'r>) {
15471 <V as VisitAstPath>::visit_angle(&mut **self, node, __ast_path)
15472 }
15473
15474 #[inline]
15475 fn visit_angle_percentage<'ast: 'r, 'r>(
15476 &mut self,
15477 node: &'ast AnglePercentage,
15478 __ast_path: &mut AstNodePath<'r>,
15479 ) {
15480 <V as VisitAstPath>::visit_angle_percentage(&mut **self, node, __ast_path)
15481 }
15482
15483 #[inline]
15484 fn visit_any_namespace<'ast: 'r, 'r>(
15485 &mut self,
15486 node: &'ast AnyNamespace,
15487 __ast_path: &mut AstNodePath<'r>,
15488 ) {
15489 <V as VisitAstPath>::visit_any_namespace(&mut **self, node, __ast_path)
15490 }
15491
15492 #[inline]
15493 fn visit_at_rule<'ast: 'r, 'r>(
15494 &mut self,
15495 node: &'ast AtRule,
15496 __ast_path: &mut AstNodePath<'r>,
15497 ) {
15498 <V as VisitAstPath>::visit_at_rule(&mut **self, node, __ast_path)
15499 }
15500
15501 #[inline]
15502 fn visit_at_rule_name<'ast: 'r, 'r>(
15503 &mut self,
15504 node: &'ast AtRuleName,
15505 __ast_path: &mut AstNodePath<'r>,
15506 ) {
15507 <V as VisitAstPath>::visit_at_rule_name(&mut **self, node, __ast_path)
15508 }
15509
15510 #[inline]
15511 fn visit_at_rule_prelude<'ast: 'r, 'r>(
15512 &mut self,
15513 node: &'ast AtRulePrelude,
15514 __ast_path: &mut AstNodePath<'r>,
15515 ) {
15516 <V as VisitAstPath>::visit_at_rule_prelude(&mut **self, node, __ast_path)
15517 }
15518
15519 #[inline]
15520 fn visit_atom<'ast: 'r, 'r>(
15521 &mut self,
15522 node: &'ast swc_atoms::Atom,
15523 __ast_path: &mut AstNodePath<'r>,
15524 ) {
15525 <V as VisitAstPath>::visit_atom(&mut **self, node, __ast_path)
15526 }
15527
15528 #[inline]
15529 fn visit_attribute_selector<'ast: 'r, 'r>(
15530 &mut self,
15531 node: &'ast AttributeSelector,
15532 __ast_path: &mut AstNodePath<'r>,
15533 ) {
15534 <V as VisitAstPath>::visit_attribute_selector(&mut **self, node, __ast_path)
15535 }
15536
15537 #[inline]
15538 fn visit_attribute_selector_matcher<'ast: 'r, 'r>(
15539 &mut self,
15540 node: &'ast AttributeSelectorMatcher,
15541 __ast_path: &mut AstNodePath<'r>,
15542 ) {
15543 <V as VisitAstPath>::visit_attribute_selector_matcher(&mut **self, node, __ast_path)
15544 }
15545
15546 #[inline]
15547 fn visit_attribute_selector_matcher_value<'ast: 'r, 'r>(
15548 &mut self,
15549 node: &'ast AttributeSelectorMatcherValue,
15550 __ast_path: &mut AstNodePath<'r>,
15551 ) {
15552 <V as VisitAstPath>::visit_attribute_selector_matcher_value(&mut **self, node, __ast_path)
15553 }
15554
15555 #[inline]
15556 fn visit_attribute_selector_modifier<'ast: 'r, 'r>(
15557 &mut self,
15558 node: &'ast AttributeSelectorModifier,
15559 __ast_path: &mut AstNodePath<'r>,
15560 ) {
15561 <V as VisitAstPath>::visit_attribute_selector_modifier(&mut **self, node, __ast_path)
15562 }
15563
15564 #[inline]
15565 fn visit_attribute_selector_value<'ast: 'r, 'r>(
15566 &mut self,
15567 node: &'ast AttributeSelectorValue,
15568 __ast_path: &mut AstNodePath<'r>,
15569 ) {
15570 <V as VisitAstPath>::visit_attribute_selector_value(&mut **self, node, __ast_path)
15571 }
15572
15573 #[inline]
15574 fn visit_bin_op<'ast: 'r, 'r>(&mut self, node: &'ast BinOp, __ast_path: &mut AstNodePath<'r>) {
15575 <V as VisitAstPath>::visit_bin_op(&mut **self, node, __ast_path)
15576 }
15577
15578 #[inline]
15579 fn visit_calc_operator<'ast: 'r, 'r>(
15580 &mut self,
15581 node: &'ast CalcOperator,
15582 __ast_path: &mut AstNodePath<'r>,
15583 ) {
15584 <V as VisitAstPath>::visit_calc_operator(&mut **self, node, __ast_path)
15585 }
15586
15587 #[inline]
15588 fn visit_calc_operator_type<'ast: 'r, 'r>(
15589 &mut self,
15590 node: &'ast CalcOperatorType,
15591 __ast_path: &mut AstNodePath<'r>,
15592 ) {
15593 <V as VisitAstPath>::visit_calc_operator_type(&mut **self, node, __ast_path)
15594 }
15595
15596 #[inline]
15597 fn visit_calc_product<'ast: 'r, 'r>(
15598 &mut self,
15599 node: &'ast CalcProduct,
15600 __ast_path: &mut AstNodePath<'r>,
15601 ) {
15602 <V as VisitAstPath>::visit_calc_product(&mut **self, node, __ast_path)
15603 }
15604
15605 #[inline]
15606 fn visit_calc_product_or_operator<'ast: 'r, 'r>(
15607 &mut self,
15608 node: &'ast CalcProductOrOperator,
15609 __ast_path: &mut AstNodePath<'r>,
15610 ) {
15611 <V as VisitAstPath>::visit_calc_product_or_operator(&mut **self, node, __ast_path)
15612 }
15613
15614 #[inline]
15615 fn visit_calc_product_or_operators<'ast: 'r, 'r>(
15616 &mut self,
15617 node: &'ast [CalcProductOrOperator],
15618 __ast_path: &mut AstNodePath<'r>,
15619 ) {
15620 <V as VisitAstPath>::visit_calc_product_or_operators(&mut **self, node, __ast_path)
15621 }
15622
15623 #[inline]
15624 fn visit_calc_sum<'ast: 'r, 'r>(
15625 &mut self,
15626 node: &'ast CalcSum,
15627 __ast_path: &mut AstNodePath<'r>,
15628 ) {
15629 <V as VisitAstPath>::visit_calc_sum(&mut **self, node, __ast_path)
15630 }
15631
15632 #[inline]
15633 fn visit_calc_value<'ast: 'r, 'r>(
15634 &mut self,
15635 node: &'ast CalcValue,
15636 __ast_path: &mut AstNodePath<'r>,
15637 ) {
15638 <V as VisitAstPath>::visit_calc_value(&mut **self, node, __ast_path)
15639 }
15640
15641 #[inline]
15642 fn visit_calc_value_or_operator<'ast: 'r, 'r>(
15643 &mut self,
15644 node: &'ast CalcValueOrOperator,
15645 __ast_path: &mut AstNodePath<'r>,
15646 ) {
15647 <V as VisitAstPath>::visit_calc_value_or_operator(&mut **self, node, __ast_path)
15648 }
15649
15650 #[inline]
15651 fn visit_calc_value_or_operators<'ast: 'r, 'r>(
15652 &mut self,
15653 node: &'ast [CalcValueOrOperator],
15654 __ast_path: &mut AstNodePath<'r>,
15655 ) {
15656 <V as VisitAstPath>::visit_calc_value_or_operators(&mut **self, node, __ast_path)
15657 }
15658
15659 #[inline]
15660 fn visit_class_selector<'ast: 'r, 'r>(
15661 &mut self,
15662 node: &'ast ClassSelector,
15663 __ast_path: &mut AstNodePath<'r>,
15664 ) {
15665 <V as VisitAstPath>::visit_class_selector(&mut **self, node, __ast_path)
15666 }
15667
15668 #[inline]
15669 fn visit_cmyk_component<'ast: 'r, 'r>(
15670 &mut self,
15671 node: &'ast CmykComponent,
15672 __ast_path: &mut AstNodePath<'r>,
15673 ) {
15674 <V as VisitAstPath>::visit_cmyk_component(&mut **self, node, __ast_path)
15675 }
15676
15677 #[inline]
15678 fn visit_color<'ast: 'r, 'r>(&mut self, node: &'ast Color, __ast_path: &mut AstNodePath<'r>) {
15679 <V as VisitAstPath>::visit_color(&mut **self, node, __ast_path)
15680 }
15681
15682 #[inline]
15683 fn visit_color_profile_name<'ast: 'r, 'r>(
15684 &mut self,
15685 node: &'ast ColorProfileName,
15686 __ast_path: &mut AstNodePath<'r>,
15687 ) {
15688 <V as VisitAstPath>::visit_color_profile_name(&mut **self, node, __ast_path)
15689 }
15690
15691 #[inline]
15692 fn visit_combinator<'ast: 'r, 'r>(
15693 &mut self,
15694 node: &'ast Combinator,
15695 __ast_path: &mut AstNodePath<'r>,
15696 ) {
15697 <V as VisitAstPath>::visit_combinator(&mut **self, node, __ast_path)
15698 }
15699
15700 #[inline]
15701 fn visit_combinator_value<'ast: 'r, 'r>(
15702 &mut self,
15703 node: &'ast CombinatorValue,
15704 __ast_path: &mut AstNodePath<'r>,
15705 ) {
15706 <V as VisitAstPath>::visit_combinator_value(&mut **self, node, __ast_path)
15707 }
15708
15709 #[inline]
15710 fn visit_complex_selector<'ast: 'r, 'r>(
15711 &mut self,
15712 node: &'ast ComplexSelector,
15713 __ast_path: &mut AstNodePath<'r>,
15714 ) {
15715 <V as VisitAstPath>::visit_complex_selector(&mut **self, node, __ast_path)
15716 }
15717
15718 #[inline]
15719 fn visit_complex_selector_children<'ast: 'r, 'r>(
15720 &mut self,
15721 node: &'ast ComplexSelectorChildren,
15722 __ast_path: &mut AstNodePath<'r>,
15723 ) {
15724 <V as VisitAstPath>::visit_complex_selector_children(&mut **self, node, __ast_path)
15725 }
15726
15727 #[inline]
15728 fn visit_complex_selector_childrens<'ast: 'r, 'r>(
15729 &mut self,
15730 node: &'ast [ComplexSelectorChildren],
15731 __ast_path: &mut AstNodePath<'r>,
15732 ) {
15733 <V as VisitAstPath>::visit_complex_selector_childrens(&mut **self, node, __ast_path)
15734 }
15735
15736 #[inline]
15737 fn visit_complex_selectors<'ast: 'r, 'r>(
15738 &mut self,
15739 node: &'ast [ComplexSelector],
15740 __ast_path: &mut AstNodePath<'r>,
15741 ) {
15742 <V as VisitAstPath>::visit_complex_selectors(&mut **self, node, __ast_path)
15743 }
15744
15745 #[inline]
15746 fn visit_component_value<'ast: 'r, 'r>(
15747 &mut self,
15748 node: &'ast ComponentValue,
15749 __ast_path: &mut AstNodePath<'r>,
15750 ) {
15751 <V as VisitAstPath>::visit_component_value(&mut **self, node, __ast_path)
15752 }
15753
15754 #[inline]
15755 fn visit_component_values<'ast: 'r, 'r>(
15756 &mut self,
15757 node: &'ast [ComponentValue],
15758 __ast_path: &mut AstNodePath<'r>,
15759 ) {
15760 <V as VisitAstPath>::visit_component_values(&mut **self, node, __ast_path)
15761 }
15762
15763 #[inline]
15764 fn visit_compound_selector<'ast: 'r, 'r>(
15765 &mut self,
15766 node: &'ast CompoundSelector,
15767 __ast_path: &mut AstNodePath<'r>,
15768 ) {
15769 <V as VisitAstPath>::visit_compound_selector(&mut **self, node, __ast_path)
15770 }
15771
15772 #[inline]
15773 fn visit_compound_selector_list<'ast: 'r, 'r>(
15774 &mut self,
15775 node: &'ast CompoundSelectorList,
15776 __ast_path: &mut AstNodePath<'r>,
15777 ) {
15778 <V as VisitAstPath>::visit_compound_selector_list(&mut **self, node, __ast_path)
15779 }
15780
15781 #[inline]
15782 fn visit_compound_selectors<'ast: 'r, 'r>(
15783 &mut self,
15784 node: &'ast [CompoundSelector],
15785 __ast_path: &mut AstNodePath<'r>,
15786 ) {
15787 <V as VisitAstPath>::visit_compound_selectors(&mut **self, node, __ast_path)
15788 }
15789
15790 #[inline]
15791 fn visit_container_condition<'ast: 'r, 'r>(
15792 &mut self,
15793 node: &'ast ContainerCondition,
15794 __ast_path: &mut AstNodePath<'r>,
15795 ) {
15796 <V as VisitAstPath>::visit_container_condition(&mut **self, node, __ast_path)
15797 }
15798
15799 #[inline]
15800 fn visit_container_name<'ast: 'r, 'r>(
15801 &mut self,
15802 node: &'ast ContainerName,
15803 __ast_path: &mut AstNodePath<'r>,
15804 ) {
15805 <V as VisitAstPath>::visit_container_name(&mut **self, node, __ast_path)
15806 }
15807
15808 #[inline]
15809 fn visit_container_query<'ast: 'r, 'r>(
15810 &mut self,
15811 node: &'ast ContainerQuery,
15812 __ast_path: &mut AstNodePath<'r>,
15813 ) {
15814 <V as VisitAstPath>::visit_container_query(&mut **self, node, __ast_path)
15815 }
15816
15817 #[inline]
15818 fn visit_container_query_and<'ast: 'r, 'r>(
15819 &mut self,
15820 node: &'ast ContainerQueryAnd,
15821 __ast_path: &mut AstNodePath<'r>,
15822 ) {
15823 <V as VisitAstPath>::visit_container_query_and(&mut **self, node, __ast_path)
15824 }
15825
15826 #[inline]
15827 fn visit_container_query_not<'ast: 'r, 'r>(
15828 &mut self,
15829 node: &'ast ContainerQueryNot,
15830 __ast_path: &mut AstNodePath<'r>,
15831 ) {
15832 <V as VisitAstPath>::visit_container_query_not(&mut **self, node, __ast_path)
15833 }
15834
15835 #[inline]
15836 fn visit_container_query_or<'ast: 'r, 'r>(
15837 &mut self,
15838 node: &'ast ContainerQueryOr,
15839 __ast_path: &mut AstNodePath<'r>,
15840 ) {
15841 <V as VisitAstPath>::visit_container_query_or(&mut **self, node, __ast_path)
15842 }
15843
15844 #[inline]
15845 fn visit_container_query_type<'ast: 'r, 'r>(
15846 &mut self,
15847 node: &'ast ContainerQueryType,
15848 __ast_path: &mut AstNodePath<'r>,
15849 ) {
15850 <V as VisitAstPath>::visit_container_query_type(&mut **self, node, __ast_path)
15851 }
15852
15853 #[inline]
15854 fn visit_container_query_types<'ast: 'r, 'r>(
15855 &mut self,
15856 node: &'ast [ContainerQueryType],
15857 __ast_path: &mut AstNodePath<'r>,
15858 ) {
15859 <V as VisitAstPath>::visit_container_query_types(&mut **self, node, __ast_path)
15860 }
15861
15862 #[inline]
15863 fn visit_custom_highlight_name<'ast: 'r, 'r>(
15864 &mut self,
15865 node: &'ast CustomHighlightName,
15866 __ast_path: &mut AstNodePath<'r>,
15867 ) {
15868 <V as VisitAstPath>::visit_custom_highlight_name(&mut **self, node, __ast_path)
15869 }
15870
15871 #[inline]
15872 fn visit_custom_ident<'ast: 'r, 'r>(
15873 &mut self,
15874 node: &'ast CustomIdent,
15875 __ast_path: &mut AstNodePath<'r>,
15876 ) {
15877 <V as VisitAstPath>::visit_custom_ident(&mut **self, node, __ast_path)
15878 }
15879
15880 #[inline]
15881 fn visit_custom_idents<'ast: 'r, 'r>(
15882 &mut self,
15883 node: &'ast [CustomIdent],
15884 __ast_path: &mut AstNodePath<'r>,
15885 ) {
15886 <V as VisitAstPath>::visit_custom_idents(&mut **self, node, __ast_path)
15887 }
15888
15889 #[inline]
15890 fn visit_custom_media_query<'ast: 'r, 'r>(
15891 &mut self,
15892 node: &'ast CustomMediaQuery,
15893 __ast_path: &mut AstNodePath<'r>,
15894 ) {
15895 <V as VisitAstPath>::visit_custom_media_query(&mut **self, node, __ast_path)
15896 }
15897
15898 #[inline]
15899 fn visit_custom_media_query_media_type<'ast: 'r, 'r>(
15900 &mut self,
15901 node: &'ast CustomMediaQueryMediaType,
15902 __ast_path: &mut AstNodePath<'r>,
15903 ) {
15904 <V as VisitAstPath>::visit_custom_media_query_media_type(&mut **self, node, __ast_path)
15905 }
15906
15907 #[inline]
15908 fn visit_custom_property_name<'ast: 'r, 'r>(
15909 &mut self,
15910 node: &'ast CustomPropertyName,
15911 __ast_path: &mut AstNodePath<'r>,
15912 ) {
15913 <V as VisitAstPath>::visit_custom_property_name(&mut **self, node, __ast_path)
15914 }
15915
15916 #[inline]
15917 fn visit_dashed_ident<'ast: 'r, 'r>(
15918 &mut self,
15919 node: &'ast DashedIdent,
15920 __ast_path: &mut AstNodePath<'r>,
15921 ) {
15922 <V as VisitAstPath>::visit_dashed_ident(&mut **self, node, __ast_path)
15923 }
15924
15925 #[inline]
15926 fn visit_declaration<'ast: 'r, 'r>(
15927 &mut self,
15928 node: &'ast Declaration,
15929 __ast_path: &mut AstNodePath<'r>,
15930 ) {
15931 <V as VisitAstPath>::visit_declaration(&mut **self, node, __ast_path)
15932 }
15933
15934 #[inline]
15935 fn visit_declaration_name<'ast: 'r, 'r>(
15936 &mut self,
15937 node: &'ast DeclarationName,
15938 __ast_path: &mut AstNodePath<'r>,
15939 ) {
15940 <V as VisitAstPath>::visit_declaration_name(&mut **self, node, __ast_path)
15941 }
15942
15943 #[inline]
15944 fn visit_declaration_or_at_rule<'ast: 'r, 'r>(
15945 &mut self,
15946 node: &'ast DeclarationOrAtRule,
15947 __ast_path: &mut AstNodePath<'r>,
15948 ) {
15949 <V as VisitAstPath>::visit_declaration_or_at_rule(&mut **self, node, __ast_path)
15950 }
15951
15952 #[inline]
15953 fn visit_delimiter<'ast: 'r, 'r>(
15954 &mut self,
15955 node: &'ast Delimiter,
15956 __ast_path: &mut AstNodePath<'r>,
15957 ) {
15958 <V as VisitAstPath>::visit_delimiter(&mut **self, node, __ast_path)
15959 }
15960
15961 #[inline]
15962 fn visit_delimiter_value<'ast: 'r, 'r>(
15963 &mut self,
15964 node: &'ast DelimiterValue,
15965 __ast_path: &mut AstNodePath<'r>,
15966 ) {
15967 <V as VisitAstPath>::visit_delimiter_value(&mut **self, node, __ast_path)
15968 }
15969
15970 #[inline]
15971 fn visit_dimension<'ast: 'r, 'r>(
15972 &mut self,
15973 node: &'ast Dimension,
15974 __ast_path: &mut AstNodePath<'r>,
15975 ) {
15976 <V as VisitAstPath>::visit_dimension(&mut **self, node, __ast_path)
15977 }
15978
15979 #[inline]
15980 fn visit_dimension_token<'ast: 'r, 'r>(
15981 &mut self,
15982 node: &'ast DimensionToken,
15983 __ast_path: &mut AstNodePath<'r>,
15984 ) {
15985 <V as VisitAstPath>::visit_dimension_token(&mut **self, node, __ast_path)
15986 }
15987
15988 #[inline]
15989 fn visit_document_prelude<'ast: 'r, 'r>(
15990 &mut self,
15991 node: &'ast DocumentPrelude,
15992 __ast_path: &mut AstNodePath<'r>,
15993 ) {
15994 <V as VisitAstPath>::visit_document_prelude(&mut **self, node, __ast_path)
15995 }
15996
15997 #[inline]
15998 fn visit_document_prelude_matching_function<'ast: 'r, 'r>(
15999 &mut self,
16000 node: &'ast DocumentPreludeMatchingFunction,
16001 __ast_path: &mut AstNodePath<'r>,
16002 ) {
16003 <V as VisitAstPath>::visit_document_prelude_matching_function(&mut **self, node, __ast_path)
16004 }
16005
16006 #[inline]
16007 fn visit_document_prelude_matching_functions<'ast: 'r, 'r>(
16008 &mut self,
16009 node: &'ast [DocumentPreludeMatchingFunction],
16010 __ast_path: &mut AstNodePath<'r>,
16011 ) {
16012 <V as VisitAstPath>::visit_document_prelude_matching_functions(
16013 &mut **self,
16014 node,
16015 __ast_path,
16016 )
16017 }
16018
16019 #[inline]
16020 fn visit_extension_name<'ast: 'r, 'r>(
16021 &mut self,
16022 node: &'ast ExtensionName,
16023 __ast_path: &mut AstNodePath<'r>,
16024 ) {
16025 <V as VisitAstPath>::visit_extension_name(&mut **self, node, __ast_path)
16026 }
16027
16028 #[inline]
16029 fn visit_family_name<'ast: 'r, 'r>(
16030 &mut self,
16031 node: &'ast FamilyName,
16032 __ast_path: &mut AstNodePath<'r>,
16033 ) {
16034 <V as VisitAstPath>::visit_family_name(&mut **self, node, __ast_path)
16035 }
16036
16037 #[inline]
16038 fn visit_family_names<'ast: 'r, 'r>(
16039 &mut self,
16040 node: &'ast [FamilyName],
16041 __ast_path: &mut AstNodePath<'r>,
16042 ) {
16043 <V as VisitAstPath>::visit_family_names(&mut **self, node, __ast_path)
16044 }
16045
16046 #[inline]
16047 fn visit_flex<'ast: 'r, 'r>(&mut self, node: &'ast Flex, __ast_path: &mut AstNodePath<'r>) {
16048 <V as VisitAstPath>::visit_flex(&mut **self, node, __ast_path)
16049 }
16050
16051 #[inline]
16052 fn visit_font_feature_values_prelude<'ast: 'r, 'r>(
16053 &mut self,
16054 node: &'ast FontFeatureValuesPrelude,
16055 __ast_path: &mut AstNodePath<'r>,
16056 ) {
16057 <V as VisitAstPath>::visit_font_feature_values_prelude(&mut **self, node, __ast_path)
16058 }
16059
16060 #[inline]
16061 fn visit_forgiving_complex_selector<'ast: 'r, 'r>(
16062 &mut self,
16063 node: &'ast ForgivingComplexSelector,
16064 __ast_path: &mut AstNodePath<'r>,
16065 ) {
16066 <V as VisitAstPath>::visit_forgiving_complex_selector(&mut **self, node, __ast_path)
16067 }
16068
16069 #[inline]
16070 fn visit_forgiving_complex_selectors<'ast: 'r, 'r>(
16071 &mut self,
16072 node: &'ast [ForgivingComplexSelector],
16073 __ast_path: &mut AstNodePath<'r>,
16074 ) {
16075 <V as VisitAstPath>::visit_forgiving_complex_selectors(&mut **self, node, __ast_path)
16076 }
16077
16078 #[inline]
16079 fn visit_forgiving_relative_selector<'ast: 'r, 'r>(
16080 &mut self,
16081 node: &'ast ForgivingRelativeSelector,
16082 __ast_path: &mut AstNodePath<'r>,
16083 ) {
16084 <V as VisitAstPath>::visit_forgiving_relative_selector(&mut **self, node, __ast_path)
16085 }
16086
16087 #[inline]
16088 fn visit_forgiving_relative_selector_list<'ast: 'r, 'r>(
16089 &mut self,
16090 node: &'ast ForgivingRelativeSelectorList,
16091 __ast_path: &mut AstNodePath<'r>,
16092 ) {
16093 <V as VisitAstPath>::visit_forgiving_relative_selector_list(&mut **self, node, __ast_path)
16094 }
16095
16096 #[inline]
16097 fn visit_forgiving_relative_selectors<'ast: 'r, 'r>(
16098 &mut self,
16099 node: &'ast [ForgivingRelativeSelector],
16100 __ast_path: &mut AstNodePath<'r>,
16101 ) {
16102 <V as VisitAstPath>::visit_forgiving_relative_selectors(&mut **self, node, __ast_path)
16103 }
16104
16105 #[inline]
16106 fn visit_forgiving_selector_list<'ast: 'r, 'r>(
16107 &mut self,
16108 node: &'ast ForgivingSelectorList,
16109 __ast_path: &mut AstNodePath<'r>,
16110 ) {
16111 <V as VisitAstPath>::visit_forgiving_selector_list(&mut **self, node, __ast_path)
16112 }
16113
16114 #[inline]
16115 fn visit_frequency<'ast: 'r, 'r>(
16116 &mut self,
16117 node: &'ast Frequency,
16118 __ast_path: &mut AstNodePath<'r>,
16119 ) {
16120 <V as VisitAstPath>::visit_frequency(&mut **self, node, __ast_path)
16121 }
16122
16123 #[inline]
16124 fn visit_frequency_percentage<'ast: 'r, 'r>(
16125 &mut self,
16126 node: &'ast FrequencyPercentage,
16127 __ast_path: &mut AstNodePath<'r>,
16128 ) {
16129 <V as VisitAstPath>::visit_frequency_percentage(&mut **self, node, __ast_path)
16130 }
16131
16132 #[inline]
16133 fn visit_function<'ast: 'r, 'r>(
16134 &mut self,
16135 node: &'ast Function,
16136 __ast_path: &mut AstNodePath<'r>,
16137 ) {
16138 <V as VisitAstPath>::visit_function(&mut **self, node, __ast_path)
16139 }
16140
16141 #[inline]
16142 fn visit_function_name<'ast: 'r, 'r>(
16143 &mut self,
16144 node: &'ast FunctionName,
16145 __ast_path: &mut AstNodePath<'r>,
16146 ) {
16147 <V as VisitAstPath>::visit_function_name(&mut **self, node, __ast_path)
16148 }
16149
16150 #[inline]
16151 fn visit_general_enclosed<'ast: 'r, 'r>(
16152 &mut self,
16153 node: &'ast GeneralEnclosed,
16154 __ast_path: &mut AstNodePath<'r>,
16155 ) {
16156 <V as VisitAstPath>::visit_general_enclosed(&mut **self, node, __ast_path)
16157 }
16158
16159 #[inline]
16160 fn visit_hex_color<'ast: 'r, 'r>(
16161 &mut self,
16162 node: &'ast HexColor,
16163 __ast_path: &mut AstNodePath<'r>,
16164 ) {
16165 <V as VisitAstPath>::visit_hex_color(&mut **self, node, __ast_path)
16166 }
16167
16168 #[inline]
16169 fn visit_hue<'ast: 'r, 'r>(&mut self, node: &'ast Hue, __ast_path: &mut AstNodePath<'r>) {
16170 <V as VisitAstPath>::visit_hue(&mut **self, node, __ast_path)
16171 }
16172
16173 #[inline]
16174 fn visit_id_selector<'ast: 'r, 'r>(
16175 &mut self,
16176 node: &'ast IdSelector,
16177 __ast_path: &mut AstNodePath<'r>,
16178 ) {
16179 <V as VisitAstPath>::visit_id_selector(&mut **self, node, __ast_path)
16180 }
16181
16182 #[inline]
16183 fn visit_ident<'ast: 'r, 'r>(&mut self, node: &'ast Ident, __ast_path: &mut AstNodePath<'r>) {
16184 <V as VisitAstPath>::visit_ident(&mut **self, node, __ast_path)
16185 }
16186
16187 #[inline]
16188 fn visit_idents<'ast: 'r, 'r>(
16189 &mut self,
16190 node: &'ast [Ident],
16191 __ast_path: &mut AstNodePath<'r>,
16192 ) {
16193 <V as VisitAstPath>::visit_idents(&mut **self, node, __ast_path)
16194 }
16195
16196 #[inline]
16197 fn visit_import_conditions<'ast: 'r, 'r>(
16198 &mut self,
16199 node: &'ast ImportConditions,
16200 __ast_path: &mut AstNodePath<'r>,
16201 ) {
16202 <V as VisitAstPath>::visit_import_conditions(&mut **self, node, __ast_path)
16203 }
16204
16205 #[inline]
16206 fn visit_import_href<'ast: 'r, 'r>(
16207 &mut self,
16208 node: &'ast ImportHref,
16209 __ast_path: &mut AstNodePath<'r>,
16210 ) {
16211 <V as VisitAstPath>::visit_import_href(&mut **self, node, __ast_path)
16212 }
16213
16214 #[inline]
16215 fn visit_import_layer_name<'ast: 'r, 'r>(
16216 &mut self,
16217 node: &'ast ImportLayerName,
16218 __ast_path: &mut AstNodePath<'r>,
16219 ) {
16220 <V as VisitAstPath>::visit_import_layer_name(&mut **self, node, __ast_path)
16221 }
16222
16223 #[inline]
16224 fn visit_import_prelude<'ast: 'r, 'r>(
16225 &mut self,
16226 node: &'ast ImportPrelude,
16227 __ast_path: &mut AstNodePath<'r>,
16228 ) {
16229 <V as VisitAstPath>::visit_import_prelude(&mut **self, node, __ast_path)
16230 }
16231
16232 #[inline]
16233 fn visit_important_flag<'ast: 'r, 'r>(
16234 &mut self,
16235 node: &'ast ImportantFlag,
16236 __ast_path: &mut AstNodePath<'r>,
16237 ) {
16238 <V as VisitAstPath>::visit_important_flag(&mut **self, node, __ast_path)
16239 }
16240
16241 #[inline]
16242 fn visit_integer<'ast: 'r, 'r>(
16243 &mut self,
16244 node: &'ast Integer,
16245 __ast_path: &mut AstNodePath<'r>,
16246 ) {
16247 <V as VisitAstPath>::visit_integer(&mut **self, node, __ast_path)
16248 }
16249
16250 #[inline]
16251 fn visit_keyframe_block<'ast: 'r, 'r>(
16252 &mut self,
16253 node: &'ast KeyframeBlock,
16254 __ast_path: &mut AstNodePath<'r>,
16255 ) {
16256 <V as VisitAstPath>::visit_keyframe_block(&mut **self, node, __ast_path)
16257 }
16258
16259 #[inline]
16260 fn visit_keyframe_selector<'ast: 'r, 'r>(
16261 &mut self,
16262 node: &'ast KeyframeSelector,
16263 __ast_path: &mut AstNodePath<'r>,
16264 ) {
16265 <V as VisitAstPath>::visit_keyframe_selector(&mut **self, node, __ast_path)
16266 }
16267
16268 #[inline]
16269 fn visit_keyframe_selectors<'ast: 'r, 'r>(
16270 &mut self,
16271 node: &'ast [KeyframeSelector],
16272 __ast_path: &mut AstNodePath<'r>,
16273 ) {
16274 <V as VisitAstPath>::visit_keyframe_selectors(&mut **self, node, __ast_path)
16275 }
16276
16277 #[inline]
16278 fn visit_keyframes_name<'ast: 'r, 'r>(
16279 &mut self,
16280 node: &'ast KeyframesName,
16281 __ast_path: &mut AstNodePath<'r>,
16282 ) {
16283 <V as VisitAstPath>::visit_keyframes_name(&mut **self, node, __ast_path)
16284 }
16285
16286 #[inline]
16287 fn visit_keyframes_pseudo_function<'ast: 'r, 'r>(
16288 &mut self,
16289 node: &'ast KeyframesPseudoFunction,
16290 __ast_path: &mut AstNodePath<'r>,
16291 ) {
16292 <V as VisitAstPath>::visit_keyframes_pseudo_function(&mut **self, node, __ast_path)
16293 }
16294
16295 #[inline]
16296 fn visit_keyframes_pseudo_prefix<'ast: 'r, 'r>(
16297 &mut self,
16298 node: &'ast KeyframesPseudoPrefix,
16299 __ast_path: &mut AstNodePath<'r>,
16300 ) {
16301 <V as VisitAstPath>::visit_keyframes_pseudo_prefix(&mut **self, node, __ast_path)
16302 }
16303
16304 #[inline]
16305 fn visit_layer_name<'ast: 'r, 'r>(
16306 &mut self,
16307 node: &'ast LayerName,
16308 __ast_path: &mut AstNodePath<'r>,
16309 ) {
16310 <V as VisitAstPath>::visit_layer_name(&mut **self, node, __ast_path)
16311 }
16312
16313 #[inline]
16314 fn visit_layer_name_list<'ast: 'r, 'r>(
16315 &mut self,
16316 node: &'ast LayerNameList,
16317 __ast_path: &mut AstNodePath<'r>,
16318 ) {
16319 <V as VisitAstPath>::visit_layer_name_list(&mut **self, node, __ast_path)
16320 }
16321
16322 #[inline]
16323 fn visit_layer_names<'ast: 'r, 'r>(
16324 &mut self,
16325 node: &'ast [LayerName],
16326 __ast_path: &mut AstNodePath<'r>,
16327 ) {
16328 <V as VisitAstPath>::visit_layer_names(&mut **self, node, __ast_path)
16329 }
16330
16331 #[inline]
16332 fn visit_layer_prelude<'ast: 'r, 'r>(
16333 &mut self,
16334 node: &'ast LayerPrelude,
16335 __ast_path: &mut AstNodePath<'r>,
16336 ) {
16337 <V as VisitAstPath>::visit_layer_prelude(&mut **self, node, __ast_path)
16338 }
16339
16340 #[inline]
16341 fn visit_length<'ast: 'r, 'r>(&mut self, node: &'ast Length, __ast_path: &mut AstNodePath<'r>) {
16342 <V as VisitAstPath>::visit_length(&mut **self, node, __ast_path)
16343 }
16344
16345 #[inline]
16346 fn visit_length_percentage<'ast: 'r, 'r>(
16347 &mut self,
16348 node: &'ast LengthPercentage,
16349 __ast_path: &mut AstNodePath<'r>,
16350 ) {
16351 <V as VisitAstPath>::visit_length_percentage(&mut **self, node, __ast_path)
16352 }
16353
16354 #[inline]
16355 fn visit_list_of_component_values<'ast: 'r, 'r>(
16356 &mut self,
16357 node: &'ast ListOfComponentValues,
16358 __ast_path: &mut AstNodePath<'r>,
16359 ) {
16360 <V as VisitAstPath>::visit_list_of_component_values(&mut **self, node, __ast_path)
16361 }
16362
16363 #[inline]
16364 fn visit_media_and<'ast: 'r, 'r>(
16365 &mut self,
16366 node: &'ast MediaAnd,
16367 __ast_path: &mut AstNodePath<'r>,
16368 ) {
16369 <V as VisitAstPath>::visit_media_and(&mut **self, node, __ast_path)
16370 }
16371
16372 #[inline]
16373 fn visit_media_condition<'ast: 'r, 'r>(
16374 &mut self,
16375 node: &'ast MediaCondition,
16376 __ast_path: &mut AstNodePath<'r>,
16377 ) {
16378 <V as VisitAstPath>::visit_media_condition(&mut **self, node, __ast_path)
16379 }
16380
16381 #[inline]
16382 fn visit_media_condition_all_type<'ast: 'r, 'r>(
16383 &mut self,
16384 node: &'ast MediaConditionAllType,
16385 __ast_path: &mut AstNodePath<'r>,
16386 ) {
16387 <V as VisitAstPath>::visit_media_condition_all_type(&mut **self, node, __ast_path)
16388 }
16389
16390 #[inline]
16391 fn visit_media_condition_all_types<'ast: 'r, 'r>(
16392 &mut self,
16393 node: &'ast [MediaConditionAllType],
16394 __ast_path: &mut AstNodePath<'r>,
16395 ) {
16396 <V as VisitAstPath>::visit_media_condition_all_types(&mut **self, node, __ast_path)
16397 }
16398
16399 #[inline]
16400 fn visit_media_condition_type<'ast: 'r, 'r>(
16401 &mut self,
16402 node: &'ast MediaConditionType,
16403 __ast_path: &mut AstNodePath<'r>,
16404 ) {
16405 <V as VisitAstPath>::visit_media_condition_type(&mut **self, node, __ast_path)
16406 }
16407
16408 #[inline]
16409 fn visit_media_condition_without_or<'ast: 'r, 'r>(
16410 &mut self,
16411 node: &'ast MediaConditionWithoutOr,
16412 __ast_path: &mut AstNodePath<'r>,
16413 ) {
16414 <V as VisitAstPath>::visit_media_condition_without_or(&mut **self, node, __ast_path)
16415 }
16416
16417 #[inline]
16418 fn visit_media_condition_without_or_type<'ast: 'r, 'r>(
16419 &mut self,
16420 node: &'ast MediaConditionWithoutOrType,
16421 __ast_path: &mut AstNodePath<'r>,
16422 ) {
16423 <V as VisitAstPath>::visit_media_condition_without_or_type(&mut **self, node, __ast_path)
16424 }
16425
16426 #[inline]
16427 fn visit_media_condition_without_or_types<'ast: 'r, 'r>(
16428 &mut self,
16429 node: &'ast [MediaConditionWithoutOrType],
16430 __ast_path: &mut AstNodePath<'r>,
16431 ) {
16432 <V as VisitAstPath>::visit_media_condition_without_or_types(&mut **self, node, __ast_path)
16433 }
16434
16435 #[inline]
16436 fn visit_media_feature<'ast: 'r, 'r>(
16437 &mut self,
16438 node: &'ast MediaFeature,
16439 __ast_path: &mut AstNodePath<'r>,
16440 ) {
16441 <V as VisitAstPath>::visit_media_feature(&mut **self, node, __ast_path)
16442 }
16443
16444 #[inline]
16445 fn visit_media_feature_boolean<'ast: 'r, 'r>(
16446 &mut self,
16447 node: &'ast MediaFeatureBoolean,
16448 __ast_path: &mut AstNodePath<'r>,
16449 ) {
16450 <V as VisitAstPath>::visit_media_feature_boolean(&mut **self, node, __ast_path)
16451 }
16452
16453 #[inline]
16454 fn visit_media_feature_name<'ast: 'r, 'r>(
16455 &mut self,
16456 node: &'ast MediaFeatureName,
16457 __ast_path: &mut AstNodePath<'r>,
16458 ) {
16459 <V as VisitAstPath>::visit_media_feature_name(&mut **self, node, __ast_path)
16460 }
16461
16462 #[inline]
16463 fn visit_media_feature_plain<'ast: 'r, 'r>(
16464 &mut self,
16465 node: &'ast MediaFeaturePlain,
16466 __ast_path: &mut AstNodePath<'r>,
16467 ) {
16468 <V as VisitAstPath>::visit_media_feature_plain(&mut **self, node, __ast_path)
16469 }
16470
16471 #[inline]
16472 fn visit_media_feature_range<'ast: 'r, 'r>(
16473 &mut self,
16474 node: &'ast MediaFeatureRange,
16475 __ast_path: &mut AstNodePath<'r>,
16476 ) {
16477 <V as VisitAstPath>::visit_media_feature_range(&mut **self, node, __ast_path)
16478 }
16479
16480 #[inline]
16481 fn visit_media_feature_range_comparison<'ast: 'r, 'r>(
16482 &mut self,
16483 node: &'ast MediaFeatureRangeComparison,
16484 __ast_path: &mut AstNodePath<'r>,
16485 ) {
16486 <V as VisitAstPath>::visit_media_feature_range_comparison(&mut **self, node, __ast_path)
16487 }
16488
16489 #[inline]
16490 fn visit_media_feature_range_interval<'ast: 'r, 'r>(
16491 &mut self,
16492 node: &'ast MediaFeatureRangeInterval,
16493 __ast_path: &mut AstNodePath<'r>,
16494 ) {
16495 <V as VisitAstPath>::visit_media_feature_range_interval(&mut **self, node, __ast_path)
16496 }
16497
16498 #[inline]
16499 fn visit_media_feature_value<'ast: 'r, 'r>(
16500 &mut self,
16501 node: &'ast MediaFeatureValue,
16502 __ast_path: &mut AstNodePath<'r>,
16503 ) {
16504 <V as VisitAstPath>::visit_media_feature_value(&mut **self, node, __ast_path)
16505 }
16506
16507 #[inline]
16508 fn visit_media_in_parens<'ast: 'r, 'r>(
16509 &mut self,
16510 node: &'ast MediaInParens,
16511 __ast_path: &mut AstNodePath<'r>,
16512 ) {
16513 <V as VisitAstPath>::visit_media_in_parens(&mut **self, node, __ast_path)
16514 }
16515
16516 #[inline]
16517 fn visit_media_not<'ast: 'r, 'r>(
16518 &mut self,
16519 node: &'ast MediaNot,
16520 __ast_path: &mut AstNodePath<'r>,
16521 ) {
16522 <V as VisitAstPath>::visit_media_not(&mut **self, node, __ast_path)
16523 }
16524
16525 #[inline]
16526 fn visit_media_or<'ast: 'r, 'r>(
16527 &mut self,
16528 node: &'ast MediaOr,
16529 __ast_path: &mut AstNodePath<'r>,
16530 ) {
16531 <V as VisitAstPath>::visit_media_or(&mut **self, node, __ast_path)
16532 }
16533
16534 #[inline]
16535 fn visit_media_query<'ast: 'r, 'r>(
16536 &mut self,
16537 node: &'ast MediaQuery,
16538 __ast_path: &mut AstNodePath<'r>,
16539 ) {
16540 <V as VisitAstPath>::visit_media_query(&mut **self, node, __ast_path)
16541 }
16542
16543 #[inline]
16544 fn visit_media_query_list<'ast: 'r, 'r>(
16545 &mut self,
16546 node: &'ast MediaQueryList,
16547 __ast_path: &mut AstNodePath<'r>,
16548 ) {
16549 <V as VisitAstPath>::visit_media_query_list(&mut **self, node, __ast_path)
16550 }
16551
16552 #[inline]
16553 fn visit_media_querys<'ast: 'r, 'r>(
16554 &mut self,
16555 node: &'ast [MediaQuery],
16556 __ast_path: &mut AstNodePath<'r>,
16557 ) {
16558 <V as VisitAstPath>::visit_media_querys(&mut **self, node, __ast_path)
16559 }
16560
16561 #[inline]
16562 fn visit_media_type<'ast: 'r, 'r>(
16563 &mut self,
16564 node: &'ast MediaType,
16565 __ast_path: &mut AstNodePath<'r>,
16566 ) {
16567 <V as VisitAstPath>::visit_media_type(&mut **self, node, __ast_path)
16568 }
16569
16570 #[inline]
16571 fn visit_named_namespace<'ast: 'r, 'r>(
16572 &mut self,
16573 node: &'ast NamedNamespace,
16574 __ast_path: &mut AstNodePath<'r>,
16575 ) {
16576 <V as VisitAstPath>::visit_named_namespace(&mut **self, node, __ast_path)
16577 }
16578
16579 #[inline]
16580 fn visit_namespace<'ast: 'r, 'r>(
16581 &mut self,
16582 node: &'ast Namespace,
16583 __ast_path: &mut AstNodePath<'r>,
16584 ) {
16585 <V as VisitAstPath>::visit_namespace(&mut **self, node, __ast_path)
16586 }
16587
16588 #[inline]
16589 fn visit_namespace_prefix<'ast: 'r, 'r>(
16590 &mut self,
16591 node: &'ast NamespacePrefix,
16592 __ast_path: &mut AstNodePath<'r>,
16593 ) {
16594 <V as VisitAstPath>::visit_namespace_prefix(&mut **self, node, __ast_path)
16595 }
16596
16597 #[inline]
16598 fn visit_namespace_prelude<'ast: 'r, 'r>(
16599 &mut self,
16600 node: &'ast NamespacePrelude,
16601 __ast_path: &mut AstNodePath<'r>,
16602 ) {
16603 <V as VisitAstPath>::visit_namespace_prelude(&mut **self, node, __ast_path)
16604 }
16605
16606 #[inline]
16607 fn visit_namespace_prelude_uri<'ast: 'r, 'r>(
16608 &mut self,
16609 node: &'ast NamespacePreludeUri,
16610 __ast_path: &mut AstNodePath<'r>,
16611 ) {
16612 <V as VisitAstPath>::visit_namespace_prelude_uri(&mut **self, node, __ast_path)
16613 }
16614
16615 #[inline]
16616 fn visit_nesting_selector<'ast: 'r, 'r>(
16617 &mut self,
16618 node: &'ast NestingSelector,
16619 __ast_path: &mut AstNodePath<'r>,
16620 ) {
16621 <V as VisitAstPath>::visit_nesting_selector(&mut **self, node, __ast_path)
16622 }
16623
16624 #[inline]
16625 fn visit_number<'ast: 'r, 'r>(&mut self, node: &'ast Number, __ast_path: &mut AstNodePath<'r>) {
16626 <V as VisitAstPath>::visit_number(&mut **self, node, __ast_path)
16627 }
16628
16629 #[inline]
16630 fn visit_number_type<'ast: 'r, 'r>(
16631 &mut self,
16632 node: &'ast NumberType,
16633 __ast_path: &mut AstNodePath<'r>,
16634 ) {
16635 <V as VisitAstPath>::visit_number_type(&mut **self, node, __ast_path)
16636 }
16637
16638 #[inline]
16639 fn visit_opt_at_rule_prelude<'ast: 'r, 'r>(
16640 &mut self,
16641 node: &'ast Option<Box<AtRulePrelude>>,
16642 __ast_path: &mut AstNodePath<'r>,
16643 ) {
16644 <V as VisitAstPath>::visit_opt_at_rule_prelude(&mut **self, node, __ast_path)
16645 }
16646
16647 #[inline]
16648 fn visit_opt_atom<'ast: 'r, 'r>(
16649 &mut self,
16650 node: &'ast Option<swc_atoms::Atom>,
16651 __ast_path: &mut AstNodePath<'r>,
16652 ) {
16653 <V as VisitAstPath>::visit_opt_atom(&mut **self, node, __ast_path)
16654 }
16655
16656 #[inline]
16657 fn visit_opt_attribute_selector_matcher<'ast: 'r, 'r>(
16658 &mut self,
16659 node: &'ast Option<AttributeSelectorMatcher>,
16660 __ast_path: &mut AstNodePath<'r>,
16661 ) {
16662 <V as VisitAstPath>::visit_opt_attribute_selector_matcher(&mut **self, node, __ast_path)
16663 }
16664
16665 #[inline]
16666 fn visit_opt_attribute_selector_modifier<'ast: 'r, 'r>(
16667 &mut self,
16668 node: &'ast Option<AttributeSelectorModifier>,
16669 __ast_path: &mut AstNodePath<'r>,
16670 ) {
16671 <V as VisitAstPath>::visit_opt_attribute_selector_modifier(&mut **self, node, __ast_path)
16672 }
16673
16674 #[inline]
16675 fn visit_opt_attribute_selector_value<'ast: 'r, 'r>(
16676 &mut self,
16677 node: &'ast Option<AttributeSelectorValue>,
16678 __ast_path: &mut AstNodePath<'r>,
16679 ) {
16680 <V as VisitAstPath>::visit_opt_attribute_selector_value(&mut **self, node, __ast_path)
16681 }
16682
16683 #[inline]
16684 fn visit_opt_combinator<'ast: 'r, 'r>(
16685 &mut self,
16686 node: &'ast Option<Combinator>,
16687 __ast_path: &mut AstNodePath<'r>,
16688 ) {
16689 <V as VisitAstPath>::visit_opt_combinator(&mut **self, node, __ast_path)
16690 }
16691
16692 #[inline]
16693 fn visit_opt_container_name<'ast: 'r, 'r>(
16694 &mut self,
16695 node: &'ast Option<ContainerName>,
16696 __ast_path: &mut AstNodePath<'r>,
16697 ) {
16698 <V as VisitAstPath>::visit_opt_container_name(&mut **self, node, __ast_path)
16699 }
16700
16701 #[inline]
16702 fn visit_opt_forgiving_selector_list<'ast: 'r, 'r>(
16703 &mut self,
16704 node: &'ast Option<ForgivingSelectorList>,
16705 __ast_path: &mut AstNodePath<'r>,
16706 ) {
16707 <V as VisitAstPath>::visit_opt_forgiving_selector_list(&mut **self, node, __ast_path)
16708 }
16709
16710 #[inline]
16711 fn visit_opt_function<'ast: 'r, 'r>(
16712 &mut self,
16713 node: &'ast Option<Box<Function>>,
16714 __ast_path: &mut AstNodePath<'r>,
16715 ) {
16716 <V as VisitAstPath>::visit_opt_function(&mut **self, node, __ast_path)
16717 }
16718
16719 #[inline]
16720 fn visit_opt_ident<'ast: 'r, 'r>(
16721 &mut self,
16722 node: &'ast Option<Ident>,
16723 __ast_path: &mut AstNodePath<'r>,
16724 ) {
16725 <V as VisitAstPath>::visit_opt_ident(&mut **self, node, __ast_path)
16726 }
16727
16728 #[inline]
16729 fn visit_opt_import_conditions<'ast: 'r, 'r>(
16730 &mut self,
16731 node: &'ast Option<Box<ImportConditions>>,
16732 __ast_path: &mut AstNodePath<'r>,
16733 ) {
16734 <V as VisitAstPath>::visit_opt_import_conditions(&mut **self, node, __ast_path)
16735 }
16736
16737 #[inline]
16738 fn visit_opt_import_layer_name<'ast: 'r, 'r>(
16739 &mut self,
16740 node: &'ast Option<Box<ImportLayerName>>,
16741 __ast_path: &mut AstNodePath<'r>,
16742 ) {
16743 <V as VisitAstPath>::visit_opt_import_layer_name(&mut **self, node, __ast_path)
16744 }
16745
16746 #[inline]
16747 fn visit_opt_important_flag<'ast: 'r, 'r>(
16748 &mut self,
16749 node: &'ast Option<ImportantFlag>,
16750 __ast_path: &mut AstNodePath<'r>,
16751 ) {
16752 <V as VisitAstPath>::visit_opt_important_flag(&mut **self, node, __ast_path)
16753 }
16754
16755 #[inline]
16756 fn visit_opt_media_condition_type<'ast: 'r, 'r>(
16757 &mut self,
16758 node: &'ast Option<Box<MediaConditionType>>,
16759 __ast_path: &mut AstNodePath<'r>,
16760 ) {
16761 <V as VisitAstPath>::visit_opt_media_condition_type(&mut **self, node, __ast_path)
16762 }
16763
16764 #[inline]
16765 fn visit_opt_media_query_list<'ast: 'r, 'r>(
16766 &mut self,
16767 node: &'ast Option<Box<MediaQueryList>>,
16768 __ast_path: &mut AstNodePath<'r>,
16769 ) {
16770 <V as VisitAstPath>::visit_opt_media_query_list(&mut **self, node, __ast_path)
16771 }
16772
16773 #[inline]
16774 fn visit_opt_media_type<'ast: 'r, 'r>(
16775 &mut self,
16776 node: &'ast Option<MediaType>,
16777 __ast_path: &mut AstNodePath<'r>,
16778 ) {
16779 <V as VisitAstPath>::visit_opt_media_type(&mut **self, node, __ast_path)
16780 }
16781
16782 #[inline]
16783 fn visit_opt_namespace<'ast: 'r, 'r>(
16784 &mut self,
16785 node: &'ast Option<Namespace>,
16786 __ast_path: &mut AstNodePath<'r>,
16787 ) {
16788 <V as VisitAstPath>::visit_opt_namespace(&mut **self, node, __ast_path)
16789 }
16790
16791 #[inline]
16792 fn visit_opt_namespace_prefix<'ast: 'r, 'r>(
16793 &mut self,
16794 node: &'ast Option<NamespacePrefix>,
16795 __ast_path: &mut AstNodePath<'r>,
16796 ) {
16797 <V as VisitAstPath>::visit_opt_namespace_prefix(&mut **self, node, __ast_path)
16798 }
16799
16800 #[inline]
16801 fn visit_opt_nesting_selector<'ast: 'r, 'r>(
16802 &mut self,
16803 node: &'ast Option<NestingSelector>,
16804 __ast_path: &mut AstNodePath<'r>,
16805 ) {
16806 <V as VisitAstPath>::visit_opt_nesting_selector(&mut **self, node, __ast_path)
16807 }
16808
16809 #[inline]
16810 fn visit_opt_number<'ast: 'r, 'r>(
16811 &mut self,
16812 node: &'ast Option<Number>,
16813 __ast_path: &mut AstNodePath<'r>,
16814 ) {
16815 <V as VisitAstPath>::visit_opt_number(&mut **self, node, __ast_path)
16816 }
16817
16818 #[inline]
16819 fn visit_opt_page_selector_pseudos<'ast: 'r, 'r>(
16820 &mut self,
16821 node: &'ast Option<Vec<PageSelectorPseudo>>,
16822 __ast_path: &mut AstNodePath<'r>,
16823 ) {
16824 <V as VisitAstPath>::visit_opt_page_selector_pseudos(&mut **self, node, __ast_path)
16825 }
16826
16827 #[inline]
16828 fn visit_opt_page_selector_type<'ast: 'r, 'r>(
16829 &mut self,
16830 node: &'ast Option<PageSelectorType>,
16831 __ast_path: &mut AstNodePath<'r>,
16832 ) {
16833 <V as VisitAstPath>::visit_opt_page_selector_type(&mut **self, node, __ast_path)
16834 }
16835
16836 #[inline]
16837 fn visit_opt_pseudo_class_selector_childrens<'ast: 'r, 'r>(
16838 &mut self,
16839 node: &'ast Option<Vec<PseudoClassSelectorChildren>>,
16840 __ast_path: &mut AstNodePath<'r>,
16841 ) {
16842 <V as VisitAstPath>::visit_opt_pseudo_class_selector_childrens(
16843 &mut **self,
16844 node,
16845 __ast_path,
16846 )
16847 }
16848
16849 #[inline]
16850 fn visit_opt_pseudo_element_selector_childrens<'ast: 'r, 'r>(
16851 &mut self,
16852 node: &'ast Option<Vec<PseudoElementSelectorChildren>>,
16853 __ast_path: &mut AstNodePath<'r>,
16854 ) {
16855 <V as VisitAstPath>::visit_opt_pseudo_element_selector_childrens(
16856 &mut **self,
16857 node,
16858 __ast_path,
16859 )
16860 }
16861
16862 #[inline]
16863 fn visit_opt_simple_block<'ast: 'r, 'r>(
16864 &mut self,
16865 node: &'ast Option<SimpleBlock>,
16866 __ast_path: &mut AstNodePath<'r>,
16867 ) {
16868 <V as VisitAstPath>::visit_opt_simple_block(&mut **self, node, __ast_path)
16869 }
16870
16871 #[inline]
16872 fn visit_opt_type_selector<'ast: 'r, 'r>(
16873 &mut self,
16874 node: &'ast Option<Box<TypeSelector>>,
16875 __ast_path: &mut AstNodePath<'r>,
16876 ) {
16877 <V as VisitAstPath>::visit_opt_type_selector(&mut **self, node, __ast_path)
16878 }
16879
16880 #[inline]
16881 fn visit_opt_url_modifiers<'ast: 'r, 'r>(
16882 &mut self,
16883 node: &'ast Option<Vec<UrlModifier>>,
16884 __ast_path: &mut AstNodePath<'r>,
16885 ) {
16886 <V as VisitAstPath>::visit_opt_url_modifiers(&mut **self, node, __ast_path)
16887 }
16888
16889 #[inline]
16890 fn visit_opt_url_value<'ast: 'r, 'r>(
16891 &mut self,
16892 node: &'ast Option<Box<UrlValue>>,
16893 __ast_path: &mut AstNodePath<'r>,
16894 ) {
16895 <V as VisitAstPath>::visit_opt_url_value(&mut **self, node, __ast_path)
16896 }
16897
16898 #[inline]
16899 fn visit_page_selector<'ast: 'r, 'r>(
16900 &mut self,
16901 node: &'ast PageSelector,
16902 __ast_path: &mut AstNodePath<'r>,
16903 ) {
16904 <V as VisitAstPath>::visit_page_selector(&mut **self, node, __ast_path)
16905 }
16906
16907 #[inline]
16908 fn visit_page_selector_list<'ast: 'r, 'r>(
16909 &mut self,
16910 node: &'ast PageSelectorList,
16911 __ast_path: &mut AstNodePath<'r>,
16912 ) {
16913 <V as VisitAstPath>::visit_page_selector_list(&mut **self, node, __ast_path)
16914 }
16915
16916 #[inline]
16917 fn visit_page_selector_pseudo<'ast: 'r, 'r>(
16918 &mut self,
16919 node: &'ast PageSelectorPseudo,
16920 __ast_path: &mut AstNodePath<'r>,
16921 ) {
16922 <V as VisitAstPath>::visit_page_selector_pseudo(&mut **self, node, __ast_path)
16923 }
16924
16925 #[inline]
16926 fn visit_page_selector_pseudos<'ast: 'r, 'r>(
16927 &mut self,
16928 node: &'ast [PageSelectorPseudo],
16929 __ast_path: &mut AstNodePath<'r>,
16930 ) {
16931 <V as VisitAstPath>::visit_page_selector_pseudos(&mut **self, node, __ast_path)
16932 }
16933
16934 #[inline]
16935 fn visit_page_selector_type<'ast: 'r, 'r>(
16936 &mut self,
16937 node: &'ast PageSelectorType,
16938 __ast_path: &mut AstNodePath<'r>,
16939 ) {
16940 <V as VisitAstPath>::visit_page_selector_type(&mut **self, node, __ast_path)
16941 }
16942
16943 #[inline]
16944 fn visit_page_selectors<'ast: 'r, 'r>(
16945 &mut self,
16946 node: &'ast [PageSelector],
16947 __ast_path: &mut AstNodePath<'r>,
16948 ) {
16949 <V as VisitAstPath>::visit_page_selectors(&mut **self, node, __ast_path)
16950 }
16951
16952 #[inline]
16953 fn visit_percentage<'ast: 'r, 'r>(
16954 &mut self,
16955 node: &'ast Percentage,
16956 __ast_path: &mut AstNodePath<'r>,
16957 ) {
16958 <V as VisitAstPath>::visit_percentage(&mut **self, node, __ast_path)
16959 }
16960
16961 #[inline]
16962 fn visit_pseudo_class_selector<'ast: 'r, 'r>(
16963 &mut self,
16964 node: &'ast PseudoClassSelector,
16965 __ast_path: &mut AstNodePath<'r>,
16966 ) {
16967 <V as VisitAstPath>::visit_pseudo_class_selector(&mut **self, node, __ast_path)
16968 }
16969
16970 #[inline]
16971 fn visit_pseudo_class_selector_children<'ast: 'r, 'r>(
16972 &mut self,
16973 node: &'ast PseudoClassSelectorChildren,
16974 __ast_path: &mut AstNodePath<'r>,
16975 ) {
16976 <V as VisitAstPath>::visit_pseudo_class_selector_children(&mut **self, node, __ast_path)
16977 }
16978
16979 #[inline]
16980 fn visit_pseudo_class_selector_childrens<'ast: 'r, 'r>(
16981 &mut self,
16982 node: &'ast [PseudoClassSelectorChildren],
16983 __ast_path: &mut AstNodePath<'r>,
16984 ) {
16985 <V as VisitAstPath>::visit_pseudo_class_selector_childrens(&mut **self, node, __ast_path)
16986 }
16987
16988 #[inline]
16989 fn visit_pseudo_element_selector<'ast: 'r, 'r>(
16990 &mut self,
16991 node: &'ast PseudoElementSelector,
16992 __ast_path: &mut AstNodePath<'r>,
16993 ) {
16994 <V as VisitAstPath>::visit_pseudo_element_selector(&mut **self, node, __ast_path)
16995 }
16996
16997 #[inline]
16998 fn visit_pseudo_element_selector_children<'ast: 'r, 'r>(
16999 &mut self,
17000 node: &'ast PseudoElementSelectorChildren,
17001 __ast_path: &mut AstNodePath<'r>,
17002 ) {
17003 <V as VisitAstPath>::visit_pseudo_element_selector_children(&mut **self, node, __ast_path)
17004 }
17005
17006 #[inline]
17007 fn visit_pseudo_element_selector_childrens<'ast: 'r, 'r>(
17008 &mut self,
17009 node: &'ast [PseudoElementSelectorChildren],
17010 __ast_path: &mut AstNodePath<'r>,
17011 ) {
17012 <V as VisitAstPath>::visit_pseudo_element_selector_childrens(&mut **self, node, __ast_path)
17013 }
17014
17015 #[inline]
17016 fn visit_qualified_rule<'ast: 'r, 'r>(
17017 &mut self,
17018 node: &'ast QualifiedRule,
17019 __ast_path: &mut AstNodePath<'r>,
17020 ) {
17021 <V as VisitAstPath>::visit_qualified_rule(&mut **self, node, __ast_path)
17022 }
17023
17024 #[inline]
17025 fn visit_qualified_rule_prelude<'ast: 'r, 'r>(
17026 &mut self,
17027 node: &'ast QualifiedRulePrelude,
17028 __ast_path: &mut AstNodePath<'r>,
17029 ) {
17030 <V as VisitAstPath>::visit_qualified_rule_prelude(&mut **self, node, __ast_path)
17031 }
17032
17033 #[inline]
17034 fn visit_query_in_parens<'ast: 'r, 'r>(
17035 &mut self,
17036 node: &'ast QueryInParens,
17037 __ast_path: &mut AstNodePath<'r>,
17038 ) {
17039 <V as VisitAstPath>::visit_query_in_parens(&mut **self, node, __ast_path)
17040 }
17041
17042 #[inline]
17043 fn visit_ratio<'ast: 'r, 'r>(&mut self, node: &'ast Ratio, __ast_path: &mut AstNodePath<'r>) {
17044 <V as VisitAstPath>::visit_ratio(&mut **self, node, __ast_path)
17045 }
17046
17047 #[inline]
17048 fn visit_relative_selector<'ast: 'r, 'r>(
17049 &mut self,
17050 node: &'ast RelativeSelector,
17051 __ast_path: &mut AstNodePath<'r>,
17052 ) {
17053 <V as VisitAstPath>::visit_relative_selector(&mut **self, node, __ast_path)
17054 }
17055
17056 #[inline]
17057 fn visit_relative_selector_list<'ast: 'r, 'r>(
17058 &mut self,
17059 node: &'ast RelativeSelectorList,
17060 __ast_path: &mut AstNodePath<'r>,
17061 ) {
17062 <V as VisitAstPath>::visit_relative_selector_list(&mut **self, node, __ast_path)
17063 }
17064
17065 #[inline]
17066 fn visit_relative_selectors<'ast: 'r, 'r>(
17067 &mut self,
17068 node: &'ast [RelativeSelector],
17069 __ast_path: &mut AstNodePath<'r>,
17070 ) {
17071 <V as VisitAstPath>::visit_relative_selectors(&mut **self, node, __ast_path)
17072 }
17073
17074 #[inline]
17075 fn visit_resolution<'ast: 'r, 'r>(
17076 &mut self,
17077 node: &'ast Resolution,
17078 __ast_path: &mut AstNodePath<'r>,
17079 ) {
17080 <V as VisitAstPath>::visit_resolution(&mut **self, node, __ast_path)
17081 }
17082
17083 #[inline]
17084 fn visit_rule<'ast: 'r, 'r>(&mut self, node: &'ast Rule, __ast_path: &mut AstNodePath<'r>) {
17085 <V as VisitAstPath>::visit_rule(&mut **self, node, __ast_path)
17086 }
17087
17088 #[inline]
17089 fn visit_rules<'ast: 'r, 'r>(&mut self, node: &'ast [Rule], __ast_path: &mut AstNodePath<'r>) {
17090 <V as VisitAstPath>::visit_rules(&mut **self, node, __ast_path)
17091 }
17092
17093 #[inline]
17094 fn visit_scope_range<'ast: 'r, 'r>(
17095 &mut self,
17096 node: &'ast ScopeRange,
17097 __ast_path: &mut AstNodePath<'r>,
17098 ) {
17099 <V as VisitAstPath>::visit_scope_range(&mut **self, node, __ast_path)
17100 }
17101
17102 #[inline]
17103 fn visit_selector_list<'ast: 'r, 'r>(
17104 &mut self,
17105 node: &'ast SelectorList,
17106 __ast_path: &mut AstNodePath<'r>,
17107 ) {
17108 <V as VisitAstPath>::visit_selector_list(&mut **self, node, __ast_path)
17109 }
17110
17111 #[inline]
17112 fn visit_sequence_of_custom_idents<'ast: 'r, 'r>(
17113 &mut self,
17114 node: &'ast SequenceOfCustomIdents,
17115 __ast_path: &mut AstNodePath<'r>,
17116 ) {
17117 <V as VisitAstPath>::visit_sequence_of_custom_idents(&mut **self, node, __ast_path)
17118 }
17119
17120 #[inline]
17121 fn visit_simple_block<'ast: 'r, 'r>(
17122 &mut self,
17123 node: &'ast SimpleBlock,
17124 __ast_path: &mut AstNodePath<'r>,
17125 ) {
17126 <V as VisitAstPath>::visit_simple_block(&mut **self, node, __ast_path)
17127 }
17128
17129 #[inline]
17130 fn visit_size_feature<'ast: 'r, 'r>(
17131 &mut self,
17132 node: &'ast SizeFeature,
17133 __ast_path: &mut AstNodePath<'r>,
17134 ) {
17135 <V as VisitAstPath>::visit_size_feature(&mut **self, node, __ast_path)
17136 }
17137
17138 #[inline]
17139 fn visit_size_feature_boolean<'ast: 'r, 'r>(
17140 &mut self,
17141 node: &'ast SizeFeatureBoolean,
17142 __ast_path: &mut AstNodePath<'r>,
17143 ) {
17144 <V as VisitAstPath>::visit_size_feature_boolean(&mut **self, node, __ast_path)
17145 }
17146
17147 #[inline]
17148 fn visit_size_feature_name<'ast: 'r, 'r>(
17149 &mut self,
17150 node: &'ast SizeFeatureName,
17151 __ast_path: &mut AstNodePath<'r>,
17152 ) {
17153 <V as VisitAstPath>::visit_size_feature_name(&mut **self, node, __ast_path)
17154 }
17155
17156 #[inline]
17157 fn visit_size_feature_plain<'ast: 'r, 'r>(
17158 &mut self,
17159 node: &'ast SizeFeaturePlain,
17160 __ast_path: &mut AstNodePath<'r>,
17161 ) {
17162 <V as VisitAstPath>::visit_size_feature_plain(&mut **self, node, __ast_path)
17163 }
17164
17165 #[inline]
17166 fn visit_size_feature_range<'ast: 'r, 'r>(
17167 &mut self,
17168 node: &'ast SizeFeatureRange,
17169 __ast_path: &mut AstNodePath<'r>,
17170 ) {
17171 <V as VisitAstPath>::visit_size_feature_range(&mut **self, node, __ast_path)
17172 }
17173
17174 #[inline]
17175 fn visit_size_feature_range_comparison<'ast: 'r, 'r>(
17176 &mut self,
17177 node: &'ast SizeFeatureRangeComparison,
17178 __ast_path: &mut AstNodePath<'r>,
17179 ) {
17180 <V as VisitAstPath>::visit_size_feature_range_comparison(&mut **self, node, __ast_path)
17181 }
17182
17183 #[inline]
17184 fn visit_size_feature_range_interval<'ast: 'r, 'r>(
17185 &mut self,
17186 node: &'ast SizeFeatureRangeInterval,
17187 __ast_path: &mut AstNodePath<'r>,
17188 ) {
17189 <V as VisitAstPath>::visit_size_feature_range_interval(&mut **self, node, __ast_path)
17190 }
17191
17192 #[inline]
17193 fn visit_size_feature_value<'ast: 'r, 'r>(
17194 &mut self,
17195 node: &'ast SizeFeatureValue,
17196 __ast_path: &mut AstNodePath<'r>,
17197 ) {
17198 <V as VisitAstPath>::visit_size_feature_value(&mut **self, node, __ast_path)
17199 }
17200
17201 #[inline]
17202 fn visit_span<'ast: 'r, 'r>(
17203 &mut self,
17204 node: &'ast swc_common::Span,
17205 __ast_path: &mut AstNodePath<'r>,
17206 ) {
17207 <V as VisitAstPath>::visit_span(&mut **self, node, __ast_path)
17208 }
17209
17210 #[inline]
17211 fn visit_str<'ast: 'r, 'r>(&mut self, node: &'ast Str, __ast_path: &mut AstNodePath<'r>) {
17212 <V as VisitAstPath>::visit_str(&mut **self, node, __ast_path)
17213 }
17214
17215 #[inline]
17216 fn visit_style_block<'ast: 'r, 'r>(
17217 &mut self,
17218 node: &'ast StyleBlock,
17219 __ast_path: &mut AstNodePath<'r>,
17220 ) {
17221 <V as VisitAstPath>::visit_style_block(&mut **self, node, __ast_path)
17222 }
17223
17224 #[inline]
17225 fn visit_stylesheet<'ast: 'r, 'r>(
17226 &mut self,
17227 node: &'ast Stylesheet,
17228 __ast_path: &mut AstNodePath<'r>,
17229 ) {
17230 <V as VisitAstPath>::visit_stylesheet(&mut **self, node, __ast_path)
17231 }
17232
17233 #[inline]
17234 fn visit_subclass_selector<'ast: 'r, 'r>(
17235 &mut self,
17236 node: &'ast SubclassSelector,
17237 __ast_path: &mut AstNodePath<'r>,
17238 ) {
17239 <V as VisitAstPath>::visit_subclass_selector(&mut **self, node, __ast_path)
17240 }
17241
17242 #[inline]
17243 fn visit_subclass_selectors<'ast: 'r, 'r>(
17244 &mut self,
17245 node: &'ast [SubclassSelector],
17246 __ast_path: &mut AstNodePath<'r>,
17247 ) {
17248 <V as VisitAstPath>::visit_subclass_selectors(&mut **self, node, __ast_path)
17249 }
17250
17251 #[inline]
17252 fn visit_supports_and<'ast: 'r, 'r>(
17253 &mut self,
17254 node: &'ast SupportsAnd,
17255 __ast_path: &mut AstNodePath<'r>,
17256 ) {
17257 <V as VisitAstPath>::visit_supports_and(&mut **self, node, __ast_path)
17258 }
17259
17260 #[inline]
17261 fn visit_supports_condition<'ast: 'r, 'r>(
17262 &mut self,
17263 node: &'ast SupportsCondition,
17264 __ast_path: &mut AstNodePath<'r>,
17265 ) {
17266 <V as VisitAstPath>::visit_supports_condition(&mut **self, node, __ast_path)
17267 }
17268
17269 #[inline]
17270 fn visit_supports_condition_type<'ast: 'r, 'r>(
17271 &mut self,
17272 node: &'ast SupportsConditionType,
17273 __ast_path: &mut AstNodePath<'r>,
17274 ) {
17275 <V as VisitAstPath>::visit_supports_condition_type(&mut **self, node, __ast_path)
17276 }
17277
17278 #[inline]
17279 fn visit_supports_condition_types<'ast: 'r, 'r>(
17280 &mut self,
17281 node: &'ast [SupportsConditionType],
17282 __ast_path: &mut AstNodePath<'r>,
17283 ) {
17284 <V as VisitAstPath>::visit_supports_condition_types(&mut **self, node, __ast_path)
17285 }
17286
17287 #[inline]
17288 fn visit_supports_feature<'ast: 'r, 'r>(
17289 &mut self,
17290 node: &'ast SupportsFeature,
17291 __ast_path: &mut AstNodePath<'r>,
17292 ) {
17293 <V as VisitAstPath>::visit_supports_feature(&mut **self, node, __ast_path)
17294 }
17295
17296 #[inline]
17297 fn visit_supports_in_parens<'ast: 'r, 'r>(
17298 &mut self,
17299 node: &'ast SupportsInParens,
17300 __ast_path: &mut AstNodePath<'r>,
17301 ) {
17302 <V as VisitAstPath>::visit_supports_in_parens(&mut **self, node, __ast_path)
17303 }
17304
17305 #[inline]
17306 fn visit_supports_not<'ast: 'r, 'r>(
17307 &mut self,
17308 node: &'ast SupportsNot,
17309 __ast_path: &mut AstNodePath<'r>,
17310 ) {
17311 <V as VisitAstPath>::visit_supports_not(&mut **self, node, __ast_path)
17312 }
17313
17314 #[inline]
17315 fn visit_supports_or<'ast: 'r, 'r>(
17316 &mut self,
17317 node: &'ast SupportsOr,
17318 __ast_path: &mut AstNodePath<'r>,
17319 ) {
17320 <V as VisitAstPath>::visit_supports_or(&mut **self, node, __ast_path)
17321 }
17322
17323 #[inline]
17324 fn visit_tag_name_selector<'ast: 'r, 'r>(
17325 &mut self,
17326 node: &'ast TagNameSelector,
17327 __ast_path: &mut AstNodePath<'r>,
17328 ) {
17329 <V as VisitAstPath>::visit_tag_name_selector(&mut **self, node, __ast_path)
17330 }
17331
17332 #[inline]
17333 fn visit_time<'ast: 'r, 'r>(&mut self, node: &'ast Time, __ast_path: &mut AstNodePath<'r>) {
17334 <V as VisitAstPath>::visit_time(&mut **self, node, __ast_path)
17335 }
17336
17337 #[inline]
17338 fn visit_time_percentage<'ast: 'r, 'r>(
17339 &mut self,
17340 node: &'ast TimePercentage,
17341 __ast_path: &mut AstNodePath<'r>,
17342 ) {
17343 <V as VisitAstPath>::visit_time_percentage(&mut **self, node, __ast_path)
17344 }
17345
17346 #[inline]
17347 fn visit_token<'ast: 'r, 'r>(&mut self, node: &'ast Token, __ast_path: &mut AstNodePath<'r>) {
17348 <V as VisitAstPath>::visit_token(&mut **self, node, __ast_path)
17349 }
17350
17351 #[inline]
17352 fn visit_token_and_span<'ast: 'r, 'r>(
17353 &mut self,
17354 node: &'ast TokenAndSpan,
17355 __ast_path: &mut AstNodePath<'r>,
17356 ) {
17357 <V as VisitAstPath>::visit_token_and_span(&mut **self, node, __ast_path)
17358 }
17359
17360 #[inline]
17361 fn visit_type_selector<'ast: 'r, 'r>(
17362 &mut self,
17363 node: &'ast TypeSelector,
17364 __ast_path: &mut AstNodePath<'r>,
17365 ) {
17366 <V as VisitAstPath>::visit_type_selector(&mut **self, node, __ast_path)
17367 }
17368
17369 #[inline]
17370 fn visit_unicode_range<'ast: 'r, 'r>(
17371 &mut self,
17372 node: &'ast UnicodeRange,
17373 __ast_path: &mut AstNodePath<'r>,
17374 ) {
17375 <V as VisitAstPath>::visit_unicode_range(&mut **self, node, __ast_path)
17376 }
17377
17378 #[inline]
17379 fn visit_universal_selector<'ast: 'r, 'r>(
17380 &mut self,
17381 node: &'ast UniversalSelector,
17382 __ast_path: &mut AstNodePath<'r>,
17383 ) {
17384 <V as VisitAstPath>::visit_universal_selector(&mut **self, node, __ast_path)
17385 }
17386
17387 #[inline]
17388 fn visit_unknown_dimension<'ast: 'r, 'r>(
17389 &mut self,
17390 node: &'ast UnknownDimension,
17391 __ast_path: &mut AstNodePath<'r>,
17392 ) {
17393 <V as VisitAstPath>::visit_unknown_dimension(&mut **self, node, __ast_path)
17394 }
17395
17396 #[inline]
17397 fn visit_url<'ast: 'r, 'r>(&mut self, node: &'ast Url, __ast_path: &mut AstNodePath<'r>) {
17398 <V as VisitAstPath>::visit_url(&mut **self, node, __ast_path)
17399 }
17400
17401 #[inline]
17402 fn visit_url_key_value<'ast: 'r, 'r>(
17403 &mut self,
17404 node: &'ast UrlKeyValue,
17405 __ast_path: &mut AstNodePath<'r>,
17406 ) {
17407 <V as VisitAstPath>::visit_url_key_value(&mut **self, node, __ast_path)
17408 }
17409
17410 #[inline]
17411 fn visit_url_modifier<'ast: 'r, 'r>(
17412 &mut self,
17413 node: &'ast UrlModifier,
17414 __ast_path: &mut AstNodePath<'r>,
17415 ) {
17416 <V as VisitAstPath>::visit_url_modifier(&mut **self, node, __ast_path)
17417 }
17418
17419 #[inline]
17420 fn visit_url_modifiers<'ast: 'r, 'r>(
17421 &mut self,
17422 node: &'ast [UrlModifier],
17423 __ast_path: &mut AstNodePath<'r>,
17424 ) {
17425 <V as VisitAstPath>::visit_url_modifiers(&mut **self, node, __ast_path)
17426 }
17427
17428 #[inline]
17429 fn visit_url_value<'ast: 'r, 'r>(
17430 &mut self,
17431 node: &'ast UrlValue,
17432 __ast_path: &mut AstNodePath<'r>,
17433 ) {
17434 <V as VisitAstPath>::visit_url_value(&mut **self, node, __ast_path)
17435 }
17436
17437 #[inline]
17438 fn visit_url_value_raw<'ast: 'r, 'r>(
17439 &mut self,
17440 node: &'ast UrlValueRaw,
17441 __ast_path: &mut AstNodePath<'r>,
17442 ) {
17443 <V as VisitAstPath>::visit_url_value_raw(&mut **self, node, __ast_path)
17444 }
17445
17446 #[inline]
17447 fn visit_wq_name<'ast: 'r, 'r>(
17448 &mut self,
17449 node: &'ast WqName,
17450 __ast_path: &mut AstNodePath<'r>,
17451 ) {
17452 <V as VisitAstPath>::visit_wq_name(&mut **self, node, __ast_path)
17453 }
17454}
17455#[cfg(any(docsrs, feature = "path"))]
17456#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
17457impl<V> VisitAstPath for Box<V>
17458where
17459 V: ?Sized + VisitAstPath,
17460{
17461 #[inline]
17462 fn visit_absolute_color_base<'ast: 'r, 'r>(
17463 &mut self,
17464 node: &'ast AbsoluteColorBase,
17465 __ast_path: &mut AstNodePath<'r>,
17466 ) {
17467 <V as VisitAstPath>::visit_absolute_color_base(&mut **self, node, __ast_path)
17468 }
17469
17470 #[inline]
17471 fn visit_alpha_value<'ast: 'r, 'r>(
17472 &mut self,
17473 node: &'ast AlphaValue,
17474 __ast_path: &mut AstNodePath<'r>,
17475 ) {
17476 <V as VisitAstPath>::visit_alpha_value(&mut **self, node, __ast_path)
17477 }
17478
17479 #[inline]
17480 fn visit_an_plus_b<'ast: 'r, 'r>(
17481 &mut self,
17482 node: &'ast AnPlusB,
17483 __ast_path: &mut AstNodePath<'r>,
17484 ) {
17485 <V as VisitAstPath>::visit_an_plus_b(&mut **self, node, __ast_path)
17486 }
17487
17488 #[inline]
17489 fn visit_an_plus_b_notation<'ast: 'r, 'r>(
17490 &mut self,
17491 node: &'ast AnPlusBNotation,
17492 __ast_path: &mut AstNodePath<'r>,
17493 ) {
17494 <V as VisitAstPath>::visit_an_plus_b_notation(&mut **self, node, __ast_path)
17495 }
17496
17497 #[inline]
17498 fn visit_angle<'ast: 'r, 'r>(&mut self, node: &'ast Angle, __ast_path: &mut AstNodePath<'r>) {
17499 <V as VisitAstPath>::visit_angle(&mut **self, node, __ast_path)
17500 }
17501
17502 #[inline]
17503 fn visit_angle_percentage<'ast: 'r, 'r>(
17504 &mut self,
17505 node: &'ast AnglePercentage,
17506 __ast_path: &mut AstNodePath<'r>,
17507 ) {
17508 <V as VisitAstPath>::visit_angle_percentage(&mut **self, node, __ast_path)
17509 }
17510
17511 #[inline]
17512 fn visit_any_namespace<'ast: 'r, 'r>(
17513 &mut self,
17514 node: &'ast AnyNamespace,
17515 __ast_path: &mut AstNodePath<'r>,
17516 ) {
17517 <V as VisitAstPath>::visit_any_namespace(&mut **self, node, __ast_path)
17518 }
17519
17520 #[inline]
17521 fn visit_at_rule<'ast: 'r, 'r>(
17522 &mut self,
17523 node: &'ast AtRule,
17524 __ast_path: &mut AstNodePath<'r>,
17525 ) {
17526 <V as VisitAstPath>::visit_at_rule(&mut **self, node, __ast_path)
17527 }
17528
17529 #[inline]
17530 fn visit_at_rule_name<'ast: 'r, 'r>(
17531 &mut self,
17532 node: &'ast AtRuleName,
17533 __ast_path: &mut AstNodePath<'r>,
17534 ) {
17535 <V as VisitAstPath>::visit_at_rule_name(&mut **self, node, __ast_path)
17536 }
17537
17538 #[inline]
17539 fn visit_at_rule_prelude<'ast: 'r, 'r>(
17540 &mut self,
17541 node: &'ast AtRulePrelude,
17542 __ast_path: &mut AstNodePath<'r>,
17543 ) {
17544 <V as VisitAstPath>::visit_at_rule_prelude(&mut **self, node, __ast_path)
17545 }
17546
17547 #[inline]
17548 fn visit_atom<'ast: 'r, 'r>(
17549 &mut self,
17550 node: &'ast swc_atoms::Atom,
17551 __ast_path: &mut AstNodePath<'r>,
17552 ) {
17553 <V as VisitAstPath>::visit_atom(&mut **self, node, __ast_path)
17554 }
17555
17556 #[inline]
17557 fn visit_attribute_selector<'ast: 'r, 'r>(
17558 &mut self,
17559 node: &'ast AttributeSelector,
17560 __ast_path: &mut AstNodePath<'r>,
17561 ) {
17562 <V as VisitAstPath>::visit_attribute_selector(&mut **self, node, __ast_path)
17563 }
17564
17565 #[inline]
17566 fn visit_attribute_selector_matcher<'ast: 'r, 'r>(
17567 &mut self,
17568 node: &'ast AttributeSelectorMatcher,
17569 __ast_path: &mut AstNodePath<'r>,
17570 ) {
17571 <V as VisitAstPath>::visit_attribute_selector_matcher(&mut **self, node, __ast_path)
17572 }
17573
17574 #[inline]
17575 fn visit_attribute_selector_matcher_value<'ast: 'r, 'r>(
17576 &mut self,
17577 node: &'ast AttributeSelectorMatcherValue,
17578 __ast_path: &mut AstNodePath<'r>,
17579 ) {
17580 <V as VisitAstPath>::visit_attribute_selector_matcher_value(&mut **self, node, __ast_path)
17581 }
17582
17583 #[inline]
17584 fn visit_attribute_selector_modifier<'ast: 'r, 'r>(
17585 &mut self,
17586 node: &'ast AttributeSelectorModifier,
17587 __ast_path: &mut AstNodePath<'r>,
17588 ) {
17589 <V as VisitAstPath>::visit_attribute_selector_modifier(&mut **self, node, __ast_path)
17590 }
17591
17592 #[inline]
17593 fn visit_attribute_selector_value<'ast: 'r, 'r>(
17594 &mut self,
17595 node: &'ast AttributeSelectorValue,
17596 __ast_path: &mut AstNodePath<'r>,
17597 ) {
17598 <V as VisitAstPath>::visit_attribute_selector_value(&mut **self, node, __ast_path)
17599 }
17600
17601 #[inline]
17602 fn visit_bin_op<'ast: 'r, 'r>(&mut self, node: &'ast BinOp, __ast_path: &mut AstNodePath<'r>) {
17603 <V as VisitAstPath>::visit_bin_op(&mut **self, node, __ast_path)
17604 }
17605
17606 #[inline]
17607 fn visit_calc_operator<'ast: 'r, 'r>(
17608 &mut self,
17609 node: &'ast CalcOperator,
17610 __ast_path: &mut AstNodePath<'r>,
17611 ) {
17612 <V as VisitAstPath>::visit_calc_operator(&mut **self, node, __ast_path)
17613 }
17614
17615 #[inline]
17616 fn visit_calc_operator_type<'ast: 'r, 'r>(
17617 &mut self,
17618 node: &'ast CalcOperatorType,
17619 __ast_path: &mut AstNodePath<'r>,
17620 ) {
17621 <V as VisitAstPath>::visit_calc_operator_type(&mut **self, node, __ast_path)
17622 }
17623
17624 #[inline]
17625 fn visit_calc_product<'ast: 'r, 'r>(
17626 &mut self,
17627 node: &'ast CalcProduct,
17628 __ast_path: &mut AstNodePath<'r>,
17629 ) {
17630 <V as VisitAstPath>::visit_calc_product(&mut **self, node, __ast_path)
17631 }
17632
17633 #[inline]
17634 fn visit_calc_product_or_operator<'ast: 'r, 'r>(
17635 &mut self,
17636 node: &'ast CalcProductOrOperator,
17637 __ast_path: &mut AstNodePath<'r>,
17638 ) {
17639 <V as VisitAstPath>::visit_calc_product_or_operator(&mut **self, node, __ast_path)
17640 }
17641
17642 #[inline]
17643 fn visit_calc_product_or_operators<'ast: 'r, 'r>(
17644 &mut self,
17645 node: &'ast [CalcProductOrOperator],
17646 __ast_path: &mut AstNodePath<'r>,
17647 ) {
17648 <V as VisitAstPath>::visit_calc_product_or_operators(&mut **self, node, __ast_path)
17649 }
17650
17651 #[inline]
17652 fn visit_calc_sum<'ast: 'r, 'r>(
17653 &mut self,
17654 node: &'ast CalcSum,
17655 __ast_path: &mut AstNodePath<'r>,
17656 ) {
17657 <V as VisitAstPath>::visit_calc_sum(&mut **self, node, __ast_path)
17658 }
17659
17660 #[inline]
17661 fn visit_calc_value<'ast: 'r, 'r>(
17662 &mut self,
17663 node: &'ast CalcValue,
17664 __ast_path: &mut AstNodePath<'r>,
17665 ) {
17666 <V as VisitAstPath>::visit_calc_value(&mut **self, node, __ast_path)
17667 }
17668
17669 #[inline]
17670 fn visit_calc_value_or_operator<'ast: 'r, 'r>(
17671 &mut self,
17672 node: &'ast CalcValueOrOperator,
17673 __ast_path: &mut AstNodePath<'r>,
17674 ) {
17675 <V as VisitAstPath>::visit_calc_value_or_operator(&mut **self, node, __ast_path)
17676 }
17677
17678 #[inline]
17679 fn visit_calc_value_or_operators<'ast: 'r, 'r>(
17680 &mut self,
17681 node: &'ast [CalcValueOrOperator],
17682 __ast_path: &mut AstNodePath<'r>,
17683 ) {
17684 <V as VisitAstPath>::visit_calc_value_or_operators(&mut **self, node, __ast_path)
17685 }
17686
17687 #[inline]
17688 fn visit_class_selector<'ast: 'r, 'r>(
17689 &mut self,
17690 node: &'ast ClassSelector,
17691 __ast_path: &mut AstNodePath<'r>,
17692 ) {
17693 <V as VisitAstPath>::visit_class_selector(&mut **self, node, __ast_path)
17694 }
17695
17696 #[inline]
17697 fn visit_cmyk_component<'ast: 'r, 'r>(
17698 &mut self,
17699 node: &'ast CmykComponent,
17700 __ast_path: &mut AstNodePath<'r>,
17701 ) {
17702 <V as VisitAstPath>::visit_cmyk_component(&mut **self, node, __ast_path)
17703 }
17704
17705 #[inline]
17706 fn visit_color<'ast: 'r, 'r>(&mut self, node: &'ast Color, __ast_path: &mut AstNodePath<'r>) {
17707 <V as VisitAstPath>::visit_color(&mut **self, node, __ast_path)
17708 }
17709
17710 #[inline]
17711 fn visit_color_profile_name<'ast: 'r, 'r>(
17712 &mut self,
17713 node: &'ast ColorProfileName,
17714 __ast_path: &mut AstNodePath<'r>,
17715 ) {
17716 <V as VisitAstPath>::visit_color_profile_name(&mut **self, node, __ast_path)
17717 }
17718
17719 #[inline]
17720 fn visit_combinator<'ast: 'r, 'r>(
17721 &mut self,
17722 node: &'ast Combinator,
17723 __ast_path: &mut AstNodePath<'r>,
17724 ) {
17725 <V as VisitAstPath>::visit_combinator(&mut **self, node, __ast_path)
17726 }
17727
17728 #[inline]
17729 fn visit_combinator_value<'ast: 'r, 'r>(
17730 &mut self,
17731 node: &'ast CombinatorValue,
17732 __ast_path: &mut AstNodePath<'r>,
17733 ) {
17734 <V as VisitAstPath>::visit_combinator_value(&mut **self, node, __ast_path)
17735 }
17736
17737 #[inline]
17738 fn visit_complex_selector<'ast: 'r, 'r>(
17739 &mut self,
17740 node: &'ast ComplexSelector,
17741 __ast_path: &mut AstNodePath<'r>,
17742 ) {
17743 <V as VisitAstPath>::visit_complex_selector(&mut **self, node, __ast_path)
17744 }
17745
17746 #[inline]
17747 fn visit_complex_selector_children<'ast: 'r, 'r>(
17748 &mut self,
17749 node: &'ast ComplexSelectorChildren,
17750 __ast_path: &mut AstNodePath<'r>,
17751 ) {
17752 <V as VisitAstPath>::visit_complex_selector_children(&mut **self, node, __ast_path)
17753 }
17754
17755 #[inline]
17756 fn visit_complex_selector_childrens<'ast: 'r, 'r>(
17757 &mut self,
17758 node: &'ast [ComplexSelectorChildren],
17759 __ast_path: &mut AstNodePath<'r>,
17760 ) {
17761 <V as VisitAstPath>::visit_complex_selector_childrens(&mut **self, node, __ast_path)
17762 }
17763
17764 #[inline]
17765 fn visit_complex_selectors<'ast: 'r, 'r>(
17766 &mut self,
17767 node: &'ast [ComplexSelector],
17768 __ast_path: &mut AstNodePath<'r>,
17769 ) {
17770 <V as VisitAstPath>::visit_complex_selectors(&mut **self, node, __ast_path)
17771 }
17772
17773 #[inline]
17774 fn visit_component_value<'ast: 'r, 'r>(
17775 &mut self,
17776 node: &'ast ComponentValue,
17777 __ast_path: &mut AstNodePath<'r>,
17778 ) {
17779 <V as VisitAstPath>::visit_component_value(&mut **self, node, __ast_path)
17780 }
17781
17782 #[inline]
17783 fn visit_component_values<'ast: 'r, 'r>(
17784 &mut self,
17785 node: &'ast [ComponentValue],
17786 __ast_path: &mut AstNodePath<'r>,
17787 ) {
17788 <V as VisitAstPath>::visit_component_values(&mut **self, node, __ast_path)
17789 }
17790
17791 #[inline]
17792 fn visit_compound_selector<'ast: 'r, 'r>(
17793 &mut self,
17794 node: &'ast CompoundSelector,
17795 __ast_path: &mut AstNodePath<'r>,
17796 ) {
17797 <V as VisitAstPath>::visit_compound_selector(&mut **self, node, __ast_path)
17798 }
17799
17800 #[inline]
17801 fn visit_compound_selector_list<'ast: 'r, 'r>(
17802 &mut self,
17803 node: &'ast CompoundSelectorList,
17804 __ast_path: &mut AstNodePath<'r>,
17805 ) {
17806 <V as VisitAstPath>::visit_compound_selector_list(&mut **self, node, __ast_path)
17807 }
17808
17809 #[inline]
17810 fn visit_compound_selectors<'ast: 'r, 'r>(
17811 &mut self,
17812 node: &'ast [CompoundSelector],
17813 __ast_path: &mut AstNodePath<'r>,
17814 ) {
17815 <V as VisitAstPath>::visit_compound_selectors(&mut **self, node, __ast_path)
17816 }
17817
17818 #[inline]
17819 fn visit_container_condition<'ast: 'r, 'r>(
17820 &mut self,
17821 node: &'ast ContainerCondition,
17822 __ast_path: &mut AstNodePath<'r>,
17823 ) {
17824 <V as VisitAstPath>::visit_container_condition(&mut **self, node, __ast_path)
17825 }
17826
17827 #[inline]
17828 fn visit_container_name<'ast: 'r, 'r>(
17829 &mut self,
17830 node: &'ast ContainerName,
17831 __ast_path: &mut AstNodePath<'r>,
17832 ) {
17833 <V as VisitAstPath>::visit_container_name(&mut **self, node, __ast_path)
17834 }
17835
17836 #[inline]
17837 fn visit_container_query<'ast: 'r, 'r>(
17838 &mut self,
17839 node: &'ast ContainerQuery,
17840 __ast_path: &mut AstNodePath<'r>,
17841 ) {
17842 <V as VisitAstPath>::visit_container_query(&mut **self, node, __ast_path)
17843 }
17844
17845 #[inline]
17846 fn visit_container_query_and<'ast: 'r, 'r>(
17847 &mut self,
17848 node: &'ast ContainerQueryAnd,
17849 __ast_path: &mut AstNodePath<'r>,
17850 ) {
17851 <V as VisitAstPath>::visit_container_query_and(&mut **self, node, __ast_path)
17852 }
17853
17854 #[inline]
17855 fn visit_container_query_not<'ast: 'r, 'r>(
17856 &mut self,
17857 node: &'ast ContainerQueryNot,
17858 __ast_path: &mut AstNodePath<'r>,
17859 ) {
17860 <V as VisitAstPath>::visit_container_query_not(&mut **self, node, __ast_path)
17861 }
17862
17863 #[inline]
17864 fn visit_container_query_or<'ast: 'r, 'r>(
17865 &mut self,
17866 node: &'ast ContainerQueryOr,
17867 __ast_path: &mut AstNodePath<'r>,
17868 ) {
17869 <V as VisitAstPath>::visit_container_query_or(&mut **self, node, __ast_path)
17870 }
17871
17872 #[inline]
17873 fn visit_container_query_type<'ast: 'r, 'r>(
17874 &mut self,
17875 node: &'ast ContainerQueryType,
17876 __ast_path: &mut AstNodePath<'r>,
17877 ) {
17878 <V as VisitAstPath>::visit_container_query_type(&mut **self, node, __ast_path)
17879 }
17880
17881 #[inline]
17882 fn visit_container_query_types<'ast: 'r, 'r>(
17883 &mut self,
17884 node: &'ast [ContainerQueryType],
17885 __ast_path: &mut AstNodePath<'r>,
17886 ) {
17887 <V as VisitAstPath>::visit_container_query_types(&mut **self, node, __ast_path)
17888 }
17889
17890 #[inline]
17891 fn visit_custom_highlight_name<'ast: 'r, 'r>(
17892 &mut self,
17893 node: &'ast CustomHighlightName,
17894 __ast_path: &mut AstNodePath<'r>,
17895 ) {
17896 <V as VisitAstPath>::visit_custom_highlight_name(&mut **self, node, __ast_path)
17897 }
17898
17899 #[inline]
17900 fn visit_custom_ident<'ast: 'r, 'r>(
17901 &mut self,
17902 node: &'ast CustomIdent,
17903 __ast_path: &mut AstNodePath<'r>,
17904 ) {
17905 <V as VisitAstPath>::visit_custom_ident(&mut **self, node, __ast_path)
17906 }
17907
17908 #[inline]
17909 fn visit_custom_idents<'ast: 'r, 'r>(
17910 &mut self,
17911 node: &'ast [CustomIdent],
17912 __ast_path: &mut AstNodePath<'r>,
17913 ) {
17914 <V as VisitAstPath>::visit_custom_idents(&mut **self, node, __ast_path)
17915 }
17916
17917 #[inline]
17918 fn visit_custom_media_query<'ast: 'r, 'r>(
17919 &mut self,
17920 node: &'ast CustomMediaQuery,
17921 __ast_path: &mut AstNodePath<'r>,
17922 ) {
17923 <V as VisitAstPath>::visit_custom_media_query(&mut **self, node, __ast_path)
17924 }
17925
17926 #[inline]
17927 fn visit_custom_media_query_media_type<'ast: 'r, 'r>(
17928 &mut self,
17929 node: &'ast CustomMediaQueryMediaType,
17930 __ast_path: &mut AstNodePath<'r>,
17931 ) {
17932 <V as VisitAstPath>::visit_custom_media_query_media_type(&mut **self, node, __ast_path)
17933 }
17934
17935 #[inline]
17936 fn visit_custom_property_name<'ast: 'r, 'r>(
17937 &mut self,
17938 node: &'ast CustomPropertyName,
17939 __ast_path: &mut AstNodePath<'r>,
17940 ) {
17941 <V as VisitAstPath>::visit_custom_property_name(&mut **self, node, __ast_path)
17942 }
17943
17944 #[inline]
17945 fn visit_dashed_ident<'ast: 'r, 'r>(
17946 &mut self,
17947 node: &'ast DashedIdent,
17948 __ast_path: &mut AstNodePath<'r>,
17949 ) {
17950 <V as VisitAstPath>::visit_dashed_ident(&mut **self, node, __ast_path)
17951 }
17952
17953 #[inline]
17954 fn visit_declaration<'ast: 'r, 'r>(
17955 &mut self,
17956 node: &'ast Declaration,
17957 __ast_path: &mut AstNodePath<'r>,
17958 ) {
17959 <V as VisitAstPath>::visit_declaration(&mut **self, node, __ast_path)
17960 }
17961
17962 #[inline]
17963 fn visit_declaration_name<'ast: 'r, 'r>(
17964 &mut self,
17965 node: &'ast DeclarationName,
17966 __ast_path: &mut AstNodePath<'r>,
17967 ) {
17968 <V as VisitAstPath>::visit_declaration_name(&mut **self, node, __ast_path)
17969 }
17970
17971 #[inline]
17972 fn visit_declaration_or_at_rule<'ast: 'r, 'r>(
17973 &mut self,
17974 node: &'ast DeclarationOrAtRule,
17975 __ast_path: &mut AstNodePath<'r>,
17976 ) {
17977 <V as VisitAstPath>::visit_declaration_or_at_rule(&mut **self, node, __ast_path)
17978 }
17979
17980 #[inline]
17981 fn visit_delimiter<'ast: 'r, 'r>(
17982 &mut self,
17983 node: &'ast Delimiter,
17984 __ast_path: &mut AstNodePath<'r>,
17985 ) {
17986 <V as VisitAstPath>::visit_delimiter(&mut **self, node, __ast_path)
17987 }
17988
17989 #[inline]
17990 fn visit_delimiter_value<'ast: 'r, 'r>(
17991 &mut self,
17992 node: &'ast DelimiterValue,
17993 __ast_path: &mut AstNodePath<'r>,
17994 ) {
17995 <V as VisitAstPath>::visit_delimiter_value(&mut **self, node, __ast_path)
17996 }
17997
17998 #[inline]
17999 fn visit_dimension<'ast: 'r, 'r>(
18000 &mut self,
18001 node: &'ast Dimension,
18002 __ast_path: &mut AstNodePath<'r>,
18003 ) {
18004 <V as VisitAstPath>::visit_dimension(&mut **self, node, __ast_path)
18005 }
18006
18007 #[inline]
18008 fn visit_dimension_token<'ast: 'r, 'r>(
18009 &mut self,
18010 node: &'ast DimensionToken,
18011 __ast_path: &mut AstNodePath<'r>,
18012 ) {
18013 <V as VisitAstPath>::visit_dimension_token(&mut **self, node, __ast_path)
18014 }
18015
18016 #[inline]
18017 fn visit_document_prelude<'ast: 'r, 'r>(
18018 &mut self,
18019 node: &'ast DocumentPrelude,
18020 __ast_path: &mut AstNodePath<'r>,
18021 ) {
18022 <V as VisitAstPath>::visit_document_prelude(&mut **self, node, __ast_path)
18023 }
18024
18025 #[inline]
18026 fn visit_document_prelude_matching_function<'ast: 'r, 'r>(
18027 &mut self,
18028 node: &'ast DocumentPreludeMatchingFunction,
18029 __ast_path: &mut AstNodePath<'r>,
18030 ) {
18031 <V as VisitAstPath>::visit_document_prelude_matching_function(&mut **self, node, __ast_path)
18032 }
18033
18034 #[inline]
18035 fn visit_document_prelude_matching_functions<'ast: 'r, 'r>(
18036 &mut self,
18037 node: &'ast [DocumentPreludeMatchingFunction],
18038 __ast_path: &mut AstNodePath<'r>,
18039 ) {
18040 <V as VisitAstPath>::visit_document_prelude_matching_functions(
18041 &mut **self,
18042 node,
18043 __ast_path,
18044 )
18045 }
18046
18047 #[inline]
18048 fn visit_extension_name<'ast: 'r, 'r>(
18049 &mut self,
18050 node: &'ast ExtensionName,
18051 __ast_path: &mut AstNodePath<'r>,
18052 ) {
18053 <V as VisitAstPath>::visit_extension_name(&mut **self, node, __ast_path)
18054 }
18055
18056 #[inline]
18057 fn visit_family_name<'ast: 'r, 'r>(
18058 &mut self,
18059 node: &'ast FamilyName,
18060 __ast_path: &mut AstNodePath<'r>,
18061 ) {
18062 <V as VisitAstPath>::visit_family_name(&mut **self, node, __ast_path)
18063 }
18064
18065 #[inline]
18066 fn visit_family_names<'ast: 'r, 'r>(
18067 &mut self,
18068 node: &'ast [FamilyName],
18069 __ast_path: &mut AstNodePath<'r>,
18070 ) {
18071 <V as VisitAstPath>::visit_family_names(&mut **self, node, __ast_path)
18072 }
18073
18074 #[inline]
18075 fn visit_flex<'ast: 'r, 'r>(&mut self, node: &'ast Flex, __ast_path: &mut AstNodePath<'r>) {
18076 <V as VisitAstPath>::visit_flex(&mut **self, node, __ast_path)
18077 }
18078
18079 #[inline]
18080 fn visit_font_feature_values_prelude<'ast: 'r, 'r>(
18081 &mut self,
18082 node: &'ast FontFeatureValuesPrelude,
18083 __ast_path: &mut AstNodePath<'r>,
18084 ) {
18085 <V as VisitAstPath>::visit_font_feature_values_prelude(&mut **self, node, __ast_path)
18086 }
18087
18088 #[inline]
18089 fn visit_forgiving_complex_selector<'ast: 'r, 'r>(
18090 &mut self,
18091 node: &'ast ForgivingComplexSelector,
18092 __ast_path: &mut AstNodePath<'r>,
18093 ) {
18094 <V as VisitAstPath>::visit_forgiving_complex_selector(&mut **self, node, __ast_path)
18095 }
18096
18097 #[inline]
18098 fn visit_forgiving_complex_selectors<'ast: 'r, 'r>(
18099 &mut self,
18100 node: &'ast [ForgivingComplexSelector],
18101 __ast_path: &mut AstNodePath<'r>,
18102 ) {
18103 <V as VisitAstPath>::visit_forgiving_complex_selectors(&mut **self, node, __ast_path)
18104 }
18105
18106 #[inline]
18107 fn visit_forgiving_relative_selector<'ast: 'r, 'r>(
18108 &mut self,
18109 node: &'ast ForgivingRelativeSelector,
18110 __ast_path: &mut AstNodePath<'r>,
18111 ) {
18112 <V as VisitAstPath>::visit_forgiving_relative_selector(&mut **self, node, __ast_path)
18113 }
18114
18115 #[inline]
18116 fn visit_forgiving_relative_selector_list<'ast: 'r, 'r>(
18117 &mut self,
18118 node: &'ast ForgivingRelativeSelectorList,
18119 __ast_path: &mut AstNodePath<'r>,
18120 ) {
18121 <V as VisitAstPath>::visit_forgiving_relative_selector_list(&mut **self, node, __ast_path)
18122 }
18123
18124 #[inline]
18125 fn visit_forgiving_relative_selectors<'ast: 'r, 'r>(
18126 &mut self,
18127 node: &'ast [ForgivingRelativeSelector],
18128 __ast_path: &mut AstNodePath<'r>,
18129 ) {
18130 <V as VisitAstPath>::visit_forgiving_relative_selectors(&mut **self, node, __ast_path)
18131 }
18132
18133 #[inline]
18134 fn visit_forgiving_selector_list<'ast: 'r, 'r>(
18135 &mut self,
18136 node: &'ast ForgivingSelectorList,
18137 __ast_path: &mut AstNodePath<'r>,
18138 ) {
18139 <V as VisitAstPath>::visit_forgiving_selector_list(&mut **self, node, __ast_path)
18140 }
18141
18142 #[inline]
18143 fn visit_frequency<'ast: 'r, 'r>(
18144 &mut self,
18145 node: &'ast Frequency,
18146 __ast_path: &mut AstNodePath<'r>,
18147 ) {
18148 <V as VisitAstPath>::visit_frequency(&mut **self, node, __ast_path)
18149 }
18150
18151 #[inline]
18152 fn visit_frequency_percentage<'ast: 'r, 'r>(
18153 &mut self,
18154 node: &'ast FrequencyPercentage,
18155 __ast_path: &mut AstNodePath<'r>,
18156 ) {
18157 <V as VisitAstPath>::visit_frequency_percentage(&mut **self, node, __ast_path)
18158 }
18159
18160 #[inline]
18161 fn visit_function<'ast: 'r, 'r>(
18162 &mut self,
18163 node: &'ast Function,
18164 __ast_path: &mut AstNodePath<'r>,
18165 ) {
18166 <V as VisitAstPath>::visit_function(&mut **self, node, __ast_path)
18167 }
18168
18169 #[inline]
18170 fn visit_function_name<'ast: 'r, 'r>(
18171 &mut self,
18172 node: &'ast FunctionName,
18173 __ast_path: &mut AstNodePath<'r>,
18174 ) {
18175 <V as VisitAstPath>::visit_function_name(&mut **self, node, __ast_path)
18176 }
18177
18178 #[inline]
18179 fn visit_general_enclosed<'ast: 'r, 'r>(
18180 &mut self,
18181 node: &'ast GeneralEnclosed,
18182 __ast_path: &mut AstNodePath<'r>,
18183 ) {
18184 <V as VisitAstPath>::visit_general_enclosed(&mut **self, node, __ast_path)
18185 }
18186
18187 #[inline]
18188 fn visit_hex_color<'ast: 'r, 'r>(
18189 &mut self,
18190 node: &'ast HexColor,
18191 __ast_path: &mut AstNodePath<'r>,
18192 ) {
18193 <V as VisitAstPath>::visit_hex_color(&mut **self, node, __ast_path)
18194 }
18195
18196 #[inline]
18197 fn visit_hue<'ast: 'r, 'r>(&mut self, node: &'ast Hue, __ast_path: &mut AstNodePath<'r>) {
18198 <V as VisitAstPath>::visit_hue(&mut **self, node, __ast_path)
18199 }
18200
18201 #[inline]
18202 fn visit_id_selector<'ast: 'r, 'r>(
18203 &mut self,
18204 node: &'ast IdSelector,
18205 __ast_path: &mut AstNodePath<'r>,
18206 ) {
18207 <V as VisitAstPath>::visit_id_selector(&mut **self, node, __ast_path)
18208 }
18209
18210 #[inline]
18211 fn visit_ident<'ast: 'r, 'r>(&mut self, node: &'ast Ident, __ast_path: &mut AstNodePath<'r>) {
18212 <V as VisitAstPath>::visit_ident(&mut **self, node, __ast_path)
18213 }
18214
18215 #[inline]
18216 fn visit_idents<'ast: 'r, 'r>(
18217 &mut self,
18218 node: &'ast [Ident],
18219 __ast_path: &mut AstNodePath<'r>,
18220 ) {
18221 <V as VisitAstPath>::visit_idents(&mut **self, node, __ast_path)
18222 }
18223
18224 #[inline]
18225 fn visit_import_conditions<'ast: 'r, 'r>(
18226 &mut self,
18227 node: &'ast ImportConditions,
18228 __ast_path: &mut AstNodePath<'r>,
18229 ) {
18230 <V as VisitAstPath>::visit_import_conditions(&mut **self, node, __ast_path)
18231 }
18232
18233 #[inline]
18234 fn visit_import_href<'ast: 'r, 'r>(
18235 &mut self,
18236 node: &'ast ImportHref,
18237 __ast_path: &mut AstNodePath<'r>,
18238 ) {
18239 <V as VisitAstPath>::visit_import_href(&mut **self, node, __ast_path)
18240 }
18241
18242 #[inline]
18243 fn visit_import_layer_name<'ast: 'r, 'r>(
18244 &mut self,
18245 node: &'ast ImportLayerName,
18246 __ast_path: &mut AstNodePath<'r>,
18247 ) {
18248 <V as VisitAstPath>::visit_import_layer_name(&mut **self, node, __ast_path)
18249 }
18250
18251 #[inline]
18252 fn visit_import_prelude<'ast: 'r, 'r>(
18253 &mut self,
18254 node: &'ast ImportPrelude,
18255 __ast_path: &mut AstNodePath<'r>,
18256 ) {
18257 <V as VisitAstPath>::visit_import_prelude(&mut **self, node, __ast_path)
18258 }
18259
18260 #[inline]
18261 fn visit_important_flag<'ast: 'r, 'r>(
18262 &mut self,
18263 node: &'ast ImportantFlag,
18264 __ast_path: &mut AstNodePath<'r>,
18265 ) {
18266 <V as VisitAstPath>::visit_important_flag(&mut **self, node, __ast_path)
18267 }
18268
18269 #[inline]
18270 fn visit_integer<'ast: 'r, 'r>(
18271 &mut self,
18272 node: &'ast Integer,
18273 __ast_path: &mut AstNodePath<'r>,
18274 ) {
18275 <V as VisitAstPath>::visit_integer(&mut **self, node, __ast_path)
18276 }
18277
18278 #[inline]
18279 fn visit_keyframe_block<'ast: 'r, 'r>(
18280 &mut self,
18281 node: &'ast KeyframeBlock,
18282 __ast_path: &mut AstNodePath<'r>,
18283 ) {
18284 <V as VisitAstPath>::visit_keyframe_block(&mut **self, node, __ast_path)
18285 }
18286
18287 #[inline]
18288 fn visit_keyframe_selector<'ast: 'r, 'r>(
18289 &mut self,
18290 node: &'ast KeyframeSelector,
18291 __ast_path: &mut AstNodePath<'r>,
18292 ) {
18293 <V as VisitAstPath>::visit_keyframe_selector(&mut **self, node, __ast_path)
18294 }
18295
18296 #[inline]
18297 fn visit_keyframe_selectors<'ast: 'r, 'r>(
18298 &mut self,
18299 node: &'ast [KeyframeSelector],
18300 __ast_path: &mut AstNodePath<'r>,
18301 ) {
18302 <V as VisitAstPath>::visit_keyframe_selectors(&mut **self, node, __ast_path)
18303 }
18304
18305 #[inline]
18306 fn visit_keyframes_name<'ast: 'r, 'r>(
18307 &mut self,
18308 node: &'ast KeyframesName,
18309 __ast_path: &mut AstNodePath<'r>,
18310 ) {
18311 <V as VisitAstPath>::visit_keyframes_name(&mut **self, node, __ast_path)
18312 }
18313
18314 #[inline]
18315 fn visit_keyframes_pseudo_function<'ast: 'r, 'r>(
18316 &mut self,
18317 node: &'ast KeyframesPseudoFunction,
18318 __ast_path: &mut AstNodePath<'r>,
18319 ) {
18320 <V as VisitAstPath>::visit_keyframes_pseudo_function(&mut **self, node, __ast_path)
18321 }
18322
18323 #[inline]
18324 fn visit_keyframes_pseudo_prefix<'ast: 'r, 'r>(
18325 &mut self,
18326 node: &'ast KeyframesPseudoPrefix,
18327 __ast_path: &mut AstNodePath<'r>,
18328 ) {
18329 <V as VisitAstPath>::visit_keyframes_pseudo_prefix(&mut **self, node, __ast_path)
18330 }
18331
18332 #[inline]
18333 fn visit_layer_name<'ast: 'r, 'r>(
18334 &mut self,
18335 node: &'ast LayerName,
18336 __ast_path: &mut AstNodePath<'r>,
18337 ) {
18338 <V as VisitAstPath>::visit_layer_name(&mut **self, node, __ast_path)
18339 }
18340
18341 #[inline]
18342 fn visit_layer_name_list<'ast: 'r, 'r>(
18343 &mut self,
18344 node: &'ast LayerNameList,
18345 __ast_path: &mut AstNodePath<'r>,
18346 ) {
18347 <V as VisitAstPath>::visit_layer_name_list(&mut **self, node, __ast_path)
18348 }
18349
18350 #[inline]
18351 fn visit_layer_names<'ast: 'r, 'r>(
18352 &mut self,
18353 node: &'ast [LayerName],
18354 __ast_path: &mut AstNodePath<'r>,
18355 ) {
18356 <V as VisitAstPath>::visit_layer_names(&mut **self, node, __ast_path)
18357 }
18358
18359 #[inline]
18360 fn visit_layer_prelude<'ast: 'r, 'r>(
18361 &mut self,
18362 node: &'ast LayerPrelude,
18363 __ast_path: &mut AstNodePath<'r>,
18364 ) {
18365 <V as VisitAstPath>::visit_layer_prelude(&mut **self, node, __ast_path)
18366 }
18367
18368 #[inline]
18369 fn visit_length<'ast: 'r, 'r>(&mut self, node: &'ast Length, __ast_path: &mut AstNodePath<'r>) {
18370 <V as VisitAstPath>::visit_length(&mut **self, node, __ast_path)
18371 }
18372
18373 #[inline]
18374 fn visit_length_percentage<'ast: 'r, 'r>(
18375 &mut self,
18376 node: &'ast LengthPercentage,
18377 __ast_path: &mut AstNodePath<'r>,
18378 ) {
18379 <V as VisitAstPath>::visit_length_percentage(&mut **self, node, __ast_path)
18380 }
18381
18382 #[inline]
18383 fn visit_list_of_component_values<'ast: 'r, 'r>(
18384 &mut self,
18385 node: &'ast ListOfComponentValues,
18386 __ast_path: &mut AstNodePath<'r>,
18387 ) {
18388 <V as VisitAstPath>::visit_list_of_component_values(&mut **self, node, __ast_path)
18389 }
18390
18391 #[inline]
18392 fn visit_media_and<'ast: 'r, 'r>(
18393 &mut self,
18394 node: &'ast MediaAnd,
18395 __ast_path: &mut AstNodePath<'r>,
18396 ) {
18397 <V as VisitAstPath>::visit_media_and(&mut **self, node, __ast_path)
18398 }
18399
18400 #[inline]
18401 fn visit_media_condition<'ast: 'r, 'r>(
18402 &mut self,
18403 node: &'ast MediaCondition,
18404 __ast_path: &mut AstNodePath<'r>,
18405 ) {
18406 <V as VisitAstPath>::visit_media_condition(&mut **self, node, __ast_path)
18407 }
18408
18409 #[inline]
18410 fn visit_media_condition_all_type<'ast: 'r, 'r>(
18411 &mut self,
18412 node: &'ast MediaConditionAllType,
18413 __ast_path: &mut AstNodePath<'r>,
18414 ) {
18415 <V as VisitAstPath>::visit_media_condition_all_type(&mut **self, node, __ast_path)
18416 }
18417
18418 #[inline]
18419 fn visit_media_condition_all_types<'ast: 'r, 'r>(
18420 &mut self,
18421 node: &'ast [MediaConditionAllType],
18422 __ast_path: &mut AstNodePath<'r>,
18423 ) {
18424 <V as VisitAstPath>::visit_media_condition_all_types(&mut **self, node, __ast_path)
18425 }
18426
18427 #[inline]
18428 fn visit_media_condition_type<'ast: 'r, 'r>(
18429 &mut self,
18430 node: &'ast MediaConditionType,
18431 __ast_path: &mut AstNodePath<'r>,
18432 ) {
18433 <V as VisitAstPath>::visit_media_condition_type(&mut **self, node, __ast_path)
18434 }
18435
18436 #[inline]
18437 fn visit_media_condition_without_or<'ast: 'r, 'r>(
18438 &mut self,
18439 node: &'ast MediaConditionWithoutOr,
18440 __ast_path: &mut AstNodePath<'r>,
18441 ) {
18442 <V as VisitAstPath>::visit_media_condition_without_or(&mut **self, node, __ast_path)
18443 }
18444
18445 #[inline]
18446 fn visit_media_condition_without_or_type<'ast: 'r, 'r>(
18447 &mut self,
18448 node: &'ast MediaConditionWithoutOrType,
18449 __ast_path: &mut AstNodePath<'r>,
18450 ) {
18451 <V as VisitAstPath>::visit_media_condition_without_or_type(&mut **self, node, __ast_path)
18452 }
18453
18454 #[inline]
18455 fn visit_media_condition_without_or_types<'ast: 'r, 'r>(
18456 &mut self,
18457 node: &'ast [MediaConditionWithoutOrType],
18458 __ast_path: &mut AstNodePath<'r>,
18459 ) {
18460 <V as VisitAstPath>::visit_media_condition_without_or_types(&mut **self, node, __ast_path)
18461 }
18462
18463 #[inline]
18464 fn visit_media_feature<'ast: 'r, 'r>(
18465 &mut self,
18466 node: &'ast MediaFeature,
18467 __ast_path: &mut AstNodePath<'r>,
18468 ) {
18469 <V as VisitAstPath>::visit_media_feature(&mut **self, node, __ast_path)
18470 }
18471
18472 #[inline]
18473 fn visit_media_feature_boolean<'ast: 'r, 'r>(
18474 &mut self,
18475 node: &'ast MediaFeatureBoolean,
18476 __ast_path: &mut AstNodePath<'r>,
18477 ) {
18478 <V as VisitAstPath>::visit_media_feature_boolean(&mut **self, node, __ast_path)
18479 }
18480
18481 #[inline]
18482 fn visit_media_feature_name<'ast: 'r, 'r>(
18483 &mut self,
18484 node: &'ast MediaFeatureName,
18485 __ast_path: &mut AstNodePath<'r>,
18486 ) {
18487 <V as VisitAstPath>::visit_media_feature_name(&mut **self, node, __ast_path)
18488 }
18489
18490 #[inline]
18491 fn visit_media_feature_plain<'ast: 'r, 'r>(
18492 &mut self,
18493 node: &'ast MediaFeaturePlain,
18494 __ast_path: &mut AstNodePath<'r>,
18495 ) {
18496 <V as VisitAstPath>::visit_media_feature_plain(&mut **self, node, __ast_path)
18497 }
18498
18499 #[inline]
18500 fn visit_media_feature_range<'ast: 'r, 'r>(
18501 &mut self,
18502 node: &'ast MediaFeatureRange,
18503 __ast_path: &mut AstNodePath<'r>,
18504 ) {
18505 <V as VisitAstPath>::visit_media_feature_range(&mut **self, node, __ast_path)
18506 }
18507
18508 #[inline]
18509 fn visit_media_feature_range_comparison<'ast: 'r, 'r>(
18510 &mut self,
18511 node: &'ast MediaFeatureRangeComparison,
18512 __ast_path: &mut AstNodePath<'r>,
18513 ) {
18514 <V as VisitAstPath>::visit_media_feature_range_comparison(&mut **self, node, __ast_path)
18515 }
18516
18517 #[inline]
18518 fn visit_media_feature_range_interval<'ast: 'r, 'r>(
18519 &mut self,
18520 node: &'ast MediaFeatureRangeInterval,
18521 __ast_path: &mut AstNodePath<'r>,
18522 ) {
18523 <V as VisitAstPath>::visit_media_feature_range_interval(&mut **self, node, __ast_path)
18524 }
18525
18526 #[inline]
18527 fn visit_media_feature_value<'ast: 'r, 'r>(
18528 &mut self,
18529 node: &'ast MediaFeatureValue,
18530 __ast_path: &mut AstNodePath<'r>,
18531 ) {
18532 <V as VisitAstPath>::visit_media_feature_value(&mut **self, node, __ast_path)
18533 }
18534
18535 #[inline]
18536 fn visit_media_in_parens<'ast: 'r, 'r>(
18537 &mut self,
18538 node: &'ast MediaInParens,
18539 __ast_path: &mut AstNodePath<'r>,
18540 ) {
18541 <V as VisitAstPath>::visit_media_in_parens(&mut **self, node, __ast_path)
18542 }
18543
18544 #[inline]
18545 fn visit_media_not<'ast: 'r, 'r>(
18546 &mut self,
18547 node: &'ast MediaNot,
18548 __ast_path: &mut AstNodePath<'r>,
18549 ) {
18550 <V as VisitAstPath>::visit_media_not(&mut **self, node, __ast_path)
18551 }
18552
18553 #[inline]
18554 fn visit_media_or<'ast: 'r, 'r>(
18555 &mut self,
18556 node: &'ast MediaOr,
18557 __ast_path: &mut AstNodePath<'r>,
18558 ) {
18559 <V as VisitAstPath>::visit_media_or(&mut **self, node, __ast_path)
18560 }
18561
18562 #[inline]
18563 fn visit_media_query<'ast: 'r, 'r>(
18564 &mut self,
18565 node: &'ast MediaQuery,
18566 __ast_path: &mut AstNodePath<'r>,
18567 ) {
18568 <V as VisitAstPath>::visit_media_query(&mut **self, node, __ast_path)
18569 }
18570
18571 #[inline]
18572 fn visit_media_query_list<'ast: 'r, 'r>(
18573 &mut self,
18574 node: &'ast MediaQueryList,
18575 __ast_path: &mut AstNodePath<'r>,
18576 ) {
18577 <V as VisitAstPath>::visit_media_query_list(&mut **self, node, __ast_path)
18578 }
18579
18580 #[inline]
18581 fn visit_media_querys<'ast: 'r, 'r>(
18582 &mut self,
18583 node: &'ast [MediaQuery],
18584 __ast_path: &mut AstNodePath<'r>,
18585 ) {
18586 <V as VisitAstPath>::visit_media_querys(&mut **self, node, __ast_path)
18587 }
18588
18589 #[inline]
18590 fn visit_media_type<'ast: 'r, 'r>(
18591 &mut self,
18592 node: &'ast MediaType,
18593 __ast_path: &mut AstNodePath<'r>,
18594 ) {
18595 <V as VisitAstPath>::visit_media_type(&mut **self, node, __ast_path)
18596 }
18597
18598 #[inline]
18599 fn visit_named_namespace<'ast: 'r, 'r>(
18600 &mut self,
18601 node: &'ast NamedNamespace,
18602 __ast_path: &mut AstNodePath<'r>,
18603 ) {
18604 <V as VisitAstPath>::visit_named_namespace(&mut **self, node, __ast_path)
18605 }
18606
18607 #[inline]
18608 fn visit_namespace<'ast: 'r, 'r>(
18609 &mut self,
18610 node: &'ast Namespace,
18611 __ast_path: &mut AstNodePath<'r>,
18612 ) {
18613 <V as VisitAstPath>::visit_namespace(&mut **self, node, __ast_path)
18614 }
18615
18616 #[inline]
18617 fn visit_namespace_prefix<'ast: 'r, 'r>(
18618 &mut self,
18619 node: &'ast NamespacePrefix,
18620 __ast_path: &mut AstNodePath<'r>,
18621 ) {
18622 <V as VisitAstPath>::visit_namespace_prefix(&mut **self, node, __ast_path)
18623 }
18624
18625 #[inline]
18626 fn visit_namespace_prelude<'ast: 'r, 'r>(
18627 &mut self,
18628 node: &'ast NamespacePrelude,
18629 __ast_path: &mut AstNodePath<'r>,
18630 ) {
18631 <V as VisitAstPath>::visit_namespace_prelude(&mut **self, node, __ast_path)
18632 }
18633
18634 #[inline]
18635 fn visit_namespace_prelude_uri<'ast: 'r, 'r>(
18636 &mut self,
18637 node: &'ast NamespacePreludeUri,
18638 __ast_path: &mut AstNodePath<'r>,
18639 ) {
18640 <V as VisitAstPath>::visit_namespace_prelude_uri(&mut **self, node, __ast_path)
18641 }
18642
18643 #[inline]
18644 fn visit_nesting_selector<'ast: 'r, 'r>(
18645 &mut self,
18646 node: &'ast NestingSelector,
18647 __ast_path: &mut AstNodePath<'r>,
18648 ) {
18649 <V as VisitAstPath>::visit_nesting_selector(&mut **self, node, __ast_path)
18650 }
18651
18652 #[inline]
18653 fn visit_number<'ast: 'r, 'r>(&mut self, node: &'ast Number, __ast_path: &mut AstNodePath<'r>) {
18654 <V as VisitAstPath>::visit_number(&mut **self, node, __ast_path)
18655 }
18656
18657 #[inline]
18658 fn visit_number_type<'ast: 'r, 'r>(
18659 &mut self,
18660 node: &'ast NumberType,
18661 __ast_path: &mut AstNodePath<'r>,
18662 ) {
18663 <V as VisitAstPath>::visit_number_type(&mut **self, node, __ast_path)
18664 }
18665
18666 #[inline]
18667 fn visit_opt_at_rule_prelude<'ast: 'r, 'r>(
18668 &mut self,
18669 node: &'ast Option<Box<AtRulePrelude>>,
18670 __ast_path: &mut AstNodePath<'r>,
18671 ) {
18672 <V as VisitAstPath>::visit_opt_at_rule_prelude(&mut **self, node, __ast_path)
18673 }
18674
18675 #[inline]
18676 fn visit_opt_atom<'ast: 'r, 'r>(
18677 &mut self,
18678 node: &'ast Option<swc_atoms::Atom>,
18679 __ast_path: &mut AstNodePath<'r>,
18680 ) {
18681 <V as VisitAstPath>::visit_opt_atom(&mut **self, node, __ast_path)
18682 }
18683
18684 #[inline]
18685 fn visit_opt_attribute_selector_matcher<'ast: 'r, 'r>(
18686 &mut self,
18687 node: &'ast Option<AttributeSelectorMatcher>,
18688 __ast_path: &mut AstNodePath<'r>,
18689 ) {
18690 <V as VisitAstPath>::visit_opt_attribute_selector_matcher(&mut **self, node, __ast_path)
18691 }
18692
18693 #[inline]
18694 fn visit_opt_attribute_selector_modifier<'ast: 'r, 'r>(
18695 &mut self,
18696 node: &'ast Option<AttributeSelectorModifier>,
18697 __ast_path: &mut AstNodePath<'r>,
18698 ) {
18699 <V as VisitAstPath>::visit_opt_attribute_selector_modifier(&mut **self, node, __ast_path)
18700 }
18701
18702 #[inline]
18703 fn visit_opt_attribute_selector_value<'ast: 'r, 'r>(
18704 &mut self,
18705 node: &'ast Option<AttributeSelectorValue>,
18706 __ast_path: &mut AstNodePath<'r>,
18707 ) {
18708 <V as VisitAstPath>::visit_opt_attribute_selector_value(&mut **self, node, __ast_path)
18709 }
18710
18711 #[inline]
18712 fn visit_opt_combinator<'ast: 'r, 'r>(
18713 &mut self,
18714 node: &'ast Option<Combinator>,
18715 __ast_path: &mut AstNodePath<'r>,
18716 ) {
18717 <V as VisitAstPath>::visit_opt_combinator(&mut **self, node, __ast_path)
18718 }
18719
18720 #[inline]
18721 fn visit_opt_container_name<'ast: 'r, 'r>(
18722 &mut self,
18723 node: &'ast Option<ContainerName>,
18724 __ast_path: &mut AstNodePath<'r>,
18725 ) {
18726 <V as VisitAstPath>::visit_opt_container_name(&mut **self, node, __ast_path)
18727 }
18728
18729 #[inline]
18730 fn visit_opt_forgiving_selector_list<'ast: 'r, 'r>(
18731 &mut self,
18732 node: &'ast Option<ForgivingSelectorList>,
18733 __ast_path: &mut AstNodePath<'r>,
18734 ) {
18735 <V as VisitAstPath>::visit_opt_forgiving_selector_list(&mut **self, node, __ast_path)
18736 }
18737
18738 #[inline]
18739 fn visit_opt_function<'ast: 'r, 'r>(
18740 &mut self,
18741 node: &'ast Option<Box<Function>>,
18742 __ast_path: &mut AstNodePath<'r>,
18743 ) {
18744 <V as VisitAstPath>::visit_opt_function(&mut **self, node, __ast_path)
18745 }
18746
18747 #[inline]
18748 fn visit_opt_ident<'ast: 'r, 'r>(
18749 &mut self,
18750 node: &'ast Option<Ident>,
18751 __ast_path: &mut AstNodePath<'r>,
18752 ) {
18753 <V as VisitAstPath>::visit_opt_ident(&mut **self, node, __ast_path)
18754 }
18755
18756 #[inline]
18757 fn visit_opt_import_conditions<'ast: 'r, 'r>(
18758 &mut self,
18759 node: &'ast Option<Box<ImportConditions>>,
18760 __ast_path: &mut AstNodePath<'r>,
18761 ) {
18762 <V as VisitAstPath>::visit_opt_import_conditions(&mut **self, node, __ast_path)
18763 }
18764
18765 #[inline]
18766 fn visit_opt_import_layer_name<'ast: 'r, 'r>(
18767 &mut self,
18768 node: &'ast Option<Box<ImportLayerName>>,
18769 __ast_path: &mut AstNodePath<'r>,
18770 ) {
18771 <V as VisitAstPath>::visit_opt_import_layer_name(&mut **self, node, __ast_path)
18772 }
18773
18774 #[inline]
18775 fn visit_opt_important_flag<'ast: 'r, 'r>(
18776 &mut self,
18777 node: &'ast Option<ImportantFlag>,
18778 __ast_path: &mut AstNodePath<'r>,
18779 ) {
18780 <V as VisitAstPath>::visit_opt_important_flag(&mut **self, node, __ast_path)
18781 }
18782
18783 #[inline]
18784 fn visit_opt_media_condition_type<'ast: 'r, 'r>(
18785 &mut self,
18786 node: &'ast Option<Box<MediaConditionType>>,
18787 __ast_path: &mut AstNodePath<'r>,
18788 ) {
18789 <V as VisitAstPath>::visit_opt_media_condition_type(&mut **self, node, __ast_path)
18790 }
18791
18792 #[inline]
18793 fn visit_opt_media_query_list<'ast: 'r, 'r>(
18794 &mut self,
18795 node: &'ast Option<Box<MediaQueryList>>,
18796 __ast_path: &mut AstNodePath<'r>,
18797 ) {
18798 <V as VisitAstPath>::visit_opt_media_query_list(&mut **self, node, __ast_path)
18799 }
18800
18801 #[inline]
18802 fn visit_opt_media_type<'ast: 'r, 'r>(
18803 &mut self,
18804 node: &'ast Option<MediaType>,
18805 __ast_path: &mut AstNodePath<'r>,
18806 ) {
18807 <V as VisitAstPath>::visit_opt_media_type(&mut **self, node, __ast_path)
18808 }
18809
18810 #[inline]
18811 fn visit_opt_namespace<'ast: 'r, 'r>(
18812 &mut self,
18813 node: &'ast Option<Namespace>,
18814 __ast_path: &mut AstNodePath<'r>,
18815 ) {
18816 <V as VisitAstPath>::visit_opt_namespace(&mut **self, node, __ast_path)
18817 }
18818
18819 #[inline]
18820 fn visit_opt_namespace_prefix<'ast: 'r, 'r>(
18821 &mut self,
18822 node: &'ast Option<NamespacePrefix>,
18823 __ast_path: &mut AstNodePath<'r>,
18824 ) {
18825 <V as VisitAstPath>::visit_opt_namespace_prefix(&mut **self, node, __ast_path)
18826 }
18827
18828 #[inline]
18829 fn visit_opt_nesting_selector<'ast: 'r, 'r>(
18830 &mut self,
18831 node: &'ast Option<NestingSelector>,
18832 __ast_path: &mut AstNodePath<'r>,
18833 ) {
18834 <V as VisitAstPath>::visit_opt_nesting_selector(&mut **self, node, __ast_path)
18835 }
18836
18837 #[inline]
18838 fn visit_opt_number<'ast: 'r, 'r>(
18839 &mut self,
18840 node: &'ast Option<Number>,
18841 __ast_path: &mut AstNodePath<'r>,
18842 ) {
18843 <V as VisitAstPath>::visit_opt_number(&mut **self, node, __ast_path)
18844 }
18845
18846 #[inline]
18847 fn visit_opt_page_selector_pseudos<'ast: 'r, 'r>(
18848 &mut self,
18849 node: &'ast Option<Vec<PageSelectorPseudo>>,
18850 __ast_path: &mut AstNodePath<'r>,
18851 ) {
18852 <V as VisitAstPath>::visit_opt_page_selector_pseudos(&mut **self, node, __ast_path)
18853 }
18854
18855 #[inline]
18856 fn visit_opt_page_selector_type<'ast: 'r, 'r>(
18857 &mut self,
18858 node: &'ast Option<PageSelectorType>,
18859 __ast_path: &mut AstNodePath<'r>,
18860 ) {
18861 <V as VisitAstPath>::visit_opt_page_selector_type(&mut **self, node, __ast_path)
18862 }
18863
18864 #[inline]
18865 fn visit_opt_pseudo_class_selector_childrens<'ast: 'r, 'r>(
18866 &mut self,
18867 node: &'ast Option<Vec<PseudoClassSelectorChildren>>,
18868 __ast_path: &mut AstNodePath<'r>,
18869 ) {
18870 <V as VisitAstPath>::visit_opt_pseudo_class_selector_childrens(
18871 &mut **self,
18872 node,
18873 __ast_path,
18874 )
18875 }
18876
18877 #[inline]
18878 fn visit_opt_pseudo_element_selector_childrens<'ast: 'r, 'r>(
18879 &mut self,
18880 node: &'ast Option<Vec<PseudoElementSelectorChildren>>,
18881 __ast_path: &mut AstNodePath<'r>,
18882 ) {
18883 <V as VisitAstPath>::visit_opt_pseudo_element_selector_childrens(
18884 &mut **self,
18885 node,
18886 __ast_path,
18887 )
18888 }
18889
18890 #[inline]
18891 fn visit_opt_simple_block<'ast: 'r, 'r>(
18892 &mut self,
18893 node: &'ast Option<SimpleBlock>,
18894 __ast_path: &mut AstNodePath<'r>,
18895 ) {
18896 <V as VisitAstPath>::visit_opt_simple_block(&mut **self, node, __ast_path)
18897 }
18898
18899 #[inline]
18900 fn visit_opt_type_selector<'ast: 'r, 'r>(
18901 &mut self,
18902 node: &'ast Option<Box<TypeSelector>>,
18903 __ast_path: &mut AstNodePath<'r>,
18904 ) {
18905 <V as VisitAstPath>::visit_opt_type_selector(&mut **self, node, __ast_path)
18906 }
18907
18908 #[inline]
18909 fn visit_opt_url_modifiers<'ast: 'r, 'r>(
18910 &mut self,
18911 node: &'ast Option<Vec<UrlModifier>>,
18912 __ast_path: &mut AstNodePath<'r>,
18913 ) {
18914 <V as VisitAstPath>::visit_opt_url_modifiers(&mut **self, node, __ast_path)
18915 }
18916
18917 #[inline]
18918 fn visit_opt_url_value<'ast: 'r, 'r>(
18919 &mut self,
18920 node: &'ast Option<Box<UrlValue>>,
18921 __ast_path: &mut AstNodePath<'r>,
18922 ) {
18923 <V as VisitAstPath>::visit_opt_url_value(&mut **self, node, __ast_path)
18924 }
18925
18926 #[inline]
18927 fn visit_page_selector<'ast: 'r, 'r>(
18928 &mut self,
18929 node: &'ast PageSelector,
18930 __ast_path: &mut AstNodePath<'r>,
18931 ) {
18932 <V as VisitAstPath>::visit_page_selector(&mut **self, node, __ast_path)
18933 }
18934
18935 #[inline]
18936 fn visit_page_selector_list<'ast: 'r, 'r>(
18937 &mut self,
18938 node: &'ast PageSelectorList,
18939 __ast_path: &mut AstNodePath<'r>,
18940 ) {
18941 <V as VisitAstPath>::visit_page_selector_list(&mut **self, node, __ast_path)
18942 }
18943
18944 #[inline]
18945 fn visit_page_selector_pseudo<'ast: 'r, 'r>(
18946 &mut self,
18947 node: &'ast PageSelectorPseudo,
18948 __ast_path: &mut AstNodePath<'r>,
18949 ) {
18950 <V as VisitAstPath>::visit_page_selector_pseudo(&mut **self, node, __ast_path)
18951 }
18952
18953 #[inline]
18954 fn visit_page_selector_pseudos<'ast: 'r, 'r>(
18955 &mut self,
18956 node: &'ast [PageSelectorPseudo],
18957 __ast_path: &mut AstNodePath<'r>,
18958 ) {
18959 <V as VisitAstPath>::visit_page_selector_pseudos(&mut **self, node, __ast_path)
18960 }
18961
18962 #[inline]
18963 fn visit_page_selector_type<'ast: 'r, 'r>(
18964 &mut self,
18965 node: &'ast PageSelectorType,
18966 __ast_path: &mut AstNodePath<'r>,
18967 ) {
18968 <V as VisitAstPath>::visit_page_selector_type(&mut **self, node, __ast_path)
18969 }
18970
18971 #[inline]
18972 fn visit_page_selectors<'ast: 'r, 'r>(
18973 &mut self,
18974 node: &'ast [PageSelector],
18975 __ast_path: &mut AstNodePath<'r>,
18976 ) {
18977 <V as VisitAstPath>::visit_page_selectors(&mut **self, node, __ast_path)
18978 }
18979
18980 #[inline]
18981 fn visit_percentage<'ast: 'r, 'r>(
18982 &mut self,
18983 node: &'ast Percentage,
18984 __ast_path: &mut AstNodePath<'r>,
18985 ) {
18986 <V as VisitAstPath>::visit_percentage(&mut **self, node, __ast_path)
18987 }
18988
18989 #[inline]
18990 fn visit_pseudo_class_selector<'ast: 'r, 'r>(
18991 &mut self,
18992 node: &'ast PseudoClassSelector,
18993 __ast_path: &mut AstNodePath<'r>,
18994 ) {
18995 <V as VisitAstPath>::visit_pseudo_class_selector(&mut **self, node, __ast_path)
18996 }
18997
18998 #[inline]
18999 fn visit_pseudo_class_selector_children<'ast: 'r, 'r>(
19000 &mut self,
19001 node: &'ast PseudoClassSelectorChildren,
19002 __ast_path: &mut AstNodePath<'r>,
19003 ) {
19004 <V as VisitAstPath>::visit_pseudo_class_selector_children(&mut **self, node, __ast_path)
19005 }
19006
19007 #[inline]
19008 fn visit_pseudo_class_selector_childrens<'ast: 'r, 'r>(
19009 &mut self,
19010 node: &'ast [PseudoClassSelectorChildren],
19011 __ast_path: &mut AstNodePath<'r>,
19012 ) {
19013 <V as VisitAstPath>::visit_pseudo_class_selector_childrens(&mut **self, node, __ast_path)
19014 }
19015
19016 #[inline]
19017 fn visit_pseudo_element_selector<'ast: 'r, 'r>(
19018 &mut self,
19019 node: &'ast PseudoElementSelector,
19020 __ast_path: &mut AstNodePath<'r>,
19021 ) {
19022 <V as VisitAstPath>::visit_pseudo_element_selector(&mut **self, node, __ast_path)
19023 }
19024
19025 #[inline]
19026 fn visit_pseudo_element_selector_children<'ast: 'r, 'r>(
19027 &mut self,
19028 node: &'ast PseudoElementSelectorChildren,
19029 __ast_path: &mut AstNodePath<'r>,
19030 ) {
19031 <V as VisitAstPath>::visit_pseudo_element_selector_children(&mut **self, node, __ast_path)
19032 }
19033
19034 #[inline]
19035 fn visit_pseudo_element_selector_childrens<'ast: 'r, 'r>(
19036 &mut self,
19037 node: &'ast [PseudoElementSelectorChildren],
19038 __ast_path: &mut AstNodePath<'r>,
19039 ) {
19040 <V as VisitAstPath>::visit_pseudo_element_selector_childrens(&mut **self, node, __ast_path)
19041 }
19042
19043 #[inline]
19044 fn visit_qualified_rule<'ast: 'r, 'r>(
19045 &mut self,
19046 node: &'ast QualifiedRule,
19047 __ast_path: &mut AstNodePath<'r>,
19048 ) {
19049 <V as VisitAstPath>::visit_qualified_rule(&mut **self, node, __ast_path)
19050 }
19051
19052 #[inline]
19053 fn visit_qualified_rule_prelude<'ast: 'r, 'r>(
19054 &mut self,
19055 node: &'ast QualifiedRulePrelude,
19056 __ast_path: &mut AstNodePath<'r>,
19057 ) {
19058 <V as VisitAstPath>::visit_qualified_rule_prelude(&mut **self, node, __ast_path)
19059 }
19060
19061 #[inline]
19062 fn visit_query_in_parens<'ast: 'r, 'r>(
19063 &mut self,
19064 node: &'ast QueryInParens,
19065 __ast_path: &mut AstNodePath<'r>,
19066 ) {
19067 <V as VisitAstPath>::visit_query_in_parens(&mut **self, node, __ast_path)
19068 }
19069
19070 #[inline]
19071 fn visit_ratio<'ast: 'r, 'r>(&mut self, node: &'ast Ratio, __ast_path: &mut AstNodePath<'r>) {
19072 <V as VisitAstPath>::visit_ratio(&mut **self, node, __ast_path)
19073 }
19074
19075 #[inline]
19076 fn visit_relative_selector<'ast: 'r, 'r>(
19077 &mut self,
19078 node: &'ast RelativeSelector,
19079 __ast_path: &mut AstNodePath<'r>,
19080 ) {
19081 <V as VisitAstPath>::visit_relative_selector(&mut **self, node, __ast_path)
19082 }
19083
19084 #[inline]
19085 fn visit_relative_selector_list<'ast: 'r, 'r>(
19086 &mut self,
19087 node: &'ast RelativeSelectorList,
19088 __ast_path: &mut AstNodePath<'r>,
19089 ) {
19090 <V as VisitAstPath>::visit_relative_selector_list(&mut **self, node, __ast_path)
19091 }
19092
19093 #[inline]
19094 fn visit_relative_selectors<'ast: 'r, 'r>(
19095 &mut self,
19096 node: &'ast [RelativeSelector],
19097 __ast_path: &mut AstNodePath<'r>,
19098 ) {
19099 <V as VisitAstPath>::visit_relative_selectors(&mut **self, node, __ast_path)
19100 }
19101
19102 #[inline]
19103 fn visit_resolution<'ast: 'r, 'r>(
19104 &mut self,
19105 node: &'ast Resolution,
19106 __ast_path: &mut AstNodePath<'r>,
19107 ) {
19108 <V as VisitAstPath>::visit_resolution(&mut **self, node, __ast_path)
19109 }
19110
19111 #[inline]
19112 fn visit_rule<'ast: 'r, 'r>(&mut self, node: &'ast Rule, __ast_path: &mut AstNodePath<'r>) {
19113 <V as VisitAstPath>::visit_rule(&mut **self, node, __ast_path)
19114 }
19115
19116 #[inline]
19117 fn visit_rules<'ast: 'r, 'r>(&mut self, node: &'ast [Rule], __ast_path: &mut AstNodePath<'r>) {
19118 <V as VisitAstPath>::visit_rules(&mut **self, node, __ast_path)
19119 }
19120
19121 #[inline]
19122 fn visit_scope_range<'ast: 'r, 'r>(
19123 &mut self,
19124 node: &'ast ScopeRange,
19125 __ast_path: &mut AstNodePath<'r>,
19126 ) {
19127 <V as VisitAstPath>::visit_scope_range(&mut **self, node, __ast_path)
19128 }
19129
19130 #[inline]
19131 fn visit_selector_list<'ast: 'r, 'r>(
19132 &mut self,
19133 node: &'ast SelectorList,
19134 __ast_path: &mut AstNodePath<'r>,
19135 ) {
19136 <V as VisitAstPath>::visit_selector_list(&mut **self, node, __ast_path)
19137 }
19138
19139 #[inline]
19140 fn visit_sequence_of_custom_idents<'ast: 'r, 'r>(
19141 &mut self,
19142 node: &'ast SequenceOfCustomIdents,
19143 __ast_path: &mut AstNodePath<'r>,
19144 ) {
19145 <V as VisitAstPath>::visit_sequence_of_custom_idents(&mut **self, node, __ast_path)
19146 }
19147
19148 #[inline]
19149 fn visit_simple_block<'ast: 'r, 'r>(
19150 &mut self,
19151 node: &'ast SimpleBlock,
19152 __ast_path: &mut AstNodePath<'r>,
19153 ) {
19154 <V as VisitAstPath>::visit_simple_block(&mut **self, node, __ast_path)
19155 }
19156
19157 #[inline]
19158 fn visit_size_feature<'ast: 'r, 'r>(
19159 &mut self,
19160 node: &'ast SizeFeature,
19161 __ast_path: &mut AstNodePath<'r>,
19162 ) {
19163 <V as VisitAstPath>::visit_size_feature(&mut **self, node, __ast_path)
19164 }
19165
19166 #[inline]
19167 fn visit_size_feature_boolean<'ast: 'r, 'r>(
19168 &mut self,
19169 node: &'ast SizeFeatureBoolean,
19170 __ast_path: &mut AstNodePath<'r>,
19171 ) {
19172 <V as VisitAstPath>::visit_size_feature_boolean(&mut **self, node, __ast_path)
19173 }
19174
19175 #[inline]
19176 fn visit_size_feature_name<'ast: 'r, 'r>(
19177 &mut self,
19178 node: &'ast SizeFeatureName,
19179 __ast_path: &mut AstNodePath<'r>,
19180 ) {
19181 <V as VisitAstPath>::visit_size_feature_name(&mut **self, node, __ast_path)
19182 }
19183
19184 #[inline]
19185 fn visit_size_feature_plain<'ast: 'r, 'r>(
19186 &mut self,
19187 node: &'ast SizeFeaturePlain,
19188 __ast_path: &mut AstNodePath<'r>,
19189 ) {
19190 <V as VisitAstPath>::visit_size_feature_plain(&mut **self, node, __ast_path)
19191 }
19192
19193 #[inline]
19194 fn visit_size_feature_range<'ast: 'r, 'r>(
19195 &mut self,
19196 node: &'ast SizeFeatureRange,
19197 __ast_path: &mut AstNodePath<'r>,
19198 ) {
19199 <V as VisitAstPath>::visit_size_feature_range(&mut **self, node, __ast_path)
19200 }
19201
19202 #[inline]
19203 fn visit_size_feature_range_comparison<'ast: 'r, 'r>(
19204 &mut self,
19205 node: &'ast SizeFeatureRangeComparison,
19206 __ast_path: &mut AstNodePath<'r>,
19207 ) {
19208 <V as VisitAstPath>::visit_size_feature_range_comparison(&mut **self, node, __ast_path)
19209 }
19210
19211 #[inline]
19212 fn visit_size_feature_range_interval<'ast: 'r, 'r>(
19213 &mut self,
19214 node: &'ast SizeFeatureRangeInterval,
19215 __ast_path: &mut AstNodePath<'r>,
19216 ) {
19217 <V as VisitAstPath>::visit_size_feature_range_interval(&mut **self, node, __ast_path)
19218 }
19219
19220 #[inline]
19221 fn visit_size_feature_value<'ast: 'r, 'r>(
19222 &mut self,
19223 node: &'ast SizeFeatureValue,
19224 __ast_path: &mut AstNodePath<'r>,
19225 ) {
19226 <V as VisitAstPath>::visit_size_feature_value(&mut **self, node, __ast_path)
19227 }
19228
19229 #[inline]
19230 fn visit_span<'ast: 'r, 'r>(
19231 &mut self,
19232 node: &'ast swc_common::Span,
19233 __ast_path: &mut AstNodePath<'r>,
19234 ) {
19235 <V as VisitAstPath>::visit_span(&mut **self, node, __ast_path)
19236 }
19237
19238 #[inline]
19239 fn visit_str<'ast: 'r, 'r>(&mut self, node: &'ast Str, __ast_path: &mut AstNodePath<'r>) {
19240 <V as VisitAstPath>::visit_str(&mut **self, node, __ast_path)
19241 }
19242
19243 #[inline]
19244 fn visit_style_block<'ast: 'r, 'r>(
19245 &mut self,
19246 node: &'ast StyleBlock,
19247 __ast_path: &mut AstNodePath<'r>,
19248 ) {
19249 <V as VisitAstPath>::visit_style_block(&mut **self, node, __ast_path)
19250 }
19251
19252 #[inline]
19253 fn visit_stylesheet<'ast: 'r, 'r>(
19254 &mut self,
19255 node: &'ast Stylesheet,
19256 __ast_path: &mut AstNodePath<'r>,
19257 ) {
19258 <V as VisitAstPath>::visit_stylesheet(&mut **self, node, __ast_path)
19259 }
19260
19261 #[inline]
19262 fn visit_subclass_selector<'ast: 'r, 'r>(
19263 &mut self,
19264 node: &'ast SubclassSelector,
19265 __ast_path: &mut AstNodePath<'r>,
19266 ) {
19267 <V as VisitAstPath>::visit_subclass_selector(&mut **self, node, __ast_path)
19268 }
19269
19270 #[inline]
19271 fn visit_subclass_selectors<'ast: 'r, 'r>(
19272 &mut self,
19273 node: &'ast [SubclassSelector],
19274 __ast_path: &mut AstNodePath<'r>,
19275 ) {
19276 <V as VisitAstPath>::visit_subclass_selectors(&mut **self, node, __ast_path)
19277 }
19278
19279 #[inline]
19280 fn visit_supports_and<'ast: 'r, 'r>(
19281 &mut self,
19282 node: &'ast SupportsAnd,
19283 __ast_path: &mut AstNodePath<'r>,
19284 ) {
19285 <V as VisitAstPath>::visit_supports_and(&mut **self, node, __ast_path)
19286 }
19287
19288 #[inline]
19289 fn visit_supports_condition<'ast: 'r, 'r>(
19290 &mut self,
19291 node: &'ast SupportsCondition,
19292 __ast_path: &mut AstNodePath<'r>,
19293 ) {
19294 <V as VisitAstPath>::visit_supports_condition(&mut **self, node, __ast_path)
19295 }
19296
19297 #[inline]
19298 fn visit_supports_condition_type<'ast: 'r, 'r>(
19299 &mut self,
19300 node: &'ast SupportsConditionType,
19301 __ast_path: &mut AstNodePath<'r>,
19302 ) {
19303 <V as VisitAstPath>::visit_supports_condition_type(&mut **self, node, __ast_path)
19304 }
19305
19306 #[inline]
19307 fn visit_supports_condition_types<'ast: 'r, 'r>(
19308 &mut self,
19309 node: &'ast [SupportsConditionType],
19310 __ast_path: &mut AstNodePath<'r>,
19311 ) {
19312 <V as VisitAstPath>::visit_supports_condition_types(&mut **self, node, __ast_path)
19313 }
19314
19315 #[inline]
19316 fn visit_supports_feature<'ast: 'r, 'r>(
19317 &mut self,
19318 node: &'ast SupportsFeature,
19319 __ast_path: &mut AstNodePath<'r>,
19320 ) {
19321 <V as VisitAstPath>::visit_supports_feature(&mut **self, node, __ast_path)
19322 }
19323
19324 #[inline]
19325 fn visit_supports_in_parens<'ast: 'r, 'r>(
19326 &mut self,
19327 node: &'ast SupportsInParens,
19328 __ast_path: &mut AstNodePath<'r>,
19329 ) {
19330 <V as VisitAstPath>::visit_supports_in_parens(&mut **self, node, __ast_path)
19331 }
19332
19333 #[inline]
19334 fn visit_supports_not<'ast: 'r, 'r>(
19335 &mut self,
19336 node: &'ast SupportsNot,
19337 __ast_path: &mut AstNodePath<'r>,
19338 ) {
19339 <V as VisitAstPath>::visit_supports_not(&mut **self, node, __ast_path)
19340 }
19341
19342 #[inline]
19343 fn visit_supports_or<'ast: 'r, 'r>(
19344 &mut self,
19345 node: &'ast SupportsOr,
19346 __ast_path: &mut AstNodePath<'r>,
19347 ) {
19348 <V as VisitAstPath>::visit_supports_or(&mut **self, node, __ast_path)
19349 }
19350
19351 #[inline]
19352 fn visit_tag_name_selector<'ast: 'r, 'r>(
19353 &mut self,
19354 node: &'ast TagNameSelector,
19355 __ast_path: &mut AstNodePath<'r>,
19356 ) {
19357 <V as VisitAstPath>::visit_tag_name_selector(&mut **self, node, __ast_path)
19358 }
19359
19360 #[inline]
19361 fn visit_time<'ast: 'r, 'r>(&mut self, node: &'ast Time, __ast_path: &mut AstNodePath<'r>) {
19362 <V as VisitAstPath>::visit_time(&mut **self, node, __ast_path)
19363 }
19364
19365 #[inline]
19366 fn visit_time_percentage<'ast: 'r, 'r>(
19367 &mut self,
19368 node: &'ast TimePercentage,
19369 __ast_path: &mut AstNodePath<'r>,
19370 ) {
19371 <V as VisitAstPath>::visit_time_percentage(&mut **self, node, __ast_path)
19372 }
19373
19374 #[inline]
19375 fn visit_token<'ast: 'r, 'r>(&mut self, node: &'ast Token, __ast_path: &mut AstNodePath<'r>) {
19376 <V as VisitAstPath>::visit_token(&mut **self, node, __ast_path)
19377 }
19378
19379 #[inline]
19380 fn visit_token_and_span<'ast: 'r, 'r>(
19381 &mut self,
19382 node: &'ast TokenAndSpan,
19383 __ast_path: &mut AstNodePath<'r>,
19384 ) {
19385 <V as VisitAstPath>::visit_token_and_span(&mut **self, node, __ast_path)
19386 }
19387
19388 #[inline]
19389 fn visit_type_selector<'ast: 'r, 'r>(
19390 &mut self,
19391 node: &'ast TypeSelector,
19392 __ast_path: &mut AstNodePath<'r>,
19393 ) {
19394 <V as VisitAstPath>::visit_type_selector(&mut **self, node, __ast_path)
19395 }
19396
19397 #[inline]
19398 fn visit_unicode_range<'ast: 'r, 'r>(
19399 &mut self,
19400 node: &'ast UnicodeRange,
19401 __ast_path: &mut AstNodePath<'r>,
19402 ) {
19403 <V as VisitAstPath>::visit_unicode_range(&mut **self, node, __ast_path)
19404 }
19405
19406 #[inline]
19407 fn visit_universal_selector<'ast: 'r, 'r>(
19408 &mut self,
19409 node: &'ast UniversalSelector,
19410 __ast_path: &mut AstNodePath<'r>,
19411 ) {
19412 <V as VisitAstPath>::visit_universal_selector(&mut **self, node, __ast_path)
19413 }
19414
19415 #[inline]
19416 fn visit_unknown_dimension<'ast: 'r, 'r>(
19417 &mut self,
19418 node: &'ast UnknownDimension,
19419 __ast_path: &mut AstNodePath<'r>,
19420 ) {
19421 <V as VisitAstPath>::visit_unknown_dimension(&mut **self, node, __ast_path)
19422 }
19423
19424 #[inline]
19425 fn visit_url<'ast: 'r, 'r>(&mut self, node: &'ast Url, __ast_path: &mut AstNodePath<'r>) {
19426 <V as VisitAstPath>::visit_url(&mut **self, node, __ast_path)
19427 }
19428
19429 #[inline]
19430 fn visit_url_key_value<'ast: 'r, 'r>(
19431 &mut self,
19432 node: &'ast UrlKeyValue,
19433 __ast_path: &mut AstNodePath<'r>,
19434 ) {
19435 <V as VisitAstPath>::visit_url_key_value(&mut **self, node, __ast_path)
19436 }
19437
19438 #[inline]
19439 fn visit_url_modifier<'ast: 'r, 'r>(
19440 &mut self,
19441 node: &'ast UrlModifier,
19442 __ast_path: &mut AstNodePath<'r>,
19443 ) {
19444 <V as VisitAstPath>::visit_url_modifier(&mut **self, node, __ast_path)
19445 }
19446
19447 #[inline]
19448 fn visit_url_modifiers<'ast: 'r, 'r>(
19449 &mut self,
19450 node: &'ast [UrlModifier],
19451 __ast_path: &mut AstNodePath<'r>,
19452 ) {
19453 <V as VisitAstPath>::visit_url_modifiers(&mut **self, node, __ast_path)
19454 }
19455
19456 #[inline]
19457 fn visit_url_value<'ast: 'r, 'r>(
19458 &mut self,
19459 node: &'ast UrlValue,
19460 __ast_path: &mut AstNodePath<'r>,
19461 ) {
19462 <V as VisitAstPath>::visit_url_value(&mut **self, node, __ast_path)
19463 }
19464
19465 #[inline]
19466 fn visit_url_value_raw<'ast: 'r, 'r>(
19467 &mut self,
19468 node: &'ast UrlValueRaw,
19469 __ast_path: &mut AstNodePath<'r>,
19470 ) {
19471 <V as VisitAstPath>::visit_url_value_raw(&mut **self, node, __ast_path)
19472 }
19473
19474 #[inline]
19475 fn visit_wq_name<'ast: 'r, 'r>(
19476 &mut self,
19477 node: &'ast WqName,
19478 __ast_path: &mut AstNodePath<'r>,
19479 ) {
19480 <V as VisitAstPath>::visit_wq_name(&mut **self, node, __ast_path)
19481 }
19482}
19483#[cfg(any(docsrs, feature = "path"))]
19484#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
19485impl<A, B> VisitAstPath for ::swc_visit::Either<A, B>
19486where
19487 A: VisitAstPath,
19488 B: VisitAstPath,
19489{
19490 #[inline]
19491 fn visit_absolute_color_base<'ast: 'r, 'r>(
19492 &mut self,
19493 node: &'ast AbsoluteColorBase,
19494 __ast_path: &mut AstNodePath<'r>,
19495 ) {
19496 match self {
19497 swc_visit::Either::Left(visitor) => {
19498 VisitAstPath::visit_absolute_color_base(visitor, node, __ast_path)
19499 }
19500 swc_visit::Either::Right(visitor) => {
19501 VisitAstPath::visit_absolute_color_base(visitor, node, __ast_path)
19502 }
19503 }
19504 }
19505
19506 #[inline]
19507 fn visit_alpha_value<'ast: 'r, 'r>(
19508 &mut self,
19509 node: &'ast AlphaValue,
19510 __ast_path: &mut AstNodePath<'r>,
19511 ) {
19512 match self {
19513 swc_visit::Either::Left(visitor) => {
19514 VisitAstPath::visit_alpha_value(visitor, node, __ast_path)
19515 }
19516 swc_visit::Either::Right(visitor) => {
19517 VisitAstPath::visit_alpha_value(visitor, node, __ast_path)
19518 }
19519 }
19520 }
19521
19522 #[inline]
19523 fn visit_an_plus_b<'ast: 'r, 'r>(
19524 &mut self,
19525 node: &'ast AnPlusB,
19526 __ast_path: &mut AstNodePath<'r>,
19527 ) {
19528 match self {
19529 swc_visit::Either::Left(visitor) => {
19530 VisitAstPath::visit_an_plus_b(visitor, node, __ast_path)
19531 }
19532 swc_visit::Either::Right(visitor) => {
19533 VisitAstPath::visit_an_plus_b(visitor, node, __ast_path)
19534 }
19535 }
19536 }
19537
19538 #[inline]
19539 fn visit_an_plus_b_notation<'ast: 'r, 'r>(
19540 &mut self,
19541 node: &'ast AnPlusBNotation,
19542 __ast_path: &mut AstNodePath<'r>,
19543 ) {
19544 match self {
19545 swc_visit::Either::Left(visitor) => {
19546 VisitAstPath::visit_an_plus_b_notation(visitor, node, __ast_path)
19547 }
19548 swc_visit::Either::Right(visitor) => {
19549 VisitAstPath::visit_an_plus_b_notation(visitor, node, __ast_path)
19550 }
19551 }
19552 }
19553
19554 #[inline]
19555 fn visit_angle<'ast: 'r, 'r>(&mut self, node: &'ast Angle, __ast_path: &mut AstNodePath<'r>) {
19556 match self {
19557 swc_visit::Either::Left(visitor) => {
19558 VisitAstPath::visit_angle(visitor, node, __ast_path)
19559 }
19560 swc_visit::Either::Right(visitor) => {
19561 VisitAstPath::visit_angle(visitor, node, __ast_path)
19562 }
19563 }
19564 }
19565
19566 #[inline]
19567 fn visit_angle_percentage<'ast: 'r, 'r>(
19568 &mut self,
19569 node: &'ast AnglePercentage,
19570 __ast_path: &mut AstNodePath<'r>,
19571 ) {
19572 match self {
19573 swc_visit::Either::Left(visitor) => {
19574 VisitAstPath::visit_angle_percentage(visitor, node, __ast_path)
19575 }
19576 swc_visit::Either::Right(visitor) => {
19577 VisitAstPath::visit_angle_percentage(visitor, node, __ast_path)
19578 }
19579 }
19580 }
19581
19582 #[inline]
19583 fn visit_any_namespace<'ast: 'r, 'r>(
19584 &mut self,
19585 node: &'ast AnyNamespace,
19586 __ast_path: &mut AstNodePath<'r>,
19587 ) {
19588 match self {
19589 swc_visit::Either::Left(visitor) => {
19590 VisitAstPath::visit_any_namespace(visitor, node, __ast_path)
19591 }
19592 swc_visit::Either::Right(visitor) => {
19593 VisitAstPath::visit_any_namespace(visitor, node, __ast_path)
19594 }
19595 }
19596 }
19597
19598 #[inline]
19599 fn visit_at_rule<'ast: 'r, 'r>(
19600 &mut self,
19601 node: &'ast AtRule,
19602 __ast_path: &mut AstNodePath<'r>,
19603 ) {
19604 match self {
19605 swc_visit::Either::Left(visitor) => {
19606 VisitAstPath::visit_at_rule(visitor, node, __ast_path)
19607 }
19608 swc_visit::Either::Right(visitor) => {
19609 VisitAstPath::visit_at_rule(visitor, node, __ast_path)
19610 }
19611 }
19612 }
19613
19614 #[inline]
19615 fn visit_at_rule_name<'ast: 'r, 'r>(
19616 &mut self,
19617 node: &'ast AtRuleName,
19618 __ast_path: &mut AstNodePath<'r>,
19619 ) {
19620 match self {
19621 swc_visit::Either::Left(visitor) => {
19622 VisitAstPath::visit_at_rule_name(visitor, node, __ast_path)
19623 }
19624 swc_visit::Either::Right(visitor) => {
19625 VisitAstPath::visit_at_rule_name(visitor, node, __ast_path)
19626 }
19627 }
19628 }
19629
19630 #[inline]
19631 fn visit_at_rule_prelude<'ast: 'r, 'r>(
19632 &mut self,
19633 node: &'ast AtRulePrelude,
19634 __ast_path: &mut AstNodePath<'r>,
19635 ) {
19636 match self {
19637 swc_visit::Either::Left(visitor) => {
19638 VisitAstPath::visit_at_rule_prelude(visitor, node, __ast_path)
19639 }
19640 swc_visit::Either::Right(visitor) => {
19641 VisitAstPath::visit_at_rule_prelude(visitor, node, __ast_path)
19642 }
19643 }
19644 }
19645
19646 #[inline]
19647 fn visit_atom<'ast: 'r, 'r>(
19648 &mut self,
19649 node: &'ast swc_atoms::Atom,
19650 __ast_path: &mut AstNodePath<'r>,
19651 ) {
19652 match self {
19653 swc_visit::Either::Left(visitor) => VisitAstPath::visit_atom(visitor, node, __ast_path),
19654 swc_visit::Either::Right(visitor) => {
19655 VisitAstPath::visit_atom(visitor, node, __ast_path)
19656 }
19657 }
19658 }
19659
19660 #[inline]
19661 fn visit_attribute_selector<'ast: 'r, 'r>(
19662 &mut self,
19663 node: &'ast AttributeSelector,
19664 __ast_path: &mut AstNodePath<'r>,
19665 ) {
19666 match self {
19667 swc_visit::Either::Left(visitor) => {
19668 VisitAstPath::visit_attribute_selector(visitor, node, __ast_path)
19669 }
19670 swc_visit::Either::Right(visitor) => {
19671 VisitAstPath::visit_attribute_selector(visitor, node, __ast_path)
19672 }
19673 }
19674 }
19675
19676 #[inline]
19677 fn visit_attribute_selector_matcher<'ast: 'r, 'r>(
19678 &mut self,
19679 node: &'ast AttributeSelectorMatcher,
19680 __ast_path: &mut AstNodePath<'r>,
19681 ) {
19682 match self {
19683 swc_visit::Either::Left(visitor) => {
19684 VisitAstPath::visit_attribute_selector_matcher(visitor, node, __ast_path)
19685 }
19686 swc_visit::Either::Right(visitor) => {
19687 VisitAstPath::visit_attribute_selector_matcher(visitor, node, __ast_path)
19688 }
19689 }
19690 }
19691
19692 #[inline]
19693 fn visit_attribute_selector_matcher_value<'ast: 'r, 'r>(
19694 &mut self,
19695 node: &'ast AttributeSelectorMatcherValue,
19696 __ast_path: &mut AstNodePath<'r>,
19697 ) {
19698 match self {
19699 swc_visit::Either::Left(visitor) => {
19700 VisitAstPath::visit_attribute_selector_matcher_value(visitor, node, __ast_path)
19701 }
19702 swc_visit::Either::Right(visitor) => {
19703 VisitAstPath::visit_attribute_selector_matcher_value(visitor, node, __ast_path)
19704 }
19705 }
19706 }
19707
19708 #[inline]
19709 fn visit_attribute_selector_modifier<'ast: 'r, 'r>(
19710 &mut self,
19711 node: &'ast AttributeSelectorModifier,
19712 __ast_path: &mut AstNodePath<'r>,
19713 ) {
19714 match self {
19715 swc_visit::Either::Left(visitor) => {
19716 VisitAstPath::visit_attribute_selector_modifier(visitor, node, __ast_path)
19717 }
19718 swc_visit::Either::Right(visitor) => {
19719 VisitAstPath::visit_attribute_selector_modifier(visitor, node, __ast_path)
19720 }
19721 }
19722 }
19723
19724 #[inline]
19725 fn visit_attribute_selector_value<'ast: 'r, 'r>(
19726 &mut self,
19727 node: &'ast AttributeSelectorValue,
19728 __ast_path: &mut AstNodePath<'r>,
19729 ) {
19730 match self {
19731 swc_visit::Either::Left(visitor) => {
19732 VisitAstPath::visit_attribute_selector_value(visitor, node, __ast_path)
19733 }
19734 swc_visit::Either::Right(visitor) => {
19735 VisitAstPath::visit_attribute_selector_value(visitor, node, __ast_path)
19736 }
19737 }
19738 }
19739
19740 #[inline]
19741 fn visit_bin_op<'ast: 'r, 'r>(&mut self, node: &'ast BinOp, __ast_path: &mut AstNodePath<'r>) {
19742 match self {
19743 swc_visit::Either::Left(visitor) => {
19744 VisitAstPath::visit_bin_op(visitor, node, __ast_path)
19745 }
19746 swc_visit::Either::Right(visitor) => {
19747 VisitAstPath::visit_bin_op(visitor, node, __ast_path)
19748 }
19749 }
19750 }
19751
19752 #[inline]
19753 fn visit_calc_operator<'ast: 'r, 'r>(
19754 &mut self,
19755 node: &'ast CalcOperator,
19756 __ast_path: &mut AstNodePath<'r>,
19757 ) {
19758 match self {
19759 swc_visit::Either::Left(visitor) => {
19760 VisitAstPath::visit_calc_operator(visitor, node, __ast_path)
19761 }
19762 swc_visit::Either::Right(visitor) => {
19763 VisitAstPath::visit_calc_operator(visitor, node, __ast_path)
19764 }
19765 }
19766 }
19767
19768 #[inline]
19769 fn visit_calc_operator_type<'ast: 'r, 'r>(
19770 &mut self,
19771 node: &'ast CalcOperatorType,
19772 __ast_path: &mut AstNodePath<'r>,
19773 ) {
19774 match self {
19775 swc_visit::Either::Left(visitor) => {
19776 VisitAstPath::visit_calc_operator_type(visitor, node, __ast_path)
19777 }
19778 swc_visit::Either::Right(visitor) => {
19779 VisitAstPath::visit_calc_operator_type(visitor, node, __ast_path)
19780 }
19781 }
19782 }
19783
19784 #[inline]
19785 fn visit_calc_product<'ast: 'r, 'r>(
19786 &mut self,
19787 node: &'ast CalcProduct,
19788 __ast_path: &mut AstNodePath<'r>,
19789 ) {
19790 match self {
19791 swc_visit::Either::Left(visitor) => {
19792 VisitAstPath::visit_calc_product(visitor, node, __ast_path)
19793 }
19794 swc_visit::Either::Right(visitor) => {
19795 VisitAstPath::visit_calc_product(visitor, node, __ast_path)
19796 }
19797 }
19798 }
19799
19800 #[inline]
19801 fn visit_calc_product_or_operator<'ast: 'r, 'r>(
19802 &mut self,
19803 node: &'ast CalcProductOrOperator,
19804 __ast_path: &mut AstNodePath<'r>,
19805 ) {
19806 match self {
19807 swc_visit::Either::Left(visitor) => {
19808 VisitAstPath::visit_calc_product_or_operator(visitor, node, __ast_path)
19809 }
19810 swc_visit::Either::Right(visitor) => {
19811 VisitAstPath::visit_calc_product_or_operator(visitor, node, __ast_path)
19812 }
19813 }
19814 }
19815
19816 #[inline]
19817 fn visit_calc_product_or_operators<'ast: 'r, 'r>(
19818 &mut self,
19819 node: &'ast [CalcProductOrOperator],
19820 __ast_path: &mut AstNodePath<'r>,
19821 ) {
19822 match self {
19823 swc_visit::Either::Left(visitor) => {
19824 VisitAstPath::visit_calc_product_or_operators(visitor, node, __ast_path)
19825 }
19826 swc_visit::Either::Right(visitor) => {
19827 VisitAstPath::visit_calc_product_or_operators(visitor, node, __ast_path)
19828 }
19829 }
19830 }
19831
19832 #[inline]
19833 fn visit_calc_sum<'ast: 'r, 'r>(
19834 &mut self,
19835 node: &'ast CalcSum,
19836 __ast_path: &mut AstNodePath<'r>,
19837 ) {
19838 match self {
19839 swc_visit::Either::Left(visitor) => {
19840 VisitAstPath::visit_calc_sum(visitor, node, __ast_path)
19841 }
19842 swc_visit::Either::Right(visitor) => {
19843 VisitAstPath::visit_calc_sum(visitor, node, __ast_path)
19844 }
19845 }
19846 }
19847
19848 #[inline]
19849 fn visit_calc_value<'ast: 'r, 'r>(
19850 &mut self,
19851 node: &'ast CalcValue,
19852 __ast_path: &mut AstNodePath<'r>,
19853 ) {
19854 match self {
19855 swc_visit::Either::Left(visitor) => {
19856 VisitAstPath::visit_calc_value(visitor, node, __ast_path)
19857 }
19858 swc_visit::Either::Right(visitor) => {
19859 VisitAstPath::visit_calc_value(visitor, node, __ast_path)
19860 }
19861 }
19862 }
19863
19864 #[inline]
19865 fn visit_calc_value_or_operator<'ast: 'r, 'r>(
19866 &mut self,
19867 node: &'ast CalcValueOrOperator,
19868 __ast_path: &mut AstNodePath<'r>,
19869 ) {
19870 match self {
19871 swc_visit::Either::Left(visitor) => {
19872 VisitAstPath::visit_calc_value_or_operator(visitor, node, __ast_path)
19873 }
19874 swc_visit::Either::Right(visitor) => {
19875 VisitAstPath::visit_calc_value_or_operator(visitor, node, __ast_path)
19876 }
19877 }
19878 }
19879
19880 #[inline]
19881 fn visit_calc_value_or_operators<'ast: 'r, 'r>(
19882 &mut self,
19883 node: &'ast [CalcValueOrOperator],
19884 __ast_path: &mut AstNodePath<'r>,
19885 ) {
19886 match self {
19887 swc_visit::Either::Left(visitor) => {
19888 VisitAstPath::visit_calc_value_or_operators(visitor, node, __ast_path)
19889 }
19890 swc_visit::Either::Right(visitor) => {
19891 VisitAstPath::visit_calc_value_or_operators(visitor, node, __ast_path)
19892 }
19893 }
19894 }
19895
19896 #[inline]
19897 fn visit_class_selector<'ast: 'r, 'r>(
19898 &mut self,
19899 node: &'ast ClassSelector,
19900 __ast_path: &mut AstNodePath<'r>,
19901 ) {
19902 match self {
19903 swc_visit::Either::Left(visitor) => {
19904 VisitAstPath::visit_class_selector(visitor, node, __ast_path)
19905 }
19906 swc_visit::Either::Right(visitor) => {
19907 VisitAstPath::visit_class_selector(visitor, node, __ast_path)
19908 }
19909 }
19910 }
19911
19912 #[inline]
19913 fn visit_cmyk_component<'ast: 'r, 'r>(
19914 &mut self,
19915 node: &'ast CmykComponent,
19916 __ast_path: &mut AstNodePath<'r>,
19917 ) {
19918 match self {
19919 swc_visit::Either::Left(visitor) => {
19920 VisitAstPath::visit_cmyk_component(visitor, node, __ast_path)
19921 }
19922 swc_visit::Either::Right(visitor) => {
19923 VisitAstPath::visit_cmyk_component(visitor, node, __ast_path)
19924 }
19925 }
19926 }
19927
19928 #[inline]
19929 fn visit_color<'ast: 'r, 'r>(&mut self, node: &'ast Color, __ast_path: &mut AstNodePath<'r>) {
19930 match self {
19931 swc_visit::Either::Left(visitor) => {
19932 VisitAstPath::visit_color(visitor, node, __ast_path)
19933 }
19934 swc_visit::Either::Right(visitor) => {
19935 VisitAstPath::visit_color(visitor, node, __ast_path)
19936 }
19937 }
19938 }
19939
19940 #[inline]
19941 fn visit_color_profile_name<'ast: 'r, 'r>(
19942 &mut self,
19943 node: &'ast ColorProfileName,
19944 __ast_path: &mut AstNodePath<'r>,
19945 ) {
19946 match self {
19947 swc_visit::Either::Left(visitor) => {
19948 VisitAstPath::visit_color_profile_name(visitor, node, __ast_path)
19949 }
19950 swc_visit::Either::Right(visitor) => {
19951 VisitAstPath::visit_color_profile_name(visitor, node, __ast_path)
19952 }
19953 }
19954 }
19955
19956 #[inline]
19957 fn visit_combinator<'ast: 'r, 'r>(
19958 &mut self,
19959 node: &'ast Combinator,
19960 __ast_path: &mut AstNodePath<'r>,
19961 ) {
19962 match self {
19963 swc_visit::Either::Left(visitor) => {
19964 VisitAstPath::visit_combinator(visitor, node, __ast_path)
19965 }
19966 swc_visit::Either::Right(visitor) => {
19967 VisitAstPath::visit_combinator(visitor, node, __ast_path)
19968 }
19969 }
19970 }
19971
19972 #[inline]
19973 fn visit_combinator_value<'ast: 'r, 'r>(
19974 &mut self,
19975 node: &'ast CombinatorValue,
19976 __ast_path: &mut AstNodePath<'r>,
19977 ) {
19978 match self {
19979 swc_visit::Either::Left(visitor) => {
19980 VisitAstPath::visit_combinator_value(visitor, node, __ast_path)
19981 }
19982 swc_visit::Either::Right(visitor) => {
19983 VisitAstPath::visit_combinator_value(visitor, node, __ast_path)
19984 }
19985 }
19986 }
19987
19988 #[inline]
19989 fn visit_complex_selector<'ast: 'r, 'r>(
19990 &mut self,
19991 node: &'ast ComplexSelector,
19992 __ast_path: &mut AstNodePath<'r>,
19993 ) {
19994 match self {
19995 swc_visit::Either::Left(visitor) => {
19996 VisitAstPath::visit_complex_selector(visitor, node, __ast_path)
19997 }
19998 swc_visit::Either::Right(visitor) => {
19999 VisitAstPath::visit_complex_selector(visitor, node, __ast_path)
20000 }
20001 }
20002 }
20003
20004 #[inline]
20005 fn visit_complex_selector_children<'ast: 'r, 'r>(
20006 &mut self,
20007 node: &'ast ComplexSelectorChildren,
20008 __ast_path: &mut AstNodePath<'r>,
20009 ) {
20010 match self {
20011 swc_visit::Either::Left(visitor) => {
20012 VisitAstPath::visit_complex_selector_children(visitor, node, __ast_path)
20013 }
20014 swc_visit::Either::Right(visitor) => {
20015 VisitAstPath::visit_complex_selector_children(visitor, node, __ast_path)
20016 }
20017 }
20018 }
20019
20020 #[inline]
20021 fn visit_complex_selector_childrens<'ast: 'r, 'r>(
20022 &mut self,
20023 node: &'ast [ComplexSelectorChildren],
20024 __ast_path: &mut AstNodePath<'r>,
20025 ) {
20026 match self {
20027 swc_visit::Either::Left(visitor) => {
20028 VisitAstPath::visit_complex_selector_childrens(visitor, node, __ast_path)
20029 }
20030 swc_visit::Either::Right(visitor) => {
20031 VisitAstPath::visit_complex_selector_childrens(visitor, node, __ast_path)
20032 }
20033 }
20034 }
20035
20036 #[inline]
20037 fn visit_complex_selectors<'ast: 'r, 'r>(
20038 &mut self,
20039 node: &'ast [ComplexSelector],
20040 __ast_path: &mut AstNodePath<'r>,
20041 ) {
20042 match self {
20043 swc_visit::Either::Left(visitor) => {
20044 VisitAstPath::visit_complex_selectors(visitor, node, __ast_path)
20045 }
20046 swc_visit::Either::Right(visitor) => {
20047 VisitAstPath::visit_complex_selectors(visitor, node, __ast_path)
20048 }
20049 }
20050 }
20051
20052 #[inline]
20053 fn visit_component_value<'ast: 'r, 'r>(
20054 &mut self,
20055 node: &'ast ComponentValue,
20056 __ast_path: &mut AstNodePath<'r>,
20057 ) {
20058 match self {
20059 swc_visit::Either::Left(visitor) => {
20060 VisitAstPath::visit_component_value(visitor, node, __ast_path)
20061 }
20062 swc_visit::Either::Right(visitor) => {
20063 VisitAstPath::visit_component_value(visitor, node, __ast_path)
20064 }
20065 }
20066 }
20067
20068 #[inline]
20069 fn visit_component_values<'ast: 'r, 'r>(
20070 &mut self,
20071 node: &'ast [ComponentValue],
20072 __ast_path: &mut AstNodePath<'r>,
20073 ) {
20074 match self {
20075 swc_visit::Either::Left(visitor) => {
20076 VisitAstPath::visit_component_values(visitor, node, __ast_path)
20077 }
20078 swc_visit::Either::Right(visitor) => {
20079 VisitAstPath::visit_component_values(visitor, node, __ast_path)
20080 }
20081 }
20082 }
20083
20084 #[inline]
20085 fn visit_compound_selector<'ast: 'r, 'r>(
20086 &mut self,
20087 node: &'ast CompoundSelector,
20088 __ast_path: &mut AstNodePath<'r>,
20089 ) {
20090 match self {
20091 swc_visit::Either::Left(visitor) => {
20092 VisitAstPath::visit_compound_selector(visitor, node, __ast_path)
20093 }
20094 swc_visit::Either::Right(visitor) => {
20095 VisitAstPath::visit_compound_selector(visitor, node, __ast_path)
20096 }
20097 }
20098 }
20099
20100 #[inline]
20101 fn visit_compound_selector_list<'ast: 'r, 'r>(
20102 &mut self,
20103 node: &'ast CompoundSelectorList,
20104 __ast_path: &mut AstNodePath<'r>,
20105 ) {
20106 match self {
20107 swc_visit::Either::Left(visitor) => {
20108 VisitAstPath::visit_compound_selector_list(visitor, node, __ast_path)
20109 }
20110 swc_visit::Either::Right(visitor) => {
20111 VisitAstPath::visit_compound_selector_list(visitor, node, __ast_path)
20112 }
20113 }
20114 }
20115
20116 #[inline]
20117 fn visit_compound_selectors<'ast: 'r, 'r>(
20118 &mut self,
20119 node: &'ast [CompoundSelector],
20120 __ast_path: &mut AstNodePath<'r>,
20121 ) {
20122 match self {
20123 swc_visit::Either::Left(visitor) => {
20124 VisitAstPath::visit_compound_selectors(visitor, node, __ast_path)
20125 }
20126 swc_visit::Either::Right(visitor) => {
20127 VisitAstPath::visit_compound_selectors(visitor, node, __ast_path)
20128 }
20129 }
20130 }
20131
20132 #[inline]
20133 fn visit_container_condition<'ast: 'r, 'r>(
20134 &mut self,
20135 node: &'ast ContainerCondition,
20136 __ast_path: &mut AstNodePath<'r>,
20137 ) {
20138 match self {
20139 swc_visit::Either::Left(visitor) => {
20140 VisitAstPath::visit_container_condition(visitor, node, __ast_path)
20141 }
20142 swc_visit::Either::Right(visitor) => {
20143 VisitAstPath::visit_container_condition(visitor, node, __ast_path)
20144 }
20145 }
20146 }
20147
20148 #[inline]
20149 fn visit_container_name<'ast: 'r, 'r>(
20150 &mut self,
20151 node: &'ast ContainerName,
20152 __ast_path: &mut AstNodePath<'r>,
20153 ) {
20154 match self {
20155 swc_visit::Either::Left(visitor) => {
20156 VisitAstPath::visit_container_name(visitor, node, __ast_path)
20157 }
20158 swc_visit::Either::Right(visitor) => {
20159 VisitAstPath::visit_container_name(visitor, node, __ast_path)
20160 }
20161 }
20162 }
20163
20164 #[inline]
20165 fn visit_container_query<'ast: 'r, 'r>(
20166 &mut self,
20167 node: &'ast ContainerQuery,
20168 __ast_path: &mut AstNodePath<'r>,
20169 ) {
20170 match self {
20171 swc_visit::Either::Left(visitor) => {
20172 VisitAstPath::visit_container_query(visitor, node, __ast_path)
20173 }
20174 swc_visit::Either::Right(visitor) => {
20175 VisitAstPath::visit_container_query(visitor, node, __ast_path)
20176 }
20177 }
20178 }
20179
20180 #[inline]
20181 fn visit_container_query_and<'ast: 'r, 'r>(
20182 &mut self,
20183 node: &'ast ContainerQueryAnd,
20184 __ast_path: &mut AstNodePath<'r>,
20185 ) {
20186 match self {
20187 swc_visit::Either::Left(visitor) => {
20188 VisitAstPath::visit_container_query_and(visitor, node, __ast_path)
20189 }
20190 swc_visit::Either::Right(visitor) => {
20191 VisitAstPath::visit_container_query_and(visitor, node, __ast_path)
20192 }
20193 }
20194 }
20195
20196 #[inline]
20197 fn visit_container_query_not<'ast: 'r, 'r>(
20198 &mut self,
20199 node: &'ast ContainerQueryNot,
20200 __ast_path: &mut AstNodePath<'r>,
20201 ) {
20202 match self {
20203 swc_visit::Either::Left(visitor) => {
20204 VisitAstPath::visit_container_query_not(visitor, node, __ast_path)
20205 }
20206 swc_visit::Either::Right(visitor) => {
20207 VisitAstPath::visit_container_query_not(visitor, node, __ast_path)
20208 }
20209 }
20210 }
20211
20212 #[inline]
20213 fn visit_container_query_or<'ast: 'r, 'r>(
20214 &mut self,
20215 node: &'ast ContainerQueryOr,
20216 __ast_path: &mut AstNodePath<'r>,
20217 ) {
20218 match self {
20219 swc_visit::Either::Left(visitor) => {
20220 VisitAstPath::visit_container_query_or(visitor, node, __ast_path)
20221 }
20222 swc_visit::Either::Right(visitor) => {
20223 VisitAstPath::visit_container_query_or(visitor, node, __ast_path)
20224 }
20225 }
20226 }
20227
20228 #[inline]
20229 fn visit_container_query_type<'ast: 'r, 'r>(
20230 &mut self,
20231 node: &'ast ContainerQueryType,
20232 __ast_path: &mut AstNodePath<'r>,
20233 ) {
20234 match self {
20235 swc_visit::Either::Left(visitor) => {
20236 VisitAstPath::visit_container_query_type(visitor, node, __ast_path)
20237 }
20238 swc_visit::Either::Right(visitor) => {
20239 VisitAstPath::visit_container_query_type(visitor, node, __ast_path)
20240 }
20241 }
20242 }
20243
20244 #[inline]
20245 fn visit_container_query_types<'ast: 'r, 'r>(
20246 &mut self,
20247 node: &'ast [ContainerQueryType],
20248 __ast_path: &mut AstNodePath<'r>,
20249 ) {
20250 match self {
20251 swc_visit::Either::Left(visitor) => {
20252 VisitAstPath::visit_container_query_types(visitor, node, __ast_path)
20253 }
20254 swc_visit::Either::Right(visitor) => {
20255 VisitAstPath::visit_container_query_types(visitor, node, __ast_path)
20256 }
20257 }
20258 }
20259
20260 #[inline]
20261 fn visit_custom_highlight_name<'ast: 'r, 'r>(
20262 &mut self,
20263 node: &'ast CustomHighlightName,
20264 __ast_path: &mut AstNodePath<'r>,
20265 ) {
20266 match self {
20267 swc_visit::Either::Left(visitor) => {
20268 VisitAstPath::visit_custom_highlight_name(visitor, node, __ast_path)
20269 }
20270 swc_visit::Either::Right(visitor) => {
20271 VisitAstPath::visit_custom_highlight_name(visitor, node, __ast_path)
20272 }
20273 }
20274 }
20275
20276 #[inline]
20277 fn visit_custom_ident<'ast: 'r, 'r>(
20278 &mut self,
20279 node: &'ast CustomIdent,
20280 __ast_path: &mut AstNodePath<'r>,
20281 ) {
20282 match self {
20283 swc_visit::Either::Left(visitor) => {
20284 VisitAstPath::visit_custom_ident(visitor, node, __ast_path)
20285 }
20286 swc_visit::Either::Right(visitor) => {
20287 VisitAstPath::visit_custom_ident(visitor, node, __ast_path)
20288 }
20289 }
20290 }
20291
20292 #[inline]
20293 fn visit_custom_idents<'ast: 'r, 'r>(
20294 &mut self,
20295 node: &'ast [CustomIdent],
20296 __ast_path: &mut AstNodePath<'r>,
20297 ) {
20298 match self {
20299 swc_visit::Either::Left(visitor) => {
20300 VisitAstPath::visit_custom_idents(visitor, node, __ast_path)
20301 }
20302 swc_visit::Either::Right(visitor) => {
20303 VisitAstPath::visit_custom_idents(visitor, node, __ast_path)
20304 }
20305 }
20306 }
20307
20308 #[inline]
20309 fn visit_custom_media_query<'ast: 'r, 'r>(
20310 &mut self,
20311 node: &'ast CustomMediaQuery,
20312 __ast_path: &mut AstNodePath<'r>,
20313 ) {
20314 match self {
20315 swc_visit::Either::Left(visitor) => {
20316 VisitAstPath::visit_custom_media_query(visitor, node, __ast_path)
20317 }
20318 swc_visit::Either::Right(visitor) => {
20319 VisitAstPath::visit_custom_media_query(visitor, node, __ast_path)
20320 }
20321 }
20322 }
20323
20324 #[inline]
20325 fn visit_custom_media_query_media_type<'ast: 'r, 'r>(
20326 &mut self,
20327 node: &'ast CustomMediaQueryMediaType,
20328 __ast_path: &mut AstNodePath<'r>,
20329 ) {
20330 match self {
20331 swc_visit::Either::Left(visitor) => {
20332 VisitAstPath::visit_custom_media_query_media_type(visitor, node, __ast_path)
20333 }
20334 swc_visit::Either::Right(visitor) => {
20335 VisitAstPath::visit_custom_media_query_media_type(visitor, node, __ast_path)
20336 }
20337 }
20338 }
20339
20340 #[inline]
20341 fn visit_custom_property_name<'ast: 'r, 'r>(
20342 &mut self,
20343 node: &'ast CustomPropertyName,
20344 __ast_path: &mut AstNodePath<'r>,
20345 ) {
20346 match self {
20347 swc_visit::Either::Left(visitor) => {
20348 VisitAstPath::visit_custom_property_name(visitor, node, __ast_path)
20349 }
20350 swc_visit::Either::Right(visitor) => {
20351 VisitAstPath::visit_custom_property_name(visitor, node, __ast_path)
20352 }
20353 }
20354 }
20355
20356 #[inline]
20357 fn visit_dashed_ident<'ast: 'r, 'r>(
20358 &mut self,
20359 node: &'ast DashedIdent,
20360 __ast_path: &mut AstNodePath<'r>,
20361 ) {
20362 match self {
20363 swc_visit::Either::Left(visitor) => {
20364 VisitAstPath::visit_dashed_ident(visitor, node, __ast_path)
20365 }
20366 swc_visit::Either::Right(visitor) => {
20367 VisitAstPath::visit_dashed_ident(visitor, node, __ast_path)
20368 }
20369 }
20370 }
20371
20372 #[inline]
20373 fn visit_declaration<'ast: 'r, 'r>(
20374 &mut self,
20375 node: &'ast Declaration,
20376 __ast_path: &mut AstNodePath<'r>,
20377 ) {
20378 match self {
20379 swc_visit::Either::Left(visitor) => {
20380 VisitAstPath::visit_declaration(visitor, node, __ast_path)
20381 }
20382 swc_visit::Either::Right(visitor) => {
20383 VisitAstPath::visit_declaration(visitor, node, __ast_path)
20384 }
20385 }
20386 }
20387
20388 #[inline]
20389 fn visit_declaration_name<'ast: 'r, 'r>(
20390 &mut self,
20391 node: &'ast DeclarationName,
20392 __ast_path: &mut AstNodePath<'r>,
20393 ) {
20394 match self {
20395 swc_visit::Either::Left(visitor) => {
20396 VisitAstPath::visit_declaration_name(visitor, node, __ast_path)
20397 }
20398 swc_visit::Either::Right(visitor) => {
20399 VisitAstPath::visit_declaration_name(visitor, node, __ast_path)
20400 }
20401 }
20402 }
20403
20404 #[inline]
20405 fn visit_declaration_or_at_rule<'ast: 'r, 'r>(
20406 &mut self,
20407 node: &'ast DeclarationOrAtRule,
20408 __ast_path: &mut AstNodePath<'r>,
20409 ) {
20410 match self {
20411 swc_visit::Either::Left(visitor) => {
20412 VisitAstPath::visit_declaration_or_at_rule(visitor, node, __ast_path)
20413 }
20414 swc_visit::Either::Right(visitor) => {
20415 VisitAstPath::visit_declaration_or_at_rule(visitor, node, __ast_path)
20416 }
20417 }
20418 }
20419
20420 #[inline]
20421 fn visit_delimiter<'ast: 'r, 'r>(
20422 &mut self,
20423 node: &'ast Delimiter,
20424 __ast_path: &mut AstNodePath<'r>,
20425 ) {
20426 match self {
20427 swc_visit::Either::Left(visitor) => {
20428 VisitAstPath::visit_delimiter(visitor, node, __ast_path)
20429 }
20430 swc_visit::Either::Right(visitor) => {
20431 VisitAstPath::visit_delimiter(visitor, node, __ast_path)
20432 }
20433 }
20434 }
20435
20436 #[inline]
20437 fn visit_delimiter_value<'ast: 'r, 'r>(
20438 &mut self,
20439 node: &'ast DelimiterValue,
20440 __ast_path: &mut AstNodePath<'r>,
20441 ) {
20442 match self {
20443 swc_visit::Either::Left(visitor) => {
20444 VisitAstPath::visit_delimiter_value(visitor, node, __ast_path)
20445 }
20446 swc_visit::Either::Right(visitor) => {
20447 VisitAstPath::visit_delimiter_value(visitor, node, __ast_path)
20448 }
20449 }
20450 }
20451
20452 #[inline]
20453 fn visit_dimension<'ast: 'r, 'r>(
20454 &mut self,
20455 node: &'ast Dimension,
20456 __ast_path: &mut AstNodePath<'r>,
20457 ) {
20458 match self {
20459 swc_visit::Either::Left(visitor) => {
20460 VisitAstPath::visit_dimension(visitor, node, __ast_path)
20461 }
20462 swc_visit::Either::Right(visitor) => {
20463 VisitAstPath::visit_dimension(visitor, node, __ast_path)
20464 }
20465 }
20466 }
20467
20468 #[inline]
20469 fn visit_dimension_token<'ast: 'r, 'r>(
20470 &mut self,
20471 node: &'ast DimensionToken,
20472 __ast_path: &mut AstNodePath<'r>,
20473 ) {
20474 match self {
20475 swc_visit::Either::Left(visitor) => {
20476 VisitAstPath::visit_dimension_token(visitor, node, __ast_path)
20477 }
20478 swc_visit::Either::Right(visitor) => {
20479 VisitAstPath::visit_dimension_token(visitor, node, __ast_path)
20480 }
20481 }
20482 }
20483
20484 #[inline]
20485 fn visit_document_prelude<'ast: 'r, 'r>(
20486 &mut self,
20487 node: &'ast DocumentPrelude,
20488 __ast_path: &mut AstNodePath<'r>,
20489 ) {
20490 match self {
20491 swc_visit::Either::Left(visitor) => {
20492 VisitAstPath::visit_document_prelude(visitor, node, __ast_path)
20493 }
20494 swc_visit::Either::Right(visitor) => {
20495 VisitAstPath::visit_document_prelude(visitor, node, __ast_path)
20496 }
20497 }
20498 }
20499
20500 #[inline]
20501 fn visit_document_prelude_matching_function<'ast: 'r, 'r>(
20502 &mut self,
20503 node: &'ast DocumentPreludeMatchingFunction,
20504 __ast_path: &mut AstNodePath<'r>,
20505 ) {
20506 match self {
20507 swc_visit::Either::Left(visitor) => {
20508 VisitAstPath::visit_document_prelude_matching_function(visitor, node, __ast_path)
20509 }
20510 swc_visit::Either::Right(visitor) => {
20511 VisitAstPath::visit_document_prelude_matching_function(visitor, node, __ast_path)
20512 }
20513 }
20514 }
20515
20516 #[inline]
20517 fn visit_document_prelude_matching_functions<'ast: 'r, 'r>(
20518 &mut self,
20519 node: &'ast [DocumentPreludeMatchingFunction],
20520 __ast_path: &mut AstNodePath<'r>,
20521 ) {
20522 match self {
20523 swc_visit::Either::Left(visitor) => {
20524 VisitAstPath::visit_document_prelude_matching_functions(visitor, node, __ast_path)
20525 }
20526 swc_visit::Either::Right(visitor) => {
20527 VisitAstPath::visit_document_prelude_matching_functions(visitor, node, __ast_path)
20528 }
20529 }
20530 }
20531
20532 #[inline]
20533 fn visit_extension_name<'ast: 'r, 'r>(
20534 &mut self,
20535 node: &'ast ExtensionName,
20536 __ast_path: &mut AstNodePath<'r>,
20537 ) {
20538 match self {
20539 swc_visit::Either::Left(visitor) => {
20540 VisitAstPath::visit_extension_name(visitor, node, __ast_path)
20541 }
20542 swc_visit::Either::Right(visitor) => {
20543 VisitAstPath::visit_extension_name(visitor, node, __ast_path)
20544 }
20545 }
20546 }
20547
20548 #[inline]
20549 fn visit_family_name<'ast: 'r, 'r>(
20550 &mut self,
20551 node: &'ast FamilyName,
20552 __ast_path: &mut AstNodePath<'r>,
20553 ) {
20554 match self {
20555 swc_visit::Either::Left(visitor) => {
20556 VisitAstPath::visit_family_name(visitor, node, __ast_path)
20557 }
20558 swc_visit::Either::Right(visitor) => {
20559 VisitAstPath::visit_family_name(visitor, node, __ast_path)
20560 }
20561 }
20562 }
20563
20564 #[inline]
20565 fn visit_family_names<'ast: 'r, 'r>(
20566 &mut self,
20567 node: &'ast [FamilyName],
20568 __ast_path: &mut AstNodePath<'r>,
20569 ) {
20570 match self {
20571 swc_visit::Either::Left(visitor) => {
20572 VisitAstPath::visit_family_names(visitor, node, __ast_path)
20573 }
20574 swc_visit::Either::Right(visitor) => {
20575 VisitAstPath::visit_family_names(visitor, node, __ast_path)
20576 }
20577 }
20578 }
20579
20580 #[inline]
20581 fn visit_flex<'ast: 'r, 'r>(&mut self, node: &'ast Flex, __ast_path: &mut AstNodePath<'r>) {
20582 match self {
20583 swc_visit::Either::Left(visitor) => VisitAstPath::visit_flex(visitor, node, __ast_path),
20584 swc_visit::Either::Right(visitor) => {
20585 VisitAstPath::visit_flex(visitor, node, __ast_path)
20586 }
20587 }
20588 }
20589
20590 #[inline]
20591 fn visit_font_feature_values_prelude<'ast: 'r, 'r>(
20592 &mut self,
20593 node: &'ast FontFeatureValuesPrelude,
20594 __ast_path: &mut AstNodePath<'r>,
20595 ) {
20596 match self {
20597 swc_visit::Either::Left(visitor) => {
20598 VisitAstPath::visit_font_feature_values_prelude(visitor, node, __ast_path)
20599 }
20600 swc_visit::Either::Right(visitor) => {
20601 VisitAstPath::visit_font_feature_values_prelude(visitor, node, __ast_path)
20602 }
20603 }
20604 }
20605
20606 #[inline]
20607 fn visit_forgiving_complex_selector<'ast: 'r, 'r>(
20608 &mut self,
20609 node: &'ast ForgivingComplexSelector,
20610 __ast_path: &mut AstNodePath<'r>,
20611 ) {
20612 match self {
20613 swc_visit::Either::Left(visitor) => {
20614 VisitAstPath::visit_forgiving_complex_selector(visitor, node, __ast_path)
20615 }
20616 swc_visit::Either::Right(visitor) => {
20617 VisitAstPath::visit_forgiving_complex_selector(visitor, node, __ast_path)
20618 }
20619 }
20620 }
20621
20622 #[inline]
20623 fn visit_forgiving_complex_selectors<'ast: 'r, 'r>(
20624 &mut self,
20625 node: &'ast [ForgivingComplexSelector],
20626 __ast_path: &mut AstNodePath<'r>,
20627 ) {
20628 match self {
20629 swc_visit::Either::Left(visitor) => {
20630 VisitAstPath::visit_forgiving_complex_selectors(visitor, node, __ast_path)
20631 }
20632 swc_visit::Either::Right(visitor) => {
20633 VisitAstPath::visit_forgiving_complex_selectors(visitor, node, __ast_path)
20634 }
20635 }
20636 }
20637
20638 #[inline]
20639 fn visit_forgiving_relative_selector<'ast: 'r, 'r>(
20640 &mut self,
20641 node: &'ast ForgivingRelativeSelector,
20642 __ast_path: &mut AstNodePath<'r>,
20643 ) {
20644 match self {
20645 swc_visit::Either::Left(visitor) => {
20646 VisitAstPath::visit_forgiving_relative_selector(visitor, node, __ast_path)
20647 }
20648 swc_visit::Either::Right(visitor) => {
20649 VisitAstPath::visit_forgiving_relative_selector(visitor, node, __ast_path)
20650 }
20651 }
20652 }
20653
20654 #[inline]
20655 fn visit_forgiving_relative_selector_list<'ast: 'r, 'r>(
20656 &mut self,
20657 node: &'ast ForgivingRelativeSelectorList,
20658 __ast_path: &mut AstNodePath<'r>,
20659 ) {
20660 match self {
20661 swc_visit::Either::Left(visitor) => {
20662 VisitAstPath::visit_forgiving_relative_selector_list(visitor, node, __ast_path)
20663 }
20664 swc_visit::Either::Right(visitor) => {
20665 VisitAstPath::visit_forgiving_relative_selector_list(visitor, node, __ast_path)
20666 }
20667 }
20668 }
20669
20670 #[inline]
20671 fn visit_forgiving_relative_selectors<'ast: 'r, 'r>(
20672 &mut self,
20673 node: &'ast [ForgivingRelativeSelector],
20674 __ast_path: &mut AstNodePath<'r>,
20675 ) {
20676 match self {
20677 swc_visit::Either::Left(visitor) => {
20678 VisitAstPath::visit_forgiving_relative_selectors(visitor, node, __ast_path)
20679 }
20680 swc_visit::Either::Right(visitor) => {
20681 VisitAstPath::visit_forgiving_relative_selectors(visitor, node, __ast_path)
20682 }
20683 }
20684 }
20685
20686 #[inline]
20687 fn visit_forgiving_selector_list<'ast: 'r, 'r>(
20688 &mut self,
20689 node: &'ast ForgivingSelectorList,
20690 __ast_path: &mut AstNodePath<'r>,
20691 ) {
20692 match self {
20693 swc_visit::Either::Left(visitor) => {
20694 VisitAstPath::visit_forgiving_selector_list(visitor, node, __ast_path)
20695 }
20696 swc_visit::Either::Right(visitor) => {
20697 VisitAstPath::visit_forgiving_selector_list(visitor, node, __ast_path)
20698 }
20699 }
20700 }
20701
20702 #[inline]
20703 fn visit_frequency<'ast: 'r, 'r>(
20704 &mut self,
20705 node: &'ast Frequency,
20706 __ast_path: &mut AstNodePath<'r>,
20707 ) {
20708 match self {
20709 swc_visit::Either::Left(visitor) => {
20710 VisitAstPath::visit_frequency(visitor, node, __ast_path)
20711 }
20712 swc_visit::Either::Right(visitor) => {
20713 VisitAstPath::visit_frequency(visitor, node, __ast_path)
20714 }
20715 }
20716 }
20717
20718 #[inline]
20719 fn visit_frequency_percentage<'ast: 'r, 'r>(
20720 &mut self,
20721 node: &'ast FrequencyPercentage,
20722 __ast_path: &mut AstNodePath<'r>,
20723 ) {
20724 match self {
20725 swc_visit::Either::Left(visitor) => {
20726 VisitAstPath::visit_frequency_percentage(visitor, node, __ast_path)
20727 }
20728 swc_visit::Either::Right(visitor) => {
20729 VisitAstPath::visit_frequency_percentage(visitor, node, __ast_path)
20730 }
20731 }
20732 }
20733
20734 #[inline]
20735 fn visit_function<'ast: 'r, 'r>(
20736 &mut self,
20737 node: &'ast Function,
20738 __ast_path: &mut AstNodePath<'r>,
20739 ) {
20740 match self {
20741 swc_visit::Either::Left(visitor) => {
20742 VisitAstPath::visit_function(visitor, node, __ast_path)
20743 }
20744 swc_visit::Either::Right(visitor) => {
20745 VisitAstPath::visit_function(visitor, node, __ast_path)
20746 }
20747 }
20748 }
20749
20750 #[inline]
20751 fn visit_function_name<'ast: 'r, 'r>(
20752 &mut self,
20753 node: &'ast FunctionName,
20754 __ast_path: &mut AstNodePath<'r>,
20755 ) {
20756 match self {
20757 swc_visit::Either::Left(visitor) => {
20758 VisitAstPath::visit_function_name(visitor, node, __ast_path)
20759 }
20760 swc_visit::Either::Right(visitor) => {
20761 VisitAstPath::visit_function_name(visitor, node, __ast_path)
20762 }
20763 }
20764 }
20765
20766 #[inline]
20767 fn visit_general_enclosed<'ast: 'r, 'r>(
20768 &mut self,
20769 node: &'ast GeneralEnclosed,
20770 __ast_path: &mut AstNodePath<'r>,
20771 ) {
20772 match self {
20773 swc_visit::Either::Left(visitor) => {
20774 VisitAstPath::visit_general_enclosed(visitor, node, __ast_path)
20775 }
20776 swc_visit::Either::Right(visitor) => {
20777 VisitAstPath::visit_general_enclosed(visitor, node, __ast_path)
20778 }
20779 }
20780 }
20781
20782 #[inline]
20783 fn visit_hex_color<'ast: 'r, 'r>(
20784 &mut self,
20785 node: &'ast HexColor,
20786 __ast_path: &mut AstNodePath<'r>,
20787 ) {
20788 match self {
20789 swc_visit::Either::Left(visitor) => {
20790 VisitAstPath::visit_hex_color(visitor, node, __ast_path)
20791 }
20792 swc_visit::Either::Right(visitor) => {
20793 VisitAstPath::visit_hex_color(visitor, node, __ast_path)
20794 }
20795 }
20796 }
20797
20798 #[inline]
20799 fn visit_hue<'ast: 'r, 'r>(&mut self, node: &'ast Hue, __ast_path: &mut AstNodePath<'r>) {
20800 match self {
20801 swc_visit::Either::Left(visitor) => VisitAstPath::visit_hue(visitor, node, __ast_path),
20802 swc_visit::Either::Right(visitor) => VisitAstPath::visit_hue(visitor, node, __ast_path),
20803 }
20804 }
20805
20806 #[inline]
20807 fn visit_id_selector<'ast: 'r, 'r>(
20808 &mut self,
20809 node: &'ast IdSelector,
20810 __ast_path: &mut AstNodePath<'r>,
20811 ) {
20812 match self {
20813 swc_visit::Either::Left(visitor) => {
20814 VisitAstPath::visit_id_selector(visitor, node, __ast_path)
20815 }
20816 swc_visit::Either::Right(visitor) => {
20817 VisitAstPath::visit_id_selector(visitor, node, __ast_path)
20818 }
20819 }
20820 }
20821
20822 #[inline]
20823 fn visit_ident<'ast: 'r, 'r>(&mut self, node: &'ast Ident, __ast_path: &mut AstNodePath<'r>) {
20824 match self {
20825 swc_visit::Either::Left(visitor) => {
20826 VisitAstPath::visit_ident(visitor, node, __ast_path)
20827 }
20828 swc_visit::Either::Right(visitor) => {
20829 VisitAstPath::visit_ident(visitor, node, __ast_path)
20830 }
20831 }
20832 }
20833
20834 #[inline]
20835 fn visit_idents<'ast: 'r, 'r>(
20836 &mut self,
20837 node: &'ast [Ident],
20838 __ast_path: &mut AstNodePath<'r>,
20839 ) {
20840 match self {
20841 swc_visit::Either::Left(visitor) => {
20842 VisitAstPath::visit_idents(visitor, node, __ast_path)
20843 }
20844 swc_visit::Either::Right(visitor) => {
20845 VisitAstPath::visit_idents(visitor, node, __ast_path)
20846 }
20847 }
20848 }
20849
20850 #[inline]
20851 fn visit_import_conditions<'ast: 'r, 'r>(
20852 &mut self,
20853 node: &'ast ImportConditions,
20854 __ast_path: &mut AstNodePath<'r>,
20855 ) {
20856 match self {
20857 swc_visit::Either::Left(visitor) => {
20858 VisitAstPath::visit_import_conditions(visitor, node, __ast_path)
20859 }
20860 swc_visit::Either::Right(visitor) => {
20861 VisitAstPath::visit_import_conditions(visitor, node, __ast_path)
20862 }
20863 }
20864 }
20865
20866 #[inline]
20867 fn visit_import_href<'ast: 'r, 'r>(
20868 &mut self,
20869 node: &'ast ImportHref,
20870 __ast_path: &mut AstNodePath<'r>,
20871 ) {
20872 match self {
20873 swc_visit::Either::Left(visitor) => {
20874 VisitAstPath::visit_import_href(visitor, node, __ast_path)
20875 }
20876 swc_visit::Either::Right(visitor) => {
20877 VisitAstPath::visit_import_href(visitor, node, __ast_path)
20878 }
20879 }
20880 }
20881
20882 #[inline]
20883 fn visit_import_layer_name<'ast: 'r, 'r>(
20884 &mut self,
20885 node: &'ast ImportLayerName,
20886 __ast_path: &mut AstNodePath<'r>,
20887 ) {
20888 match self {
20889 swc_visit::Either::Left(visitor) => {
20890 VisitAstPath::visit_import_layer_name(visitor, node, __ast_path)
20891 }
20892 swc_visit::Either::Right(visitor) => {
20893 VisitAstPath::visit_import_layer_name(visitor, node, __ast_path)
20894 }
20895 }
20896 }
20897
20898 #[inline]
20899 fn visit_import_prelude<'ast: 'r, 'r>(
20900 &mut self,
20901 node: &'ast ImportPrelude,
20902 __ast_path: &mut AstNodePath<'r>,
20903 ) {
20904 match self {
20905 swc_visit::Either::Left(visitor) => {
20906 VisitAstPath::visit_import_prelude(visitor, node, __ast_path)
20907 }
20908 swc_visit::Either::Right(visitor) => {
20909 VisitAstPath::visit_import_prelude(visitor, node, __ast_path)
20910 }
20911 }
20912 }
20913
20914 #[inline]
20915 fn visit_important_flag<'ast: 'r, 'r>(
20916 &mut self,
20917 node: &'ast ImportantFlag,
20918 __ast_path: &mut AstNodePath<'r>,
20919 ) {
20920 match self {
20921 swc_visit::Either::Left(visitor) => {
20922 VisitAstPath::visit_important_flag(visitor, node, __ast_path)
20923 }
20924 swc_visit::Either::Right(visitor) => {
20925 VisitAstPath::visit_important_flag(visitor, node, __ast_path)
20926 }
20927 }
20928 }
20929
20930 #[inline]
20931 fn visit_integer<'ast: 'r, 'r>(
20932 &mut self,
20933 node: &'ast Integer,
20934 __ast_path: &mut AstNodePath<'r>,
20935 ) {
20936 match self {
20937 swc_visit::Either::Left(visitor) => {
20938 VisitAstPath::visit_integer(visitor, node, __ast_path)
20939 }
20940 swc_visit::Either::Right(visitor) => {
20941 VisitAstPath::visit_integer(visitor, node, __ast_path)
20942 }
20943 }
20944 }
20945
20946 #[inline]
20947 fn visit_keyframe_block<'ast: 'r, 'r>(
20948 &mut self,
20949 node: &'ast KeyframeBlock,
20950 __ast_path: &mut AstNodePath<'r>,
20951 ) {
20952 match self {
20953 swc_visit::Either::Left(visitor) => {
20954 VisitAstPath::visit_keyframe_block(visitor, node, __ast_path)
20955 }
20956 swc_visit::Either::Right(visitor) => {
20957 VisitAstPath::visit_keyframe_block(visitor, node, __ast_path)
20958 }
20959 }
20960 }
20961
20962 #[inline]
20963 fn visit_keyframe_selector<'ast: 'r, 'r>(
20964 &mut self,
20965 node: &'ast KeyframeSelector,
20966 __ast_path: &mut AstNodePath<'r>,
20967 ) {
20968 match self {
20969 swc_visit::Either::Left(visitor) => {
20970 VisitAstPath::visit_keyframe_selector(visitor, node, __ast_path)
20971 }
20972 swc_visit::Either::Right(visitor) => {
20973 VisitAstPath::visit_keyframe_selector(visitor, node, __ast_path)
20974 }
20975 }
20976 }
20977
20978 #[inline]
20979 fn visit_keyframe_selectors<'ast: 'r, 'r>(
20980 &mut self,
20981 node: &'ast [KeyframeSelector],
20982 __ast_path: &mut AstNodePath<'r>,
20983 ) {
20984 match self {
20985 swc_visit::Either::Left(visitor) => {
20986 VisitAstPath::visit_keyframe_selectors(visitor, node, __ast_path)
20987 }
20988 swc_visit::Either::Right(visitor) => {
20989 VisitAstPath::visit_keyframe_selectors(visitor, node, __ast_path)
20990 }
20991 }
20992 }
20993
20994 #[inline]
20995 fn visit_keyframes_name<'ast: 'r, 'r>(
20996 &mut self,
20997 node: &'ast KeyframesName,
20998 __ast_path: &mut AstNodePath<'r>,
20999 ) {
21000 match self {
21001 swc_visit::Either::Left(visitor) => {
21002 VisitAstPath::visit_keyframes_name(visitor, node, __ast_path)
21003 }
21004 swc_visit::Either::Right(visitor) => {
21005 VisitAstPath::visit_keyframes_name(visitor, node, __ast_path)
21006 }
21007 }
21008 }
21009
21010 #[inline]
21011 fn visit_keyframes_pseudo_function<'ast: 'r, 'r>(
21012 &mut self,
21013 node: &'ast KeyframesPseudoFunction,
21014 __ast_path: &mut AstNodePath<'r>,
21015 ) {
21016 match self {
21017 swc_visit::Either::Left(visitor) => {
21018 VisitAstPath::visit_keyframes_pseudo_function(visitor, node, __ast_path)
21019 }
21020 swc_visit::Either::Right(visitor) => {
21021 VisitAstPath::visit_keyframes_pseudo_function(visitor, node, __ast_path)
21022 }
21023 }
21024 }
21025
21026 #[inline]
21027 fn visit_keyframes_pseudo_prefix<'ast: 'r, 'r>(
21028 &mut self,
21029 node: &'ast KeyframesPseudoPrefix,
21030 __ast_path: &mut AstNodePath<'r>,
21031 ) {
21032 match self {
21033 swc_visit::Either::Left(visitor) => {
21034 VisitAstPath::visit_keyframes_pseudo_prefix(visitor, node, __ast_path)
21035 }
21036 swc_visit::Either::Right(visitor) => {
21037 VisitAstPath::visit_keyframes_pseudo_prefix(visitor, node, __ast_path)
21038 }
21039 }
21040 }
21041
21042 #[inline]
21043 fn visit_layer_name<'ast: 'r, 'r>(
21044 &mut self,
21045 node: &'ast LayerName,
21046 __ast_path: &mut AstNodePath<'r>,
21047 ) {
21048 match self {
21049 swc_visit::Either::Left(visitor) => {
21050 VisitAstPath::visit_layer_name(visitor, node, __ast_path)
21051 }
21052 swc_visit::Either::Right(visitor) => {
21053 VisitAstPath::visit_layer_name(visitor, node, __ast_path)
21054 }
21055 }
21056 }
21057
21058 #[inline]
21059 fn visit_layer_name_list<'ast: 'r, 'r>(
21060 &mut self,
21061 node: &'ast LayerNameList,
21062 __ast_path: &mut AstNodePath<'r>,
21063 ) {
21064 match self {
21065 swc_visit::Either::Left(visitor) => {
21066 VisitAstPath::visit_layer_name_list(visitor, node, __ast_path)
21067 }
21068 swc_visit::Either::Right(visitor) => {
21069 VisitAstPath::visit_layer_name_list(visitor, node, __ast_path)
21070 }
21071 }
21072 }
21073
21074 #[inline]
21075 fn visit_layer_names<'ast: 'r, 'r>(
21076 &mut self,
21077 node: &'ast [LayerName],
21078 __ast_path: &mut AstNodePath<'r>,
21079 ) {
21080 match self {
21081 swc_visit::Either::Left(visitor) => {
21082 VisitAstPath::visit_layer_names(visitor, node, __ast_path)
21083 }
21084 swc_visit::Either::Right(visitor) => {
21085 VisitAstPath::visit_layer_names(visitor, node, __ast_path)
21086 }
21087 }
21088 }
21089
21090 #[inline]
21091 fn visit_layer_prelude<'ast: 'r, 'r>(
21092 &mut self,
21093 node: &'ast LayerPrelude,
21094 __ast_path: &mut AstNodePath<'r>,
21095 ) {
21096 match self {
21097 swc_visit::Either::Left(visitor) => {
21098 VisitAstPath::visit_layer_prelude(visitor, node, __ast_path)
21099 }
21100 swc_visit::Either::Right(visitor) => {
21101 VisitAstPath::visit_layer_prelude(visitor, node, __ast_path)
21102 }
21103 }
21104 }
21105
21106 #[inline]
21107 fn visit_length<'ast: 'r, 'r>(&mut self, node: &'ast Length, __ast_path: &mut AstNodePath<'r>) {
21108 match self {
21109 swc_visit::Either::Left(visitor) => {
21110 VisitAstPath::visit_length(visitor, node, __ast_path)
21111 }
21112 swc_visit::Either::Right(visitor) => {
21113 VisitAstPath::visit_length(visitor, node, __ast_path)
21114 }
21115 }
21116 }
21117
21118 #[inline]
21119 fn visit_length_percentage<'ast: 'r, 'r>(
21120 &mut self,
21121 node: &'ast LengthPercentage,
21122 __ast_path: &mut AstNodePath<'r>,
21123 ) {
21124 match self {
21125 swc_visit::Either::Left(visitor) => {
21126 VisitAstPath::visit_length_percentage(visitor, node, __ast_path)
21127 }
21128 swc_visit::Either::Right(visitor) => {
21129 VisitAstPath::visit_length_percentage(visitor, node, __ast_path)
21130 }
21131 }
21132 }
21133
21134 #[inline]
21135 fn visit_list_of_component_values<'ast: 'r, 'r>(
21136 &mut self,
21137 node: &'ast ListOfComponentValues,
21138 __ast_path: &mut AstNodePath<'r>,
21139 ) {
21140 match self {
21141 swc_visit::Either::Left(visitor) => {
21142 VisitAstPath::visit_list_of_component_values(visitor, node, __ast_path)
21143 }
21144 swc_visit::Either::Right(visitor) => {
21145 VisitAstPath::visit_list_of_component_values(visitor, node, __ast_path)
21146 }
21147 }
21148 }
21149
21150 #[inline]
21151 fn visit_media_and<'ast: 'r, 'r>(
21152 &mut self,
21153 node: &'ast MediaAnd,
21154 __ast_path: &mut AstNodePath<'r>,
21155 ) {
21156 match self {
21157 swc_visit::Either::Left(visitor) => {
21158 VisitAstPath::visit_media_and(visitor, node, __ast_path)
21159 }
21160 swc_visit::Either::Right(visitor) => {
21161 VisitAstPath::visit_media_and(visitor, node, __ast_path)
21162 }
21163 }
21164 }
21165
21166 #[inline]
21167 fn visit_media_condition<'ast: 'r, 'r>(
21168 &mut self,
21169 node: &'ast MediaCondition,
21170 __ast_path: &mut AstNodePath<'r>,
21171 ) {
21172 match self {
21173 swc_visit::Either::Left(visitor) => {
21174 VisitAstPath::visit_media_condition(visitor, node, __ast_path)
21175 }
21176 swc_visit::Either::Right(visitor) => {
21177 VisitAstPath::visit_media_condition(visitor, node, __ast_path)
21178 }
21179 }
21180 }
21181
21182 #[inline]
21183 fn visit_media_condition_all_type<'ast: 'r, 'r>(
21184 &mut self,
21185 node: &'ast MediaConditionAllType,
21186 __ast_path: &mut AstNodePath<'r>,
21187 ) {
21188 match self {
21189 swc_visit::Either::Left(visitor) => {
21190 VisitAstPath::visit_media_condition_all_type(visitor, node, __ast_path)
21191 }
21192 swc_visit::Either::Right(visitor) => {
21193 VisitAstPath::visit_media_condition_all_type(visitor, node, __ast_path)
21194 }
21195 }
21196 }
21197
21198 #[inline]
21199 fn visit_media_condition_all_types<'ast: 'r, 'r>(
21200 &mut self,
21201 node: &'ast [MediaConditionAllType],
21202 __ast_path: &mut AstNodePath<'r>,
21203 ) {
21204 match self {
21205 swc_visit::Either::Left(visitor) => {
21206 VisitAstPath::visit_media_condition_all_types(visitor, node, __ast_path)
21207 }
21208 swc_visit::Either::Right(visitor) => {
21209 VisitAstPath::visit_media_condition_all_types(visitor, node, __ast_path)
21210 }
21211 }
21212 }
21213
21214 #[inline]
21215 fn visit_media_condition_type<'ast: 'r, 'r>(
21216 &mut self,
21217 node: &'ast MediaConditionType,
21218 __ast_path: &mut AstNodePath<'r>,
21219 ) {
21220 match self {
21221 swc_visit::Either::Left(visitor) => {
21222 VisitAstPath::visit_media_condition_type(visitor, node, __ast_path)
21223 }
21224 swc_visit::Either::Right(visitor) => {
21225 VisitAstPath::visit_media_condition_type(visitor, node, __ast_path)
21226 }
21227 }
21228 }
21229
21230 #[inline]
21231 fn visit_media_condition_without_or<'ast: 'r, 'r>(
21232 &mut self,
21233 node: &'ast MediaConditionWithoutOr,
21234 __ast_path: &mut AstNodePath<'r>,
21235 ) {
21236 match self {
21237 swc_visit::Either::Left(visitor) => {
21238 VisitAstPath::visit_media_condition_without_or(visitor, node, __ast_path)
21239 }
21240 swc_visit::Either::Right(visitor) => {
21241 VisitAstPath::visit_media_condition_without_or(visitor, node, __ast_path)
21242 }
21243 }
21244 }
21245
21246 #[inline]
21247 fn visit_media_condition_without_or_type<'ast: 'r, 'r>(
21248 &mut self,
21249 node: &'ast MediaConditionWithoutOrType,
21250 __ast_path: &mut AstNodePath<'r>,
21251 ) {
21252 match self {
21253 swc_visit::Either::Left(visitor) => {
21254 VisitAstPath::visit_media_condition_without_or_type(visitor, node, __ast_path)
21255 }
21256 swc_visit::Either::Right(visitor) => {
21257 VisitAstPath::visit_media_condition_without_or_type(visitor, node, __ast_path)
21258 }
21259 }
21260 }
21261
21262 #[inline]
21263 fn visit_media_condition_without_or_types<'ast: 'r, 'r>(
21264 &mut self,
21265 node: &'ast [MediaConditionWithoutOrType],
21266 __ast_path: &mut AstNodePath<'r>,
21267 ) {
21268 match self {
21269 swc_visit::Either::Left(visitor) => {
21270 VisitAstPath::visit_media_condition_without_or_types(visitor, node, __ast_path)
21271 }
21272 swc_visit::Either::Right(visitor) => {
21273 VisitAstPath::visit_media_condition_without_or_types(visitor, node, __ast_path)
21274 }
21275 }
21276 }
21277
21278 #[inline]
21279 fn visit_media_feature<'ast: 'r, 'r>(
21280 &mut self,
21281 node: &'ast MediaFeature,
21282 __ast_path: &mut AstNodePath<'r>,
21283 ) {
21284 match self {
21285 swc_visit::Either::Left(visitor) => {
21286 VisitAstPath::visit_media_feature(visitor, node, __ast_path)
21287 }
21288 swc_visit::Either::Right(visitor) => {
21289 VisitAstPath::visit_media_feature(visitor, node, __ast_path)
21290 }
21291 }
21292 }
21293
21294 #[inline]
21295 fn visit_media_feature_boolean<'ast: 'r, 'r>(
21296 &mut self,
21297 node: &'ast MediaFeatureBoolean,
21298 __ast_path: &mut AstNodePath<'r>,
21299 ) {
21300 match self {
21301 swc_visit::Either::Left(visitor) => {
21302 VisitAstPath::visit_media_feature_boolean(visitor, node, __ast_path)
21303 }
21304 swc_visit::Either::Right(visitor) => {
21305 VisitAstPath::visit_media_feature_boolean(visitor, node, __ast_path)
21306 }
21307 }
21308 }
21309
21310 #[inline]
21311 fn visit_media_feature_name<'ast: 'r, 'r>(
21312 &mut self,
21313 node: &'ast MediaFeatureName,
21314 __ast_path: &mut AstNodePath<'r>,
21315 ) {
21316 match self {
21317 swc_visit::Either::Left(visitor) => {
21318 VisitAstPath::visit_media_feature_name(visitor, node, __ast_path)
21319 }
21320 swc_visit::Either::Right(visitor) => {
21321 VisitAstPath::visit_media_feature_name(visitor, node, __ast_path)
21322 }
21323 }
21324 }
21325
21326 #[inline]
21327 fn visit_media_feature_plain<'ast: 'r, 'r>(
21328 &mut self,
21329 node: &'ast MediaFeaturePlain,
21330 __ast_path: &mut AstNodePath<'r>,
21331 ) {
21332 match self {
21333 swc_visit::Either::Left(visitor) => {
21334 VisitAstPath::visit_media_feature_plain(visitor, node, __ast_path)
21335 }
21336 swc_visit::Either::Right(visitor) => {
21337 VisitAstPath::visit_media_feature_plain(visitor, node, __ast_path)
21338 }
21339 }
21340 }
21341
21342 #[inline]
21343 fn visit_media_feature_range<'ast: 'r, 'r>(
21344 &mut self,
21345 node: &'ast MediaFeatureRange,
21346 __ast_path: &mut AstNodePath<'r>,
21347 ) {
21348 match self {
21349 swc_visit::Either::Left(visitor) => {
21350 VisitAstPath::visit_media_feature_range(visitor, node, __ast_path)
21351 }
21352 swc_visit::Either::Right(visitor) => {
21353 VisitAstPath::visit_media_feature_range(visitor, node, __ast_path)
21354 }
21355 }
21356 }
21357
21358 #[inline]
21359 fn visit_media_feature_range_comparison<'ast: 'r, 'r>(
21360 &mut self,
21361 node: &'ast MediaFeatureRangeComparison,
21362 __ast_path: &mut AstNodePath<'r>,
21363 ) {
21364 match self {
21365 swc_visit::Either::Left(visitor) => {
21366 VisitAstPath::visit_media_feature_range_comparison(visitor, node, __ast_path)
21367 }
21368 swc_visit::Either::Right(visitor) => {
21369 VisitAstPath::visit_media_feature_range_comparison(visitor, node, __ast_path)
21370 }
21371 }
21372 }
21373
21374 #[inline]
21375 fn visit_media_feature_range_interval<'ast: 'r, 'r>(
21376 &mut self,
21377 node: &'ast MediaFeatureRangeInterval,
21378 __ast_path: &mut AstNodePath<'r>,
21379 ) {
21380 match self {
21381 swc_visit::Either::Left(visitor) => {
21382 VisitAstPath::visit_media_feature_range_interval(visitor, node, __ast_path)
21383 }
21384 swc_visit::Either::Right(visitor) => {
21385 VisitAstPath::visit_media_feature_range_interval(visitor, node, __ast_path)
21386 }
21387 }
21388 }
21389
21390 #[inline]
21391 fn visit_media_feature_value<'ast: 'r, 'r>(
21392 &mut self,
21393 node: &'ast MediaFeatureValue,
21394 __ast_path: &mut AstNodePath<'r>,
21395 ) {
21396 match self {
21397 swc_visit::Either::Left(visitor) => {
21398 VisitAstPath::visit_media_feature_value(visitor, node, __ast_path)
21399 }
21400 swc_visit::Either::Right(visitor) => {
21401 VisitAstPath::visit_media_feature_value(visitor, node, __ast_path)
21402 }
21403 }
21404 }
21405
21406 #[inline]
21407 fn visit_media_in_parens<'ast: 'r, 'r>(
21408 &mut self,
21409 node: &'ast MediaInParens,
21410 __ast_path: &mut AstNodePath<'r>,
21411 ) {
21412 match self {
21413 swc_visit::Either::Left(visitor) => {
21414 VisitAstPath::visit_media_in_parens(visitor, node, __ast_path)
21415 }
21416 swc_visit::Either::Right(visitor) => {
21417 VisitAstPath::visit_media_in_parens(visitor, node, __ast_path)
21418 }
21419 }
21420 }
21421
21422 #[inline]
21423 fn visit_media_not<'ast: 'r, 'r>(
21424 &mut self,
21425 node: &'ast MediaNot,
21426 __ast_path: &mut AstNodePath<'r>,
21427 ) {
21428 match self {
21429 swc_visit::Either::Left(visitor) => {
21430 VisitAstPath::visit_media_not(visitor, node, __ast_path)
21431 }
21432 swc_visit::Either::Right(visitor) => {
21433 VisitAstPath::visit_media_not(visitor, node, __ast_path)
21434 }
21435 }
21436 }
21437
21438 #[inline]
21439 fn visit_media_or<'ast: 'r, 'r>(
21440 &mut self,
21441 node: &'ast MediaOr,
21442 __ast_path: &mut AstNodePath<'r>,
21443 ) {
21444 match self {
21445 swc_visit::Either::Left(visitor) => {
21446 VisitAstPath::visit_media_or(visitor, node, __ast_path)
21447 }
21448 swc_visit::Either::Right(visitor) => {
21449 VisitAstPath::visit_media_or(visitor, node, __ast_path)
21450 }
21451 }
21452 }
21453
21454 #[inline]
21455 fn visit_media_query<'ast: 'r, 'r>(
21456 &mut self,
21457 node: &'ast MediaQuery,
21458 __ast_path: &mut AstNodePath<'r>,
21459 ) {
21460 match self {
21461 swc_visit::Either::Left(visitor) => {
21462 VisitAstPath::visit_media_query(visitor, node, __ast_path)
21463 }
21464 swc_visit::Either::Right(visitor) => {
21465 VisitAstPath::visit_media_query(visitor, node, __ast_path)
21466 }
21467 }
21468 }
21469
21470 #[inline]
21471 fn visit_media_query_list<'ast: 'r, 'r>(
21472 &mut self,
21473 node: &'ast MediaQueryList,
21474 __ast_path: &mut AstNodePath<'r>,
21475 ) {
21476 match self {
21477 swc_visit::Either::Left(visitor) => {
21478 VisitAstPath::visit_media_query_list(visitor, node, __ast_path)
21479 }
21480 swc_visit::Either::Right(visitor) => {
21481 VisitAstPath::visit_media_query_list(visitor, node, __ast_path)
21482 }
21483 }
21484 }
21485
21486 #[inline]
21487 fn visit_media_querys<'ast: 'r, 'r>(
21488 &mut self,
21489 node: &'ast [MediaQuery],
21490 __ast_path: &mut AstNodePath<'r>,
21491 ) {
21492 match self {
21493 swc_visit::Either::Left(visitor) => {
21494 VisitAstPath::visit_media_querys(visitor, node, __ast_path)
21495 }
21496 swc_visit::Either::Right(visitor) => {
21497 VisitAstPath::visit_media_querys(visitor, node, __ast_path)
21498 }
21499 }
21500 }
21501
21502 #[inline]
21503 fn visit_media_type<'ast: 'r, 'r>(
21504 &mut self,
21505 node: &'ast MediaType,
21506 __ast_path: &mut AstNodePath<'r>,
21507 ) {
21508 match self {
21509 swc_visit::Either::Left(visitor) => {
21510 VisitAstPath::visit_media_type(visitor, node, __ast_path)
21511 }
21512 swc_visit::Either::Right(visitor) => {
21513 VisitAstPath::visit_media_type(visitor, node, __ast_path)
21514 }
21515 }
21516 }
21517
21518 #[inline]
21519 fn visit_named_namespace<'ast: 'r, 'r>(
21520 &mut self,
21521 node: &'ast NamedNamespace,
21522 __ast_path: &mut AstNodePath<'r>,
21523 ) {
21524 match self {
21525 swc_visit::Either::Left(visitor) => {
21526 VisitAstPath::visit_named_namespace(visitor, node, __ast_path)
21527 }
21528 swc_visit::Either::Right(visitor) => {
21529 VisitAstPath::visit_named_namespace(visitor, node, __ast_path)
21530 }
21531 }
21532 }
21533
21534 #[inline]
21535 fn visit_namespace<'ast: 'r, 'r>(
21536 &mut self,
21537 node: &'ast Namespace,
21538 __ast_path: &mut AstNodePath<'r>,
21539 ) {
21540 match self {
21541 swc_visit::Either::Left(visitor) => {
21542 VisitAstPath::visit_namespace(visitor, node, __ast_path)
21543 }
21544 swc_visit::Either::Right(visitor) => {
21545 VisitAstPath::visit_namespace(visitor, node, __ast_path)
21546 }
21547 }
21548 }
21549
21550 #[inline]
21551 fn visit_namespace_prefix<'ast: 'r, 'r>(
21552 &mut self,
21553 node: &'ast NamespacePrefix,
21554 __ast_path: &mut AstNodePath<'r>,
21555 ) {
21556 match self {
21557 swc_visit::Either::Left(visitor) => {
21558 VisitAstPath::visit_namespace_prefix(visitor, node, __ast_path)
21559 }
21560 swc_visit::Either::Right(visitor) => {
21561 VisitAstPath::visit_namespace_prefix(visitor, node, __ast_path)
21562 }
21563 }
21564 }
21565
21566 #[inline]
21567 fn visit_namespace_prelude<'ast: 'r, 'r>(
21568 &mut self,
21569 node: &'ast NamespacePrelude,
21570 __ast_path: &mut AstNodePath<'r>,
21571 ) {
21572 match self {
21573 swc_visit::Either::Left(visitor) => {
21574 VisitAstPath::visit_namespace_prelude(visitor, node, __ast_path)
21575 }
21576 swc_visit::Either::Right(visitor) => {
21577 VisitAstPath::visit_namespace_prelude(visitor, node, __ast_path)
21578 }
21579 }
21580 }
21581
21582 #[inline]
21583 fn visit_namespace_prelude_uri<'ast: 'r, 'r>(
21584 &mut self,
21585 node: &'ast NamespacePreludeUri,
21586 __ast_path: &mut AstNodePath<'r>,
21587 ) {
21588 match self {
21589 swc_visit::Either::Left(visitor) => {
21590 VisitAstPath::visit_namespace_prelude_uri(visitor, node, __ast_path)
21591 }
21592 swc_visit::Either::Right(visitor) => {
21593 VisitAstPath::visit_namespace_prelude_uri(visitor, node, __ast_path)
21594 }
21595 }
21596 }
21597
21598 #[inline]
21599 fn visit_nesting_selector<'ast: 'r, 'r>(
21600 &mut self,
21601 node: &'ast NestingSelector,
21602 __ast_path: &mut AstNodePath<'r>,
21603 ) {
21604 match self {
21605 swc_visit::Either::Left(visitor) => {
21606 VisitAstPath::visit_nesting_selector(visitor, node, __ast_path)
21607 }
21608 swc_visit::Either::Right(visitor) => {
21609 VisitAstPath::visit_nesting_selector(visitor, node, __ast_path)
21610 }
21611 }
21612 }
21613
21614 #[inline]
21615 fn visit_number<'ast: 'r, 'r>(&mut self, node: &'ast Number, __ast_path: &mut AstNodePath<'r>) {
21616 match self {
21617 swc_visit::Either::Left(visitor) => {
21618 VisitAstPath::visit_number(visitor, node, __ast_path)
21619 }
21620 swc_visit::Either::Right(visitor) => {
21621 VisitAstPath::visit_number(visitor, node, __ast_path)
21622 }
21623 }
21624 }
21625
21626 #[inline]
21627 fn visit_number_type<'ast: 'r, 'r>(
21628 &mut self,
21629 node: &'ast NumberType,
21630 __ast_path: &mut AstNodePath<'r>,
21631 ) {
21632 match self {
21633 swc_visit::Either::Left(visitor) => {
21634 VisitAstPath::visit_number_type(visitor, node, __ast_path)
21635 }
21636 swc_visit::Either::Right(visitor) => {
21637 VisitAstPath::visit_number_type(visitor, node, __ast_path)
21638 }
21639 }
21640 }
21641
21642 #[inline]
21643 fn visit_opt_at_rule_prelude<'ast: 'r, 'r>(
21644 &mut self,
21645 node: &'ast Option<Box<AtRulePrelude>>,
21646 __ast_path: &mut AstNodePath<'r>,
21647 ) {
21648 match self {
21649 swc_visit::Either::Left(visitor) => {
21650 VisitAstPath::visit_opt_at_rule_prelude(visitor, node, __ast_path)
21651 }
21652 swc_visit::Either::Right(visitor) => {
21653 VisitAstPath::visit_opt_at_rule_prelude(visitor, node, __ast_path)
21654 }
21655 }
21656 }
21657
21658 #[inline]
21659 fn visit_opt_atom<'ast: 'r, 'r>(
21660 &mut self,
21661 node: &'ast Option<swc_atoms::Atom>,
21662 __ast_path: &mut AstNodePath<'r>,
21663 ) {
21664 match self {
21665 swc_visit::Either::Left(visitor) => {
21666 VisitAstPath::visit_opt_atom(visitor, node, __ast_path)
21667 }
21668 swc_visit::Either::Right(visitor) => {
21669 VisitAstPath::visit_opt_atom(visitor, node, __ast_path)
21670 }
21671 }
21672 }
21673
21674 #[inline]
21675 fn visit_opt_attribute_selector_matcher<'ast: 'r, 'r>(
21676 &mut self,
21677 node: &'ast Option<AttributeSelectorMatcher>,
21678 __ast_path: &mut AstNodePath<'r>,
21679 ) {
21680 match self {
21681 swc_visit::Either::Left(visitor) => {
21682 VisitAstPath::visit_opt_attribute_selector_matcher(visitor, node, __ast_path)
21683 }
21684 swc_visit::Either::Right(visitor) => {
21685 VisitAstPath::visit_opt_attribute_selector_matcher(visitor, node, __ast_path)
21686 }
21687 }
21688 }
21689
21690 #[inline]
21691 fn visit_opt_attribute_selector_modifier<'ast: 'r, 'r>(
21692 &mut self,
21693 node: &'ast Option<AttributeSelectorModifier>,
21694 __ast_path: &mut AstNodePath<'r>,
21695 ) {
21696 match self {
21697 swc_visit::Either::Left(visitor) => {
21698 VisitAstPath::visit_opt_attribute_selector_modifier(visitor, node, __ast_path)
21699 }
21700 swc_visit::Either::Right(visitor) => {
21701 VisitAstPath::visit_opt_attribute_selector_modifier(visitor, node, __ast_path)
21702 }
21703 }
21704 }
21705
21706 #[inline]
21707 fn visit_opt_attribute_selector_value<'ast: 'r, 'r>(
21708 &mut self,
21709 node: &'ast Option<AttributeSelectorValue>,
21710 __ast_path: &mut AstNodePath<'r>,
21711 ) {
21712 match self {
21713 swc_visit::Either::Left(visitor) => {
21714 VisitAstPath::visit_opt_attribute_selector_value(visitor, node, __ast_path)
21715 }
21716 swc_visit::Either::Right(visitor) => {
21717 VisitAstPath::visit_opt_attribute_selector_value(visitor, node, __ast_path)
21718 }
21719 }
21720 }
21721
21722 #[inline]
21723 fn visit_opt_combinator<'ast: 'r, 'r>(
21724 &mut self,
21725 node: &'ast Option<Combinator>,
21726 __ast_path: &mut AstNodePath<'r>,
21727 ) {
21728 match self {
21729 swc_visit::Either::Left(visitor) => {
21730 VisitAstPath::visit_opt_combinator(visitor, node, __ast_path)
21731 }
21732 swc_visit::Either::Right(visitor) => {
21733 VisitAstPath::visit_opt_combinator(visitor, node, __ast_path)
21734 }
21735 }
21736 }
21737
21738 #[inline]
21739 fn visit_opt_container_name<'ast: 'r, 'r>(
21740 &mut self,
21741 node: &'ast Option<ContainerName>,
21742 __ast_path: &mut AstNodePath<'r>,
21743 ) {
21744 match self {
21745 swc_visit::Either::Left(visitor) => {
21746 VisitAstPath::visit_opt_container_name(visitor, node, __ast_path)
21747 }
21748 swc_visit::Either::Right(visitor) => {
21749 VisitAstPath::visit_opt_container_name(visitor, node, __ast_path)
21750 }
21751 }
21752 }
21753
21754 #[inline]
21755 fn visit_opt_forgiving_selector_list<'ast: 'r, 'r>(
21756 &mut self,
21757 node: &'ast Option<ForgivingSelectorList>,
21758 __ast_path: &mut AstNodePath<'r>,
21759 ) {
21760 match self {
21761 swc_visit::Either::Left(visitor) => {
21762 VisitAstPath::visit_opt_forgiving_selector_list(visitor, node, __ast_path)
21763 }
21764 swc_visit::Either::Right(visitor) => {
21765 VisitAstPath::visit_opt_forgiving_selector_list(visitor, node, __ast_path)
21766 }
21767 }
21768 }
21769
21770 #[inline]
21771 fn visit_opt_function<'ast: 'r, 'r>(
21772 &mut self,
21773 node: &'ast Option<Box<Function>>,
21774 __ast_path: &mut AstNodePath<'r>,
21775 ) {
21776 match self {
21777 swc_visit::Either::Left(visitor) => {
21778 VisitAstPath::visit_opt_function(visitor, node, __ast_path)
21779 }
21780 swc_visit::Either::Right(visitor) => {
21781 VisitAstPath::visit_opt_function(visitor, node, __ast_path)
21782 }
21783 }
21784 }
21785
21786 #[inline]
21787 fn visit_opt_ident<'ast: 'r, 'r>(
21788 &mut self,
21789 node: &'ast Option<Ident>,
21790 __ast_path: &mut AstNodePath<'r>,
21791 ) {
21792 match self {
21793 swc_visit::Either::Left(visitor) => {
21794 VisitAstPath::visit_opt_ident(visitor, node, __ast_path)
21795 }
21796 swc_visit::Either::Right(visitor) => {
21797 VisitAstPath::visit_opt_ident(visitor, node, __ast_path)
21798 }
21799 }
21800 }
21801
21802 #[inline]
21803 fn visit_opt_import_conditions<'ast: 'r, 'r>(
21804 &mut self,
21805 node: &'ast Option<Box<ImportConditions>>,
21806 __ast_path: &mut AstNodePath<'r>,
21807 ) {
21808 match self {
21809 swc_visit::Either::Left(visitor) => {
21810 VisitAstPath::visit_opt_import_conditions(visitor, node, __ast_path)
21811 }
21812 swc_visit::Either::Right(visitor) => {
21813 VisitAstPath::visit_opt_import_conditions(visitor, node, __ast_path)
21814 }
21815 }
21816 }
21817
21818 #[inline]
21819 fn visit_opt_import_layer_name<'ast: 'r, 'r>(
21820 &mut self,
21821 node: &'ast Option<Box<ImportLayerName>>,
21822 __ast_path: &mut AstNodePath<'r>,
21823 ) {
21824 match self {
21825 swc_visit::Either::Left(visitor) => {
21826 VisitAstPath::visit_opt_import_layer_name(visitor, node, __ast_path)
21827 }
21828 swc_visit::Either::Right(visitor) => {
21829 VisitAstPath::visit_opt_import_layer_name(visitor, node, __ast_path)
21830 }
21831 }
21832 }
21833
21834 #[inline]
21835 fn visit_opt_important_flag<'ast: 'r, 'r>(
21836 &mut self,
21837 node: &'ast Option<ImportantFlag>,
21838 __ast_path: &mut AstNodePath<'r>,
21839 ) {
21840 match self {
21841 swc_visit::Either::Left(visitor) => {
21842 VisitAstPath::visit_opt_important_flag(visitor, node, __ast_path)
21843 }
21844 swc_visit::Either::Right(visitor) => {
21845 VisitAstPath::visit_opt_important_flag(visitor, node, __ast_path)
21846 }
21847 }
21848 }
21849
21850 #[inline]
21851 fn visit_opt_media_condition_type<'ast: 'r, 'r>(
21852 &mut self,
21853 node: &'ast Option<Box<MediaConditionType>>,
21854 __ast_path: &mut AstNodePath<'r>,
21855 ) {
21856 match self {
21857 swc_visit::Either::Left(visitor) => {
21858 VisitAstPath::visit_opt_media_condition_type(visitor, node, __ast_path)
21859 }
21860 swc_visit::Either::Right(visitor) => {
21861 VisitAstPath::visit_opt_media_condition_type(visitor, node, __ast_path)
21862 }
21863 }
21864 }
21865
21866 #[inline]
21867 fn visit_opt_media_query_list<'ast: 'r, 'r>(
21868 &mut self,
21869 node: &'ast Option<Box<MediaQueryList>>,
21870 __ast_path: &mut AstNodePath<'r>,
21871 ) {
21872 match self {
21873 swc_visit::Either::Left(visitor) => {
21874 VisitAstPath::visit_opt_media_query_list(visitor, node, __ast_path)
21875 }
21876 swc_visit::Either::Right(visitor) => {
21877 VisitAstPath::visit_opt_media_query_list(visitor, node, __ast_path)
21878 }
21879 }
21880 }
21881
21882 #[inline]
21883 fn visit_opt_media_type<'ast: 'r, 'r>(
21884 &mut self,
21885 node: &'ast Option<MediaType>,
21886 __ast_path: &mut AstNodePath<'r>,
21887 ) {
21888 match self {
21889 swc_visit::Either::Left(visitor) => {
21890 VisitAstPath::visit_opt_media_type(visitor, node, __ast_path)
21891 }
21892 swc_visit::Either::Right(visitor) => {
21893 VisitAstPath::visit_opt_media_type(visitor, node, __ast_path)
21894 }
21895 }
21896 }
21897
21898 #[inline]
21899 fn visit_opt_namespace<'ast: 'r, 'r>(
21900 &mut self,
21901 node: &'ast Option<Namespace>,
21902 __ast_path: &mut AstNodePath<'r>,
21903 ) {
21904 match self {
21905 swc_visit::Either::Left(visitor) => {
21906 VisitAstPath::visit_opt_namespace(visitor, node, __ast_path)
21907 }
21908 swc_visit::Either::Right(visitor) => {
21909 VisitAstPath::visit_opt_namespace(visitor, node, __ast_path)
21910 }
21911 }
21912 }
21913
21914 #[inline]
21915 fn visit_opt_namespace_prefix<'ast: 'r, 'r>(
21916 &mut self,
21917 node: &'ast Option<NamespacePrefix>,
21918 __ast_path: &mut AstNodePath<'r>,
21919 ) {
21920 match self {
21921 swc_visit::Either::Left(visitor) => {
21922 VisitAstPath::visit_opt_namespace_prefix(visitor, node, __ast_path)
21923 }
21924 swc_visit::Either::Right(visitor) => {
21925 VisitAstPath::visit_opt_namespace_prefix(visitor, node, __ast_path)
21926 }
21927 }
21928 }
21929
21930 #[inline]
21931 fn visit_opt_nesting_selector<'ast: 'r, 'r>(
21932 &mut self,
21933 node: &'ast Option<NestingSelector>,
21934 __ast_path: &mut AstNodePath<'r>,
21935 ) {
21936 match self {
21937 swc_visit::Either::Left(visitor) => {
21938 VisitAstPath::visit_opt_nesting_selector(visitor, node, __ast_path)
21939 }
21940 swc_visit::Either::Right(visitor) => {
21941 VisitAstPath::visit_opt_nesting_selector(visitor, node, __ast_path)
21942 }
21943 }
21944 }
21945
21946 #[inline]
21947 fn visit_opt_number<'ast: 'r, 'r>(
21948 &mut self,
21949 node: &'ast Option<Number>,
21950 __ast_path: &mut AstNodePath<'r>,
21951 ) {
21952 match self {
21953 swc_visit::Either::Left(visitor) => {
21954 VisitAstPath::visit_opt_number(visitor, node, __ast_path)
21955 }
21956 swc_visit::Either::Right(visitor) => {
21957 VisitAstPath::visit_opt_number(visitor, node, __ast_path)
21958 }
21959 }
21960 }
21961
21962 #[inline]
21963 fn visit_opt_page_selector_pseudos<'ast: 'r, 'r>(
21964 &mut self,
21965 node: &'ast Option<Vec<PageSelectorPseudo>>,
21966 __ast_path: &mut AstNodePath<'r>,
21967 ) {
21968 match self {
21969 swc_visit::Either::Left(visitor) => {
21970 VisitAstPath::visit_opt_page_selector_pseudos(visitor, node, __ast_path)
21971 }
21972 swc_visit::Either::Right(visitor) => {
21973 VisitAstPath::visit_opt_page_selector_pseudos(visitor, node, __ast_path)
21974 }
21975 }
21976 }
21977
21978 #[inline]
21979 fn visit_opt_page_selector_type<'ast: 'r, 'r>(
21980 &mut self,
21981 node: &'ast Option<PageSelectorType>,
21982 __ast_path: &mut AstNodePath<'r>,
21983 ) {
21984 match self {
21985 swc_visit::Either::Left(visitor) => {
21986 VisitAstPath::visit_opt_page_selector_type(visitor, node, __ast_path)
21987 }
21988 swc_visit::Either::Right(visitor) => {
21989 VisitAstPath::visit_opt_page_selector_type(visitor, node, __ast_path)
21990 }
21991 }
21992 }
21993
21994 #[inline]
21995 fn visit_opt_pseudo_class_selector_childrens<'ast: 'r, 'r>(
21996 &mut self,
21997 node: &'ast Option<Vec<PseudoClassSelectorChildren>>,
21998 __ast_path: &mut AstNodePath<'r>,
21999 ) {
22000 match self {
22001 swc_visit::Either::Left(visitor) => {
22002 VisitAstPath::visit_opt_pseudo_class_selector_childrens(visitor, node, __ast_path)
22003 }
22004 swc_visit::Either::Right(visitor) => {
22005 VisitAstPath::visit_opt_pseudo_class_selector_childrens(visitor, node, __ast_path)
22006 }
22007 }
22008 }
22009
22010 #[inline]
22011 fn visit_opt_pseudo_element_selector_childrens<'ast: 'r, 'r>(
22012 &mut self,
22013 node: &'ast Option<Vec<PseudoElementSelectorChildren>>,
22014 __ast_path: &mut AstNodePath<'r>,
22015 ) {
22016 match self {
22017 swc_visit::Either::Left(visitor) => {
22018 VisitAstPath::visit_opt_pseudo_element_selector_childrens(visitor, node, __ast_path)
22019 }
22020 swc_visit::Either::Right(visitor) => {
22021 VisitAstPath::visit_opt_pseudo_element_selector_childrens(visitor, node, __ast_path)
22022 }
22023 }
22024 }
22025
22026 #[inline]
22027 fn visit_opt_simple_block<'ast: 'r, 'r>(
22028 &mut self,
22029 node: &'ast Option<SimpleBlock>,
22030 __ast_path: &mut AstNodePath<'r>,
22031 ) {
22032 match self {
22033 swc_visit::Either::Left(visitor) => {
22034 VisitAstPath::visit_opt_simple_block(visitor, node, __ast_path)
22035 }
22036 swc_visit::Either::Right(visitor) => {
22037 VisitAstPath::visit_opt_simple_block(visitor, node, __ast_path)
22038 }
22039 }
22040 }
22041
22042 #[inline]
22043 fn visit_opt_type_selector<'ast: 'r, 'r>(
22044 &mut self,
22045 node: &'ast Option<Box<TypeSelector>>,
22046 __ast_path: &mut AstNodePath<'r>,
22047 ) {
22048 match self {
22049 swc_visit::Either::Left(visitor) => {
22050 VisitAstPath::visit_opt_type_selector(visitor, node, __ast_path)
22051 }
22052 swc_visit::Either::Right(visitor) => {
22053 VisitAstPath::visit_opt_type_selector(visitor, node, __ast_path)
22054 }
22055 }
22056 }
22057
22058 #[inline]
22059 fn visit_opt_url_modifiers<'ast: 'r, 'r>(
22060 &mut self,
22061 node: &'ast Option<Vec<UrlModifier>>,
22062 __ast_path: &mut AstNodePath<'r>,
22063 ) {
22064 match self {
22065 swc_visit::Either::Left(visitor) => {
22066 VisitAstPath::visit_opt_url_modifiers(visitor, node, __ast_path)
22067 }
22068 swc_visit::Either::Right(visitor) => {
22069 VisitAstPath::visit_opt_url_modifiers(visitor, node, __ast_path)
22070 }
22071 }
22072 }
22073
22074 #[inline]
22075 fn visit_opt_url_value<'ast: 'r, 'r>(
22076 &mut self,
22077 node: &'ast Option<Box<UrlValue>>,
22078 __ast_path: &mut AstNodePath<'r>,
22079 ) {
22080 match self {
22081 swc_visit::Either::Left(visitor) => {
22082 VisitAstPath::visit_opt_url_value(visitor, node, __ast_path)
22083 }
22084 swc_visit::Either::Right(visitor) => {
22085 VisitAstPath::visit_opt_url_value(visitor, node, __ast_path)
22086 }
22087 }
22088 }
22089
22090 #[inline]
22091 fn visit_page_selector<'ast: 'r, 'r>(
22092 &mut self,
22093 node: &'ast PageSelector,
22094 __ast_path: &mut AstNodePath<'r>,
22095 ) {
22096 match self {
22097 swc_visit::Either::Left(visitor) => {
22098 VisitAstPath::visit_page_selector(visitor, node, __ast_path)
22099 }
22100 swc_visit::Either::Right(visitor) => {
22101 VisitAstPath::visit_page_selector(visitor, node, __ast_path)
22102 }
22103 }
22104 }
22105
22106 #[inline]
22107 fn visit_page_selector_list<'ast: 'r, 'r>(
22108 &mut self,
22109 node: &'ast PageSelectorList,
22110 __ast_path: &mut AstNodePath<'r>,
22111 ) {
22112 match self {
22113 swc_visit::Either::Left(visitor) => {
22114 VisitAstPath::visit_page_selector_list(visitor, node, __ast_path)
22115 }
22116 swc_visit::Either::Right(visitor) => {
22117 VisitAstPath::visit_page_selector_list(visitor, node, __ast_path)
22118 }
22119 }
22120 }
22121
22122 #[inline]
22123 fn visit_page_selector_pseudo<'ast: 'r, 'r>(
22124 &mut self,
22125 node: &'ast PageSelectorPseudo,
22126 __ast_path: &mut AstNodePath<'r>,
22127 ) {
22128 match self {
22129 swc_visit::Either::Left(visitor) => {
22130 VisitAstPath::visit_page_selector_pseudo(visitor, node, __ast_path)
22131 }
22132 swc_visit::Either::Right(visitor) => {
22133 VisitAstPath::visit_page_selector_pseudo(visitor, node, __ast_path)
22134 }
22135 }
22136 }
22137
22138 #[inline]
22139 fn visit_page_selector_pseudos<'ast: 'r, 'r>(
22140 &mut self,
22141 node: &'ast [PageSelectorPseudo],
22142 __ast_path: &mut AstNodePath<'r>,
22143 ) {
22144 match self {
22145 swc_visit::Either::Left(visitor) => {
22146 VisitAstPath::visit_page_selector_pseudos(visitor, node, __ast_path)
22147 }
22148 swc_visit::Either::Right(visitor) => {
22149 VisitAstPath::visit_page_selector_pseudos(visitor, node, __ast_path)
22150 }
22151 }
22152 }
22153
22154 #[inline]
22155 fn visit_page_selector_type<'ast: 'r, 'r>(
22156 &mut self,
22157 node: &'ast PageSelectorType,
22158 __ast_path: &mut AstNodePath<'r>,
22159 ) {
22160 match self {
22161 swc_visit::Either::Left(visitor) => {
22162 VisitAstPath::visit_page_selector_type(visitor, node, __ast_path)
22163 }
22164 swc_visit::Either::Right(visitor) => {
22165 VisitAstPath::visit_page_selector_type(visitor, node, __ast_path)
22166 }
22167 }
22168 }
22169
22170 #[inline]
22171 fn visit_page_selectors<'ast: 'r, 'r>(
22172 &mut self,
22173 node: &'ast [PageSelector],
22174 __ast_path: &mut AstNodePath<'r>,
22175 ) {
22176 match self {
22177 swc_visit::Either::Left(visitor) => {
22178 VisitAstPath::visit_page_selectors(visitor, node, __ast_path)
22179 }
22180 swc_visit::Either::Right(visitor) => {
22181 VisitAstPath::visit_page_selectors(visitor, node, __ast_path)
22182 }
22183 }
22184 }
22185
22186 #[inline]
22187 fn visit_percentage<'ast: 'r, 'r>(
22188 &mut self,
22189 node: &'ast Percentage,
22190 __ast_path: &mut AstNodePath<'r>,
22191 ) {
22192 match self {
22193 swc_visit::Either::Left(visitor) => {
22194 VisitAstPath::visit_percentage(visitor, node, __ast_path)
22195 }
22196 swc_visit::Either::Right(visitor) => {
22197 VisitAstPath::visit_percentage(visitor, node, __ast_path)
22198 }
22199 }
22200 }
22201
22202 #[inline]
22203 fn visit_pseudo_class_selector<'ast: 'r, 'r>(
22204 &mut self,
22205 node: &'ast PseudoClassSelector,
22206 __ast_path: &mut AstNodePath<'r>,
22207 ) {
22208 match self {
22209 swc_visit::Either::Left(visitor) => {
22210 VisitAstPath::visit_pseudo_class_selector(visitor, node, __ast_path)
22211 }
22212 swc_visit::Either::Right(visitor) => {
22213 VisitAstPath::visit_pseudo_class_selector(visitor, node, __ast_path)
22214 }
22215 }
22216 }
22217
22218 #[inline]
22219 fn visit_pseudo_class_selector_children<'ast: 'r, 'r>(
22220 &mut self,
22221 node: &'ast PseudoClassSelectorChildren,
22222 __ast_path: &mut AstNodePath<'r>,
22223 ) {
22224 match self {
22225 swc_visit::Either::Left(visitor) => {
22226 VisitAstPath::visit_pseudo_class_selector_children(visitor, node, __ast_path)
22227 }
22228 swc_visit::Either::Right(visitor) => {
22229 VisitAstPath::visit_pseudo_class_selector_children(visitor, node, __ast_path)
22230 }
22231 }
22232 }
22233
22234 #[inline]
22235 fn visit_pseudo_class_selector_childrens<'ast: 'r, 'r>(
22236 &mut self,
22237 node: &'ast [PseudoClassSelectorChildren],
22238 __ast_path: &mut AstNodePath<'r>,
22239 ) {
22240 match self {
22241 swc_visit::Either::Left(visitor) => {
22242 VisitAstPath::visit_pseudo_class_selector_childrens(visitor, node, __ast_path)
22243 }
22244 swc_visit::Either::Right(visitor) => {
22245 VisitAstPath::visit_pseudo_class_selector_childrens(visitor, node, __ast_path)
22246 }
22247 }
22248 }
22249
22250 #[inline]
22251 fn visit_pseudo_element_selector<'ast: 'r, 'r>(
22252 &mut self,
22253 node: &'ast PseudoElementSelector,
22254 __ast_path: &mut AstNodePath<'r>,
22255 ) {
22256 match self {
22257 swc_visit::Either::Left(visitor) => {
22258 VisitAstPath::visit_pseudo_element_selector(visitor, node, __ast_path)
22259 }
22260 swc_visit::Either::Right(visitor) => {
22261 VisitAstPath::visit_pseudo_element_selector(visitor, node, __ast_path)
22262 }
22263 }
22264 }
22265
22266 #[inline]
22267 fn visit_pseudo_element_selector_children<'ast: 'r, 'r>(
22268 &mut self,
22269 node: &'ast PseudoElementSelectorChildren,
22270 __ast_path: &mut AstNodePath<'r>,
22271 ) {
22272 match self {
22273 swc_visit::Either::Left(visitor) => {
22274 VisitAstPath::visit_pseudo_element_selector_children(visitor, node, __ast_path)
22275 }
22276 swc_visit::Either::Right(visitor) => {
22277 VisitAstPath::visit_pseudo_element_selector_children(visitor, node, __ast_path)
22278 }
22279 }
22280 }
22281
22282 #[inline]
22283 fn visit_pseudo_element_selector_childrens<'ast: 'r, 'r>(
22284 &mut self,
22285 node: &'ast [PseudoElementSelectorChildren],
22286 __ast_path: &mut AstNodePath<'r>,
22287 ) {
22288 match self {
22289 swc_visit::Either::Left(visitor) => {
22290 VisitAstPath::visit_pseudo_element_selector_childrens(visitor, node, __ast_path)
22291 }
22292 swc_visit::Either::Right(visitor) => {
22293 VisitAstPath::visit_pseudo_element_selector_childrens(visitor, node, __ast_path)
22294 }
22295 }
22296 }
22297
22298 #[inline]
22299 fn visit_qualified_rule<'ast: 'r, 'r>(
22300 &mut self,
22301 node: &'ast QualifiedRule,
22302 __ast_path: &mut AstNodePath<'r>,
22303 ) {
22304 match self {
22305 swc_visit::Either::Left(visitor) => {
22306 VisitAstPath::visit_qualified_rule(visitor, node, __ast_path)
22307 }
22308 swc_visit::Either::Right(visitor) => {
22309 VisitAstPath::visit_qualified_rule(visitor, node, __ast_path)
22310 }
22311 }
22312 }
22313
22314 #[inline]
22315 fn visit_qualified_rule_prelude<'ast: 'r, 'r>(
22316 &mut self,
22317 node: &'ast QualifiedRulePrelude,
22318 __ast_path: &mut AstNodePath<'r>,
22319 ) {
22320 match self {
22321 swc_visit::Either::Left(visitor) => {
22322 VisitAstPath::visit_qualified_rule_prelude(visitor, node, __ast_path)
22323 }
22324 swc_visit::Either::Right(visitor) => {
22325 VisitAstPath::visit_qualified_rule_prelude(visitor, node, __ast_path)
22326 }
22327 }
22328 }
22329
22330 #[inline]
22331 fn visit_query_in_parens<'ast: 'r, 'r>(
22332 &mut self,
22333 node: &'ast QueryInParens,
22334 __ast_path: &mut AstNodePath<'r>,
22335 ) {
22336 match self {
22337 swc_visit::Either::Left(visitor) => {
22338 VisitAstPath::visit_query_in_parens(visitor, node, __ast_path)
22339 }
22340 swc_visit::Either::Right(visitor) => {
22341 VisitAstPath::visit_query_in_parens(visitor, node, __ast_path)
22342 }
22343 }
22344 }
22345
22346 #[inline]
22347 fn visit_ratio<'ast: 'r, 'r>(&mut self, node: &'ast Ratio, __ast_path: &mut AstNodePath<'r>) {
22348 match self {
22349 swc_visit::Either::Left(visitor) => {
22350 VisitAstPath::visit_ratio(visitor, node, __ast_path)
22351 }
22352 swc_visit::Either::Right(visitor) => {
22353 VisitAstPath::visit_ratio(visitor, node, __ast_path)
22354 }
22355 }
22356 }
22357
22358 #[inline]
22359 fn visit_relative_selector<'ast: 'r, 'r>(
22360 &mut self,
22361 node: &'ast RelativeSelector,
22362 __ast_path: &mut AstNodePath<'r>,
22363 ) {
22364 match self {
22365 swc_visit::Either::Left(visitor) => {
22366 VisitAstPath::visit_relative_selector(visitor, node, __ast_path)
22367 }
22368 swc_visit::Either::Right(visitor) => {
22369 VisitAstPath::visit_relative_selector(visitor, node, __ast_path)
22370 }
22371 }
22372 }
22373
22374 #[inline]
22375 fn visit_relative_selector_list<'ast: 'r, 'r>(
22376 &mut self,
22377 node: &'ast RelativeSelectorList,
22378 __ast_path: &mut AstNodePath<'r>,
22379 ) {
22380 match self {
22381 swc_visit::Either::Left(visitor) => {
22382 VisitAstPath::visit_relative_selector_list(visitor, node, __ast_path)
22383 }
22384 swc_visit::Either::Right(visitor) => {
22385 VisitAstPath::visit_relative_selector_list(visitor, node, __ast_path)
22386 }
22387 }
22388 }
22389
22390 #[inline]
22391 fn visit_relative_selectors<'ast: 'r, 'r>(
22392 &mut self,
22393 node: &'ast [RelativeSelector],
22394 __ast_path: &mut AstNodePath<'r>,
22395 ) {
22396 match self {
22397 swc_visit::Either::Left(visitor) => {
22398 VisitAstPath::visit_relative_selectors(visitor, node, __ast_path)
22399 }
22400 swc_visit::Either::Right(visitor) => {
22401 VisitAstPath::visit_relative_selectors(visitor, node, __ast_path)
22402 }
22403 }
22404 }
22405
22406 #[inline]
22407 fn visit_resolution<'ast: 'r, 'r>(
22408 &mut self,
22409 node: &'ast Resolution,
22410 __ast_path: &mut AstNodePath<'r>,
22411 ) {
22412 match self {
22413 swc_visit::Either::Left(visitor) => {
22414 VisitAstPath::visit_resolution(visitor, node, __ast_path)
22415 }
22416 swc_visit::Either::Right(visitor) => {
22417 VisitAstPath::visit_resolution(visitor, node, __ast_path)
22418 }
22419 }
22420 }
22421
22422 #[inline]
22423 fn visit_rule<'ast: 'r, 'r>(&mut self, node: &'ast Rule, __ast_path: &mut AstNodePath<'r>) {
22424 match self {
22425 swc_visit::Either::Left(visitor) => VisitAstPath::visit_rule(visitor, node, __ast_path),
22426 swc_visit::Either::Right(visitor) => {
22427 VisitAstPath::visit_rule(visitor, node, __ast_path)
22428 }
22429 }
22430 }
22431
22432 #[inline]
22433 fn visit_rules<'ast: 'r, 'r>(&mut self, node: &'ast [Rule], __ast_path: &mut AstNodePath<'r>) {
22434 match self {
22435 swc_visit::Either::Left(visitor) => {
22436 VisitAstPath::visit_rules(visitor, node, __ast_path)
22437 }
22438 swc_visit::Either::Right(visitor) => {
22439 VisitAstPath::visit_rules(visitor, node, __ast_path)
22440 }
22441 }
22442 }
22443
22444 #[inline]
22445 fn visit_scope_range<'ast: 'r, 'r>(
22446 &mut self,
22447 node: &'ast ScopeRange,
22448 __ast_path: &mut AstNodePath<'r>,
22449 ) {
22450 match self {
22451 swc_visit::Either::Left(visitor) => {
22452 VisitAstPath::visit_scope_range(visitor, node, __ast_path)
22453 }
22454 swc_visit::Either::Right(visitor) => {
22455 VisitAstPath::visit_scope_range(visitor, node, __ast_path)
22456 }
22457 }
22458 }
22459
22460 #[inline]
22461 fn visit_selector_list<'ast: 'r, 'r>(
22462 &mut self,
22463 node: &'ast SelectorList,
22464 __ast_path: &mut AstNodePath<'r>,
22465 ) {
22466 match self {
22467 swc_visit::Either::Left(visitor) => {
22468 VisitAstPath::visit_selector_list(visitor, node, __ast_path)
22469 }
22470 swc_visit::Either::Right(visitor) => {
22471 VisitAstPath::visit_selector_list(visitor, node, __ast_path)
22472 }
22473 }
22474 }
22475
22476 #[inline]
22477 fn visit_sequence_of_custom_idents<'ast: 'r, 'r>(
22478 &mut self,
22479 node: &'ast SequenceOfCustomIdents,
22480 __ast_path: &mut AstNodePath<'r>,
22481 ) {
22482 match self {
22483 swc_visit::Either::Left(visitor) => {
22484 VisitAstPath::visit_sequence_of_custom_idents(visitor, node, __ast_path)
22485 }
22486 swc_visit::Either::Right(visitor) => {
22487 VisitAstPath::visit_sequence_of_custom_idents(visitor, node, __ast_path)
22488 }
22489 }
22490 }
22491
22492 #[inline]
22493 fn visit_simple_block<'ast: 'r, 'r>(
22494 &mut self,
22495 node: &'ast SimpleBlock,
22496 __ast_path: &mut AstNodePath<'r>,
22497 ) {
22498 match self {
22499 swc_visit::Either::Left(visitor) => {
22500 VisitAstPath::visit_simple_block(visitor, node, __ast_path)
22501 }
22502 swc_visit::Either::Right(visitor) => {
22503 VisitAstPath::visit_simple_block(visitor, node, __ast_path)
22504 }
22505 }
22506 }
22507
22508 #[inline]
22509 fn visit_size_feature<'ast: 'r, 'r>(
22510 &mut self,
22511 node: &'ast SizeFeature,
22512 __ast_path: &mut AstNodePath<'r>,
22513 ) {
22514 match self {
22515 swc_visit::Either::Left(visitor) => {
22516 VisitAstPath::visit_size_feature(visitor, node, __ast_path)
22517 }
22518 swc_visit::Either::Right(visitor) => {
22519 VisitAstPath::visit_size_feature(visitor, node, __ast_path)
22520 }
22521 }
22522 }
22523
22524 #[inline]
22525 fn visit_size_feature_boolean<'ast: 'r, 'r>(
22526 &mut self,
22527 node: &'ast SizeFeatureBoolean,
22528 __ast_path: &mut AstNodePath<'r>,
22529 ) {
22530 match self {
22531 swc_visit::Either::Left(visitor) => {
22532 VisitAstPath::visit_size_feature_boolean(visitor, node, __ast_path)
22533 }
22534 swc_visit::Either::Right(visitor) => {
22535 VisitAstPath::visit_size_feature_boolean(visitor, node, __ast_path)
22536 }
22537 }
22538 }
22539
22540 #[inline]
22541 fn visit_size_feature_name<'ast: 'r, 'r>(
22542 &mut self,
22543 node: &'ast SizeFeatureName,
22544 __ast_path: &mut AstNodePath<'r>,
22545 ) {
22546 match self {
22547 swc_visit::Either::Left(visitor) => {
22548 VisitAstPath::visit_size_feature_name(visitor, node, __ast_path)
22549 }
22550 swc_visit::Either::Right(visitor) => {
22551 VisitAstPath::visit_size_feature_name(visitor, node, __ast_path)
22552 }
22553 }
22554 }
22555
22556 #[inline]
22557 fn visit_size_feature_plain<'ast: 'r, 'r>(
22558 &mut self,
22559 node: &'ast SizeFeaturePlain,
22560 __ast_path: &mut AstNodePath<'r>,
22561 ) {
22562 match self {
22563 swc_visit::Either::Left(visitor) => {
22564 VisitAstPath::visit_size_feature_plain(visitor, node, __ast_path)
22565 }
22566 swc_visit::Either::Right(visitor) => {
22567 VisitAstPath::visit_size_feature_plain(visitor, node, __ast_path)
22568 }
22569 }
22570 }
22571
22572 #[inline]
22573 fn visit_size_feature_range<'ast: 'r, 'r>(
22574 &mut self,
22575 node: &'ast SizeFeatureRange,
22576 __ast_path: &mut AstNodePath<'r>,
22577 ) {
22578 match self {
22579 swc_visit::Either::Left(visitor) => {
22580 VisitAstPath::visit_size_feature_range(visitor, node, __ast_path)
22581 }
22582 swc_visit::Either::Right(visitor) => {
22583 VisitAstPath::visit_size_feature_range(visitor, node, __ast_path)
22584 }
22585 }
22586 }
22587
22588 #[inline]
22589 fn visit_size_feature_range_comparison<'ast: 'r, 'r>(
22590 &mut self,
22591 node: &'ast SizeFeatureRangeComparison,
22592 __ast_path: &mut AstNodePath<'r>,
22593 ) {
22594 match self {
22595 swc_visit::Either::Left(visitor) => {
22596 VisitAstPath::visit_size_feature_range_comparison(visitor, node, __ast_path)
22597 }
22598 swc_visit::Either::Right(visitor) => {
22599 VisitAstPath::visit_size_feature_range_comparison(visitor, node, __ast_path)
22600 }
22601 }
22602 }
22603
22604 #[inline]
22605 fn visit_size_feature_range_interval<'ast: 'r, 'r>(
22606 &mut self,
22607 node: &'ast SizeFeatureRangeInterval,
22608 __ast_path: &mut AstNodePath<'r>,
22609 ) {
22610 match self {
22611 swc_visit::Either::Left(visitor) => {
22612 VisitAstPath::visit_size_feature_range_interval(visitor, node, __ast_path)
22613 }
22614 swc_visit::Either::Right(visitor) => {
22615 VisitAstPath::visit_size_feature_range_interval(visitor, node, __ast_path)
22616 }
22617 }
22618 }
22619
22620 #[inline]
22621 fn visit_size_feature_value<'ast: 'r, 'r>(
22622 &mut self,
22623 node: &'ast SizeFeatureValue,
22624 __ast_path: &mut AstNodePath<'r>,
22625 ) {
22626 match self {
22627 swc_visit::Either::Left(visitor) => {
22628 VisitAstPath::visit_size_feature_value(visitor, node, __ast_path)
22629 }
22630 swc_visit::Either::Right(visitor) => {
22631 VisitAstPath::visit_size_feature_value(visitor, node, __ast_path)
22632 }
22633 }
22634 }
22635
22636 #[inline]
22637 fn visit_span<'ast: 'r, 'r>(
22638 &mut self,
22639 node: &'ast swc_common::Span,
22640 __ast_path: &mut AstNodePath<'r>,
22641 ) {
22642 match self {
22643 swc_visit::Either::Left(visitor) => VisitAstPath::visit_span(visitor, node, __ast_path),
22644 swc_visit::Either::Right(visitor) => {
22645 VisitAstPath::visit_span(visitor, node, __ast_path)
22646 }
22647 }
22648 }
22649
22650 #[inline]
22651 fn visit_str<'ast: 'r, 'r>(&mut self, node: &'ast Str, __ast_path: &mut AstNodePath<'r>) {
22652 match self {
22653 swc_visit::Either::Left(visitor) => VisitAstPath::visit_str(visitor, node, __ast_path),
22654 swc_visit::Either::Right(visitor) => VisitAstPath::visit_str(visitor, node, __ast_path),
22655 }
22656 }
22657
22658 #[inline]
22659 fn visit_style_block<'ast: 'r, 'r>(
22660 &mut self,
22661 node: &'ast StyleBlock,
22662 __ast_path: &mut AstNodePath<'r>,
22663 ) {
22664 match self {
22665 swc_visit::Either::Left(visitor) => {
22666 VisitAstPath::visit_style_block(visitor, node, __ast_path)
22667 }
22668 swc_visit::Either::Right(visitor) => {
22669 VisitAstPath::visit_style_block(visitor, node, __ast_path)
22670 }
22671 }
22672 }
22673
22674 #[inline]
22675 fn visit_stylesheet<'ast: 'r, 'r>(
22676 &mut self,
22677 node: &'ast Stylesheet,
22678 __ast_path: &mut AstNodePath<'r>,
22679 ) {
22680 match self {
22681 swc_visit::Either::Left(visitor) => {
22682 VisitAstPath::visit_stylesheet(visitor, node, __ast_path)
22683 }
22684 swc_visit::Either::Right(visitor) => {
22685 VisitAstPath::visit_stylesheet(visitor, node, __ast_path)
22686 }
22687 }
22688 }
22689
22690 #[inline]
22691 fn visit_subclass_selector<'ast: 'r, 'r>(
22692 &mut self,
22693 node: &'ast SubclassSelector,
22694 __ast_path: &mut AstNodePath<'r>,
22695 ) {
22696 match self {
22697 swc_visit::Either::Left(visitor) => {
22698 VisitAstPath::visit_subclass_selector(visitor, node, __ast_path)
22699 }
22700 swc_visit::Either::Right(visitor) => {
22701 VisitAstPath::visit_subclass_selector(visitor, node, __ast_path)
22702 }
22703 }
22704 }
22705
22706 #[inline]
22707 fn visit_subclass_selectors<'ast: 'r, 'r>(
22708 &mut self,
22709 node: &'ast [SubclassSelector],
22710 __ast_path: &mut AstNodePath<'r>,
22711 ) {
22712 match self {
22713 swc_visit::Either::Left(visitor) => {
22714 VisitAstPath::visit_subclass_selectors(visitor, node, __ast_path)
22715 }
22716 swc_visit::Either::Right(visitor) => {
22717 VisitAstPath::visit_subclass_selectors(visitor, node, __ast_path)
22718 }
22719 }
22720 }
22721
22722 #[inline]
22723 fn visit_supports_and<'ast: 'r, 'r>(
22724 &mut self,
22725 node: &'ast SupportsAnd,
22726 __ast_path: &mut AstNodePath<'r>,
22727 ) {
22728 match self {
22729 swc_visit::Either::Left(visitor) => {
22730 VisitAstPath::visit_supports_and(visitor, node, __ast_path)
22731 }
22732 swc_visit::Either::Right(visitor) => {
22733 VisitAstPath::visit_supports_and(visitor, node, __ast_path)
22734 }
22735 }
22736 }
22737
22738 #[inline]
22739 fn visit_supports_condition<'ast: 'r, 'r>(
22740 &mut self,
22741 node: &'ast SupportsCondition,
22742 __ast_path: &mut AstNodePath<'r>,
22743 ) {
22744 match self {
22745 swc_visit::Either::Left(visitor) => {
22746 VisitAstPath::visit_supports_condition(visitor, node, __ast_path)
22747 }
22748 swc_visit::Either::Right(visitor) => {
22749 VisitAstPath::visit_supports_condition(visitor, node, __ast_path)
22750 }
22751 }
22752 }
22753
22754 #[inline]
22755 fn visit_supports_condition_type<'ast: 'r, 'r>(
22756 &mut self,
22757 node: &'ast SupportsConditionType,
22758 __ast_path: &mut AstNodePath<'r>,
22759 ) {
22760 match self {
22761 swc_visit::Either::Left(visitor) => {
22762 VisitAstPath::visit_supports_condition_type(visitor, node, __ast_path)
22763 }
22764 swc_visit::Either::Right(visitor) => {
22765 VisitAstPath::visit_supports_condition_type(visitor, node, __ast_path)
22766 }
22767 }
22768 }
22769
22770 #[inline]
22771 fn visit_supports_condition_types<'ast: 'r, 'r>(
22772 &mut self,
22773 node: &'ast [SupportsConditionType],
22774 __ast_path: &mut AstNodePath<'r>,
22775 ) {
22776 match self {
22777 swc_visit::Either::Left(visitor) => {
22778 VisitAstPath::visit_supports_condition_types(visitor, node, __ast_path)
22779 }
22780 swc_visit::Either::Right(visitor) => {
22781 VisitAstPath::visit_supports_condition_types(visitor, node, __ast_path)
22782 }
22783 }
22784 }
22785
22786 #[inline]
22787 fn visit_supports_feature<'ast: 'r, 'r>(
22788 &mut self,
22789 node: &'ast SupportsFeature,
22790 __ast_path: &mut AstNodePath<'r>,
22791 ) {
22792 match self {
22793 swc_visit::Either::Left(visitor) => {
22794 VisitAstPath::visit_supports_feature(visitor, node, __ast_path)
22795 }
22796 swc_visit::Either::Right(visitor) => {
22797 VisitAstPath::visit_supports_feature(visitor, node, __ast_path)
22798 }
22799 }
22800 }
22801
22802 #[inline]
22803 fn visit_supports_in_parens<'ast: 'r, 'r>(
22804 &mut self,
22805 node: &'ast SupportsInParens,
22806 __ast_path: &mut AstNodePath<'r>,
22807 ) {
22808 match self {
22809 swc_visit::Either::Left(visitor) => {
22810 VisitAstPath::visit_supports_in_parens(visitor, node, __ast_path)
22811 }
22812 swc_visit::Either::Right(visitor) => {
22813 VisitAstPath::visit_supports_in_parens(visitor, node, __ast_path)
22814 }
22815 }
22816 }
22817
22818 #[inline]
22819 fn visit_supports_not<'ast: 'r, 'r>(
22820 &mut self,
22821 node: &'ast SupportsNot,
22822 __ast_path: &mut AstNodePath<'r>,
22823 ) {
22824 match self {
22825 swc_visit::Either::Left(visitor) => {
22826 VisitAstPath::visit_supports_not(visitor, node, __ast_path)
22827 }
22828 swc_visit::Either::Right(visitor) => {
22829 VisitAstPath::visit_supports_not(visitor, node, __ast_path)
22830 }
22831 }
22832 }
22833
22834 #[inline]
22835 fn visit_supports_or<'ast: 'r, 'r>(
22836 &mut self,
22837 node: &'ast SupportsOr,
22838 __ast_path: &mut AstNodePath<'r>,
22839 ) {
22840 match self {
22841 swc_visit::Either::Left(visitor) => {
22842 VisitAstPath::visit_supports_or(visitor, node, __ast_path)
22843 }
22844 swc_visit::Either::Right(visitor) => {
22845 VisitAstPath::visit_supports_or(visitor, node, __ast_path)
22846 }
22847 }
22848 }
22849
22850 #[inline]
22851 fn visit_tag_name_selector<'ast: 'r, 'r>(
22852 &mut self,
22853 node: &'ast TagNameSelector,
22854 __ast_path: &mut AstNodePath<'r>,
22855 ) {
22856 match self {
22857 swc_visit::Either::Left(visitor) => {
22858 VisitAstPath::visit_tag_name_selector(visitor, node, __ast_path)
22859 }
22860 swc_visit::Either::Right(visitor) => {
22861 VisitAstPath::visit_tag_name_selector(visitor, node, __ast_path)
22862 }
22863 }
22864 }
22865
22866 #[inline]
22867 fn visit_time<'ast: 'r, 'r>(&mut self, node: &'ast Time, __ast_path: &mut AstNodePath<'r>) {
22868 match self {
22869 swc_visit::Either::Left(visitor) => VisitAstPath::visit_time(visitor, node, __ast_path),
22870 swc_visit::Either::Right(visitor) => {
22871 VisitAstPath::visit_time(visitor, node, __ast_path)
22872 }
22873 }
22874 }
22875
22876 #[inline]
22877 fn visit_time_percentage<'ast: 'r, 'r>(
22878 &mut self,
22879 node: &'ast TimePercentage,
22880 __ast_path: &mut AstNodePath<'r>,
22881 ) {
22882 match self {
22883 swc_visit::Either::Left(visitor) => {
22884 VisitAstPath::visit_time_percentage(visitor, node, __ast_path)
22885 }
22886 swc_visit::Either::Right(visitor) => {
22887 VisitAstPath::visit_time_percentage(visitor, node, __ast_path)
22888 }
22889 }
22890 }
22891
22892 #[inline]
22893 fn visit_token<'ast: 'r, 'r>(&mut self, node: &'ast Token, __ast_path: &mut AstNodePath<'r>) {
22894 match self {
22895 swc_visit::Either::Left(visitor) => {
22896 VisitAstPath::visit_token(visitor, node, __ast_path)
22897 }
22898 swc_visit::Either::Right(visitor) => {
22899 VisitAstPath::visit_token(visitor, node, __ast_path)
22900 }
22901 }
22902 }
22903
22904 #[inline]
22905 fn visit_token_and_span<'ast: 'r, 'r>(
22906 &mut self,
22907 node: &'ast TokenAndSpan,
22908 __ast_path: &mut AstNodePath<'r>,
22909 ) {
22910 match self {
22911 swc_visit::Either::Left(visitor) => {
22912 VisitAstPath::visit_token_and_span(visitor, node, __ast_path)
22913 }
22914 swc_visit::Either::Right(visitor) => {
22915 VisitAstPath::visit_token_and_span(visitor, node, __ast_path)
22916 }
22917 }
22918 }
22919
22920 #[inline]
22921 fn visit_type_selector<'ast: 'r, 'r>(
22922 &mut self,
22923 node: &'ast TypeSelector,
22924 __ast_path: &mut AstNodePath<'r>,
22925 ) {
22926 match self {
22927 swc_visit::Either::Left(visitor) => {
22928 VisitAstPath::visit_type_selector(visitor, node, __ast_path)
22929 }
22930 swc_visit::Either::Right(visitor) => {
22931 VisitAstPath::visit_type_selector(visitor, node, __ast_path)
22932 }
22933 }
22934 }
22935
22936 #[inline]
22937 fn visit_unicode_range<'ast: 'r, 'r>(
22938 &mut self,
22939 node: &'ast UnicodeRange,
22940 __ast_path: &mut AstNodePath<'r>,
22941 ) {
22942 match self {
22943 swc_visit::Either::Left(visitor) => {
22944 VisitAstPath::visit_unicode_range(visitor, node, __ast_path)
22945 }
22946 swc_visit::Either::Right(visitor) => {
22947 VisitAstPath::visit_unicode_range(visitor, node, __ast_path)
22948 }
22949 }
22950 }
22951
22952 #[inline]
22953 fn visit_universal_selector<'ast: 'r, 'r>(
22954 &mut self,
22955 node: &'ast UniversalSelector,
22956 __ast_path: &mut AstNodePath<'r>,
22957 ) {
22958 match self {
22959 swc_visit::Either::Left(visitor) => {
22960 VisitAstPath::visit_universal_selector(visitor, node, __ast_path)
22961 }
22962 swc_visit::Either::Right(visitor) => {
22963 VisitAstPath::visit_universal_selector(visitor, node, __ast_path)
22964 }
22965 }
22966 }
22967
22968 #[inline]
22969 fn visit_unknown_dimension<'ast: 'r, 'r>(
22970 &mut self,
22971 node: &'ast UnknownDimension,
22972 __ast_path: &mut AstNodePath<'r>,
22973 ) {
22974 match self {
22975 swc_visit::Either::Left(visitor) => {
22976 VisitAstPath::visit_unknown_dimension(visitor, node, __ast_path)
22977 }
22978 swc_visit::Either::Right(visitor) => {
22979 VisitAstPath::visit_unknown_dimension(visitor, node, __ast_path)
22980 }
22981 }
22982 }
22983
22984 #[inline]
22985 fn visit_url<'ast: 'r, 'r>(&mut self, node: &'ast Url, __ast_path: &mut AstNodePath<'r>) {
22986 match self {
22987 swc_visit::Either::Left(visitor) => VisitAstPath::visit_url(visitor, node, __ast_path),
22988 swc_visit::Either::Right(visitor) => VisitAstPath::visit_url(visitor, node, __ast_path),
22989 }
22990 }
22991
22992 #[inline]
22993 fn visit_url_key_value<'ast: 'r, 'r>(
22994 &mut self,
22995 node: &'ast UrlKeyValue,
22996 __ast_path: &mut AstNodePath<'r>,
22997 ) {
22998 match self {
22999 swc_visit::Either::Left(visitor) => {
23000 VisitAstPath::visit_url_key_value(visitor, node, __ast_path)
23001 }
23002 swc_visit::Either::Right(visitor) => {
23003 VisitAstPath::visit_url_key_value(visitor, node, __ast_path)
23004 }
23005 }
23006 }
23007
23008 #[inline]
23009 fn visit_url_modifier<'ast: 'r, 'r>(
23010 &mut self,
23011 node: &'ast UrlModifier,
23012 __ast_path: &mut AstNodePath<'r>,
23013 ) {
23014 match self {
23015 swc_visit::Either::Left(visitor) => {
23016 VisitAstPath::visit_url_modifier(visitor, node, __ast_path)
23017 }
23018 swc_visit::Either::Right(visitor) => {
23019 VisitAstPath::visit_url_modifier(visitor, node, __ast_path)
23020 }
23021 }
23022 }
23023
23024 #[inline]
23025 fn visit_url_modifiers<'ast: 'r, 'r>(
23026 &mut self,
23027 node: &'ast [UrlModifier],
23028 __ast_path: &mut AstNodePath<'r>,
23029 ) {
23030 match self {
23031 swc_visit::Either::Left(visitor) => {
23032 VisitAstPath::visit_url_modifiers(visitor, node, __ast_path)
23033 }
23034 swc_visit::Either::Right(visitor) => {
23035 VisitAstPath::visit_url_modifiers(visitor, node, __ast_path)
23036 }
23037 }
23038 }
23039
23040 #[inline]
23041 fn visit_url_value<'ast: 'r, 'r>(
23042 &mut self,
23043 node: &'ast UrlValue,
23044 __ast_path: &mut AstNodePath<'r>,
23045 ) {
23046 match self {
23047 swc_visit::Either::Left(visitor) => {
23048 VisitAstPath::visit_url_value(visitor, node, __ast_path)
23049 }
23050 swc_visit::Either::Right(visitor) => {
23051 VisitAstPath::visit_url_value(visitor, node, __ast_path)
23052 }
23053 }
23054 }
23055
23056 #[inline]
23057 fn visit_url_value_raw<'ast: 'r, 'r>(
23058 &mut self,
23059 node: &'ast UrlValueRaw,
23060 __ast_path: &mut AstNodePath<'r>,
23061 ) {
23062 match self {
23063 swc_visit::Either::Left(visitor) => {
23064 VisitAstPath::visit_url_value_raw(visitor, node, __ast_path)
23065 }
23066 swc_visit::Either::Right(visitor) => {
23067 VisitAstPath::visit_url_value_raw(visitor, node, __ast_path)
23068 }
23069 }
23070 }
23071
23072 #[inline]
23073 fn visit_wq_name<'ast: 'r, 'r>(
23074 &mut self,
23075 node: &'ast WqName,
23076 __ast_path: &mut AstNodePath<'r>,
23077 ) {
23078 match self {
23079 swc_visit::Either::Left(visitor) => {
23080 VisitAstPath::visit_wq_name(visitor, node, __ast_path)
23081 }
23082 swc_visit::Either::Right(visitor) => {
23083 VisitAstPath::visit_wq_name(visitor, node, __ast_path)
23084 }
23085 }
23086 }
23087}
23088#[cfg(any(docsrs, feature = "path"))]
23089#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
23090impl<V> VisitAstPath for ::swc_visit::Optional<V>
23091where
23092 V: VisitAstPath,
23093{
23094 #[inline]
23095 fn visit_absolute_color_base<'ast: 'r, 'r>(
23096 &mut self,
23097 node: &'ast AbsoluteColorBase,
23098 __ast_path: &mut AstNodePath<'r>,
23099 ) {
23100 if self.enabled {
23101 <V as VisitAstPath>::visit_absolute_color_base(&mut self.visitor, node, __ast_path)
23102 } else {
23103 }
23104 }
23105
23106 #[inline]
23107 fn visit_alpha_value<'ast: 'r, 'r>(
23108 &mut self,
23109 node: &'ast AlphaValue,
23110 __ast_path: &mut AstNodePath<'r>,
23111 ) {
23112 if self.enabled {
23113 <V as VisitAstPath>::visit_alpha_value(&mut self.visitor, node, __ast_path)
23114 } else {
23115 }
23116 }
23117
23118 #[inline]
23119 fn visit_an_plus_b<'ast: 'r, 'r>(
23120 &mut self,
23121 node: &'ast AnPlusB,
23122 __ast_path: &mut AstNodePath<'r>,
23123 ) {
23124 if self.enabled {
23125 <V as VisitAstPath>::visit_an_plus_b(&mut self.visitor, node, __ast_path)
23126 } else {
23127 }
23128 }
23129
23130 #[inline]
23131 fn visit_an_plus_b_notation<'ast: 'r, 'r>(
23132 &mut self,
23133 node: &'ast AnPlusBNotation,
23134 __ast_path: &mut AstNodePath<'r>,
23135 ) {
23136 if self.enabled {
23137 <V as VisitAstPath>::visit_an_plus_b_notation(&mut self.visitor, node, __ast_path)
23138 } else {
23139 }
23140 }
23141
23142 #[inline]
23143 fn visit_angle<'ast: 'r, 'r>(&mut self, node: &'ast Angle, __ast_path: &mut AstNodePath<'r>) {
23144 if self.enabled {
23145 <V as VisitAstPath>::visit_angle(&mut self.visitor, node, __ast_path)
23146 } else {
23147 }
23148 }
23149
23150 #[inline]
23151 fn visit_angle_percentage<'ast: 'r, 'r>(
23152 &mut self,
23153 node: &'ast AnglePercentage,
23154 __ast_path: &mut AstNodePath<'r>,
23155 ) {
23156 if self.enabled {
23157 <V as VisitAstPath>::visit_angle_percentage(&mut self.visitor, node, __ast_path)
23158 } else {
23159 }
23160 }
23161
23162 #[inline]
23163 fn visit_any_namespace<'ast: 'r, 'r>(
23164 &mut self,
23165 node: &'ast AnyNamespace,
23166 __ast_path: &mut AstNodePath<'r>,
23167 ) {
23168 if self.enabled {
23169 <V as VisitAstPath>::visit_any_namespace(&mut self.visitor, node, __ast_path)
23170 } else {
23171 }
23172 }
23173
23174 #[inline]
23175 fn visit_at_rule<'ast: 'r, 'r>(
23176 &mut self,
23177 node: &'ast AtRule,
23178 __ast_path: &mut AstNodePath<'r>,
23179 ) {
23180 if self.enabled {
23181 <V as VisitAstPath>::visit_at_rule(&mut self.visitor, node, __ast_path)
23182 } else {
23183 }
23184 }
23185
23186 #[inline]
23187 fn visit_at_rule_name<'ast: 'r, 'r>(
23188 &mut self,
23189 node: &'ast AtRuleName,
23190 __ast_path: &mut AstNodePath<'r>,
23191 ) {
23192 if self.enabled {
23193 <V as VisitAstPath>::visit_at_rule_name(&mut self.visitor, node, __ast_path)
23194 } else {
23195 }
23196 }
23197
23198 #[inline]
23199 fn visit_at_rule_prelude<'ast: 'r, 'r>(
23200 &mut self,
23201 node: &'ast AtRulePrelude,
23202 __ast_path: &mut AstNodePath<'r>,
23203 ) {
23204 if self.enabled {
23205 <V as VisitAstPath>::visit_at_rule_prelude(&mut self.visitor, node, __ast_path)
23206 } else {
23207 }
23208 }
23209
23210 #[inline]
23211 fn visit_atom<'ast: 'r, 'r>(
23212 &mut self,
23213 node: &'ast swc_atoms::Atom,
23214 __ast_path: &mut AstNodePath<'r>,
23215 ) {
23216 if self.enabled {
23217 <V as VisitAstPath>::visit_atom(&mut self.visitor, node, __ast_path)
23218 } else {
23219 }
23220 }
23221
23222 #[inline]
23223 fn visit_attribute_selector<'ast: 'r, 'r>(
23224 &mut self,
23225 node: &'ast AttributeSelector,
23226 __ast_path: &mut AstNodePath<'r>,
23227 ) {
23228 if self.enabled {
23229 <V as VisitAstPath>::visit_attribute_selector(&mut self.visitor, node, __ast_path)
23230 } else {
23231 }
23232 }
23233
23234 #[inline]
23235 fn visit_attribute_selector_matcher<'ast: 'r, 'r>(
23236 &mut self,
23237 node: &'ast AttributeSelectorMatcher,
23238 __ast_path: &mut AstNodePath<'r>,
23239 ) {
23240 if self.enabled {
23241 <V as VisitAstPath>::visit_attribute_selector_matcher(
23242 &mut self.visitor,
23243 node,
23244 __ast_path,
23245 )
23246 } else {
23247 }
23248 }
23249
23250 #[inline]
23251 fn visit_attribute_selector_matcher_value<'ast: 'r, 'r>(
23252 &mut self,
23253 node: &'ast AttributeSelectorMatcherValue,
23254 __ast_path: &mut AstNodePath<'r>,
23255 ) {
23256 if self.enabled {
23257 <V as VisitAstPath>::visit_attribute_selector_matcher_value(
23258 &mut self.visitor,
23259 node,
23260 __ast_path,
23261 )
23262 } else {
23263 }
23264 }
23265
23266 #[inline]
23267 fn visit_attribute_selector_modifier<'ast: 'r, 'r>(
23268 &mut self,
23269 node: &'ast AttributeSelectorModifier,
23270 __ast_path: &mut AstNodePath<'r>,
23271 ) {
23272 if self.enabled {
23273 <V as VisitAstPath>::visit_attribute_selector_modifier(
23274 &mut self.visitor,
23275 node,
23276 __ast_path,
23277 )
23278 } else {
23279 }
23280 }
23281
23282 #[inline]
23283 fn visit_attribute_selector_value<'ast: 'r, 'r>(
23284 &mut self,
23285 node: &'ast AttributeSelectorValue,
23286 __ast_path: &mut AstNodePath<'r>,
23287 ) {
23288 if self.enabled {
23289 <V as VisitAstPath>::visit_attribute_selector_value(&mut self.visitor, node, __ast_path)
23290 } else {
23291 }
23292 }
23293
23294 #[inline]
23295 fn visit_bin_op<'ast: 'r, 'r>(&mut self, node: &'ast BinOp, __ast_path: &mut AstNodePath<'r>) {
23296 if self.enabled {
23297 <V as VisitAstPath>::visit_bin_op(&mut self.visitor, node, __ast_path)
23298 } else {
23299 }
23300 }
23301
23302 #[inline]
23303 fn visit_calc_operator<'ast: 'r, 'r>(
23304 &mut self,
23305 node: &'ast CalcOperator,
23306 __ast_path: &mut AstNodePath<'r>,
23307 ) {
23308 if self.enabled {
23309 <V as VisitAstPath>::visit_calc_operator(&mut self.visitor, node, __ast_path)
23310 } else {
23311 }
23312 }
23313
23314 #[inline]
23315 fn visit_calc_operator_type<'ast: 'r, 'r>(
23316 &mut self,
23317 node: &'ast CalcOperatorType,
23318 __ast_path: &mut AstNodePath<'r>,
23319 ) {
23320 if self.enabled {
23321 <V as VisitAstPath>::visit_calc_operator_type(&mut self.visitor, node, __ast_path)
23322 } else {
23323 }
23324 }
23325
23326 #[inline]
23327 fn visit_calc_product<'ast: 'r, 'r>(
23328 &mut self,
23329 node: &'ast CalcProduct,
23330 __ast_path: &mut AstNodePath<'r>,
23331 ) {
23332 if self.enabled {
23333 <V as VisitAstPath>::visit_calc_product(&mut self.visitor, node, __ast_path)
23334 } else {
23335 }
23336 }
23337
23338 #[inline]
23339 fn visit_calc_product_or_operator<'ast: 'r, 'r>(
23340 &mut self,
23341 node: &'ast CalcProductOrOperator,
23342 __ast_path: &mut AstNodePath<'r>,
23343 ) {
23344 if self.enabled {
23345 <V as VisitAstPath>::visit_calc_product_or_operator(&mut self.visitor, node, __ast_path)
23346 } else {
23347 }
23348 }
23349
23350 #[inline]
23351 fn visit_calc_product_or_operators<'ast: 'r, 'r>(
23352 &mut self,
23353 node: &'ast [CalcProductOrOperator],
23354 __ast_path: &mut AstNodePath<'r>,
23355 ) {
23356 if self.enabled {
23357 <V as VisitAstPath>::visit_calc_product_or_operators(
23358 &mut self.visitor,
23359 node,
23360 __ast_path,
23361 )
23362 } else {
23363 }
23364 }
23365
23366 #[inline]
23367 fn visit_calc_sum<'ast: 'r, 'r>(
23368 &mut self,
23369 node: &'ast CalcSum,
23370 __ast_path: &mut AstNodePath<'r>,
23371 ) {
23372 if self.enabled {
23373 <V as VisitAstPath>::visit_calc_sum(&mut self.visitor, node, __ast_path)
23374 } else {
23375 }
23376 }
23377
23378 #[inline]
23379 fn visit_calc_value<'ast: 'r, 'r>(
23380 &mut self,
23381 node: &'ast CalcValue,
23382 __ast_path: &mut AstNodePath<'r>,
23383 ) {
23384 if self.enabled {
23385 <V as VisitAstPath>::visit_calc_value(&mut self.visitor, node, __ast_path)
23386 } else {
23387 }
23388 }
23389
23390 #[inline]
23391 fn visit_calc_value_or_operator<'ast: 'r, 'r>(
23392 &mut self,
23393 node: &'ast CalcValueOrOperator,
23394 __ast_path: &mut AstNodePath<'r>,
23395 ) {
23396 if self.enabled {
23397 <V as VisitAstPath>::visit_calc_value_or_operator(&mut self.visitor, node, __ast_path)
23398 } else {
23399 }
23400 }
23401
23402 #[inline]
23403 fn visit_calc_value_or_operators<'ast: 'r, 'r>(
23404 &mut self,
23405 node: &'ast [CalcValueOrOperator],
23406 __ast_path: &mut AstNodePath<'r>,
23407 ) {
23408 if self.enabled {
23409 <V as VisitAstPath>::visit_calc_value_or_operators(&mut self.visitor, node, __ast_path)
23410 } else {
23411 }
23412 }
23413
23414 #[inline]
23415 fn visit_class_selector<'ast: 'r, 'r>(
23416 &mut self,
23417 node: &'ast ClassSelector,
23418 __ast_path: &mut AstNodePath<'r>,
23419 ) {
23420 if self.enabled {
23421 <V as VisitAstPath>::visit_class_selector(&mut self.visitor, node, __ast_path)
23422 } else {
23423 }
23424 }
23425
23426 #[inline]
23427 fn visit_cmyk_component<'ast: 'r, 'r>(
23428 &mut self,
23429 node: &'ast CmykComponent,
23430 __ast_path: &mut AstNodePath<'r>,
23431 ) {
23432 if self.enabled {
23433 <V as VisitAstPath>::visit_cmyk_component(&mut self.visitor, node, __ast_path)
23434 } else {
23435 }
23436 }
23437
23438 #[inline]
23439 fn visit_color<'ast: 'r, 'r>(&mut self, node: &'ast Color, __ast_path: &mut AstNodePath<'r>) {
23440 if self.enabled {
23441 <V as VisitAstPath>::visit_color(&mut self.visitor, node, __ast_path)
23442 } else {
23443 }
23444 }
23445
23446 #[inline]
23447 fn visit_color_profile_name<'ast: 'r, 'r>(
23448 &mut self,
23449 node: &'ast ColorProfileName,
23450 __ast_path: &mut AstNodePath<'r>,
23451 ) {
23452 if self.enabled {
23453 <V as VisitAstPath>::visit_color_profile_name(&mut self.visitor, node, __ast_path)
23454 } else {
23455 }
23456 }
23457
23458 #[inline]
23459 fn visit_combinator<'ast: 'r, 'r>(
23460 &mut self,
23461 node: &'ast Combinator,
23462 __ast_path: &mut AstNodePath<'r>,
23463 ) {
23464 if self.enabled {
23465 <V as VisitAstPath>::visit_combinator(&mut self.visitor, node, __ast_path)
23466 } else {
23467 }
23468 }
23469
23470 #[inline]
23471 fn visit_combinator_value<'ast: 'r, 'r>(
23472 &mut self,
23473 node: &'ast CombinatorValue,
23474 __ast_path: &mut AstNodePath<'r>,
23475 ) {
23476 if self.enabled {
23477 <V as VisitAstPath>::visit_combinator_value(&mut self.visitor, node, __ast_path)
23478 } else {
23479 }
23480 }
23481
23482 #[inline]
23483 fn visit_complex_selector<'ast: 'r, 'r>(
23484 &mut self,
23485 node: &'ast ComplexSelector,
23486 __ast_path: &mut AstNodePath<'r>,
23487 ) {
23488 if self.enabled {
23489 <V as VisitAstPath>::visit_complex_selector(&mut self.visitor, node, __ast_path)
23490 } else {
23491 }
23492 }
23493
23494 #[inline]
23495 fn visit_complex_selector_children<'ast: 'r, 'r>(
23496 &mut self,
23497 node: &'ast ComplexSelectorChildren,
23498 __ast_path: &mut AstNodePath<'r>,
23499 ) {
23500 if self.enabled {
23501 <V as VisitAstPath>::visit_complex_selector_children(
23502 &mut self.visitor,
23503 node,
23504 __ast_path,
23505 )
23506 } else {
23507 }
23508 }
23509
23510 #[inline]
23511 fn visit_complex_selector_childrens<'ast: 'r, 'r>(
23512 &mut self,
23513 node: &'ast [ComplexSelectorChildren],
23514 __ast_path: &mut AstNodePath<'r>,
23515 ) {
23516 if self.enabled {
23517 <V as VisitAstPath>::visit_complex_selector_childrens(
23518 &mut self.visitor,
23519 node,
23520 __ast_path,
23521 )
23522 } else {
23523 }
23524 }
23525
23526 #[inline]
23527 fn visit_complex_selectors<'ast: 'r, 'r>(
23528 &mut self,
23529 node: &'ast [ComplexSelector],
23530 __ast_path: &mut AstNodePath<'r>,
23531 ) {
23532 if self.enabled {
23533 <V as VisitAstPath>::visit_complex_selectors(&mut self.visitor, node, __ast_path)
23534 } else {
23535 }
23536 }
23537
23538 #[inline]
23539 fn visit_component_value<'ast: 'r, 'r>(
23540 &mut self,
23541 node: &'ast ComponentValue,
23542 __ast_path: &mut AstNodePath<'r>,
23543 ) {
23544 if self.enabled {
23545 <V as VisitAstPath>::visit_component_value(&mut self.visitor, node, __ast_path)
23546 } else {
23547 }
23548 }
23549
23550 #[inline]
23551 fn visit_component_values<'ast: 'r, 'r>(
23552 &mut self,
23553 node: &'ast [ComponentValue],
23554 __ast_path: &mut AstNodePath<'r>,
23555 ) {
23556 if self.enabled {
23557 <V as VisitAstPath>::visit_component_values(&mut self.visitor, node, __ast_path)
23558 } else {
23559 }
23560 }
23561
23562 #[inline]
23563 fn visit_compound_selector<'ast: 'r, 'r>(
23564 &mut self,
23565 node: &'ast CompoundSelector,
23566 __ast_path: &mut AstNodePath<'r>,
23567 ) {
23568 if self.enabled {
23569 <V as VisitAstPath>::visit_compound_selector(&mut self.visitor, node, __ast_path)
23570 } else {
23571 }
23572 }
23573
23574 #[inline]
23575 fn visit_compound_selector_list<'ast: 'r, 'r>(
23576 &mut self,
23577 node: &'ast CompoundSelectorList,
23578 __ast_path: &mut AstNodePath<'r>,
23579 ) {
23580 if self.enabled {
23581 <V as VisitAstPath>::visit_compound_selector_list(&mut self.visitor, node, __ast_path)
23582 } else {
23583 }
23584 }
23585
23586 #[inline]
23587 fn visit_compound_selectors<'ast: 'r, 'r>(
23588 &mut self,
23589 node: &'ast [CompoundSelector],
23590 __ast_path: &mut AstNodePath<'r>,
23591 ) {
23592 if self.enabled {
23593 <V as VisitAstPath>::visit_compound_selectors(&mut self.visitor, node, __ast_path)
23594 } else {
23595 }
23596 }
23597
23598 #[inline]
23599 fn visit_container_condition<'ast: 'r, 'r>(
23600 &mut self,
23601 node: &'ast ContainerCondition,
23602 __ast_path: &mut AstNodePath<'r>,
23603 ) {
23604 if self.enabled {
23605 <V as VisitAstPath>::visit_container_condition(&mut self.visitor, node, __ast_path)
23606 } else {
23607 }
23608 }
23609
23610 #[inline]
23611 fn visit_container_name<'ast: 'r, 'r>(
23612 &mut self,
23613 node: &'ast ContainerName,
23614 __ast_path: &mut AstNodePath<'r>,
23615 ) {
23616 if self.enabled {
23617 <V as VisitAstPath>::visit_container_name(&mut self.visitor, node, __ast_path)
23618 } else {
23619 }
23620 }
23621
23622 #[inline]
23623 fn visit_container_query<'ast: 'r, 'r>(
23624 &mut self,
23625 node: &'ast ContainerQuery,
23626 __ast_path: &mut AstNodePath<'r>,
23627 ) {
23628 if self.enabled {
23629 <V as VisitAstPath>::visit_container_query(&mut self.visitor, node, __ast_path)
23630 } else {
23631 }
23632 }
23633
23634 #[inline]
23635 fn visit_container_query_and<'ast: 'r, 'r>(
23636 &mut self,
23637 node: &'ast ContainerQueryAnd,
23638 __ast_path: &mut AstNodePath<'r>,
23639 ) {
23640 if self.enabled {
23641 <V as VisitAstPath>::visit_container_query_and(&mut self.visitor, node, __ast_path)
23642 } else {
23643 }
23644 }
23645
23646 #[inline]
23647 fn visit_container_query_not<'ast: 'r, 'r>(
23648 &mut self,
23649 node: &'ast ContainerQueryNot,
23650 __ast_path: &mut AstNodePath<'r>,
23651 ) {
23652 if self.enabled {
23653 <V as VisitAstPath>::visit_container_query_not(&mut self.visitor, node, __ast_path)
23654 } else {
23655 }
23656 }
23657
23658 #[inline]
23659 fn visit_container_query_or<'ast: 'r, 'r>(
23660 &mut self,
23661 node: &'ast ContainerQueryOr,
23662 __ast_path: &mut AstNodePath<'r>,
23663 ) {
23664 if self.enabled {
23665 <V as VisitAstPath>::visit_container_query_or(&mut self.visitor, node, __ast_path)
23666 } else {
23667 }
23668 }
23669
23670 #[inline]
23671 fn visit_container_query_type<'ast: 'r, 'r>(
23672 &mut self,
23673 node: &'ast ContainerQueryType,
23674 __ast_path: &mut AstNodePath<'r>,
23675 ) {
23676 if self.enabled {
23677 <V as VisitAstPath>::visit_container_query_type(&mut self.visitor, node, __ast_path)
23678 } else {
23679 }
23680 }
23681
23682 #[inline]
23683 fn visit_container_query_types<'ast: 'r, 'r>(
23684 &mut self,
23685 node: &'ast [ContainerQueryType],
23686 __ast_path: &mut AstNodePath<'r>,
23687 ) {
23688 if self.enabled {
23689 <V as VisitAstPath>::visit_container_query_types(&mut self.visitor, node, __ast_path)
23690 } else {
23691 }
23692 }
23693
23694 #[inline]
23695 fn visit_custom_highlight_name<'ast: 'r, 'r>(
23696 &mut self,
23697 node: &'ast CustomHighlightName,
23698 __ast_path: &mut AstNodePath<'r>,
23699 ) {
23700 if self.enabled {
23701 <V as VisitAstPath>::visit_custom_highlight_name(&mut self.visitor, node, __ast_path)
23702 } else {
23703 }
23704 }
23705
23706 #[inline]
23707 fn visit_custom_ident<'ast: 'r, 'r>(
23708 &mut self,
23709 node: &'ast CustomIdent,
23710 __ast_path: &mut AstNodePath<'r>,
23711 ) {
23712 if self.enabled {
23713 <V as VisitAstPath>::visit_custom_ident(&mut self.visitor, node, __ast_path)
23714 } else {
23715 }
23716 }
23717
23718 #[inline]
23719 fn visit_custom_idents<'ast: 'r, 'r>(
23720 &mut self,
23721 node: &'ast [CustomIdent],
23722 __ast_path: &mut AstNodePath<'r>,
23723 ) {
23724 if self.enabled {
23725 <V as VisitAstPath>::visit_custom_idents(&mut self.visitor, node, __ast_path)
23726 } else {
23727 }
23728 }
23729
23730 #[inline]
23731 fn visit_custom_media_query<'ast: 'r, 'r>(
23732 &mut self,
23733 node: &'ast CustomMediaQuery,
23734 __ast_path: &mut AstNodePath<'r>,
23735 ) {
23736 if self.enabled {
23737 <V as VisitAstPath>::visit_custom_media_query(&mut self.visitor, node, __ast_path)
23738 } else {
23739 }
23740 }
23741
23742 #[inline]
23743 fn visit_custom_media_query_media_type<'ast: 'r, 'r>(
23744 &mut self,
23745 node: &'ast CustomMediaQueryMediaType,
23746 __ast_path: &mut AstNodePath<'r>,
23747 ) {
23748 if self.enabled {
23749 <V as VisitAstPath>::visit_custom_media_query_media_type(
23750 &mut self.visitor,
23751 node,
23752 __ast_path,
23753 )
23754 } else {
23755 }
23756 }
23757
23758 #[inline]
23759 fn visit_custom_property_name<'ast: 'r, 'r>(
23760 &mut self,
23761 node: &'ast CustomPropertyName,
23762 __ast_path: &mut AstNodePath<'r>,
23763 ) {
23764 if self.enabled {
23765 <V as VisitAstPath>::visit_custom_property_name(&mut self.visitor, node, __ast_path)
23766 } else {
23767 }
23768 }
23769
23770 #[inline]
23771 fn visit_dashed_ident<'ast: 'r, 'r>(
23772 &mut self,
23773 node: &'ast DashedIdent,
23774 __ast_path: &mut AstNodePath<'r>,
23775 ) {
23776 if self.enabled {
23777 <V as VisitAstPath>::visit_dashed_ident(&mut self.visitor, node, __ast_path)
23778 } else {
23779 }
23780 }
23781
23782 #[inline]
23783 fn visit_declaration<'ast: 'r, 'r>(
23784 &mut self,
23785 node: &'ast Declaration,
23786 __ast_path: &mut AstNodePath<'r>,
23787 ) {
23788 if self.enabled {
23789 <V as VisitAstPath>::visit_declaration(&mut self.visitor, node, __ast_path)
23790 } else {
23791 }
23792 }
23793
23794 #[inline]
23795 fn visit_declaration_name<'ast: 'r, 'r>(
23796 &mut self,
23797 node: &'ast DeclarationName,
23798 __ast_path: &mut AstNodePath<'r>,
23799 ) {
23800 if self.enabled {
23801 <V as VisitAstPath>::visit_declaration_name(&mut self.visitor, node, __ast_path)
23802 } else {
23803 }
23804 }
23805
23806 #[inline]
23807 fn visit_declaration_or_at_rule<'ast: 'r, 'r>(
23808 &mut self,
23809 node: &'ast DeclarationOrAtRule,
23810 __ast_path: &mut AstNodePath<'r>,
23811 ) {
23812 if self.enabled {
23813 <V as VisitAstPath>::visit_declaration_or_at_rule(&mut self.visitor, node, __ast_path)
23814 } else {
23815 }
23816 }
23817
23818 #[inline]
23819 fn visit_delimiter<'ast: 'r, 'r>(
23820 &mut self,
23821 node: &'ast Delimiter,
23822 __ast_path: &mut AstNodePath<'r>,
23823 ) {
23824 if self.enabled {
23825 <V as VisitAstPath>::visit_delimiter(&mut self.visitor, node, __ast_path)
23826 } else {
23827 }
23828 }
23829
23830 #[inline]
23831 fn visit_delimiter_value<'ast: 'r, 'r>(
23832 &mut self,
23833 node: &'ast DelimiterValue,
23834 __ast_path: &mut AstNodePath<'r>,
23835 ) {
23836 if self.enabled {
23837 <V as VisitAstPath>::visit_delimiter_value(&mut self.visitor, node, __ast_path)
23838 } else {
23839 }
23840 }
23841
23842 #[inline]
23843 fn visit_dimension<'ast: 'r, 'r>(
23844 &mut self,
23845 node: &'ast Dimension,
23846 __ast_path: &mut AstNodePath<'r>,
23847 ) {
23848 if self.enabled {
23849 <V as VisitAstPath>::visit_dimension(&mut self.visitor, node, __ast_path)
23850 } else {
23851 }
23852 }
23853
23854 #[inline]
23855 fn visit_dimension_token<'ast: 'r, 'r>(
23856 &mut self,
23857 node: &'ast DimensionToken,
23858 __ast_path: &mut AstNodePath<'r>,
23859 ) {
23860 if self.enabled {
23861 <V as VisitAstPath>::visit_dimension_token(&mut self.visitor, node, __ast_path)
23862 } else {
23863 }
23864 }
23865
23866 #[inline]
23867 fn visit_document_prelude<'ast: 'r, 'r>(
23868 &mut self,
23869 node: &'ast DocumentPrelude,
23870 __ast_path: &mut AstNodePath<'r>,
23871 ) {
23872 if self.enabled {
23873 <V as VisitAstPath>::visit_document_prelude(&mut self.visitor, node, __ast_path)
23874 } else {
23875 }
23876 }
23877
23878 #[inline]
23879 fn visit_document_prelude_matching_function<'ast: 'r, 'r>(
23880 &mut self,
23881 node: &'ast DocumentPreludeMatchingFunction,
23882 __ast_path: &mut AstNodePath<'r>,
23883 ) {
23884 if self.enabled {
23885 <V as VisitAstPath>::visit_document_prelude_matching_function(
23886 &mut self.visitor,
23887 node,
23888 __ast_path,
23889 )
23890 } else {
23891 }
23892 }
23893
23894 #[inline]
23895 fn visit_document_prelude_matching_functions<'ast: 'r, 'r>(
23896 &mut self,
23897 node: &'ast [DocumentPreludeMatchingFunction],
23898 __ast_path: &mut AstNodePath<'r>,
23899 ) {
23900 if self.enabled {
23901 <V as VisitAstPath>::visit_document_prelude_matching_functions(
23902 &mut self.visitor,
23903 node,
23904 __ast_path,
23905 )
23906 } else {
23907 }
23908 }
23909
23910 #[inline]
23911 fn visit_extension_name<'ast: 'r, 'r>(
23912 &mut self,
23913 node: &'ast ExtensionName,
23914 __ast_path: &mut AstNodePath<'r>,
23915 ) {
23916 if self.enabled {
23917 <V as VisitAstPath>::visit_extension_name(&mut self.visitor, node, __ast_path)
23918 } else {
23919 }
23920 }
23921
23922 #[inline]
23923 fn visit_family_name<'ast: 'r, 'r>(
23924 &mut self,
23925 node: &'ast FamilyName,
23926 __ast_path: &mut AstNodePath<'r>,
23927 ) {
23928 if self.enabled {
23929 <V as VisitAstPath>::visit_family_name(&mut self.visitor, node, __ast_path)
23930 } else {
23931 }
23932 }
23933
23934 #[inline]
23935 fn visit_family_names<'ast: 'r, 'r>(
23936 &mut self,
23937 node: &'ast [FamilyName],
23938 __ast_path: &mut AstNodePath<'r>,
23939 ) {
23940 if self.enabled {
23941 <V as VisitAstPath>::visit_family_names(&mut self.visitor, node, __ast_path)
23942 } else {
23943 }
23944 }
23945
23946 #[inline]
23947 fn visit_flex<'ast: 'r, 'r>(&mut self, node: &'ast Flex, __ast_path: &mut AstNodePath<'r>) {
23948 if self.enabled {
23949 <V as VisitAstPath>::visit_flex(&mut self.visitor, node, __ast_path)
23950 } else {
23951 }
23952 }
23953
23954 #[inline]
23955 fn visit_font_feature_values_prelude<'ast: 'r, 'r>(
23956 &mut self,
23957 node: &'ast FontFeatureValuesPrelude,
23958 __ast_path: &mut AstNodePath<'r>,
23959 ) {
23960 if self.enabled {
23961 <V as VisitAstPath>::visit_font_feature_values_prelude(
23962 &mut self.visitor,
23963 node,
23964 __ast_path,
23965 )
23966 } else {
23967 }
23968 }
23969
23970 #[inline]
23971 fn visit_forgiving_complex_selector<'ast: 'r, 'r>(
23972 &mut self,
23973 node: &'ast ForgivingComplexSelector,
23974 __ast_path: &mut AstNodePath<'r>,
23975 ) {
23976 if self.enabled {
23977 <V as VisitAstPath>::visit_forgiving_complex_selector(
23978 &mut self.visitor,
23979 node,
23980 __ast_path,
23981 )
23982 } else {
23983 }
23984 }
23985
23986 #[inline]
23987 fn visit_forgiving_complex_selectors<'ast: 'r, 'r>(
23988 &mut self,
23989 node: &'ast [ForgivingComplexSelector],
23990 __ast_path: &mut AstNodePath<'r>,
23991 ) {
23992 if self.enabled {
23993 <V as VisitAstPath>::visit_forgiving_complex_selectors(
23994 &mut self.visitor,
23995 node,
23996 __ast_path,
23997 )
23998 } else {
23999 }
24000 }
24001
24002 #[inline]
24003 fn visit_forgiving_relative_selector<'ast: 'r, 'r>(
24004 &mut self,
24005 node: &'ast ForgivingRelativeSelector,
24006 __ast_path: &mut AstNodePath<'r>,
24007 ) {
24008 if self.enabled {
24009 <V as VisitAstPath>::visit_forgiving_relative_selector(
24010 &mut self.visitor,
24011 node,
24012 __ast_path,
24013 )
24014 } else {
24015 }
24016 }
24017
24018 #[inline]
24019 fn visit_forgiving_relative_selector_list<'ast: 'r, 'r>(
24020 &mut self,
24021 node: &'ast ForgivingRelativeSelectorList,
24022 __ast_path: &mut AstNodePath<'r>,
24023 ) {
24024 if self.enabled {
24025 <V as VisitAstPath>::visit_forgiving_relative_selector_list(
24026 &mut self.visitor,
24027 node,
24028 __ast_path,
24029 )
24030 } else {
24031 }
24032 }
24033
24034 #[inline]
24035 fn visit_forgiving_relative_selectors<'ast: 'r, 'r>(
24036 &mut self,
24037 node: &'ast [ForgivingRelativeSelector],
24038 __ast_path: &mut AstNodePath<'r>,
24039 ) {
24040 if self.enabled {
24041 <V as VisitAstPath>::visit_forgiving_relative_selectors(
24042 &mut self.visitor,
24043 node,
24044 __ast_path,
24045 )
24046 } else {
24047 }
24048 }
24049
24050 #[inline]
24051 fn visit_forgiving_selector_list<'ast: 'r, 'r>(
24052 &mut self,
24053 node: &'ast ForgivingSelectorList,
24054 __ast_path: &mut AstNodePath<'r>,
24055 ) {
24056 if self.enabled {
24057 <V as VisitAstPath>::visit_forgiving_selector_list(&mut self.visitor, node, __ast_path)
24058 } else {
24059 }
24060 }
24061
24062 #[inline]
24063 fn visit_frequency<'ast: 'r, 'r>(
24064 &mut self,
24065 node: &'ast Frequency,
24066 __ast_path: &mut AstNodePath<'r>,
24067 ) {
24068 if self.enabled {
24069 <V as VisitAstPath>::visit_frequency(&mut self.visitor, node, __ast_path)
24070 } else {
24071 }
24072 }
24073
24074 #[inline]
24075 fn visit_frequency_percentage<'ast: 'r, 'r>(
24076 &mut self,
24077 node: &'ast FrequencyPercentage,
24078 __ast_path: &mut AstNodePath<'r>,
24079 ) {
24080 if self.enabled {
24081 <V as VisitAstPath>::visit_frequency_percentage(&mut self.visitor, node, __ast_path)
24082 } else {
24083 }
24084 }
24085
24086 #[inline]
24087 fn visit_function<'ast: 'r, 'r>(
24088 &mut self,
24089 node: &'ast Function,
24090 __ast_path: &mut AstNodePath<'r>,
24091 ) {
24092 if self.enabled {
24093 <V as VisitAstPath>::visit_function(&mut self.visitor, node, __ast_path)
24094 } else {
24095 }
24096 }
24097
24098 #[inline]
24099 fn visit_function_name<'ast: 'r, 'r>(
24100 &mut self,
24101 node: &'ast FunctionName,
24102 __ast_path: &mut AstNodePath<'r>,
24103 ) {
24104 if self.enabled {
24105 <V as VisitAstPath>::visit_function_name(&mut self.visitor, node, __ast_path)
24106 } else {
24107 }
24108 }
24109
24110 #[inline]
24111 fn visit_general_enclosed<'ast: 'r, 'r>(
24112 &mut self,
24113 node: &'ast GeneralEnclosed,
24114 __ast_path: &mut AstNodePath<'r>,
24115 ) {
24116 if self.enabled {
24117 <V as VisitAstPath>::visit_general_enclosed(&mut self.visitor, node, __ast_path)
24118 } else {
24119 }
24120 }
24121
24122 #[inline]
24123 fn visit_hex_color<'ast: 'r, 'r>(
24124 &mut self,
24125 node: &'ast HexColor,
24126 __ast_path: &mut AstNodePath<'r>,
24127 ) {
24128 if self.enabled {
24129 <V as VisitAstPath>::visit_hex_color(&mut self.visitor, node, __ast_path)
24130 } else {
24131 }
24132 }
24133
24134 #[inline]
24135 fn visit_hue<'ast: 'r, 'r>(&mut self, node: &'ast Hue, __ast_path: &mut AstNodePath<'r>) {
24136 if self.enabled {
24137 <V as VisitAstPath>::visit_hue(&mut self.visitor, node, __ast_path)
24138 } else {
24139 }
24140 }
24141
24142 #[inline]
24143 fn visit_id_selector<'ast: 'r, 'r>(
24144 &mut self,
24145 node: &'ast IdSelector,
24146 __ast_path: &mut AstNodePath<'r>,
24147 ) {
24148 if self.enabled {
24149 <V as VisitAstPath>::visit_id_selector(&mut self.visitor, node, __ast_path)
24150 } else {
24151 }
24152 }
24153
24154 #[inline]
24155 fn visit_ident<'ast: 'r, 'r>(&mut self, node: &'ast Ident, __ast_path: &mut AstNodePath<'r>) {
24156 if self.enabled {
24157 <V as VisitAstPath>::visit_ident(&mut self.visitor, node, __ast_path)
24158 } else {
24159 }
24160 }
24161
24162 #[inline]
24163 fn visit_idents<'ast: 'r, 'r>(
24164 &mut self,
24165 node: &'ast [Ident],
24166 __ast_path: &mut AstNodePath<'r>,
24167 ) {
24168 if self.enabled {
24169 <V as VisitAstPath>::visit_idents(&mut self.visitor, node, __ast_path)
24170 } else {
24171 }
24172 }
24173
24174 #[inline]
24175 fn visit_import_conditions<'ast: 'r, 'r>(
24176 &mut self,
24177 node: &'ast ImportConditions,
24178 __ast_path: &mut AstNodePath<'r>,
24179 ) {
24180 if self.enabled {
24181 <V as VisitAstPath>::visit_import_conditions(&mut self.visitor, node, __ast_path)
24182 } else {
24183 }
24184 }
24185
24186 #[inline]
24187 fn visit_import_href<'ast: 'r, 'r>(
24188 &mut self,
24189 node: &'ast ImportHref,
24190 __ast_path: &mut AstNodePath<'r>,
24191 ) {
24192 if self.enabled {
24193 <V as VisitAstPath>::visit_import_href(&mut self.visitor, node, __ast_path)
24194 } else {
24195 }
24196 }
24197
24198 #[inline]
24199 fn visit_import_layer_name<'ast: 'r, 'r>(
24200 &mut self,
24201 node: &'ast ImportLayerName,
24202 __ast_path: &mut AstNodePath<'r>,
24203 ) {
24204 if self.enabled {
24205 <V as VisitAstPath>::visit_import_layer_name(&mut self.visitor, node, __ast_path)
24206 } else {
24207 }
24208 }
24209
24210 #[inline]
24211 fn visit_import_prelude<'ast: 'r, 'r>(
24212 &mut self,
24213 node: &'ast ImportPrelude,
24214 __ast_path: &mut AstNodePath<'r>,
24215 ) {
24216 if self.enabled {
24217 <V as VisitAstPath>::visit_import_prelude(&mut self.visitor, node, __ast_path)
24218 } else {
24219 }
24220 }
24221
24222 #[inline]
24223 fn visit_important_flag<'ast: 'r, 'r>(
24224 &mut self,
24225 node: &'ast ImportantFlag,
24226 __ast_path: &mut AstNodePath<'r>,
24227 ) {
24228 if self.enabled {
24229 <V as VisitAstPath>::visit_important_flag(&mut self.visitor, node, __ast_path)
24230 } else {
24231 }
24232 }
24233
24234 #[inline]
24235 fn visit_integer<'ast: 'r, 'r>(
24236 &mut self,
24237 node: &'ast Integer,
24238 __ast_path: &mut AstNodePath<'r>,
24239 ) {
24240 if self.enabled {
24241 <V as VisitAstPath>::visit_integer(&mut self.visitor, node, __ast_path)
24242 } else {
24243 }
24244 }
24245
24246 #[inline]
24247 fn visit_keyframe_block<'ast: 'r, 'r>(
24248 &mut self,
24249 node: &'ast KeyframeBlock,
24250 __ast_path: &mut AstNodePath<'r>,
24251 ) {
24252 if self.enabled {
24253 <V as VisitAstPath>::visit_keyframe_block(&mut self.visitor, node, __ast_path)
24254 } else {
24255 }
24256 }
24257
24258 #[inline]
24259 fn visit_keyframe_selector<'ast: 'r, 'r>(
24260 &mut self,
24261 node: &'ast KeyframeSelector,
24262 __ast_path: &mut AstNodePath<'r>,
24263 ) {
24264 if self.enabled {
24265 <V as VisitAstPath>::visit_keyframe_selector(&mut self.visitor, node, __ast_path)
24266 } else {
24267 }
24268 }
24269
24270 #[inline]
24271 fn visit_keyframe_selectors<'ast: 'r, 'r>(
24272 &mut self,
24273 node: &'ast [KeyframeSelector],
24274 __ast_path: &mut AstNodePath<'r>,
24275 ) {
24276 if self.enabled {
24277 <V as VisitAstPath>::visit_keyframe_selectors(&mut self.visitor, node, __ast_path)
24278 } else {
24279 }
24280 }
24281
24282 #[inline]
24283 fn visit_keyframes_name<'ast: 'r, 'r>(
24284 &mut self,
24285 node: &'ast KeyframesName,
24286 __ast_path: &mut AstNodePath<'r>,
24287 ) {
24288 if self.enabled {
24289 <V as VisitAstPath>::visit_keyframes_name(&mut self.visitor, node, __ast_path)
24290 } else {
24291 }
24292 }
24293
24294 #[inline]
24295 fn visit_keyframes_pseudo_function<'ast: 'r, 'r>(
24296 &mut self,
24297 node: &'ast KeyframesPseudoFunction,
24298 __ast_path: &mut AstNodePath<'r>,
24299 ) {
24300 if self.enabled {
24301 <V as VisitAstPath>::visit_keyframes_pseudo_function(
24302 &mut self.visitor,
24303 node,
24304 __ast_path,
24305 )
24306 } else {
24307 }
24308 }
24309
24310 #[inline]
24311 fn visit_keyframes_pseudo_prefix<'ast: 'r, 'r>(
24312 &mut self,
24313 node: &'ast KeyframesPseudoPrefix,
24314 __ast_path: &mut AstNodePath<'r>,
24315 ) {
24316 if self.enabled {
24317 <V as VisitAstPath>::visit_keyframes_pseudo_prefix(&mut self.visitor, node, __ast_path)
24318 } else {
24319 }
24320 }
24321
24322 #[inline]
24323 fn visit_layer_name<'ast: 'r, 'r>(
24324 &mut self,
24325 node: &'ast LayerName,
24326 __ast_path: &mut AstNodePath<'r>,
24327 ) {
24328 if self.enabled {
24329 <V as VisitAstPath>::visit_layer_name(&mut self.visitor, node, __ast_path)
24330 } else {
24331 }
24332 }
24333
24334 #[inline]
24335 fn visit_layer_name_list<'ast: 'r, 'r>(
24336 &mut self,
24337 node: &'ast LayerNameList,
24338 __ast_path: &mut AstNodePath<'r>,
24339 ) {
24340 if self.enabled {
24341 <V as VisitAstPath>::visit_layer_name_list(&mut self.visitor, node, __ast_path)
24342 } else {
24343 }
24344 }
24345
24346 #[inline]
24347 fn visit_layer_names<'ast: 'r, 'r>(
24348 &mut self,
24349 node: &'ast [LayerName],
24350 __ast_path: &mut AstNodePath<'r>,
24351 ) {
24352 if self.enabled {
24353 <V as VisitAstPath>::visit_layer_names(&mut self.visitor, node, __ast_path)
24354 } else {
24355 }
24356 }
24357
24358 #[inline]
24359 fn visit_layer_prelude<'ast: 'r, 'r>(
24360 &mut self,
24361 node: &'ast LayerPrelude,
24362 __ast_path: &mut AstNodePath<'r>,
24363 ) {
24364 if self.enabled {
24365 <V as VisitAstPath>::visit_layer_prelude(&mut self.visitor, node, __ast_path)
24366 } else {
24367 }
24368 }
24369
24370 #[inline]
24371 fn visit_length<'ast: 'r, 'r>(&mut self, node: &'ast Length, __ast_path: &mut AstNodePath<'r>) {
24372 if self.enabled {
24373 <V as VisitAstPath>::visit_length(&mut self.visitor, node, __ast_path)
24374 } else {
24375 }
24376 }
24377
24378 #[inline]
24379 fn visit_length_percentage<'ast: 'r, 'r>(
24380 &mut self,
24381 node: &'ast LengthPercentage,
24382 __ast_path: &mut AstNodePath<'r>,
24383 ) {
24384 if self.enabled {
24385 <V as VisitAstPath>::visit_length_percentage(&mut self.visitor, node, __ast_path)
24386 } else {
24387 }
24388 }
24389
24390 #[inline]
24391 fn visit_list_of_component_values<'ast: 'r, 'r>(
24392 &mut self,
24393 node: &'ast ListOfComponentValues,
24394 __ast_path: &mut AstNodePath<'r>,
24395 ) {
24396 if self.enabled {
24397 <V as VisitAstPath>::visit_list_of_component_values(&mut self.visitor, node, __ast_path)
24398 } else {
24399 }
24400 }
24401
24402 #[inline]
24403 fn visit_media_and<'ast: 'r, 'r>(
24404 &mut self,
24405 node: &'ast MediaAnd,
24406 __ast_path: &mut AstNodePath<'r>,
24407 ) {
24408 if self.enabled {
24409 <V as VisitAstPath>::visit_media_and(&mut self.visitor, node, __ast_path)
24410 } else {
24411 }
24412 }
24413
24414 #[inline]
24415 fn visit_media_condition<'ast: 'r, 'r>(
24416 &mut self,
24417 node: &'ast MediaCondition,
24418 __ast_path: &mut AstNodePath<'r>,
24419 ) {
24420 if self.enabled {
24421 <V as VisitAstPath>::visit_media_condition(&mut self.visitor, node, __ast_path)
24422 } else {
24423 }
24424 }
24425
24426 #[inline]
24427 fn visit_media_condition_all_type<'ast: 'r, 'r>(
24428 &mut self,
24429 node: &'ast MediaConditionAllType,
24430 __ast_path: &mut AstNodePath<'r>,
24431 ) {
24432 if self.enabled {
24433 <V as VisitAstPath>::visit_media_condition_all_type(&mut self.visitor, node, __ast_path)
24434 } else {
24435 }
24436 }
24437
24438 #[inline]
24439 fn visit_media_condition_all_types<'ast: 'r, 'r>(
24440 &mut self,
24441 node: &'ast [MediaConditionAllType],
24442 __ast_path: &mut AstNodePath<'r>,
24443 ) {
24444 if self.enabled {
24445 <V as VisitAstPath>::visit_media_condition_all_types(
24446 &mut self.visitor,
24447 node,
24448 __ast_path,
24449 )
24450 } else {
24451 }
24452 }
24453
24454 #[inline]
24455 fn visit_media_condition_type<'ast: 'r, 'r>(
24456 &mut self,
24457 node: &'ast MediaConditionType,
24458 __ast_path: &mut AstNodePath<'r>,
24459 ) {
24460 if self.enabled {
24461 <V as VisitAstPath>::visit_media_condition_type(&mut self.visitor, node, __ast_path)
24462 } else {
24463 }
24464 }
24465
24466 #[inline]
24467 fn visit_media_condition_without_or<'ast: 'r, 'r>(
24468 &mut self,
24469 node: &'ast MediaConditionWithoutOr,
24470 __ast_path: &mut AstNodePath<'r>,
24471 ) {
24472 if self.enabled {
24473 <V as VisitAstPath>::visit_media_condition_without_or(
24474 &mut self.visitor,
24475 node,
24476 __ast_path,
24477 )
24478 } else {
24479 }
24480 }
24481
24482 #[inline]
24483 fn visit_media_condition_without_or_type<'ast: 'r, 'r>(
24484 &mut self,
24485 node: &'ast MediaConditionWithoutOrType,
24486 __ast_path: &mut AstNodePath<'r>,
24487 ) {
24488 if self.enabled {
24489 <V as VisitAstPath>::visit_media_condition_without_or_type(
24490 &mut self.visitor,
24491 node,
24492 __ast_path,
24493 )
24494 } else {
24495 }
24496 }
24497
24498 #[inline]
24499 fn visit_media_condition_without_or_types<'ast: 'r, 'r>(
24500 &mut self,
24501 node: &'ast [MediaConditionWithoutOrType],
24502 __ast_path: &mut AstNodePath<'r>,
24503 ) {
24504 if self.enabled {
24505 <V as VisitAstPath>::visit_media_condition_without_or_types(
24506 &mut self.visitor,
24507 node,
24508 __ast_path,
24509 )
24510 } else {
24511 }
24512 }
24513
24514 #[inline]
24515 fn visit_media_feature<'ast: 'r, 'r>(
24516 &mut self,
24517 node: &'ast MediaFeature,
24518 __ast_path: &mut AstNodePath<'r>,
24519 ) {
24520 if self.enabled {
24521 <V as VisitAstPath>::visit_media_feature(&mut self.visitor, node, __ast_path)
24522 } else {
24523 }
24524 }
24525
24526 #[inline]
24527 fn visit_media_feature_boolean<'ast: 'r, 'r>(
24528 &mut self,
24529 node: &'ast MediaFeatureBoolean,
24530 __ast_path: &mut AstNodePath<'r>,
24531 ) {
24532 if self.enabled {
24533 <V as VisitAstPath>::visit_media_feature_boolean(&mut self.visitor, node, __ast_path)
24534 } else {
24535 }
24536 }
24537
24538 #[inline]
24539 fn visit_media_feature_name<'ast: 'r, 'r>(
24540 &mut self,
24541 node: &'ast MediaFeatureName,
24542 __ast_path: &mut AstNodePath<'r>,
24543 ) {
24544 if self.enabled {
24545 <V as VisitAstPath>::visit_media_feature_name(&mut self.visitor, node, __ast_path)
24546 } else {
24547 }
24548 }
24549
24550 #[inline]
24551 fn visit_media_feature_plain<'ast: 'r, 'r>(
24552 &mut self,
24553 node: &'ast MediaFeaturePlain,
24554 __ast_path: &mut AstNodePath<'r>,
24555 ) {
24556 if self.enabled {
24557 <V as VisitAstPath>::visit_media_feature_plain(&mut self.visitor, node, __ast_path)
24558 } else {
24559 }
24560 }
24561
24562 #[inline]
24563 fn visit_media_feature_range<'ast: 'r, 'r>(
24564 &mut self,
24565 node: &'ast MediaFeatureRange,
24566 __ast_path: &mut AstNodePath<'r>,
24567 ) {
24568 if self.enabled {
24569 <V as VisitAstPath>::visit_media_feature_range(&mut self.visitor, node, __ast_path)
24570 } else {
24571 }
24572 }
24573
24574 #[inline]
24575 fn visit_media_feature_range_comparison<'ast: 'r, 'r>(
24576 &mut self,
24577 node: &'ast MediaFeatureRangeComparison,
24578 __ast_path: &mut AstNodePath<'r>,
24579 ) {
24580 if self.enabled {
24581 <V as VisitAstPath>::visit_media_feature_range_comparison(
24582 &mut self.visitor,
24583 node,
24584 __ast_path,
24585 )
24586 } else {
24587 }
24588 }
24589
24590 #[inline]
24591 fn visit_media_feature_range_interval<'ast: 'r, 'r>(
24592 &mut self,
24593 node: &'ast MediaFeatureRangeInterval,
24594 __ast_path: &mut AstNodePath<'r>,
24595 ) {
24596 if self.enabled {
24597 <V as VisitAstPath>::visit_media_feature_range_interval(
24598 &mut self.visitor,
24599 node,
24600 __ast_path,
24601 )
24602 } else {
24603 }
24604 }
24605
24606 #[inline]
24607 fn visit_media_feature_value<'ast: 'r, 'r>(
24608 &mut self,
24609 node: &'ast MediaFeatureValue,
24610 __ast_path: &mut AstNodePath<'r>,
24611 ) {
24612 if self.enabled {
24613 <V as VisitAstPath>::visit_media_feature_value(&mut self.visitor, node, __ast_path)
24614 } else {
24615 }
24616 }
24617
24618 #[inline]
24619 fn visit_media_in_parens<'ast: 'r, 'r>(
24620 &mut self,
24621 node: &'ast MediaInParens,
24622 __ast_path: &mut AstNodePath<'r>,
24623 ) {
24624 if self.enabled {
24625 <V as VisitAstPath>::visit_media_in_parens(&mut self.visitor, node, __ast_path)
24626 } else {
24627 }
24628 }
24629
24630 #[inline]
24631 fn visit_media_not<'ast: 'r, 'r>(
24632 &mut self,
24633 node: &'ast MediaNot,
24634 __ast_path: &mut AstNodePath<'r>,
24635 ) {
24636 if self.enabled {
24637 <V as VisitAstPath>::visit_media_not(&mut self.visitor, node, __ast_path)
24638 } else {
24639 }
24640 }
24641
24642 #[inline]
24643 fn visit_media_or<'ast: 'r, 'r>(
24644 &mut self,
24645 node: &'ast MediaOr,
24646 __ast_path: &mut AstNodePath<'r>,
24647 ) {
24648 if self.enabled {
24649 <V as VisitAstPath>::visit_media_or(&mut self.visitor, node, __ast_path)
24650 } else {
24651 }
24652 }
24653
24654 #[inline]
24655 fn visit_media_query<'ast: 'r, 'r>(
24656 &mut self,
24657 node: &'ast MediaQuery,
24658 __ast_path: &mut AstNodePath<'r>,
24659 ) {
24660 if self.enabled {
24661 <V as VisitAstPath>::visit_media_query(&mut self.visitor, node, __ast_path)
24662 } else {
24663 }
24664 }
24665
24666 #[inline]
24667 fn visit_media_query_list<'ast: 'r, 'r>(
24668 &mut self,
24669 node: &'ast MediaQueryList,
24670 __ast_path: &mut AstNodePath<'r>,
24671 ) {
24672 if self.enabled {
24673 <V as VisitAstPath>::visit_media_query_list(&mut self.visitor, node, __ast_path)
24674 } else {
24675 }
24676 }
24677
24678 #[inline]
24679 fn visit_media_querys<'ast: 'r, 'r>(
24680 &mut self,
24681 node: &'ast [MediaQuery],
24682 __ast_path: &mut AstNodePath<'r>,
24683 ) {
24684 if self.enabled {
24685 <V as VisitAstPath>::visit_media_querys(&mut self.visitor, node, __ast_path)
24686 } else {
24687 }
24688 }
24689
24690 #[inline]
24691 fn visit_media_type<'ast: 'r, 'r>(
24692 &mut self,
24693 node: &'ast MediaType,
24694 __ast_path: &mut AstNodePath<'r>,
24695 ) {
24696 if self.enabled {
24697 <V as VisitAstPath>::visit_media_type(&mut self.visitor, node, __ast_path)
24698 } else {
24699 }
24700 }
24701
24702 #[inline]
24703 fn visit_named_namespace<'ast: 'r, 'r>(
24704 &mut self,
24705 node: &'ast NamedNamespace,
24706 __ast_path: &mut AstNodePath<'r>,
24707 ) {
24708 if self.enabled {
24709 <V as VisitAstPath>::visit_named_namespace(&mut self.visitor, node, __ast_path)
24710 } else {
24711 }
24712 }
24713
24714 #[inline]
24715 fn visit_namespace<'ast: 'r, 'r>(
24716 &mut self,
24717 node: &'ast Namespace,
24718 __ast_path: &mut AstNodePath<'r>,
24719 ) {
24720 if self.enabled {
24721 <V as VisitAstPath>::visit_namespace(&mut self.visitor, node, __ast_path)
24722 } else {
24723 }
24724 }
24725
24726 #[inline]
24727 fn visit_namespace_prefix<'ast: 'r, 'r>(
24728 &mut self,
24729 node: &'ast NamespacePrefix,
24730 __ast_path: &mut AstNodePath<'r>,
24731 ) {
24732 if self.enabled {
24733 <V as VisitAstPath>::visit_namespace_prefix(&mut self.visitor, node, __ast_path)
24734 } else {
24735 }
24736 }
24737
24738 #[inline]
24739 fn visit_namespace_prelude<'ast: 'r, 'r>(
24740 &mut self,
24741 node: &'ast NamespacePrelude,
24742 __ast_path: &mut AstNodePath<'r>,
24743 ) {
24744 if self.enabled {
24745 <V as VisitAstPath>::visit_namespace_prelude(&mut self.visitor, node, __ast_path)
24746 } else {
24747 }
24748 }
24749
24750 #[inline]
24751 fn visit_namespace_prelude_uri<'ast: 'r, 'r>(
24752 &mut self,
24753 node: &'ast NamespacePreludeUri,
24754 __ast_path: &mut AstNodePath<'r>,
24755 ) {
24756 if self.enabled {
24757 <V as VisitAstPath>::visit_namespace_prelude_uri(&mut self.visitor, node, __ast_path)
24758 } else {
24759 }
24760 }
24761
24762 #[inline]
24763 fn visit_nesting_selector<'ast: 'r, 'r>(
24764 &mut self,
24765 node: &'ast NestingSelector,
24766 __ast_path: &mut AstNodePath<'r>,
24767 ) {
24768 if self.enabled {
24769 <V as VisitAstPath>::visit_nesting_selector(&mut self.visitor, node, __ast_path)
24770 } else {
24771 }
24772 }
24773
24774 #[inline]
24775 fn visit_number<'ast: 'r, 'r>(&mut self, node: &'ast Number, __ast_path: &mut AstNodePath<'r>) {
24776 if self.enabled {
24777 <V as VisitAstPath>::visit_number(&mut self.visitor, node, __ast_path)
24778 } else {
24779 }
24780 }
24781
24782 #[inline]
24783 fn visit_number_type<'ast: 'r, 'r>(
24784 &mut self,
24785 node: &'ast NumberType,
24786 __ast_path: &mut AstNodePath<'r>,
24787 ) {
24788 if self.enabled {
24789 <V as VisitAstPath>::visit_number_type(&mut self.visitor, node, __ast_path)
24790 } else {
24791 }
24792 }
24793
24794 #[inline]
24795 fn visit_opt_at_rule_prelude<'ast: 'r, 'r>(
24796 &mut self,
24797 node: &'ast Option<Box<AtRulePrelude>>,
24798 __ast_path: &mut AstNodePath<'r>,
24799 ) {
24800 if self.enabled {
24801 <V as VisitAstPath>::visit_opt_at_rule_prelude(&mut self.visitor, node, __ast_path)
24802 } else {
24803 }
24804 }
24805
24806 #[inline]
24807 fn visit_opt_atom<'ast: 'r, 'r>(
24808 &mut self,
24809 node: &'ast Option<swc_atoms::Atom>,
24810 __ast_path: &mut AstNodePath<'r>,
24811 ) {
24812 if self.enabled {
24813 <V as VisitAstPath>::visit_opt_atom(&mut self.visitor, node, __ast_path)
24814 } else {
24815 }
24816 }
24817
24818 #[inline]
24819 fn visit_opt_attribute_selector_matcher<'ast: 'r, 'r>(
24820 &mut self,
24821 node: &'ast Option<AttributeSelectorMatcher>,
24822 __ast_path: &mut AstNodePath<'r>,
24823 ) {
24824 if self.enabled {
24825 <V as VisitAstPath>::visit_opt_attribute_selector_matcher(
24826 &mut self.visitor,
24827 node,
24828 __ast_path,
24829 )
24830 } else {
24831 }
24832 }
24833
24834 #[inline]
24835 fn visit_opt_attribute_selector_modifier<'ast: 'r, 'r>(
24836 &mut self,
24837 node: &'ast Option<AttributeSelectorModifier>,
24838 __ast_path: &mut AstNodePath<'r>,
24839 ) {
24840 if self.enabled {
24841 <V as VisitAstPath>::visit_opt_attribute_selector_modifier(
24842 &mut self.visitor,
24843 node,
24844 __ast_path,
24845 )
24846 } else {
24847 }
24848 }
24849
24850 #[inline]
24851 fn visit_opt_attribute_selector_value<'ast: 'r, 'r>(
24852 &mut self,
24853 node: &'ast Option<AttributeSelectorValue>,
24854 __ast_path: &mut AstNodePath<'r>,
24855 ) {
24856 if self.enabled {
24857 <V as VisitAstPath>::visit_opt_attribute_selector_value(
24858 &mut self.visitor,
24859 node,
24860 __ast_path,
24861 )
24862 } else {
24863 }
24864 }
24865
24866 #[inline]
24867 fn visit_opt_combinator<'ast: 'r, 'r>(
24868 &mut self,
24869 node: &'ast Option<Combinator>,
24870 __ast_path: &mut AstNodePath<'r>,
24871 ) {
24872 if self.enabled {
24873 <V as VisitAstPath>::visit_opt_combinator(&mut self.visitor, node, __ast_path)
24874 } else {
24875 }
24876 }
24877
24878 #[inline]
24879 fn visit_opt_container_name<'ast: 'r, 'r>(
24880 &mut self,
24881 node: &'ast Option<ContainerName>,
24882 __ast_path: &mut AstNodePath<'r>,
24883 ) {
24884 if self.enabled {
24885 <V as VisitAstPath>::visit_opt_container_name(&mut self.visitor, node, __ast_path)
24886 } else {
24887 }
24888 }
24889
24890 #[inline]
24891 fn visit_opt_forgiving_selector_list<'ast: 'r, 'r>(
24892 &mut self,
24893 node: &'ast Option<ForgivingSelectorList>,
24894 __ast_path: &mut AstNodePath<'r>,
24895 ) {
24896 if self.enabled {
24897 <V as VisitAstPath>::visit_opt_forgiving_selector_list(
24898 &mut self.visitor,
24899 node,
24900 __ast_path,
24901 )
24902 } else {
24903 }
24904 }
24905
24906 #[inline]
24907 fn visit_opt_function<'ast: 'r, 'r>(
24908 &mut self,
24909 node: &'ast Option<Box<Function>>,
24910 __ast_path: &mut AstNodePath<'r>,
24911 ) {
24912 if self.enabled {
24913 <V as VisitAstPath>::visit_opt_function(&mut self.visitor, node, __ast_path)
24914 } else {
24915 }
24916 }
24917
24918 #[inline]
24919 fn visit_opt_ident<'ast: 'r, 'r>(
24920 &mut self,
24921 node: &'ast Option<Ident>,
24922 __ast_path: &mut AstNodePath<'r>,
24923 ) {
24924 if self.enabled {
24925 <V as VisitAstPath>::visit_opt_ident(&mut self.visitor, node, __ast_path)
24926 } else {
24927 }
24928 }
24929
24930 #[inline]
24931 fn visit_opt_import_conditions<'ast: 'r, 'r>(
24932 &mut self,
24933 node: &'ast Option<Box<ImportConditions>>,
24934 __ast_path: &mut AstNodePath<'r>,
24935 ) {
24936 if self.enabled {
24937 <V as VisitAstPath>::visit_opt_import_conditions(&mut self.visitor, node, __ast_path)
24938 } else {
24939 }
24940 }
24941
24942 #[inline]
24943 fn visit_opt_import_layer_name<'ast: 'r, 'r>(
24944 &mut self,
24945 node: &'ast Option<Box<ImportLayerName>>,
24946 __ast_path: &mut AstNodePath<'r>,
24947 ) {
24948 if self.enabled {
24949 <V as VisitAstPath>::visit_opt_import_layer_name(&mut self.visitor, node, __ast_path)
24950 } else {
24951 }
24952 }
24953
24954 #[inline]
24955 fn visit_opt_important_flag<'ast: 'r, 'r>(
24956 &mut self,
24957 node: &'ast Option<ImportantFlag>,
24958 __ast_path: &mut AstNodePath<'r>,
24959 ) {
24960 if self.enabled {
24961 <V as VisitAstPath>::visit_opt_important_flag(&mut self.visitor, node, __ast_path)
24962 } else {
24963 }
24964 }
24965
24966 #[inline]
24967 fn visit_opt_media_condition_type<'ast: 'r, 'r>(
24968 &mut self,
24969 node: &'ast Option<Box<MediaConditionType>>,
24970 __ast_path: &mut AstNodePath<'r>,
24971 ) {
24972 if self.enabled {
24973 <V as VisitAstPath>::visit_opt_media_condition_type(&mut self.visitor, node, __ast_path)
24974 } else {
24975 }
24976 }
24977
24978 #[inline]
24979 fn visit_opt_media_query_list<'ast: 'r, 'r>(
24980 &mut self,
24981 node: &'ast Option<Box<MediaQueryList>>,
24982 __ast_path: &mut AstNodePath<'r>,
24983 ) {
24984 if self.enabled {
24985 <V as VisitAstPath>::visit_opt_media_query_list(&mut self.visitor, node, __ast_path)
24986 } else {
24987 }
24988 }
24989
24990 #[inline]
24991 fn visit_opt_media_type<'ast: 'r, 'r>(
24992 &mut self,
24993 node: &'ast Option<MediaType>,
24994 __ast_path: &mut AstNodePath<'r>,
24995 ) {
24996 if self.enabled {
24997 <V as VisitAstPath>::visit_opt_media_type(&mut self.visitor, node, __ast_path)
24998 } else {
24999 }
25000 }
25001
25002 #[inline]
25003 fn visit_opt_namespace<'ast: 'r, 'r>(
25004 &mut self,
25005 node: &'ast Option<Namespace>,
25006 __ast_path: &mut AstNodePath<'r>,
25007 ) {
25008 if self.enabled {
25009 <V as VisitAstPath>::visit_opt_namespace(&mut self.visitor, node, __ast_path)
25010 } else {
25011 }
25012 }
25013
25014 #[inline]
25015 fn visit_opt_namespace_prefix<'ast: 'r, 'r>(
25016 &mut self,
25017 node: &'ast Option<NamespacePrefix>,
25018 __ast_path: &mut AstNodePath<'r>,
25019 ) {
25020 if self.enabled {
25021 <V as VisitAstPath>::visit_opt_namespace_prefix(&mut self.visitor, node, __ast_path)
25022 } else {
25023 }
25024 }
25025
25026 #[inline]
25027 fn visit_opt_nesting_selector<'ast: 'r, 'r>(
25028 &mut self,
25029 node: &'ast Option<NestingSelector>,
25030 __ast_path: &mut AstNodePath<'r>,
25031 ) {
25032 if self.enabled {
25033 <V as VisitAstPath>::visit_opt_nesting_selector(&mut self.visitor, node, __ast_path)
25034 } else {
25035 }
25036 }
25037
25038 #[inline]
25039 fn visit_opt_number<'ast: 'r, 'r>(
25040 &mut self,
25041 node: &'ast Option<Number>,
25042 __ast_path: &mut AstNodePath<'r>,
25043 ) {
25044 if self.enabled {
25045 <V as VisitAstPath>::visit_opt_number(&mut self.visitor, node, __ast_path)
25046 } else {
25047 }
25048 }
25049
25050 #[inline]
25051 fn visit_opt_page_selector_pseudos<'ast: 'r, 'r>(
25052 &mut self,
25053 node: &'ast Option<Vec<PageSelectorPseudo>>,
25054 __ast_path: &mut AstNodePath<'r>,
25055 ) {
25056 if self.enabled {
25057 <V as VisitAstPath>::visit_opt_page_selector_pseudos(
25058 &mut self.visitor,
25059 node,
25060 __ast_path,
25061 )
25062 } else {
25063 }
25064 }
25065
25066 #[inline]
25067 fn visit_opt_page_selector_type<'ast: 'r, 'r>(
25068 &mut self,
25069 node: &'ast Option<PageSelectorType>,
25070 __ast_path: &mut AstNodePath<'r>,
25071 ) {
25072 if self.enabled {
25073 <V as VisitAstPath>::visit_opt_page_selector_type(&mut self.visitor, node, __ast_path)
25074 } else {
25075 }
25076 }
25077
25078 #[inline]
25079 fn visit_opt_pseudo_class_selector_childrens<'ast: 'r, 'r>(
25080 &mut self,
25081 node: &'ast Option<Vec<PseudoClassSelectorChildren>>,
25082 __ast_path: &mut AstNodePath<'r>,
25083 ) {
25084 if self.enabled {
25085 <V as VisitAstPath>::visit_opt_pseudo_class_selector_childrens(
25086 &mut self.visitor,
25087 node,
25088 __ast_path,
25089 )
25090 } else {
25091 }
25092 }
25093
25094 #[inline]
25095 fn visit_opt_pseudo_element_selector_childrens<'ast: 'r, 'r>(
25096 &mut self,
25097 node: &'ast Option<Vec<PseudoElementSelectorChildren>>,
25098 __ast_path: &mut AstNodePath<'r>,
25099 ) {
25100 if self.enabled {
25101 <V as VisitAstPath>::visit_opt_pseudo_element_selector_childrens(
25102 &mut self.visitor,
25103 node,
25104 __ast_path,
25105 )
25106 } else {
25107 }
25108 }
25109
25110 #[inline]
25111 fn visit_opt_simple_block<'ast: 'r, 'r>(
25112 &mut self,
25113 node: &'ast Option<SimpleBlock>,
25114 __ast_path: &mut AstNodePath<'r>,
25115 ) {
25116 if self.enabled {
25117 <V as VisitAstPath>::visit_opt_simple_block(&mut self.visitor, node, __ast_path)
25118 } else {
25119 }
25120 }
25121
25122 #[inline]
25123 fn visit_opt_type_selector<'ast: 'r, 'r>(
25124 &mut self,
25125 node: &'ast Option<Box<TypeSelector>>,
25126 __ast_path: &mut AstNodePath<'r>,
25127 ) {
25128 if self.enabled {
25129 <V as VisitAstPath>::visit_opt_type_selector(&mut self.visitor, node, __ast_path)
25130 } else {
25131 }
25132 }
25133
25134 #[inline]
25135 fn visit_opt_url_modifiers<'ast: 'r, 'r>(
25136 &mut self,
25137 node: &'ast Option<Vec<UrlModifier>>,
25138 __ast_path: &mut AstNodePath<'r>,
25139 ) {
25140 if self.enabled {
25141 <V as VisitAstPath>::visit_opt_url_modifiers(&mut self.visitor, node, __ast_path)
25142 } else {
25143 }
25144 }
25145
25146 #[inline]
25147 fn visit_opt_url_value<'ast: 'r, 'r>(
25148 &mut self,
25149 node: &'ast Option<Box<UrlValue>>,
25150 __ast_path: &mut AstNodePath<'r>,
25151 ) {
25152 if self.enabled {
25153 <V as VisitAstPath>::visit_opt_url_value(&mut self.visitor, node, __ast_path)
25154 } else {
25155 }
25156 }
25157
25158 #[inline]
25159 fn visit_page_selector<'ast: 'r, 'r>(
25160 &mut self,
25161 node: &'ast PageSelector,
25162 __ast_path: &mut AstNodePath<'r>,
25163 ) {
25164 if self.enabled {
25165 <V as VisitAstPath>::visit_page_selector(&mut self.visitor, node, __ast_path)
25166 } else {
25167 }
25168 }
25169
25170 #[inline]
25171 fn visit_page_selector_list<'ast: 'r, 'r>(
25172 &mut self,
25173 node: &'ast PageSelectorList,
25174 __ast_path: &mut AstNodePath<'r>,
25175 ) {
25176 if self.enabled {
25177 <V as VisitAstPath>::visit_page_selector_list(&mut self.visitor, node, __ast_path)
25178 } else {
25179 }
25180 }
25181
25182 #[inline]
25183 fn visit_page_selector_pseudo<'ast: 'r, 'r>(
25184 &mut self,
25185 node: &'ast PageSelectorPseudo,
25186 __ast_path: &mut AstNodePath<'r>,
25187 ) {
25188 if self.enabled {
25189 <V as VisitAstPath>::visit_page_selector_pseudo(&mut self.visitor, node, __ast_path)
25190 } else {
25191 }
25192 }
25193
25194 #[inline]
25195 fn visit_page_selector_pseudos<'ast: 'r, 'r>(
25196 &mut self,
25197 node: &'ast [PageSelectorPseudo],
25198 __ast_path: &mut AstNodePath<'r>,
25199 ) {
25200 if self.enabled {
25201 <V as VisitAstPath>::visit_page_selector_pseudos(&mut self.visitor, node, __ast_path)
25202 } else {
25203 }
25204 }
25205
25206 #[inline]
25207 fn visit_page_selector_type<'ast: 'r, 'r>(
25208 &mut self,
25209 node: &'ast PageSelectorType,
25210 __ast_path: &mut AstNodePath<'r>,
25211 ) {
25212 if self.enabled {
25213 <V as VisitAstPath>::visit_page_selector_type(&mut self.visitor, node, __ast_path)
25214 } else {
25215 }
25216 }
25217
25218 #[inline]
25219 fn visit_page_selectors<'ast: 'r, 'r>(
25220 &mut self,
25221 node: &'ast [PageSelector],
25222 __ast_path: &mut AstNodePath<'r>,
25223 ) {
25224 if self.enabled {
25225 <V as VisitAstPath>::visit_page_selectors(&mut self.visitor, node, __ast_path)
25226 } else {
25227 }
25228 }
25229
25230 #[inline]
25231 fn visit_percentage<'ast: 'r, 'r>(
25232 &mut self,
25233 node: &'ast Percentage,
25234 __ast_path: &mut AstNodePath<'r>,
25235 ) {
25236 if self.enabled {
25237 <V as VisitAstPath>::visit_percentage(&mut self.visitor, node, __ast_path)
25238 } else {
25239 }
25240 }
25241
25242 #[inline]
25243 fn visit_pseudo_class_selector<'ast: 'r, 'r>(
25244 &mut self,
25245 node: &'ast PseudoClassSelector,
25246 __ast_path: &mut AstNodePath<'r>,
25247 ) {
25248 if self.enabled {
25249 <V as VisitAstPath>::visit_pseudo_class_selector(&mut self.visitor, node, __ast_path)
25250 } else {
25251 }
25252 }
25253
25254 #[inline]
25255 fn visit_pseudo_class_selector_children<'ast: 'r, 'r>(
25256 &mut self,
25257 node: &'ast PseudoClassSelectorChildren,
25258 __ast_path: &mut AstNodePath<'r>,
25259 ) {
25260 if self.enabled {
25261 <V as VisitAstPath>::visit_pseudo_class_selector_children(
25262 &mut self.visitor,
25263 node,
25264 __ast_path,
25265 )
25266 } else {
25267 }
25268 }
25269
25270 #[inline]
25271 fn visit_pseudo_class_selector_childrens<'ast: 'r, 'r>(
25272 &mut self,
25273 node: &'ast [PseudoClassSelectorChildren],
25274 __ast_path: &mut AstNodePath<'r>,
25275 ) {
25276 if self.enabled {
25277 <V as VisitAstPath>::visit_pseudo_class_selector_childrens(
25278 &mut self.visitor,
25279 node,
25280 __ast_path,
25281 )
25282 } else {
25283 }
25284 }
25285
25286 #[inline]
25287 fn visit_pseudo_element_selector<'ast: 'r, 'r>(
25288 &mut self,
25289 node: &'ast PseudoElementSelector,
25290 __ast_path: &mut AstNodePath<'r>,
25291 ) {
25292 if self.enabled {
25293 <V as VisitAstPath>::visit_pseudo_element_selector(&mut self.visitor, node, __ast_path)
25294 } else {
25295 }
25296 }
25297
25298 #[inline]
25299 fn visit_pseudo_element_selector_children<'ast: 'r, 'r>(
25300 &mut self,
25301 node: &'ast PseudoElementSelectorChildren,
25302 __ast_path: &mut AstNodePath<'r>,
25303 ) {
25304 if self.enabled {
25305 <V as VisitAstPath>::visit_pseudo_element_selector_children(
25306 &mut self.visitor,
25307 node,
25308 __ast_path,
25309 )
25310 } else {
25311 }
25312 }
25313
25314 #[inline]
25315 fn visit_pseudo_element_selector_childrens<'ast: 'r, 'r>(
25316 &mut self,
25317 node: &'ast [PseudoElementSelectorChildren],
25318 __ast_path: &mut AstNodePath<'r>,
25319 ) {
25320 if self.enabled {
25321 <V as VisitAstPath>::visit_pseudo_element_selector_childrens(
25322 &mut self.visitor,
25323 node,
25324 __ast_path,
25325 )
25326 } else {
25327 }
25328 }
25329
25330 #[inline]
25331 fn visit_qualified_rule<'ast: 'r, 'r>(
25332 &mut self,
25333 node: &'ast QualifiedRule,
25334 __ast_path: &mut AstNodePath<'r>,
25335 ) {
25336 if self.enabled {
25337 <V as VisitAstPath>::visit_qualified_rule(&mut self.visitor, node, __ast_path)
25338 } else {
25339 }
25340 }
25341
25342 #[inline]
25343 fn visit_qualified_rule_prelude<'ast: 'r, 'r>(
25344 &mut self,
25345 node: &'ast QualifiedRulePrelude,
25346 __ast_path: &mut AstNodePath<'r>,
25347 ) {
25348 if self.enabled {
25349 <V as VisitAstPath>::visit_qualified_rule_prelude(&mut self.visitor, node, __ast_path)
25350 } else {
25351 }
25352 }
25353
25354 #[inline]
25355 fn visit_query_in_parens<'ast: 'r, 'r>(
25356 &mut self,
25357 node: &'ast QueryInParens,
25358 __ast_path: &mut AstNodePath<'r>,
25359 ) {
25360 if self.enabled {
25361 <V as VisitAstPath>::visit_query_in_parens(&mut self.visitor, node, __ast_path)
25362 } else {
25363 }
25364 }
25365
25366 #[inline]
25367 fn visit_ratio<'ast: 'r, 'r>(&mut self, node: &'ast Ratio, __ast_path: &mut AstNodePath<'r>) {
25368 if self.enabled {
25369 <V as VisitAstPath>::visit_ratio(&mut self.visitor, node, __ast_path)
25370 } else {
25371 }
25372 }
25373
25374 #[inline]
25375 fn visit_relative_selector<'ast: 'r, 'r>(
25376 &mut self,
25377 node: &'ast RelativeSelector,
25378 __ast_path: &mut AstNodePath<'r>,
25379 ) {
25380 if self.enabled {
25381 <V as VisitAstPath>::visit_relative_selector(&mut self.visitor, node, __ast_path)
25382 } else {
25383 }
25384 }
25385
25386 #[inline]
25387 fn visit_relative_selector_list<'ast: 'r, 'r>(
25388 &mut self,
25389 node: &'ast RelativeSelectorList,
25390 __ast_path: &mut AstNodePath<'r>,
25391 ) {
25392 if self.enabled {
25393 <V as VisitAstPath>::visit_relative_selector_list(&mut self.visitor, node, __ast_path)
25394 } else {
25395 }
25396 }
25397
25398 #[inline]
25399 fn visit_relative_selectors<'ast: 'r, 'r>(
25400 &mut self,
25401 node: &'ast [RelativeSelector],
25402 __ast_path: &mut AstNodePath<'r>,
25403 ) {
25404 if self.enabled {
25405 <V as VisitAstPath>::visit_relative_selectors(&mut self.visitor, node, __ast_path)
25406 } else {
25407 }
25408 }
25409
25410 #[inline]
25411 fn visit_resolution<'ast: 'r, 'r>(
25412 &mut self,
25413 node: &'ast Resolution,
25414 __ast_path: &mut AstNodePath<'r>,
25415 ) {
25416 if self.enabled {
25417 <V as VisitAstPath>::visit_resolution(&mut self.visitor, node, __ast_path)
25418 } else {
25419 }
25420 }
25421
25422 #[inline]
25423 fn visit_rule<'ast: 'r, 'r>(&mut self, node: &'ast Rule, __ast_path: &mut AstNodePath<'r>) {
25424 if self.enabled {
25425 <V as VisitAstPath>::visit_rule(&mut self.visitor, node, __ast_path)
25426 } else {
25427 }
25428 }
25429
25430 #[inline]
25431 fn visit_rules<'ast: 'r, 'r>(&mut self, node: &'ast [Rule], __ast_path: &mut AstNodePath<'r>) {
25432 if self.enabled {
25433 <V as VisitAstPath>::visit_rules(&mut self.visitor, node, __ast_path)
25434 } else {
25435 }
25436 }
25437
25438 #[inline]
25439 fn visit_scope_range<'ast: 'r, 'r>(
25440 &mut self,
25441 node: &'ast ScopeRange,
25442 __ast_path: &mut AstNodePath<'r>,
25443 ) {
25444 if self.enabled {
25445 <V as VisitAstPath>::visit_scope_range(&mut self.visitor, node, __ast_path)
25446 } else {
25447 }
25448 }
25449
25450 #[inline]
25451 fn visit_selector_list<'ast: 'r, 'r>(
25452 &mut self,
25453 node: &'ast SelectorList,
25454 __ast_path: &mut AstNodePath<'r>,
25455 ) {
25456 if self.enabled {
25457 <V as VisitAstPath>::visit_selector_list(&mut self.visitor, node, __ast_path)
25458 } else {
25459 }
25460 }
25461
25462 #[inline]
25463 fn visit_sequence_of_custom_idents<'ast: 'r, 'r>(
25464 &mut self,
25465 node: &'ast SequenceOfCustomIdents,
25466 __ast_path: &mut AstNodePath<'r>,
25467 ) {
25468 if self.enabled {
25469 <V as VisitAstPath>::visit_sequence_of_custom_idents(
25470 &mut self.visitor,
25471 node,
25472 __ast_path,
25473 )
25474 } else {
25475 }
25476 }
25477
25478 #[inline]
25479 fn visit_simple_block<'ast: 'r, 'r>(
25480 &mut self,
25481 node: &'ast SimpleBlock,
25482 __ast_path: &mut AstNodePath<'r>,
25483 ) {
25484 if self.enabled {
25485 <V as VisitAstPath>::visit_simple_block(&mut self.visitor, node, __ast_path)
25486 } else {
25487 }
25488 }
25489
25490 #[inline]
25491 fn visit_size_feature<'ast: 'r, 'r>(
25492 &mut self,
25493 node: &'ast SizeFeature,
25494 __ast_path: &mut AstNodePath<'r>,
25495 ) {
25496 if self.enabled {
25497 <V as VisitAstPath>::visit_size_feature(&mut self.visitor, node, __ast_path)
25498 } else {
25499 }
25500 }
25501
25502 #[inline]
25503 fn visit_size_feature_boolean<'ast: 'r, 'r>(
25504 &mut self,
25505 node: &'ast SizeFeatureBoolean,
25506 __ast_path: &mut AstNodePath<'r>,
25507 ) {
25508 if self.enabled {
25509 <V as VisitAstPath>::visit_size_feature_boolean(&mut self.visitor, node, __ast_path)
25510 } else {
25511 }
25512 }
25513
25514 #[inline]
25515 fn visit_size_feature_name<'ast: 'r, 'r>(
25516 &mut self,
25517 node: &'ast SizeFeatureName,
25518 __ast_path: &mut AstNodePath<'r>,
25519 ) {
25520 if self.enabled {
25521 <V as VisitAstPath>::visit_size_feature_name(&mut self.visitor, node, __ast_path)
25522 } else {
25523 }
25524 }
25525
25526 #[inline]
25527 fn visit_size_feature_plain<'ast: 'r, 'r>(
25528 &mut self,
25529 node: &'ast SizeFeaturePlain,
25530 __ast_path: &mut AstNodePath<'r>,
25531 ) {
25532 if self.enabled {
25533 <V as VisitAstPath>::visit_size_feature_plain(&mut self.visitor, node, __ast_path)
25534 } else {
25535 }
25536 }
25537
25538 #[inline]
25539 fn visit_size_feature_range<'ast: 'r, 'r>(
25540 &mut self,
25541 node: &'ast SizeFeatureRange,
25542 __ast_path: &mut AstNodePath<'r>,
25543 ) {
25544 if self.enabled {
25545 <V as VisitAstPath>::visit_size_feature_range(&mut self.visitor, node, __ast_path)
25546 } else {
25547 }
25548 }
25549
25550 #[inline]
25551 fn visit_size_feature_range_comparison<'ast: 'r, 'r>(
25552 &mut self,
25553 node: &'ast SizeFeatureRangeComparison,
25554 __ast_path: &mut AstNodePath<'r>,
25555 ) {
25556 if self.enabled {
25557 <V as VisitAstPath>::visit_size_feature_range_comparison(
25558 &mut self.visitor,
25559 node,
25560 __ast_path,
25561 )
25562 } else {
25563 }
25564 }
25565
25566 #[inline]
25567 fn visit_size_feature_range_interval<'ast: 'r, 'r>(
25568 &mut self,
25569 node: &'ast SizeFeatureRangeInterval,
25570 __ast_path: &mut AstNodePath<'r>,
25571 ) {
25572 if self.enabled {
25573 <V as VisitAstPath>::visit_size_feature_range_interval(
25574 &mut self.visitor,
25575 node,
25576 __ast_path,
25577 )
25578 } else {
25579 }
25580 }
25581
25582 #[inline]
25583 fn visit_size_feature_value<'ast: 'r, 'r>(
25584 &mut self,
25585 node: &'ast SizeFeatureValue,
25586 __ast_path: &mut AstNodePath<'r>,
25587 ) {
25588 if self.enabled {
25589 <V as VisitAstPath>::visit_size_feature_value(&mut self.visitor, node, __ast_path)
25590 } else {
25591 }
25592 }
25593
25594 #[inline]
25595 fn visit_span<'ast: 'r, 'r>(
25596 &mut self,
25597 node: &'ast swc_common::Span,
25598 __ast_path: &mut AstNodePath<'r>,
25599 ) {
25600 if self.enabled {
25601 <V as VisitAstPath>::visit_span(&mut self.visitor, node, __ast_path)
25602 } else {
25603 }
25604 }
25605
25606 #[inline]
25607 fn visit_str<'ast: 'r, 'r>(&mut self, node: &'ast Str, __ast_path: &mut AstNodePath<'r>) {
25608 if self.enabled {
25609 <V as VisitAstPath>::visit_str(&mut self.visitor, node, __ast_path)
25610 } else {
25611 }
25612 }
25613
25614 #[inline]
25615 fn visit_style_block<'ast: 'r, 'r>(
25616 &mut self,
25617 node: &'ast StyleBlock,
25618 __ast_path: &mut AstNodePath<'r>,
25619 ) {
25620 if self.enabled {
25621 <V as VisitAstPath>::visit_style_block(&mut self.visitor, node, __ast_path)
25622 } else {
25623 }
25624 }
25625
25626 #[inline]
25627 fn visit_stylesheet<'ast: 'r, 'r>(
25628 &mut self,
25629 node: &'ast Stylesheet,
25630 __ast_path: &mut AstNodePath<'r>,
25631 ) {
25632 if self.enabled {
25633 <V as VisitAstPath>::visit_stylesheet(&mut self.visitor, node, __ast_path)
25634 } else {
25635 }
25636 }
25637
25638 #[inline]
25639 fn visit_subclass_selector<'ast: 'r, 'r>(
25640 &mut self,
25641 node: &'ast SubclassSelector,
25642 __ast_path: &mut AstNodePath<'r>,
25643 ) {
25644 if self.enabled {
25645 <V as VisitAstPath>::visit_subclass_selector(&mut self.visitor, node, __ast_path)
25646 } else {
25647 }
25648 }
25649
25650 #[inline]
25651 fn visit_subclass_selectors<'ast: 'r, 'r>(
25652 &mut self,
25653 node: &'ast [SubclassSelector],
25654 __ast_path: &mut AstNodePath<'r>,
25655 ) {
25656 if self.enabled {
25657 <V as VisitAstPath>::visit_subclass_selectors(&mut self.visitor, node, __ast_path)
25658 } else {
25659 }
25660 }
25661
25662 #[inline]
25663 fn visit_supports_and<'ast: 'r, 'r>(
25664 &mut self,
25665 node: &'ast SupportsAnd,
25666 __ast_path: &mut AstNodePath<'r>,
25667 ) {
25668 if self.enabled {
25669 <V as VisitAstPath>::visit_supports_and(&mut self.visitor, node, __ast_path)
25670 } else {
25671 }
25672 }
25673
25674 #[inline]
25675 fn visit_supports_condition<'ast: 'r, 'r>(
25676 &mut self,
25677 node: &'ast SupportsCondition,
25678 __ast_path: &mut AstNodePath<'r>,
25679 ) {
25680 if self.enabled {
25681 <V as VisitAstPath>::visit_supports_condition(&mut self.visitor, node, __ast_path)
25682 } else {
25683 }
25684 }
25685
25686 #[inline]
25687 fn visit_supports_condition_type<'ast: 'r, 'r>(
25688 &mut self,
25689 node: &'ast SupportsConditionType,
25690 __ast_path: &mut AstNodePath<'r>,
25691 ) {
25692 if self.enabled {
25693 <V as VisitAstPath>::visit_supports_condition_type(&mut self.visitor, node, __ast_path)
25694 } else {
25695 }
25696 }
25697
25698 #[inline]
25699 fn visit_supports_condition_types<'ast: 'r, 'r>(
25700 &mut self,
25701 node: &'ast [SupportsConditionType],
25702 __ast_path: &mut AstNodePath<'r>,
25703 ) {
25704 if self.enabled {
25705 <V as VisitAstPath>::visit_supports_condition_types(&mut self.visitor, node, __ast_path)
25706 } else {
25707 }
25708 }
25709
25710 #[inline]
25711 fn visit_supports_feature<'ast: 'r, 'r>(
25712 &mut self,
25713 node: &'ast SupportsFeature,
25714 __ast_path: &mut AstNodePath<'r>,
25715 ) {
25716 if self.enabled {
25717 <V as VisitAstPath>::visit_supports_feature(&mut self.visitor, node, __ast_path)
25718 } else {
25719 }
25720 }
25721
25722 #[inline]
25723 fn visit_supports_in_parens<'ast: 'r, 'r>(
25724 &mut self,
25725 node: &'ast SupportsInParens,
25726 __ast_path: &mut AstNodePath<'r>,
25727 ) {
25728 if self.enabled {
25729 <V as VisitAstPath>::visit_supports_in_parens(&mut self.visitor, node, __ast_path)
25730 } else {
25731 }
25732 }
25733
25734 #[inline]
25735 fn visit_supports_not<'ast: 'r, 'r>(
25736 &mut self,
25737 node: &'ast SupportsNot,
25738 __ast_path: &mut AstNodePath<'r>,
25739 ) {
25740 if self.enabled {
25741 <V as VisitAstPath>::visit_supports_not(&mut self.visitor, node, __ast_path)
25742 } else {
25743 }
25744 }
25745
25746 #[inline]
25747 fn visit_supports_or<'ast: 'r, 'r>(
25748 &mut self,
25749 node: &'ast SupportsOr,
25750 __ast_path: &mut AstNodePath<'r>,
25751 ) {
25752 if self.enabled {
25753 <V as VisitAstPath>::visit_supports_or(&mut self.visitor, node, __ast_path)
25754 } else {
25755 }
25756 }
25757
25758 #[inline]
25759 fn visit_tag_name_selector<'ast: 'r, 'r>(
25760 &mut self,
25761 node: &'ast TagNameSelector,
25762 __ast_path: &mut AstNodePath<'r>,
25763 ) {
25764 if self.enabled {
25765 <V as VisitAstPath>::visit_tag_name_selector(&mut self.visitor, node, __ast_path)
25766 } else {
25767 }
25768 }
25769
25770 #[inline]
25771 fn visit_time<'ast: 'r, 'r>(&mut self, node: &'ast Time, __ast_path: &mut AstNodePath<'r>) {
25772 if self.enabled {
25773 <V as VisitAstPath>::visit_time(&mut self.visitor, node, __ast_path)
25774 } else {
25775 }
25776 }
25777
25778 #[inline]
25779 fn visit_time_percentage<'ast: 'r, 'r>(
25780 &mut self,
25781 node: &'ast TimePercentage,
25782 __ast_path: &mut AstNodePath<'r>,
25783 ) {
25784 if self.enabled {
25785 <V as VisitAstPath>::visit_time_percentage(&mut self.visitor, node, __ast_path)
25786 } else {
25787 }
25788 }
25789
25790 #[inline]
25791 fn visit_token<'ast: 'r, 'r>(&mut self, node: &'ast Token, __ast_path: &mut AstNodePath<'r>) {
25792 if self.enabled {
25793 <V as VisitAstPath>::visit_token(&mut self.visitor, node, __ast_path)
25794 } else {
25795 }
25796 }
25797
25798 #[inline]
25799 fn visit_token_and_span<'ast: 'r, 'r>(
25800 &mut self,
25801 node: &'ast TokenAndSpan,
25802 __ast_path: &mut AstNodePath<'r>,
25803 ) {
25804 if self.enabled {
25805 <V as VisitAstPath>::visit_token_and_span(&mut self.visitor, node, __ast_path)
25806 } else {
25807 }
25808 }
25809
25810 #[inline]
25811 fn visit_type_selector<'ast: 'r, 'r>(
25812 &mut self,
25813 node: &'ast TypeSelector,
25814 __ast_path: &mut AstNodePath<'r>,
25815 ) {
25816 if self.enabled {
25817 <V as VisitAstPath>::visit_type_selector(&mut self.visitor, node, __ast_path)
25818 } else {
25819 }
25820 }
25821
25822 #[inline]
25823 fn visit_unicode_range<'ast: 'r, 'r>(
25824 &mut self,
25825 node: &'ast UnicodeRange,
25826 __ast_path: &mut AstNodePath<'r>,
25827 ) {
25828 if self.enabled {
25829 <V as VisitAstPath>::visit_unicode_range(&mut self.visitor, node, __ast_path)
25830 } else {
25831 }
25832 }
25833
25834 #[inline]
25835 fn visit_universal_selector<'ast: 'r, 'r>(
25836 &mut self,
25837 node: &'ast UniversalSelector,
25838 __ast_path: &mut AstNodePath<'r>,
25839 ) {
25840 if self.enabled {
25841 <V as VisitAstPath>::visit_universal_selector(&mut self.visitor, node, __ast_path)
25842 } else {
25843 }
25844 }
25845
25846 #[inline]
25847 fn visit_unknown_dimension<'ast: 'r, 'r>(
25848 &mut self,
25849 node: &'ast UnknownDimension,
25850 __ast_path: &mut AstNodePath<'r>,
25851 ) {
25852 if self.enabled {
25853 <V as VisitAstPath>::visit_unknown_dimension(&mut self.visitor, node, __ast_path)
25854 } else {
25855 }
25856 }
25857
25858 #[inline]
25859 fn visit_url<'ast: 'r, 'r>(&mut self, node: &'ast Url, __ast_path: &mut AstNodePath<'r>) {
25860 if self.enabled {
25861 <V as VisitAstPath>::visit_url(&mut self.visitor, node, __ast_path)
25862 } else {
25863 }
25864 }
25865
25866 #[inline]
25867 fn visit_url_key_value<'ast: 'r, 'r>(
25868 &mut self,
25869 node: &'ast UrlKeyValue,
25870 __ast_path: &mut AstNodePath<'r>,
25871 ) {
25872 if self.enabled {
25873 <V as VisitAstPath>::visit_url_key_value(&mut self.visitor, node, __ast_path)
25874 } else {
25875 }
25876 }
25877
25878 #[inline]
25879 fn visit_url_modifier<'ast: 'r, 'r>(
25880 &mut self,
25881 node: &'ast UrlModifier,
25882 __ast_path: &mut AstNodePath<'r>,
25883 ) {
25884 if self.enabled {
25885 <V as VisitAstPath>::visit_url_modifier(&mut self.visitor, node, __ast_path)
25886 } else {
25887 }
25888 }
25889
25890 #[inline]
25891 fn visit_url_modifiers<'ast: 'r, 'r>(
25892 &mut self,
25893 node: &'ast [UrlModifier],
25894 __ast_path: &mut AstNodePath<'r>,
25895 ) {
25896 if self.enabled {
25897 <V as VisitAstPath>::visit_url_modifiers(&mut self.visitor, node, __ast_path)
25898 } else {
25899 }
25900 }
25901
25902 #[inline]
25903 fn visit_url_value<'ast: 'r, 'r>(
25904 &mut self,
25905 node: &'ast UrlValue,
25906 __ast_path: &mut AstNodePath<'r>,
25907 ) {
25908 if self.enabled {
25909 <V as VisitAstPath>::visit_url_value(&mut self.visitor, node, __ast_path)
25910 } else {
25911 }
25912 }
25913
25914 #[inline]
25915 fn visit_url_value_raw<'ast: 'r, 'r>(
25916 &mut self,
25917 node: &'ast UrlValueRaw,
25918 __ast_path: &mut AstNodePath<'r>,
25919 ) {
25920 if self.enabled {
25921 <V as VisitAstPath>::visit_url_value_raw(&mut self.visitor, node, __ast_path)
25922 } else {
25923 }
25924 }
25925
25926 #[inline]
25927 fn visit_wq_name<'ast: 'r, 'r>(
25928 &mut self,
25929 node: &'ast WqName,
25930 __ast_path: &mut AstNodePath<'r>,
25931 ) {
25932 if self.enabled {
25933 <V as VisitAstPath>::visit_wq_name(&mut self.visitor, node, __ast_path)
25934 } else {
25935 }
25936 }
25937}
25938#[doc = r" A trait implemented for types that can be visited using a visitor."]
25939#[cfg(any(docsrs, feature = "path"))]
25940#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
25941pub trait VisitWithAstPath<V: ?Sized + VisitAstPath> {
25942 #[doc = r" Calls a visitor method (visitor.fold_xxx) with self."]
25943 fn visit_with_ast_path<'ast: 'r, 'r>(
25944 &'ast self,
25945 visitor: &mut V,
25946 __ast_path: &mut AstNodePath<'r>,
25947 );
25948 #[doc = r" Visit children nodes of `self`` with `visitor`."]
25949 fn visit_children_with_ast_path<'ast: 'r, 'r>(
25950 &'ast self,
25951 visitor: &mut V,
25952 __ast_path: &mut AstNodePath<'r>,
25953 );
25954}
25955#[cfg(any(docsrs, feature = "path"))]
25956#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
25957impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AbsoluteColorBase {
25958 #[doc = "Calls [VisitAstPath`::visit_absolute_color_base`] with `self`."]
25959 fn visit_with_ast_path<'ast: 'r, 'r>(
25960 &'ast self,
25961 visitor: &mut V,
25962 __ast_path: &mut AstNodePath<'r>,
25963 ) {
25964 <V as VisitAstPath>::visit_absolute_color_base(visitor, self, __ast_path)
25965 }
25966
25967 fn visit_children_with_ast_path<'ast: 'r, 'r>(
25968 &'ast self,
25969 visitor: &mut V,
25970 __ast_path: &mut AstNodePath<'r>,
25971 ) {
25972 match self {
25973 AbsoluteColorBase::HexColor { 0: _field_0 } => {
25974 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AbsoluteColorBase(
25975 self,
25976 self::fields::AbsoluteColorBaseField::HexColor,
25977 ));
25978 <HexColor as VisitWithAstPath<V>>::visit_with_ast_path(
25979 _field_0,
25980 visitor,
25981 &mut *__ast_path,
25982 );
25983 }
25984 AbsoluteColorBase::NamedColorOrTransparent { 0: _field_0 } => {
25985 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AbsoluteColorBase(
25986 self,
25987 self::fields::AbsoluteColorBaseField::NamedColorOrTransparent,
25988 ));
25989 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
25990 _field_0,
25991 visitor,
25992 &mut *__ast_path,
25993 );
25994 }
25995 AbsoluteColorBase::Function { 0: _field_0 } => {
25996 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AbsoluteColorBase(
25997 self,
25998 self::fields::AbsoluteColorBaseField::Function,
25999 ));
26000 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
26001 _field_0,
26002 visitor,
26003 &mut *__ast_path,
26004 );
26005 }
26006 }
26007 }
26008}
26009#[cfg(any(docsrs, feature = "path"))]
26010#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26011impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AlphaValue {
26012 #[doc = "Calls [VisitAstPath`::visit_alpha_value`] with `self`."]
26013 fn visit_with_ast_path<'ast: 'r, 'r>(
26014 &'ast self,
26015 visitor: &mut V,
26016 __ast_path: &mut AstNodePath<'r>,
26017 ) {
26018 <V as VisitAstPath>::visit_alpha_value(visitor, self, __ast_path)
26019 }
26020
26021 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26022 &'ast self,
26023 visitor: &mut V,
26024 __ast_path: &mut AstNodePath<'r>,
26025 ) {
26026 match self {
26027 AlphaValue::Number { 0: _field_0 } => {
26028 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AlphaValue(
26029 self,
26030 self::fields::AlphaValueField::Number,
26031 ));
26032 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
26033 _field_0,
26034 visitor,
26035 &mut *__ast_path,
26036 );
26037 }
26038 AlphaValue::Percentage { 0: _field_0 } => {
26039 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AlphaValue(
26040 self,
26041 self::fields::AlphaValueField::Percentage,
26042 ));
26043 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
26044 _field_0,
26045 visitor,
26046 &mut *__ast_path,
26047 );
26048 }
26049 }
26050 }
26051}
26052#[cfg(any(docsrs, feature = "path"))]
26053#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26054impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AnPlusB {
26055 #[doc = "Calls [VisitAstPath`::visit_an_plus_b`] with `self`."]
26056 fn visit_with_ast_path<'ast: 'r, 'r>(
26057 &'ast self,
26058 visitor: &mut V,
26059 __ast_path: &mut AstNodePath<'r>,
26060 ) {
26061 <V as VisitAstPath>::visit_an_plus_b(visitor, self, __ast_path)
26062 }
26063
26064 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26065 &'ast self,
26066 visitor: &mut V,
26067 __ast_path: &mut AstNodePath<'r>,
26068 ) {
26069 match self {
26070 AnPlusB::Ident { 0: _field_0 } => {
26071 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnPlusB(
26072 self,
26073 self::fields::AnPlusBField::Ident,
26074 ));
26075 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
26076 _field_0,
26077 visitor,
26078 &mut *__ast_path,
26079 );
26080 }
26081 AnPlusB::AnPlusBNotation { 0: _field_0 } => {
26082 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnPlusB(
26083 self,
26084 self::fields::AnPlusBField::AnPlusBNotation,
26085 ));
26086 <AnPlusBNotation as VisitWithAstPath<V>>::visit_with_ast_path(
26087 _field_0,
26088 visitor,
26089 &mut *__ast_path,
26090 );
26091 }
26092 }
26093 }
26094}
26095#[cfg(any(docsrs, feature = "path"))]
26096#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26097impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AnPlusBNotation {
26098 #[doc = "Calls [VisitAstPath`::visit_an_plus_b_notation`] with `self`."]
26099 fn visit_with_ast_path<'ast: 'r, 'r>(
26100 &'ast self,
26101 visitor: &mut V,
26102 __ast_path: &mut AstNodePath<'r>,
26103 ) {
26104 <V as VisitAstPath>::visit_an_plus_b_notation(visitor, self, __ast_path)
26105 }
26106
26107 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26108 &'ast self,
26109 visitor: &mut V,
26110 __ast_path: &mut AstNodePath<'r>,
26111 ) {
26112 match self {
26113 AnPlusBNotation {
26114 span,
26115 a,
26116 a_raw,
26117 b,
26118 b_raw,
26119 } => {
26120 {
26121 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnPlusBNotation(
26122 self,
26123 self::fields::AnPlusBNotationField::Span,
26124 ));
26125 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26126 span,
26127 visitor,
26128 &mut *__ast_path,
26129 )
26130 };
26131 {
26132 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnPlusBNotation(
26133 self,
26134 self::fields::AnPlusBNotationField::ARaw,
26135 ));
26136 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
26137 a_raw,
26138 visitor,
26139 &mut *__ast_path,
26140 )
26141 };
26142 {
26143 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnPlusBNotation(
26144 self,
26145 self::fields::AnPlusBNotationField::BRaw,
26146 ));
26147 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
26148 b_raw,
26149 visitor,
26150 &mut *__ast_path,
26151 )
26152 };
26153 }
26154 }
26155 }
26156}
26157#[cfg(any(docsrs, feature = "path"))]
26158#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26159impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Angle {
26160 #[doc = "Calls [VisitAstPath`::visit_angle`] with `self`."]
26161 fn visit_with_ast_path<'ast: 'r, 'r>(
26162 &'ast self,
26163 visitor: &mut V,
26164 __ast_path: &mut AstNodePath<'r>,
26165 ) {
26166 <V as VisitAstPath>::visit_angle(visitor, self, __ast_path)
26167 }
26168
26169 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26170 &'ast self,
26171 visitor: &mut V,
26172 __ast_path: &mut AstNodePath<'r>,
26173 ) {
26174 match self {
26175 Angle { span, value, unit } => {
26176 {
26177 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Angle(
26178 self,
26179 self::fields::AngleField::Span,
26180 ));
26181 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26182 span,
26183 visitor,
26184 &mut *__ast_path,
26185 )
26186 };
26187 {
26188 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Angle(
26189 self,
26190 self::fields::AngleField::Value,
26191 ));
26192 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
26193 value,
26194 visitor,
26195 &mut *__ast_path,
26196 )
26197 };
26198 {
26199 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Angle(
26200 self,
26201 self::fields::AngleField::Unit,
26202 ));
26203 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
26204 unit,
26205 visitor,
26206 &mut *__ast_path,
26207 )
26208 };
26209 }
26210 }
26211 }
26212}
26213#[cfg(any(docsrs, feature = "path"))]
26214#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26215impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AnglePercentage {
26216 #[doc = "Calls [VisitAstPath`::visit_angle_percentage`] with `self`."]
26217 fn visit_with_ast_path<'ast: 'r, 'r>(
26218 &'ast self,
26219 visitor: &mut V,
26220 __ast_path: &mut AstNodePath<'r>,
26221 ) {
26222 <V as VisitAstPath>::visit_angle_percentage(visitor, self, __ast_path)
26223 }
26224
26225 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26226 &'ast self,
26227 visitor: &mut V,
26228 __ast_path: &mut AstNodePath<'r>,
26229 ) {
26230 match self {
26231 AnglePercentage::Angle { 0: _field_0 } => {
26232 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnglePercentage(
26233 self,
26234 self::fields::AnglePercentageField::Angle,
26235 ));
26236 <Angle as VisitWithAstPath<V>>::visit_with_ast_path(
26237 _field_0,
26238 visitor,
26239 &mut *__ast_path,
26240 );
26241 }
26242 AnglePercentage::Percentage { 0: _field_0 } => {
26243 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnglePercentage(
26244 self,
26245 self::fields::AnglePercentageField::Percentage,
26246 ));
26247 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
26248 _field_0,
26249 visitor,
26250 &mut *__ast_path,
26251 );
26252 }
26253 }
26254 }
26255}
26256#[cfg(any(docsrs, feature = "path"))]
26257#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26258impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AnyNamespace {
26259 #[doc = "Calls [VisitAstPath`::visit_any_namespace`] with `self`."]
26260 fn visit_with_ast_path<'ast: 'r, 'r>(
26261 &'ast self,
26262 visitor: &mut V,
26263 __ast_path: &mut AstNodePath<'r>,
26264 ) {
26265 <V as VisitAstPath>::visit_any_namespace(visitor, self, __ast_path)
26266 }
26267
26268 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26269 &'ast self,
26270 visitor: &mut V,
26271 __ast_path: &mut AstNodePath<'r>,
26272 ) {
26273 match self {
26274 AnyNamespace { span } => {
26275 {
26276 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AnyNamespace(
26277 self,
26278 self::fields::AnyNamespaceField::Span,
26279 ));
26280 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26281 span,
26282 visitor,
26283 &mut *__ast_path,
26284 )
26285 };
26286 }
26287 }
26288 }
26289}
26290#[cfg(any(docsrs, feature = "path"))]
26291#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26292impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AtRule {
26293 #[doc = "Calls [VisitAstPath`::visit_at_rule`] with `self`."]
26294 fn visit_with_ast_path<'ast: 'r, 'r>(
26295 &'ast self,
26296 visitor: &mut V,
26297 __ast_path: &mut AstNodePath<'r>,
26298 ) {
26299 <V as VisitAstPath>::visit_at_rule(visitor, self, __ast_path)
26300 }
26301
26302 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26303 &'ast self,
26304 visitor: &mut V,
26305 __ast_path: &mut AstNodePath<'r>,
26306 ) {
26307 match self {
26308 AtRule {
26309 span,
26310 name,
26311 prelude,
26312 block,
26313 } => {
26314 {
26315 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRule(
26316 self,
26317 self::fields::AtRuleField::Span,
26318 ));
26319 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26320 span,
26321 visitor,
26322 &mut *__ast_path,
26323 )
26324 };
26325 {
26326 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRule(
26327 self,
26328 self::fields::AtRuleField::Name,
26329 ));
26330 <AtRuleName as VisitWithAstPath<V>>::visit_with_ast_path(
26331 name,
26332 visitor,
26333 &mut *__ast_path,
26334 )
26335 };
26336 {
26337 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRule(
26338 self,
26339 self::fields::AtRuleField::Prelude,
26340 ));
26341 <Option<Box<AtRulePrelude>> as VisitWithAstPath<V>>::visit_with_ast_path(
26342 prelude,
26343 visitor,
26344 &mut *__ast_path,
26345 )
26346 };
26347 {
26348 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRule(
26349 self,
26350 self::fields::AtRuleField::Block,
26351 ));
26352 <Option<SimpleBlock> as VisitWithAstPath<V>>::visit_with_ast_path(
26353 block,
26354 visitor,
26355 &mut *__ast_path,
26356 )
26357 };
26358 }
26359 }
26360 }
26361}
26362#[cfg(any(docsrs, feature = "path"))]
26363#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26364impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AtRuleName {
26365 #[doc = "Calls [VisitAstPath`::visit_at_rule_name`] with `self`."]
26366 fn visit_with_ast_path<'ast: 'r, 'r>(
26367 &'ast self,
26368 visitor: &mut V,
26369 __ast_path: &mut AstNodePath<'r>,
26370 ) {
26371 <V as VisitAstPath>::visit_at_rule_name(visitor, self, __ast_path)
26372 }
26373
26374 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26375 &'ast self,
26376 visitor: &mut V,
26377 __ast_path: &mut AstNodePath<'r>,
26378 ) {
26379 match self {
26380 AtRuleName::DashedIdent { 0: _field_0 } => {
26381 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRuleName(
26382 self,
26383 self::fields::AtRuleNameField::DashedIdent,
26384 ));
26385 <DashedIdent as VisitWithAstPath<V>>::visit_with_ast_path(
26386 _field_0,
26387 visitor,
26388 &mut *__ast_path,
26389 );
26390 }
26391 AtRuleName::Ident { 0: _field_0 } => {
26392 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRuleName(
26393 self,
26394 self::fields::AtRuleNameField::Ident,
26395 ));
26396 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
26397 _field_0,
26398 visitor,
26399 &mut *__ast_path,
26400 );
26401 }
26402 }
26403 }
26404}
26405#[cfg(any(docsrs, feature = "path"))]
26406#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26407impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AtRulePrelude {
26408 #[doc = "Calls [VisitAstPath`::visit_at_rule_prelude`] with `self`."]
26409 fn visit_with_ast_path<'ast: 'r, 'r>(
26410 &'ast self,
26411 visitor: &mut V,
26412 __ast_path: &mut AstNodePath<'r>,
26413 ) {
26414 <V as VisitAstPath>::visit_at_rule_prelude(visitor, self, __ast_path)
26415 }
26416
26417 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26418 &'ast self,
26419 visitor: &mut V,
26420 __ast_path: &mut AstNodePath<'r>,
26421 ) {
26422 match self {
26423 AtRulePrelude::ListOfComponentValues { 0: _field_0 } => {
26424 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26425 self,
26426 self::fields::AtRulePreludeField::ListOfComponentValues,
26427 ));
26428 <ListOfComponentValues as VisitWithAstPath<V>>::visit_with_ast_path(
26429 _field_0,
26430 visitor,
26431 &mut *__ast_path,
26432 );
26433 }
26434 AtRulePrelude::CharsetPrelude { 0: _field_0 } => {
26435 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26436 self,
26437 self::fields::AtRulePreludeField::CharsetPrelude,
26438 ));
26439 <Str as VisitWithAstPath<V>>::visit_with_ast_path(
26440 _field_0,
26441 visitor,
26442 &mut *__ast_path,
26443 );
26444 }
26445 AtRulePrelude::PropertyPrelude { 0: _field_0 } => {
26446 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26447 self,
26448 self::fields::AtRulePreludeField::PropertyPrelude,
26449 ));
26450 <CustomPropertyName as VisitWithAstPath<V>>::visit_with_ast_path(
26451 _field_0,
26452 visitor,
26453 &mut *__ast_path,
26454 );
26455 }
26456 AtRulePrelude::CounterStylePrelude { 0: _field_0 } => {
26457 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26458 self,
26459 self::fields::AtRulePreludeField::CounterStylePrelude,
26460 ));
26461 <CustomIdent as VisitWithAstPath<V>>::visit_with_ast_path(
26462 _field_0,
26463 visitor,
26464 &mut *__ast_path,
26465 );
26466 }
26467 AtRulePrelude::ColorProfilePrelude { 0: _field_0 } => {
26468 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26469 self,
26470 self::fields::AtRulePreludeField::ColorProfilePrelude,
26471 ));
26472 <ColorProfileName as VisitWithAstPath<V>>::visit_with_ast_path(
26473 _field_0,
26474 visitor,
26475 &mut *__ast_path,
26476 );
26477 }
26478 AtRulePrelude::DocumentPrelude { 0: _field_0 } => {
26479 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26480 self,
26481 self::fields::AtRulePreludeField::DocumentPrelude,
26482 ));
26483 <DocumentPrelude as VisitWithAstPath<V>>::visit_with_ast_path(
26484 _field_0,
26485 visitor,
26486 &mut *__ast_path,
26487 );
26488 }
26489 AtRulePrelude::FontPaletteValuesPrelude { 0: _field_0 } => {
26490 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26491 self,
26492 self::fields::AtRulePreludeField::FontPaletteValuesPrelude,
26493 ));
26494 <DashedIdent as VisitWithAstPath<V>>::visit_with_ast_path(
26495 _field_0,
26496 visitor,
26497 &mut *__ast_path,
26498 );
26499 }
26500 AtRulePrelude::FontFeatureValuesPrelude { 0: _field_0 } => {
26501 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26502 self,
26503 self::fields::AtRulePreludeField::FontFeatureValuesPrelude,
26504 ));
26505 <FontFeatureValuesPrelude as VisitWithAstPath<V>>::visit_with_ast_path(
26506 _field_0,
26507 visitor,
26508 &mut *__ast_path,
26509 );
26510 }
26511 AtRulePrelude::NestPrelude { 0: _field_0 } => {
26512 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26513 self,
26514 self::fields::AtRulePreludeField::NestPrelude,
26515 ));
26516 <SelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
26517 _field_0,
26518 visitor,
26519 &mut *__ast_path,
26520 );
26521 }
26522 AtRulePrelude::KeyframesPrelude { 0: _field_0 } => {
26523 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26524 self,
26525 self::fields::AtRulePreludeField::KeyframesPrelude,
26526 ));
26527 <KeyframesName as VisitWithAstPath<V>>::visit_with_ast_path(
26528 _field_0,
26529 visitor,
26530 &mut *__ast_path,
26531 );
26532 }
26533 AtRulePrelude::ImportPrelude { 0: _field_0 } => {
26534 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26535 self,
26536 self::fields::AtRulePreludeField::ImportPrelude,
26537 ));
26538 <ImportPrelude as VisitWithAstPath<V>>::visit_with_ast_path(
26539 _field_0,
26540 visitor,
26541 &mut *__ast_path,
26542 );
26543 }
26544 AtRulePrelude::NamespacePrelude { 0: _field_0 } => {
26545 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26546 self,
26547 self::fields::AtRulePreludeField::NamespacePrelude,
26548 ));
26549 <NamespacePrelude as VisitWithAstPath<V>>::visit_with_ast_path(
26550 _field_0,
26551 visitor,
26552 &mut *__ast_path,
26553 );
26554 }
26555 AtRulePrelude::MediaPrelude { 0: _field_0 } => {
26556 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26557 self,
26558 self::fields::AtRulePreludeField::MediaPrelude,
26559 ));
26560 <MediaQueryList as VisitWithAstPath<V>>::visit_with_ast_path(
26561 _field_0,
26562 visitor,
26563 &mut *__ast_path,
26564 );
26565 }
26566 AtRulePrelude::SupportsPrelude { 0: _field_0 } => {
26567 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26568 self,
26569 self::fields::AtRulePreludeField::SupportsPrelude,
26570 ));
26571 <SupportsCondition as VisitWithAstPath<V>>::visit_with_ast_path(
26572 _field_0,
26573 visitor,
26574 &mut *__ast_path,
26575 );
26576 }
26577 AtRulePrelude::PagePrelude { 0: _field_0 } => {
26578 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26579 self,
26580 self::fields::AtRulePreludeField::PagePrelude,
26581 ));
26582 <PageSelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
26583 _field_0,
26584 visitor,
26585 &mut *__ast_path,
26586 );
26587 }
26588 AtRulePrelude::LayerPrelude { 0: _field_0 } => {
26589 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26590 self,
26591 self::fields::AtRulePreludeField::LayerPrelude,
26592 ));
26593 <LayerPrelude as VisitWithAstPath<V>>::visit_with_ast_path(
26594 _field_0,
26595 visitor,
26596 &mut *__ast_path,
26597 );
26598 }
26599 AtRulePrelude::ContainerPrelude { 0: _field_0 } => {
26600 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26601 self,
26602 self::fields::AtRulePreludeField::ContainerPrelude,
26603 ));
26604 <ContainerCondition as VisitWithAstPath<V>>::visit_with_ast_path(
26605 _field_0,
26606 visitor,
26607 &mut *__ast_path,
26608 );
26609 }
26610 AtRulePrelude::CustomMediaPrelude { 0: _field_0 } => {
26611 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26612 self,
26613 self::fields::AtRulePreludeField::CustomMediaPrelude,
26614 ));
26615 <CustomMediaQuery as VisitWithAstPath<V>>::visit_with_ast_path(
26616 _field_0,
26617 visitor,
26618 &mut *__ast_path,
26619 );
26620 }
26621 AtRulePrelude::ScopePrelude { 0: _field_0 } => {
26622 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::AtRulePrelude(
26623 self,
26624 self::fields::AtRulePreludeField::ScopePrelude,
26625 ));
26626 <ScopeRange as VisitWithAstPath<V>>::visit_with_ast_path(
26627 _field_0,
26628 visitor,
26629 &mut *__ast_path,
26630 );
26631 }
26632 }
26633 }
26634}
26635#[cfg(any(docsrs, feature = "path"))]
26636#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26637impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AttributeSelector {
26638 #[doc = "Calls [VisitAstPath`::visit_attribute_selector`] with `self`."]
26639 fn visit_with_ast_path<'ast: 'r, 'r>(
26640 &'ast self,
26641 visitor: &mut V,
26642 __ast_path: &mut AstNodePath<'r>,
26643 ) {
26644 <V as VisitAstPath>::visit_attribute_selector(visitor, self, __ast_path)
26645 }
26646
26647 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26648 &'ast self,
26649 visitor: &mut V,
26650 __ast_path: &mut AstNodePath<'r>,
26651 ) {
26652 match self {
26653 AttributeSelector {
26654 span,
26655 name,
26656 matcher,
26657 value,
26658 modifier,
26659 } => {
26660 {
26661 let mut __ast_path =
26662 __ast_path.with_guard(AstParentNodeRef::AttributeSelector(
26663 self,
26664 self::fields::AttributeSelectorField::Span,
26665 ));
26666 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26667 span,
26668 visitor,
26669 &mut *__ast_path,
26670 )
26671 };
26672 {
26673 let mut __ast_path =
26674 __ast_path.with_guard(AstParentNodeRef::AttributeSelector(
26675 self,
26676 self::fields::AttributeSelectorField::Name,
26677 ));
26678 <WqName as VisitWithAstPath<V>>::visit_with_ast_path(
26679 name,
26680 visitor,
26681 &mut *__ast_path,
26682 )
26683 };
26684 {
26685 let mut __ast_path =
26686 __ast_path.with_guard(AstParentNodeRef::AttributeSelector(
26687 self,
26688 self::fields::AttributeSelectorField::Matcher,
26689 ));
26690 <Option<AttributeSelectorMatcher> as VisitWithAstPath<V>>::visit_with_ast_path(
26691 matcher,
26692 visitor,
26693 &mut *__ast_path,
26694 )
26695 };
26696 {
26697 let mut __ast_path =
26698 __ast_path.with_guard(AstParentNodeRef::AttributeSelector(
26699 self,
26700 self::fields::AttributeSelectorField::Value,
26701 ));
26702 <Option<AttributeSelectorValue> as VisitWithAstPath<V>>::visit_with_ast_path(
26703 value,
26704 visitor,
26705 &mut *__ast_path,
26706 )
26707 };
26708 {
26709 let mut __ast_path =
26710 __ast_path.with_guard(AstParentNodeRef::AttributeSelector(
26711 self,
26712 self::fields::AttributeSelectorField::Modifier,
26713 ));
26714 <Option<AttributeSelectorModifier> as VisitWithAstPath<V>>::visit_with_ast_path(
26715 modifier,
26716 visitor,
26717 &mut *__ast_path,
26718 )
26719 };
26720 }
26721 }
26722 }
26723}
26724#[cfg(any(docsrs, feature = "path"))]
26725#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26726impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AttributeSelectorMatcher {
26727 #[doc = "Calls [VisitAstPath`::visit_attribute_selector_matcher`] with `self`."]
26728 fn visit_with_ast_path<'ast: 'r, 'r>(
26729 &'ast self,
26730 visitor: &mut V,
26731 __ast_path: &mut AstNodePath<'r>,
26732 ) {
26733 <V as VisitAstPath>::visit_attribute_selector_matcher(visitor, self, __ast_path)
26734 }
26735
26736 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26737 &'ast self,
26738 visitor: &mut V,
26739 __ast_path: &mut AstNodePath<'r>,
26740 ) {
26741 match self {
26742 AttributeSelectorMatcher { span, value } => {
26743 {
26744 let mut __ast_path =
26745 __ast_path.with_guard(AstParentNodeRef::AttributeSelectorMatcher(
26746 self,
26747 self::fields::AttributeSelectorMatcherField::Span,
26748 ));
26749 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26750 span,
26751 visitor,
26752 &mut *__ast_path,
26753 )
26754 };
26755 {
26756 let mut __ast_path =
26757 __ast_path.with_guard(AstParentNodeRef::AttributeSelectorMatcher(
26758 self,
26759 self::fields::AttributeSelectorMatcherField::Value,
26760 ));
26761 <AttributeSelectorMatcherValue as VisitWithAstPath<V>>::visit_with_ast_path(
26762 value,
26763 visitor,
26764 &mut *__ast_path,
26765 )
26766 };
26767 }
26768 }
26769 }
26770}
26771#[cfg(any(docsrs, feature = "path"))]
26772#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26773impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AttributeSelectorMatcherValue {
26774 #[doc = "Calls [VisitAstPath`::visit_attribute_selector_matcher_value`] with `self`."]
26775 fn visit_with_ast_path<'ast: 'r, 'r>(
26776 &'ast self,
26777 visitor: &mut V,
26778 __ast_path: &mut AstNodePath<'r>,
26779 ) {
26780 <V as VisitAstPath>::visit_attribute_selector_matcher_value(visitor, self, __ast_path)
26781 }
26782
26783 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26784 &'ast self,
26785 visitor: &mut V,
26786 __ast_path: &mut AstNodePath<'r>,
26787 ) {
26788 match self {
26789 AttributeSelectorMatcherValue::Equals => {}
26790 AttributeSelectorMatcherValue::Tilde => {}
26791 AttributeSelectorMatcherValue::Bar => {}
26792 AttributeSelectorMatcherValue::Caret => {}
26793 AttributeSelectorMatcherValue::Dollar => {}
26794 AttributeSelectorMatcherValue::Asterisk => {}
26795 }
26796 }
26797}
26798#[cfg(any(docsrs, feature = "path"))]
26799#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26800impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AttributeSelectorModifier {
26801 #[doc = "Calls [VisitAstPath`::visit_attribute_selector_modifier`] with `self`."]
26802 fn visit_with_ast_path<'ast: 'r, 'r>(
26803 &'ast self,
26804 visitor: &mut V,
26805 __ast_path: &mut AstNodePath<'r>,
26806 ) {
26807 <V as VisitAstPath>::visit_attribute_selector_modifier(visitor, self, __ast_path)
26808 }
26809
26810 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26811 &'ast self,
26812 visitor: &mut V,
26813 __ast_path: &mut AstNodePath<'r>,
26814 ) {
26815 match self {
26816 AttributeSelectorModifier { span, value } => {
26817 {
26818 let mut __ast_path =
26819 __ast_path.with_guard(AstParentNodeRef::AttributeSelectorModifier(
26820 self,
26821 self::fields::AttributeSelectorModifierField::Span,
26822 ));
26823 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26824 span,
26825 visitor,
26826 &mut *__ast_path,
26827 )
26828 };
26829 {
26830 let mut __ast_path =
26831 __ast_path.with_guard(AstParentNodeRef::AttributeSelectorModifier(
26832 self,
26833 self::fields::AttributeSelectorModifierField::Value,
26834 ));
26835 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
26836 value,
26837 visitor,
26838 &mut *__ast_path,
26839 )
26840 };
26841 }
26842 }
26843 }
26844}
26845#[cfg(any(docsrs, feature = "path"))]
26846#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26847impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for AttributeSelectorValue {
26848 #[doc = "Calls [VisitAstPath`::visit_attribute_selector_value`] with `self`."]
26849 fn visit_with_ast_path<'ast: 'r, 'r>(
26850 &'ast self,
26851 visitor: &mut V,
26852 __ast_path: &mut AstNodePath<'r>,
26853 ) {
26854 <V as VisitAstPath>::visit_attribute_selector_value(visitor, self, __ast_path)
26855 }
26856
26857 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26858 &'ast self,
26859 visitor: &mut V,
26860 __ast_path: &mut AstNodePath<'r>,
26861 ) {
26862 match self {
26863 AttributeSelectorValue::Str { 0: _field_0 } => {
26864 let mut __ast_path =
26865 __ast_path.with_guard(AstParentNodeRef::AttributeSelectorValue(
26866 self,
26867 self::fields::AttributeSelectorValueField::Str,
26868 ));
26869 <Str as VisitWithAstPath<V>>::visit_with_ast_path(
26870 _field_0,
26871 visitor,
26872 &mut *__ast_path,
26873 );
26874 }
26875 AttributeSelectorValue::Ident { 0: _field_0 } => {
26876 let mut __ast_path =
26877 __ast_path.with_guard(AstParentNodeRef::AttributeSelectorValue(
26878 self,
26879 self::fields::AttributeSelectorValueField::Ident,
26880 ));
26881 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
26882 _field_0,
26883 visitor,
26884 &mut *__ast_path,
26885 );
26886 }
26887 }
26888 }
26889}
26890#[cfg(any(docsrs, feature = "path"))]
26891#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26892impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for BinOp {
26893 #[doc = "Calls [VisitAstPath`::visit_bin_op`] with `self`."]
26894 fn visit_with_ast_path<'ast: 'r, 'r>(
26895 &'ast self,
26896 visitor: &mut V,
26897 __ast_path: &mut AstNodePath<'r>,
26898 ) {
26899 <V as VisitAstPath>::visit_bin_op(visitor, self, __ast_path)
26900 }
26901
26902 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26903 &'ast self,
26904 visitor: &mut V,
26905 __ast_path: &mut AstNodePath<'r>,
26906 ) {
26907 match self {
26908 BinOp::Add => {}
26909 BinOp::Sub => {}
26910 BinOp::Mul => {}
26911 BinOp::Div => {}
26912 }
26913 }
26914}
26915#[cfg(any(docsrs, feature = "path"))]
26916#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26917impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CalcOperator {
26918 #[doc = "Calls [VisitAstPath`::visit_calc_operator`] with `self`."]
26919 fn visit_with_ast_path<'ast: 'r, 'r>(
26920 &'ast self,
26921 visitor: &mut V,
26922 __ast_path: &mut AstNodePath<'r>,
26923 ) {
26924 <V as VisitAstPath>::visit_calc_operator(visitor, self, __ast_path)
26925 }
26926
26927 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26928 &'ast self,
26929 visitor: &mut V,
26930 __ast_path: &mut AstNodePath<'r>,
26931 ) {
26932 match self {
26933 CalcOperator { span, value } => {
26934 {
26935 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcOperator(
26936 self,
26937 self::fields::CalcOperatorField::Span,
26938 ));
26939 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
26940 span,
26941 visitor,
26942 &mut *__ast_path,
26943 )
26944 };
26945 {
26946 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcOperator(
26947 self,
26948 self::fields::CalcOperatorField::Value,
26949 ));
26950 <CalcOperatorType as VisitWithAstPath<V>>::visit_with_ast_path(
26951 value,
26952 visitor,
26953 &mut *__ast_path,
26954 )
26955 };
26956 }
26957 }
26958 }
26959}
26960#[cfg(any(docsrs, feature = "path"))]
26961#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26962impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CalcOperatorType {
26963 #[doc = "Calls [VisitAstPath`::visit_calc_operator_type`] with `self`."]
26964 fn visit_with_ast_path<'ast: 'r, 'r>(
26965 &'ast self,
26966 visitor: &mut V,
26967 __ast_path: &mut AstNodePath<'r>,
26968 ) {
26969 <V as VisitAstPath>::visit_calc_operator_type(visitor, self, __ast_path)
26970 }
26971
26972 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26973 &'ast self,
26974 visitor: &mut V,
26975 __ast_path: &mut AstNodePath<'r>,
26976 ) {
26977 match self {
26978 CalcOperatorType::Add => {}
26979 CalcOperatorType::Sub => {}
26980 CalcOperatorType::Mul => {}
26981 CalcOperatorType::Div => {}
26982 }
26983 }
26984}
26985#[cfg(any(docsrs, feature = "path"))]
26986#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
26987impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CalcProduct {
26988 #[doc = "Calls [VisitAstPath`::visit_calc_product`] with `self`."]
26989 fn visit_with_ast_path<'ast: 'r, 'r>(
26990 &'ast self,
26991 visitor: &mut V,
26992 __ast_path: &mut AstNodePath<'r>,
26993 ) {
26994 <V as VisitAstPath>::visit_calc_product(visitor, self, __ast_path)
26995 }
26996
26997 fn visit_children_with_ast_path<'ast: 'r, 'r>(
26998 &'ast self,
26999 visitor: &mut V,
27000 __ast_path: &mut AstNodePath<'r>,
27001 ) {
27002 match self {
27003 CalcProduct { span, expressions } => {
27004 {
27005 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcProduct(
27006 self,
27007 self::fields::CalcProductField::Span,
27008 ));
27009 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
27010 span,
27011 visitor,
27012 &mut *__ast_path,
27013 )
27014 };
27015 {
27016 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcProduct(
27017 self,
27018 self::fields::CalcProductField::Expressions(usize::MAX),
27019 ));
27020 <Vec<CalcValueOrOperator> as VisitWithAstPath<V>>::visit_with_ast_path(
27021 expressions,
27022 visitor,
27023 &mut *__ast_path,
27024 )
27025 };
27026 }
27027 }
27028 }
27029}
27030#[cfg(any(docsrs, feature = "path"))]
27031#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27032impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CalcProductOrOperator {
27033 #[doc = "Calls [VisitAstPath`::visit_calc_product_or_operator`] with `self`."]
27034 fn visit_with_ast_path<'ast: 'r, 'r>(
27035 &'ast self,
27036 visitor: &mut V,
27037 __ast_path: &mut AstNodePath<'r>,
27038 ) {
27039 <V as VisitAstPath>::visit_calc_product_or_operator(visitor, self, __ast_path)
27040 }
27041
27042 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27043 &'ast self,
27044 visitor: &mut V,
27045 __ast_path: &mut AstNodePath<'r>,
27046 ) {
27047 match self {
27048 CalcProductOrOperator::Product { 0: _field_0 } => {
27049 let mut __ast_path =
27050 __ast_path.with_guard(AstParentNodeRef::CalcProductOrOperator(
27051 self,
27052 self::fields::CalcProductOrOperatorField::Product,
27053 ));
27054 <CalcProduct as VisitWithAstPath<V>>::visit_with_ast_path(
27055 _field_0,
27056 visitor,
27057 &mut *__ast_path,
27058 );
27059 }
27060 CalcProductOrOperator::Operator { 0: _field_0 } => {
27061 let mut __ast_path =
27062 __ast_path.with_guard(AstParentNodeRef::CalcProductOrOperator(
27063 self,
27064 self::fields::CalcProductOrOperatorField::Operator,
27065 ));
27066 <CalcOperator as VisitWithAstPath<V>>::visit_with_ast_path(
27067 _field_0,
27068 visitor,
27069 &mut *__ast_path,
27070 );
27071 }
27072 }
27073 }
27074}
27075#[cfg(any(docsrs, feature = "path"))]
27076#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27077impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CalcSum {
27078 #[doc = "Calls [VisitAstPath`::visit_calc_sum`] with `self`."]
27079 fn visit_with_ast_path<'ast: 'r, 'r>(
27080 &'ast self,
27081 visitor: &mut V,
27082 __ast_path: &mut AstNodePath<'r>,
27083 ) {
27084 <V as VisitAstPath>::visit_calc_sum(visitor, self, __ast_path)
27085 }
27086
27087 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27088 &'ast self,
27089 visitor: &mut V,
27090 __ast_path: &mut AstNodePath<'r>,
27091 ) {
27092 match self {
27093 CalcSum { span, expressions } => {
27094 {
27095 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcSum(
27096 self,
27097 self::fields::CalcSumField::Span,
27098 ));
27099 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
27100 span,
27101 visitor,
27102 &mut *__ast_path,
27103 )
27104 };
27105 {
27106 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcSum(
27107 self,
27108 self::fields::CalcSumField::Expressions(usize::MAX),
27109 ));
27110 <Vec<CalcProductOrOperator> as VisitWithAstPath<V>>::visit_with_ast_path(
27111 expressions,
27112 visitor,
27113 &mut *__ast_path,
27114 )
27115 };
27116 }
27117 }
27118 }
27119}
27120#[cfg(any(docsrs, feature = "path"))]
27121#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27122impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CalcValue {
27123 #[doc = "Calls [VisitAstPath`::visit_calc_value`] with `self`."]
27124 fn visit_with_ast_path<'ast: 'r, 'r>(
27125 &'ast self,
27126 visitor: &mut V,
27127 __ast_path: &mut AstNodePath<'r>,
27128 ) {
27129 <V as VisitAstPath>::visit_calc_value(visitor, self, __ast_path)
27130 }
27131
27132 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27133 &'ast self,
27134 visitor: &mut V,
27135 __ast_path: &mut AstNodePath<'r>,
27136 ) {
27137 match self {
27138 CalcValue::Number { 0: _field_0 } => {
27139 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValue(
27140 self,
27141 self::fields::CalcValueField::Number,
27142 ));
27143 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
27144 _field_0,
27145 visitor,
27146 &mut *__ast_path,
27147 );
27148 }
27149 CalcValue::Dimension { 0: _field_0 } => {
27150 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValue(
27151 self,
27152 self::fields::CalcValueField::Dimension,
27153 ));
27154 <Dimension as VisitWithAstPath<V>>::visit_with_ast_path(
27155 _field_0,
27156 visitor,
27157 &mut *__ast_path,
27158 );
27159 }
27160 CalcValue::Percentage { 0: _field_0 } => {
27161 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValue(
27162 self,
27163 self::fields::CalcValueField::Percentage,
27164 ));
27165 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
27166 _field_0,
27167 visitor,
27168 &mut *__ast_path,
27169 );
27170 }
27171 CalcValue::Constant { 0: _field_0 } => {
27172 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValue(
27173 self,
27174 self::fields::CalcValueField::Constant,
27175 ));
27176 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
27177 _field_0,
27178 visitor,
27179 &mut *__ast_path,
27180 );
27181 }
27182 CalcValue::Sum { 0: _field_0 } => {
27183 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValue(
27184 self,
27185 self::fields::CalcValueField::Sum,
27186 ));
27187 <CalcSum as VisitWithAstPath<V>>::visit_with_ast_path(
27188 _field_0,
27189 visitor,
27190 &mut *__ast_path,
27191 );
27192 }
27193 CalcValue::Function { 0: _field_0 } => {
27194 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValue(
27195 self,
27196 self::fields::CalcValueField::Function,
27197 ));
27198 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
27199 _field_0,
27200 visitor,
27201 &mut *__ast_path,
27202 );
27203 }
27204 }
27205 }
27206}
27207#[cfg(any(docsrs, feature = "path"))]
27208#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27209impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CalcValueOrOperator {
27210 #[doc = "Calls [VisitAstPath`::visit_calc_value_or_operator`] with `self`."]
27211 fn visit_with_ast_path<'ast: 'r, 'r>(
27212 &'ast self,
27213 visitor: &mut V,
27214 __ast_path: &mut AstNodePath<'r>,
27215 ) {
27216 <V as VisitAstPath>::visit_calc_value_or_operator(visitor, self, __ast_path)
27217 }
27218
27219 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27220 &'ast self,
27221 visitor: &mut V,
27222 __ast_path: &mut AstNodePath<'r>,
27223 ) {
27224 match self {
27225 CalcValueOrOperator::Value { 0: _field_0 } => {
27226 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValueOrOperator(
27227 self,
27228 self::fields::CalcValueOrOperatorField::Value,
27229 ));
27230 <CalcValue as VisitWithAstPath<V>>::visit_with_ast_path(
27231 _field_0,
27232 visitor,
27233 &mut *__ast_path,
27234 );
27235 }
27236 CalcValueOrOperator::Operator { 0: _field_0 } => {
27237 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CalcValueOrOperator(
27238 self,
27239 self::fields::CalcValueOrOperatorField::Operator,
27240 ));
27241 <CalcOperator as VisitWithAstPath<V>>::visit_with_ast_path(
27242 _field_0,
27243 visitor,
27244 &mut *__ast_path,
27245 );
27246 }
27247 }
27248 }
27249}
27250#[cfg(any(docsrs, feature = "path"))]
27251#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27252impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ClassSelector {
27253 #[doc = "Calls [VisitAstPath`::visit_class_selector`] with `self`."]
27254 fn visit_with_ast_path<'ast: 'r, 'r>(
27255 &'ast self,
27256 visitor: &mut V,
27257 __ast_path: &mut AstNodePath<'r>,
27258 ) {
27259 <V as VisitAstPath>::visit_class_selector(visitor, self, __ast_path)
27260 }
27261
27262 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27263 &'ast self,
27264 visitor: &mut V,
27265 __ast_path: &mut AstNodePath<'r>,
27266 ) {
27267 match self {
27268 ClassSelector { span, text } => {
27269 {
27270 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ClassSelector(
27271 self,
27272 self::fields::ClassSelectorField::Span,
27273 ));
27274 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
27275 span,
27276 visitor,
27277 &mut *__ast_path,
27278 )
27279 };
27280 {
27281 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ClassSelector(
27282 self,
27283 self::fields::ClassSelectorField::Text,
27284 ));
27285 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
27286 text,
27287 visitor,
27288 &mut *__ast_path,
27289 )
27290 };
27291 }
27292 }
27293 }
27294}
27295#[cfg(any(docsrs, feature = "path"))]
27296#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27297impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CmykComponent {
27298 #[doc = "Calls [VisitAstPath`::visit_cmyk_component`] with `self`."]
27299 fn visit_with_ast_path<'ast: 'r, 'r>(
27300 &'ast self,
27301 visitor: &mut V,
27302 __ast_path: &mut AstNodePath<'r>,
27303 ) {
27304 <V as VisitAstPath>::visit_cmyk_component(visitor, self, __ast_path)
27305 }
27306
27307 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27308 &'ast self,
27309 visitor: &mut V,
27310 __ast_path: &mut AstNodePath<'r>,
27311 ) {
27312 match self {
27313 CmykComponent::Number { 0: _field_0 } => {
27314 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CmykComponent(
27315 self,
27316 self::fields::CmykComponentField::Number,
27317 ));
27318 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
27319 _field_0,
27320 visitor,
27321 &mut *__ast_path,
27322 );
27323 }
27324 CmykComponent::Percentage { 0: _field_0 } => {
27325 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CmykComponent(
27326 self,
27327 self::fields::CmykComponentField::Percentage,
27328 ));
27329 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
27330 _field_0,
27331 visitor,
27332 &mut *__ast_path,
27333 );
27334 }
27335 CmykComponent::Function { 0: _field_0 } => {
27336 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CmykComponent(
27337 self,
27338 self::fields::CmykComponentField::Function,
27339 ));
27340 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
27341 _field_0,
27342 visitor,
27343 &mut *__ast_path,
27344 );
27345 }
27346 }
27347 }
27348}
27349#[cfg(any(docsrs, feature = "path"))]
27350#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27351impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Color {
27352 #[doc = "Calls [VisitAstPath`::visit_color`] with `self`."]
27353 fn visit_with_ast_path<'ast: 'r, 'r>(
27354 &'ast self,
27355 visitor: &mut V,
27356 __ast_path: &mut AstNodePath<'r>,
27357 ) {
27358 <V as VisitAstPath>::visit_color(visitor, self, __ast_path)
27359 }
27360
27361 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27362 &'ast self,
27363 visitor: &mut V,
27364 __ast_path: &mut AstNodePath<'r>,
27365 ) {
27366 match self {
27367 Color::AbsoluteColorBase { 0: _field_0 } => {
27368 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Color(
27369 self,
27370 self::fields::ColorField::AbsoluteColorBase,
27371 ));
27372 <AbsoluteColorBase as VisitWithAstPath<V>>::visit_with_ast_path(
27373 _field_0,
27374 visitor,
27375 &mut *__ast_path,
27376 );
27377 }
27378 Color::CurrentColorOrSystemColor { 0: _field_0 } => {
27379 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Color(
27380 self,
27381 self::fields::ColorField::CurrentColorOrSystemColor,
27382 ));
27383 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
27384 _field_0,
27385 visitor,
27386 &mut *__ast_path,
27387 );
27388 }
27389 Color::Function { 0: _field_0 } => {
27390 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Color(
27391 self,
27392 self::fields::ColorField::Function,
27393 ));
27394 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
27395 _field_0,
27396 visitor,
27397 &mut *__ast_path,
27398 );
27399 }
27400 }
27401 }
27402}
27403#[cfg(any(docsrs, feature = "path"))]
27404#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27405impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ColorProfileName {
27406 #[doc = "Calls [VisitAstPath`::visit_color_profile_name`] with `self`."]
27407 fn visit_with_ast_path<'ast: 'r, 'r>(
27408 &'ast self,
27409 visitor: &mut V,
27410 __ast_path: &mut AstNodePath<'r>,
27411 ) {
27412 <V as VisitAstPath>::visit_color_profile_name(visitor, self, __ast_path)
27413 }
27414
27415 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27416 &'ast self,
27417 visitor: &mut V,
27418 __ast_path: &mut AstNodePath<'r>,
27419 ) {
27420 match self {
27421 ColorProfileName::DashedIdent { 0: _field_0 } => {
27422 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ColorProfileName(
27423 self,
27424 self::fields::ColorProfileNameField::DashedIdent,
27425 ));
27426 <DashedIdent as VisitWithAstPath<V>>::visit_with_ast_path(
27427 _field_0,
27428 visitor,
27429 &mut *__ast_path,
27430 );
27431 }
27432 ColorProfileName::Ident { 0: _field_0 } => {
27433 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ColorProfileName(
27434 self,
27435 self::fields::ColorProfileNameField::Ident,
27436 ));
27437 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
27438 _field_0,
27439 visitor,
27440 &mut *__ast_path,
27441 );
27442 }
27443 }
27444 }
27445}
27446#[cfg(any(docsrs, feature = "path"))]
27447#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27448impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Combinator {
27449 #[doc = "Calls [VisitAstPath`::visit_combinator`] with `self`."]
27450 fn visit_with_ast_path<'ast: 'r, 'r>(
27451 &'ast self,
27452 visitor: &mut V,
27453 __ast_path: &mut AstNodePath<'r>,
27454 ) {
27455 <V as VisitAstPath>::visit_combinator(visitor, self, __ast_path)
27456 }
27457
27458 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27459 &'ast self,
27460 visitor: &mut V,
27461 __ast_path: &mut AstNodePath<'r>,
27462 ) {
27463 match self {
27464 Combinator { span, value } => {
27465 {
27466 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Combinator(
27467 self,
27468 self::fields::CombinatorField::Span,
27469 ));
27470 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
27471 span,
27472 visitor,
27473 &mut *__ast_path,
27474 )
27475 };
27476 {
27477 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Combinator(
27478 self,
27479 self::fields::CombinatorField::Value,
27480 ));
27481 <CombinatorValue as VisitWithAstPath<V>>::visit_with_ast_path(
27482 value,
27483 visitor,
27484 &mut *__ast_path,
27485 )
27486 };
27487 }
27488 }
27489 }
27490}
27491#[cfg(any(docsrs, feature = "path"))]
27492#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27493impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CombinatorValue {
27494 #[doc = "Calls [VisitAstPath`::visit_combinator_value`] with `self`."]
27495 fn visit_with_ast_path<'ast: 'r, 'r>(
27496 &'ast self,
27497 visitor: &mut V,
27498 __ast_path: &mut AstNodePath<'r>,
27499 ) {
27500 <V as VisitAstPath>::visit_combinator_value(visitor, self, __ast_path)
27501 }
27502
27503 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27504 &'ast self,
27505 visitor: &mut V,
27506 __ast_path: &mut AstNodePath<'r>,
27507 ) {
27508 match self {
27509 CombinatorValue::Descendant => {}
27510 CombinatorValue::NextSibling => {}
27511 CombinatorValue::Child => {}
27512 CombinatorValue::LaterSibling => {}
27513 CombinatorValue::Column => {}
27514 }
27515 }
27516}
27517#[cfg(any(docsrs, feature = "path"))]
27518#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27519impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ComplexSelector {
27520 #[doc = "Calls [VisitAstPath`::visit_complex_selector`] with `self`."]
27521 fn visit_with_ast_path<'ast: 'r, 'r>(
27522 &'ast self,
27523 visitor: &mut V,
27524 __ast_path: &mut AstNodePath<'r>,
27525 ) {
27526 <V as VisitAstPath>::visit_complex_selector(visitor, self, __ast_path)
27527 }
27528
27529 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27530 &'ast self,
27531 visitor: &mut V,
27532 __ast_path: &mut AstNodePath<'r>,
27533 ) {
27534 match self {
27535 ComplexSelector { span, children } => {
27536 {
27537 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComplexSelector(
27538 self,
27539 self::fields::ComplexSelectorField::Span,
27540 ));
27541 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
27542 span,
27543 visitor,
27544 &mut *__ast_path,
27545 )
27546 };
27547 {
27548 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComplexSelector(
27549 self,
27550 self::fields::ComplexSelectorField::Children(usize::MAX),
27551 ));
27552 <Vec<ComplexSelectorChildren> as VisitWithAstPath<V>>::visit_with_ast_path(
27553 children,
27554 visitor,
27555 &mut *__ast_path,
27556 )
27557 };
27558 }
27559 }
27560 }
27561}
27562#[cfg(any(docsrs, feature = "path"))]
27563#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27564impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ComplexSelectorChildren {
27565 #[doc = "Calls [VisitAstPath`::visit_complex_selector_children`] with `self`."]
27566 fn visit_with_ast_path<'ast: 'r, 'r>(
27567 &'ast self,
27568 visitor: &mut V,
27569 __ast_path: &mut AstNodePath<'r>,
27570 ) {
27571 <V as VisitAstPath>::visit_complex_selector_children(visitor, self, __ast_path)
27572 }
27573
27574 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27575 &'ast self,
27576 visitor: &mut V,
27577 __ast_path: &mut AstNodePath<'r>,
27578 ) {
27579 match self {
27580 ComplexSelectorChildren::CompoundSelector { 0: _field_0 } => {
27581 let mut __ast_path =
27582 __ast_path.with_guard(AstParentNodeRef::ComplexSelectorChildren(
27583 self,
27584 self::fields::ComplexSelectorChildrenField::CompoundSelector,
27585 ));
27586 <CompoundSelector as VisitWithAstPath<V>>::visit_with_ast_path(
27587 _field_0,
27588 visitor,
27589 &mut *__ast_path,
27590 );
27591 }
27592 ComplexSelectorChildren::Combinator { 0: _field_0 } => {
27593 let mut __ast_path =
27594 __ast_path.with_guard(AstParentNodeRef::ComplexSelectorChildren(
27595 self,
27596 self::fields::ComplexSelectorChildrenField::Combinator,
27597 ));
27598 <Combinator as VisitWithAstPath<V>>::visit_with_ast_path(
27599 _field_0,
27600 visitor,
27601 &mut *__ast_path,
27602 );
27603 }
27604 }
27605 }
27606}
27607#[cfg(any(docsrs, feature = "path"))]
27608#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27609impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ComponentValue {
27610 #[doc = "Calls [VisitAstPath`::visit_component_value`] with `self`."]
27611 fn visit_with_ast_path<'ast: 'r, 'r>(
27612 &'ast self,
27613 visitor: &mut V,
27614 __ast_path: &mut AstNodePath<'r>,
27615 ) {
27616 <V as VisitAstPath>::visit_component_value(visitor, self, __ast_path)
27617 }
27618
27619 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27620 &'ast self,
27621 visitor: &mut V,
27622 __ast_path: &mut AstNodePath<'r>,
27623 ) {
27624 match self {
27625 ComponentValue::PreservedToken { 0: _field_0 } => {
27626 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27627 self,
27628 self::fields::ComponentValueField::PreservedToken,
27629 ));
27630 <Box<TokenAndSpan> as VisitWithAstPath<V>>::visit_with_ast_path(
27631 _field_0,
27632 visitor,
27633 &mut *__ast_path,
27634 );
27635 }
27636 ComponentValue::Function { 0: _field_0 } => {
27637 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27638 self,
27639 self::fields::ComponentValueField::Function,
27640 ));
27641 <Box<Function> as VisitWithAstPath<V>>::visit_with_ast_path(
27642 _field_0,
27643 visitor,
27644 &mut *__ast_path,
27645 );
27646 }
27647 ComponentValue::SimpleBlock { 0: _field_0 } => {
27648 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27649 self,
27650 self::fields::ComponentValueField::SimpleBlock,
27651 ));
27652 <Box<SimpleBlock> as VisitWithAstPath<V>>::visit_with_ast_path(
27653 _field_0,
27654 visitor,
27655 &mut *__ast_path,
27656 );
27657 }
27658 ComponentValue::AtRule { 0: _field_0 } => {
27659 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27660 self,
27661 self::fields::ComponentValueField::AtRule,
27662 ));
27663 <Box<AtRule> as VisitWithAstPath<V>>::visit_with_ast_path(
27664 _field_0,
27665 visitor,
27666 &mut *__ast_path,
27667 );
27668 }
27669 ComponentValue::QualifiedRule { 0: _field_0 } => {
27670 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27671 self,
27672 self::fields::ComponentValueField::QualifiedRule,
27673 ));
27674 <Box<QualifiedRule> as VisitWithAstPath<V>>::visit_with_ast_path(
27675 _field_0,
27676 visitor,
27677 &mut *__ast_path,
27678 );
27679 }
27680 ComponentValue::ListOfComponentValues { 0: _field_0 } => {
27681 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27682 self,
27683 self::fields::ComponentValueField::ListOfComponentValues,
27684 ));
27685 <Box<ListOfComponentValues> as VisitWithAstPath<V>>::visit_with_ast_path(
27686 _field_0,
27687 visitor,
27688 &mut *__ast_path,
27689 );
27690 }
27691 ComponentValue::KeyframeBlock { 0: _field_0 } => {
27692 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27693 self,
27694 self::fields::ComponentValueField::KeyframeBlock,
27695 ));
27696 <Box<KeyframeBlock> as VisitWithAstPath<V>>::visit_with_ast_path(
27697 _field_0,
27698 visitor,
27699 &mut *__ast_path,
27700 );
27701 }
27702 ComponentValue::Ident { 0: _field_0 } => {
27703 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27704 self,
27705 self::fields::ComponentValueField::Ident,
27706 ));
27707 <Box<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
27708 _field_0,
27709 visitor,
27710 &mut *__ast_path,
27711 );
27712 }
27713 ComponentValue::DashedIdent { 0: _field_0 } => {
27714 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27715 self,
27716 self::fields::ComponentValueField::DashedIdent,
27717 ));
27718 <Box<DashedIdent> as VisitWithAstPath<V>>::visit_with_ast_path(
27719 _field_0,
27720 visitor,
27721 &mut *__ast_path,
27722 );
27723 }
27724 ComponentValue::Str { 0: _field_0 } => {
27725 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27726 self,
27727 self::fields::ComponentValueField::Str,
27728 ));
27729 <Box<Str> as VisitWithAstPath<V>>::visit_with_ast_path(
27730 _field_0,
27731 visitor,
27732 &mut *__ast_path,
27733 );
27734 }
27735 ComponentValue::Url { 0: _field_0 } => {
27736 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27737 self,
27738 self::fields::ComponentValueField::Url,
27739 ));
27740 <Box<Url> as VisitWithAstPath<V>>::visit_with_ast_path(
27741 _field_0,
27742 visitor,
27743 &mut *__ast_path,
27744 );
27745 }
27746 ComponentValue::Integer { 0: _field_0 } => {
27747 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27748 self,
27749 self::fields::ComponentValueField::Integer,
27750 ));
27751 <Box<Integer> as VisitWithAstPath<V>>::visit_with_ast_path(
27752 _field_0,
27753 visitor,
27754 &mut *__ast_path,
27755 );
27756 }
27757 ComponentValue::Number { 0: _field_0 } => {
27758 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27759 self,
27760 self::fields::ComponentValueField::Number,
27761 ));
27762 <Box<Number> as VisitWithAstPath<V>>::visit_with_ast_path(
27763 _field_0,
27764 visitor,
27765 &mut *__ast_path,
27766 );
27767 }
27768 ComponentValue::Percentage { 0: _field_0 } => {
27769 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27770 self,
27771 self::fields::ComponentValueField::Percentage,
27772 ));
27773 <Box<Percentage> as VisitWithAstPath<V>>::visit_with_ast_path(
27774 _field_0,
27775 visitor,
27776 &mut *__ast_path,
27777 );
27778 }
27779 ComponentValue::Dimension { 0: _field_0 } => {
27780 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27781 self,
27782 self::fields::ComponentValueField::Dimension,
27783 ));
27784 <Box<Dimension> as VisitWithAstPath<V>>::visit_with_ast_path(
27785 _field_0,
27786 visitor,
27787 &mut *__ast_path,
27788 );
27789 }
27790 ComponentValue::LengthPercentage { 0: _field_0 } => {
27791 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27792 self,
27793 self::fields::ComponentValueField::LengthPercentage,
27794 ));
27795 <Box<LengthPercentage> as VisitWithAstPath<V>>::visit_with_ast_path(
27796 _field_0,
27797 visitor,
27798 &mut *__ast_path,
27799 );
27800 }
27801 ComponentValue::FrequencyPercentage { 0: _field_0 } => {
27802 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27803 self,
27804 self::fields::ComponentValueField::FrequencyPercentage,
27805 ));
27806 <Box<FrequencyPercentage> as VisitWithAstPath<V>>::visit_with_ast_path(
27807 _field_0,
27808 visitor,
27809 &mut *__ast_path,
27810 );
27811 }
27812 ComponentValue::AnglePercentage { 0: _field_0 } => {
27813 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27814 self,
27815 self::fields::ComponentValueField::AnglePercentage,
27816 ));
27817 <Box<AnglePercentage> as VisitWithAstPath<V>>::visit_with_ast_path(
27818 _field_0,
27819 visitor,
27820 &mut *__ast_path,
27821 );
27822 }
27823 ComponentValue::TimePercentage { 0: _field_0 } => {
27824 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27825 self,
27826 self::fields::ComponentValueField::TimePercentage,
27827 ));
27828 <Box<TimePercentage> as VisitWithAstPath<V>>::visit_with_ast_path(
27829 _field_0,
27830 visitor,
27831 &mut *__ast_path,
27832 );
27833 }
27834 ComponentValue::Ratio { 0: _field_0 } => {
27835 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27836 self,
27837 self::fields::ComponentValueField::Ratio,
27838 ));
27839 <Box<Ratio> as VisitWithAstPath<V>>::visit_with_ast_path(
27840 _field_0,
27841 visitor,
27842 &mut *__ast_path,
27843 );
27844 }
27845 ComponentValue::UnicodeRange { 0: _field_0 } => {
27846 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27847 self,
27848 self::fields::ComponentValueField::UnicodeRange,
27849 ));
27850 <Box<UnicodeRange> as VisitWithAstPath<V>>::visit_with_ast_path(
27851 _field_0,
27852 visitor,
27853 &mut *__ast_path,
27854 );
27855 }
27856 ComponentValue::Color { 0: _field_0 } => {
27857 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27858 self,
27859 self::fields::ComponentValueField::Color,
27860 ));
27861 <Box<Color> as VisitWithAstPath<V>>::visit_with_ast_path(
27862 _field_0,
27863 visitor,
27864 &mut *__ast_path,
27865 );
27866 }
27867 ComponentValue::AlphaValue { 0: _field_0 } => {
27868 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27869 self,
27870 self::fields::ComponentValueField::AlphaValue,
27871 ));
27872 <Box<AlphaValue> as VisitWithAstPath<V>>::visit_with_ast_path(
27873 _field_0,
27874 visitor,
27875 &mut *__ast_path,
27876 );
27877 }
27878 ComponentValue::Hue { 0: _field_0 } => {
27879 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27880 self,
27881 self::fields::ComponentValueField::Hue,
27882 ));
27883 <Box<Hue> as VisitWithAstPath<V>>::visit_with_ast_path(
27884 _field_0,
27885 visitor,
27886 &mut *__ast_path,
27887 );
27888 }
27889 ComponentValue::CmykComponent { 0: _field_0 } => {
27890 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27891 self,
27892 self::fields::ComponentValueField::CmykComponent,
27893 ));
27894 <Box<CmykComponent> as VisitWithAstPath<V>>::visit_with_ast_path(
27895 _field_0,
27896 visitor,
27897 &mut *__ast_path,
27898 );
27899 }
27900 ComponentValue::Delimiter { 0: _field_0 } => {
27901 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27902 self,
27903 self::fields::ComponentValueField::Delimiter,
27904 ));
27905 <Box<Delimiter> as VisitWithAstPath<V>>::visit_with_ast_path(
27906 _field_0,
27907 visitor,
27908 &mut *__ast_path,
27909 );
27910 }
27911 ComponentValue::CalcSum { 0: _field_0 } => {
27912 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27913 self,
27914 self::fields::ComponentValueField::CalcSum,
27915 ));
27916 <Box<CalcSum> as VisitWithAstPath<V>>::visit_with_ast_path(
27917 _field_0,
27918 visitor,
27919 &mut *__ast_path,
27920 );
27921 }
27922 ComponentValue::ComplexSelector { 0: _field_0 } => {
27923 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27924 self,
27925 self::fields::ComponentValueField::ComplexSelector,
27926 ));
27927 <Box<ComplexSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
27928 _field_0,
27929 visitor,
27930 &mut *__ast_path,
27931 );
27932 }
27933 ComponentValue::LayerName { 0: _field_0 } => {
27934 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27935 self,
27936 self::fields::ComponentValueField::LayerName,
27937 ));
27938 <Box<LayerName> as VisitWithAstPath<V>>::visit_with_ast_path(
27939 _field_0,
27940 visitor,
27941 &mut *__ast_path,
27942 );
27943 }
27944 ComponentValue::SupportsCondition { 0: _field_0 } => {
27945 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27946 self,
27947 self::fields::ComponentValueField::SupportsCondition,
27948 ));
27949 <Box<SupportsCondition> as VisitWithAstPath<V>>::visit_with_ast_path(
27950 _field_0,
27951 visitor,
27952 &mut *__ast_path,
27953 );
27954 }
27955 ComponentValue::Declaration { 0: _field_0 } => {
27956 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27957 self,
27958 self::fields::ComponentValueField::Declaration,
27959 ));
27960 <Box<Declaration> as VisitWithAstPath<V>>::visit_with_ast_path(
27961 _field_0,
27962 visitor,
27963 &mut *__ast_path,
27964 );
27965 }
27966 ComponentValue::IdSelector { 0: _field_0 } => {
27967 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ComponentValue(
27968 self,
27969 self::fields::ComponentValueField::IdSelector,
27970 ));
27971 <Box<IdSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
27972 _field_0,
27973 visitor,
27974 &mut *__ast_path,
27975 );
27976 }
27977 }
27978 }
27979}
27980#[cfg(any(docsrs, feature = "path"))]
27981#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
27982impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CompoundSelector {
27983 #[doc = "Calls [VisitAstPath`::visit_compound_selector`] with `self`."]
27984 fn visit_with_ast_path<'ast: 'r, 'r>(
27985 &'ast self,
27986 visitor: &mut V,
27987 __ast_path: &mut AstNodePath<'r>,
27988 ) {
27989 <V as VisitAstPath>::visit_compound_selector(visitor, self, __ast_path)
27990 }
27991
27992 fn visit_children_with_ast_path<'ast: 'r, 'r>(
27993 &'ast self,
27994 visitor: &mut V,
27995 __ast_path: &mut AstNodePath<'r>,
27996 ) {
27997 match self {
27998 CompoundSelector {
27999 span,
28000 nesting_selector,
28001 type_selector,
28002 subclass_selectors,
28003 } => {
28004 {
28005 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CompoundSelector(
28006 self,
28007 self::fields::CompoundSelectorField::Span,
28008 ));
28009 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28010 span,
28011 visitor,
28012 &mut *__ast_path,
28013 )
28014 };
28015 {
28016 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CompoundSelector(
28017 self,
28018 self::fields::CompoundSelectorField::NestingSelector,
28019 ));
28020 <Option<NestingSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
28021 nesting_selector,
28022 visitor,
28023 &mut *__ast_path,
28024 )
28025 };
28026 {
28027 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CompoundSelector(
28028 self,
28029 self::fields::CompoundSelectorField::TypeSelector,
28030 ));
28031 <Option<Box<TypeSelector>> as VisitWithAstPath<V>>::visit_with_ast_path(
28032 type_selector,
28033 visitor,
28034 &mut *__ast_path,
28035 )
28036 };
28037 {
28038 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CompoundSelector(
28039 self,
28040 self::fields::CompoundSelectorField::SubclassSelectors(usize::MAX),
28041 ));
28042 <Vec<SubclassSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
28043 subclass_selectors,
28044 visitor,
28045 &mut *__ast_path,
28046 )
28047 };
28048 }
28049 }
28050 }
28051}
28052#[cfg(any(docsrs, feature = "path"))]
28053#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28054impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CompoundSelectorList {
28055 #[doc = "Calls [VisitAstPath`::visit_compound_selector_list`] with `self`."]
28056 fn visit_with_ast_path<'ast: 'r, 'r>(
28057 &'ast self,
28058 visitor: &mut V,
28059 __ast_path: &mut AstNodePath<'r>,
28060 ) {
28061 <V as VisitAstPath>::visit_compound_selector_list(visitor, self, __ast_path)
28062 }
28063
28064 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28065 &'ast self,
28066 visitor: &mut V,
28067 __ast_path: &mut AstNodePath<'r>,
28068 ) {
28069 match self {
28070 CompoundSelectorList { span, children } => {
28071 {
28072 let mut __ast_path =
28073 __ast_path.with_guard(AstParentNodeRef::CompoundSelectorList(
28074 self,
28075 self::fields::CompoundSelectorListField::Span,
28076 ));
28077 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28078 span,
28079 visitor,
28080 &mut *__ast_path,
28081 )
28082 };
28083 {
28084 let mut __ast_path =
28085 __ast_path.with_guard(AstParentNodeRef::CompoundSelectorList(
28086 self,
28087 self::fields::CompoundSelectorListField::Children(usize::MAX),
28088 ));
28089 <Vec<CompoundSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
28090 children,
28091 visitor,
28092 &mut *__ast_path,
28093 )
28094 };
28095 }
28096 }
28097 }
28098}
28099#[cfg(any(docsrs, feature = "path"))]
28100#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28101impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ContainerCondition {
28102 #[doc = "Calls [VisitAstPath`::visit_container_condition`] with `self`."]
28103 fn visit_with_ast_path<'ast: 'r, 'r>(
28104 &'ast self,
28105 visitor: &mut V,
28106 __ast_path: &mut AstNodePath<'r>,
28107 ) {
28108 <V as VisitAstPath>::visit_container_condition(visitor, self, __ast_path)
28109 }
28110
28111 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28112 &'ast self,
28113 visitor: &mut V,
28114 __ast_path: &mut AstNodePath<'r>,
28115 ) {
28116 match self {
28117 ContainerCondition { span, name, query } => {
28118 {
28119 let mut __ast_path =
28120 __ast_path.with_guard(AstParentNodeRef::ContainerCondition(
28121 self,
28122 self::fields::ContainerConditionField::Span,
28123 ));
28124 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28125 span,
28126 visitor,
28127 &mut *__ast_path,
28128 )
28129 };
28130 {
28131 let mut __ast_path =
28132 __ast_path.with_guard(AstParentNodeRef::ContainerCondition(
28133 self,
28134 self::fields::ContainerConditionField::Name,
28135 ));
28136 <Option<ContainerName> as VisitWithAstPath<V>>::visit_with_ast_path(
28137 name,
28138 visitor,
28139 &mut *__ast_path,
28140 )
28141 };
28142 {
28143 let mut __ast_path =
28144 __ast_path.with_guard(AstParentNodeRef::ContainerCondition(
28145 self,
28146 self::fields::ContainerConditionField::Query,
28147 ));
28148 <ContainerQuery as VisitWithAstPath<V>>::visit_with_ast_path(
28149 query,
28150 visitor,
28151 &mut *__ast_path,
28152 )
28153 };
28154 }
28155 }
28156 }
28157}
28158#[cfg(any(docsrs, feature = "path"))]
28159#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28160impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ContainerName {
28161 #[doc = "Calls [VisitAstPath`::visit_container_name`] with `self`."]
28162 fn visit_with_ast_path<'ast: 'r, 'r>(
28163 &'ast self,
28164 visitor: &mut V,
28165 __ast_path: &mut AstNodePath<'r>,
28166 ) {
28167 <V as VisitAstPath>::visit_container_name(visitor, self, __ast_path)
28168 }
28169
28170 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28171 &'ast self,
28172 visitor: &mut V,
28173 __ast_path: &mut AstNodePath<'r>,
28174 ) {
28175 match self {
28176 ContainerName::CustomIdent { 0: _field_0 } => {
28177 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerName(
28178 self,
28179 self::fields::ContainerNameField::CustomIdent,
28180 ));
28181 <CustomIdent as VisitWithAstPath<V>>::visit_with_ast_path(
28182 _field_0,
28183 visitor,
28184 &mut *__ast_path,
28185 );
28186 }
28187 }
28188 }
28189}
28190#[cfg(any(docsrs, feature = "path"))]
28191#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28192impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ContainerQuery {
28193 #[doc = "Calls [VisitAstPath`::visit_container_query`] with `self`."]
28194 fn visit_with_ast_path<'ast: 'r, 'r>(
28195 &'ast self,
28196 visitor: &mut V,
28197 __ast_path: &mut AstNodePath<'r>,
28198 ) {
28199 <V as VisitAstPath>::visit_container_query(visitor, self, __ast_path)
28200 }
28201
28202 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28203 &'ast self,
28204 visitor: &mut V,
28205 __ast_path: &mut AstNodePath<'r>,
28206 ) {
28207 match self {
28208 ContainerQuery { span, queries } => {
28209 {
28210 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQuery(
28211 self,
28212 self::fields::ContainerQueryField::Span,
28213 ));
28214 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28215 span,
28216 visitor,
28217 &mut *__ast_path,
28218 )
28219 };
28220 {
28221 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQuery(
28222 self,
28223 self::fields::ContainerQueryField::Queries(usize::MAX),
28224 ));
28225 <Vec<ContainerQueryType> as VisitWithAstPath<V>>::visit_with_ast_path(
28226 queries,
28227 visitor,
28228 &mut *__ast_path,
28229 )
28230 };
28231 }
28232 }
28233 }
28234}
28235#[cfg(any(docsrs, feature = "path"))]
28236#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28237impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ContainerQueryAnd {
28238 #[doc = "Calls [VisitAstPath`::visit_container_query_and`] with `self`."]
28239 fn visit_with_ast_path<'ast: 'r, 'r>(
28240 &'ast self,
28241 visitor: &mut V,
28242 __ast_path: &mut AstNodePath<'r>,
28243 ) {
28244 <V as VisitAstPath>::visit_container_query_and(visitor, self, __ast_path)
28245 }
28246
28247 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28248 &'ast self,
28249 visitor: &mut V,
28250 __ast_path: &mut AstNodePath<'r>,
28251 ) {
28252 match self {
28253 ContainerQueryAnd {
28254 span,
28255 keyword,
28256 query,
28257 } => {
28258 {
28259 let mut __ast_path =
28260 __ast_path.with_guard(AstParentNodeRef::ContainerQueryAnd(
28261 self,
28262 self::fields::ContainerQueryAndField::Span,
28263 ));
28264 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28265 span,
28266 visitor,
28267 &mut *__ast_path,
28268 )
28269 };
28270 {
28271 let mut __ast_path =
28272 __ast_path.with_guard(AstParentNodeRef::ContainerQueryAnd(
28273 self,
28274 self::fields::ContainerQueryAndField::Keyword,
28275 ));
28276 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
28277 keyword,
28278 visitor,
28279 &mut *__ast_path,
28280 )
28281 };
28282 {
28283 let mut __ast_path =
28284 __ast_path.with_guard(AstParentNodeRef::ContainerQueryAnd(
28285 self,
28286 self::fields::ContainerQueryAndField::Query,
28287 ));
28288 <QueryInParens as VisitWithAstPath<V>>::visit_with_ast_path(
28289 query,
28290 visitor,
28291 &mut *__ast_path,
28292 )
28293 };
28294 }
28295 }
28296 }
28297}
28298#[cfg(any(docsrs, feature = "path"))]
28299#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28300impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ContainerQueryNot {
28301 #[doc = "Calls [VisitAstPath`::visit_container_query_not`] with `self`."]
28302 fn visit_with_ast_path<'ast: 'r, 'r>(
28303 &'ast self,
28304 visitor: &mut V,
28305 __ast_path: &mut AstNodePath<'r>,
28306 ) {
28307 <V as VisitAstPath>::visit_container_query_not(visitor, self, __ast_path)
28308 }
28309
28310 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28311 &'ast self,
28312 visitor: &mut V,
28313 __ast_path: &mut AstNodePath<'r>,
28314 ) {
28315 match self {
28316 ContainerQueryNot {
28317 span,
28318 keyword,
28319 query,
28320 } => {
28321 {
28322 let mut __ast_path =
28323 __ast_path.with_guard(AstParentNodeRef::ContainerQueryNot(
28324 self,
28325 self::fields::ContainerQueryNotField::Span,
28326 ));
28327 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28328 span,
28329 visitor,
28330 &mut *__ast_path,
28331 )
28332 };
28333 {
28334 let mut __ast_path =
28335 __ast_path.with_guard(AstParentNodeRef::ContainerQueryNot(
28336 self,
28337 self::fields::ContainerQueryNotField::Keyword,
28338 ));
28339 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
28340 keyword,
28341 visitor,
28342 &mut *__ast_path,
28343 )
28344 };
28345 {
28346 let mut __ast_path =
28347 __ast_path.with_guard(AstParentNodeRef::ContainerQueryNot(
28348 self,
28349 self::fields::ContainerQueryNotField::Query,
28350 ));
28351 <QueryInParens as VisitWithAstPath<V>>::visit_with_ast_path(
28352 query,
28353 visitor,
28354 &mut *__ast_path,
28355 )
28356 };
28357 }
28358 }
28359 }
28360}
28361#[cfg(any(docsrs, feature = "path"))]
28362#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28363impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ContainerQueryOr {
28364 #[doc = "Calls [VisitAstPath`::visit_container_query_or`] with `self`."]
28365 fn visit_with_ast_path<'ast: 'r, 'r>(
28366 &'ast self,
28367 visitor: &mut V,
28368 __ast_path: &mut AstNodePath<'r>,
28369 ) {
28370 <V as VisitAstPath>::visit_container_query_or(visitor, self, __ast_path)
28371 }
28372
28373 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28374 &'ast self,
28375 visitor: &mut V,
28376 __ast_path: &mut AstNodePath<'r>,
28377 ) {
28378 match self {
28379 ContainerQueryOr {
28380 span,
28381 keyword,
28382 query,
28383 } => {
28384 {
28385 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQueryOr(
28386 self,
28387 self::fields::ContainerQueryOrField::Span,
28388 ));
28389 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28390 span,
28391 visitor,
28392 &mut *__ast_path,
28393 )
28394 };
28395 {
28396 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQueryOr(
28397 self,
28398 self::fields::ContainerQueryOrField::Keyword,
28399 ));
28400 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
28401 keyword,
28402 visitor,
28403 &mut *__ast_path,
28404 )
28405 };
28406 {
28407 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQueryOr(
28408 self,
28409 self::fields::ContainerQueryOrField::Query,
28410 ));
28411 <QueryInParens as VisitWithAstPath<V>>::visit_with_ast_path(
28412 query,
28413 visitor,
28414 &mut *__ast_path,
28415 )
28416 };
28417 }
28418 }
28419 }
28420}
28421#[cfg(any(docsrs, feature = "path"))]
28422#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28423impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ContainerQueryType {
28424 #[doc = "Calls [VisitAstPath`::visit_container_query_type`] with `self`."]
28425 fn visit_with_ast_path<'ast: 'r, 'r>(
28426 &'ast self,
28427 visitor: &mut V,
28428 __ast_path: &mut AstNodePath<'r>,
28429 ) {
28430 <V as VisitAstPath>::visit_container_query_type(visitor, self, __ast_path)
28431 }
28432
28433 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28434 &'ast self,
28435 visitor: &mut V,
28436 __ast_path: &mut AstNodePath<'r>,
28437 ) {
28438 match self {
28439 ContainerQueryType::Not { 0: _field_0 } => {
28440 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQueryType(
28441 self,
28442 self::fields::ContainerQueryTypeField::Not,
28443 ));
28444 <ContainerQueryNot as VisitWithAstPath<V>>::visit_with_ast_path(
28445 _field_0,
28446 visitor,
28447 &mut *__ast_path,
28448 );
28449 }
28450 ContainerQueryType::And { 0: _field_0 } => {
28451 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQueryType(
28452 self,
28453 self::fields::ContainerQueryTypeField::And,
28454 ));
28455 <ContainerQueryAnd as VisitWithAstPath<V>>::visit_with_ast_path(
28456 _field_0,
28457 visitor,
28458 &mut *__ast_path,
28459 );
28460 }
28461 ContainerQueryType::Or { 0: _field_0 } => {
28462 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQueryType(
28463 self,
28464 self::fields::ContainerQueryTypeField::Or,
28465 ));
28466 <ContainerQueryOr as VisitWithAstPath<V>>::visit_with_ast_path(
28467 _field_0,
28468 visitor,
28469 &mut *__ast_path,
28470 );
28471 }
28472 ContainerQueryType::QueryInParens { 0: _field_0 } => {
28473 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ContainerQueryType(
28474 self,
28475 self::fields::ContainerQueryTypeField::QueryInParens,
28476 ));
28477 <QueryInParens as VisitWithAstPath<V>>::visit_with_ast_path(
28478 _field_0,
28479 visitor,
28480 &mut *__ast_path,
28481 );
28482 }
28483 }
28484 }
28485}
28486#[cfg(any(docsrs, feature = "path"))]
28487#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28488impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CustomHighlightName {
28489 #[doc = "Calls [VisitAstPath`::visit_custom_highlight_name`] with `self`."]
28490 fn visit_with_ast_path<'ast: 'r, 'r>(
28491 &'ast self,
28492 visitor: &mut V,
28493 __ast_path: &mut AstNodePath<'r>,
28494 ) {
28495 <V as VisitAstPath>::visit_custom_highlight_name(visitor, self, __ast_path)
28496 }
28497
28498 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28499 &'ast self,
28500 visitor: &mut V,
28501 __ast_path: &mut AstNodePath<'r>,
28502 ) {
28503 match self {
28504 CustomHighlightName { span, value, raw } => {
28505 {
28506 let mut __ast_path =
28507 __ast_path.with_guard(AstParentNodeRef::CustomHighlightName(
28508 self,
28509 self::fields::CustomHighlightNameField::Span,
28510 ));
28511 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28512 span,
28513 visitor,
28514 &mut *__ast_path,
28515 )
28516 };
28517 {
28518 let mut __ast_path =
28519 __ast_path.with_guard(AstParentNodeRef::CustomHighlightName(
28520 self,
28521 self::fields::CustomHighlightNameField::Value,
28522 ));
28523 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
28524 value,
28525 visitor,
28526 &mut *__ast_path,
28527 )
28528 };
28529 {
28530 let mut __ast_path =
28531 __ast_path.with_guard(AstParentNodeRef::CustomHighlightName(
28532 self,
28533 self::fields::CustomHighlightNameField::Raw,
28534 ));
28535 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
28536 raw,
28537 visitor,
28538 &mut *__ast_path,
28539 )
28540 };
28541 }
28542 }
28543 }
28544}
28545#[cfg(any(docsrs, feature = "path"))]
28546#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28547impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CustomIdent {
28548 #[doc = "Calls [VisitAstPath`::visit_custom_ident`] with `self`."]
28549 fn visit_with_ast_path<'ast: 'r, 'r>(
28550 &'ast self,
28551 visitor: &mut V,
28552 __ast_path: &mut AstNodePath<'r>,
28553 ) {
28554 <V as VisitAstPath>::visit_custom_ident(visitor, self, __ast_path)
28555 }
28556
28557 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28558 &'ast self,
28559 visitor: &mut V,
28560 __ast_path: &mut AstNodePath<'r>,
28561 ) {
28562 match self {
28563 CustomIdent { span, value, raw } => {
28564 {
28565 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CustomIdent(
28566 self,
28567 self::fields::CustomIdentField::Span,
28568 ));
28569 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28570 span,
28571 visitor,
28572 &mut *__ast_path,
28573 )
28574 };
28575 {
28576 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CustomIdent(
28577 self,
28578 self::fields::CustomIdentField::Value,
28579 ));
28580 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
28581 value,
28582 visitor,
28583 &mut *__ast_path,
28584 )
28585 };
28586 {
28587 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CustomIdent(
28588 self,
28589 self::fields::CustomIdentField::Raw,
28590 ));
28591 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
28592 raw,
28593 visitor,
28594 &mut *__ast_path,
28595 )
28596 };
28597 }
28598 }
28599 }
28600}
28601#[cfg(any(docsrs, feature = "path"))]
28602#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28603impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CustomMediaQuery {
28604 #[doc = "Calls [VisitAstPath`::visit_custom_media_query`] with `self`."]
28605 fn visit_with_ast_path<'ast: 'r, 'r>(
28606 &'ast self,
28607 visitor: &mut V,
28608 __ast_path: &mut AstNodePath<'r>,
28609 ) {
28610 <V as VisitAstPath>::visit_custom_media_query(visitor, self, __ast_path)
28611 }
28612
28613 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28614 &'ast self,
28615 visitor: &mut V,
28616 __ast_path: &mut AstNodePath<'r>,
28617 ) {
28618 match self {
28619 CustomMediaQuery { span, name, media } => {
28620 {
28621 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CustomMediaQuery(
28622 self,
28623 self::fields::CustomMediaQueryField::Span,
28624 ));
28625 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28626 span,
28627 visitor,
28628 &mut *__ast_path,
28629 )
28630 };
28631 {
28632 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CustomMediaQuery(
28633 self,
28634 self::fields::CustomMediaQueryField::Name,
28635 ));
28636 <ExtensionName as VisitWithAstPath<V>>::visit_with_ast_path(
28637 name,
28638 visitor,
28639 &mut *__ast_path,
28640 )
28641 };
28642 {
28643 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::CustomMediaQuery(
28644 self,
28645 self::fields::CustomMediaQueryField::Media,
28646 ));
28647 <CustomMediaQueryMediaType as VisitWithAstPath<V>>::visit_with_ast_path(
28648 media,
28649 visitor,
28650 &mut *__ast_path,
28651 )
28652 };
28653 }
28654 }
28655 }
28656}
28657#[cfg(any(docsrs, feature = "path"))]
28658#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28659impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CustomMediaQueryMediaType {
28660 #[doc = "Calls [VisitAstPath`::visit_custom_media_query_media_type`] with `self`."]
28661 fn visit_with_ast_path<'ast: 'r, 'r>(
28662 &'ast self,
28663 visitor: &mut V,
28664 __ast_path: &mut AstNodePath<'r>,
28665 ) {
28666 <V as VisitAstPath>::visit_custom_media_query_media_type(visitor, self, __ast_path)
28667 }
28668
28669 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28670 &'ast self,
28671 visitor: &mut V,
28672 __ast_path: &mut AstNodePath<'r>,
28673 ) {
28674 match self {
28675 CustomMediaQueryMediaType::Ident { 0: _field_0 } => {
28676 let mut __ast_path =
28677 __ast_path.with_guard(AstParentNodeRef::CustomMediaQueryMediaType(
28678 self,
28679 self::fields::CustomMediaQueryMediaTypeField::Ident,
28680 ));
28681 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
28682 _field_0,
28683 visitor,
28684 &mut *__ast_path,
28685 );
28686 }
28687 CustomMediaQueryMediaType::MediaQueryList { 0: _field_0 } => {
28688 let mut __ast_path =
28689 __ast_path.with_guard(AstParentNodeRef::CustomMediaQueryMediaType(
28690 self,
28691 self::fields::CustomMediaQueryMediaTypeField::MediaQueryList,
28692 ));
28693 <MediaQueryList as VisitWithAstPath<V>>::visit_with_ast_path(
28694 _field_0,
28695 visitor,
28696 &mut *__ast_path,
28697 );
28698 }
28699 }
28700 }
28701}
28702#[cfg(any(docsrs, feature = "path"))]
28703#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28704impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for CustomPropertyName {
28705 #[doc = "Calls [VisitAstPath`::visit_custom_property_name`] with `self`."]
28706 fn visit_with_ast_path<'ast: 'r, 'r>(
28707 &'ast self,
28708 visitor: &mut V,
28709 __ast_path: &mut AstNodePath<'r>,
28710 ) {
28711 <V as VisitAstPath>::visit_custom_property_name(visitor, self, __ast_path)
28712 }
28713
28714 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28715 &'ast self,
28716 visitor: &mut V,
28717 __ast_path: &mut AstNodePath<'r>,
28718 ) {
28719 match self {
28720 CustomPropertyName { span, value, raw } => {
28721 {
28722 let mut __ast_path =
28723 __ast_path.with_guard(AstParentNodeRef::CustomPropertyName(
28724 self,
28725 self::fields::CustomPropertyNameField::Span,
28726 ));
28727 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28728 span,
28729 visitor,
28730 &mut *__ast_path,
28731 )
28732 };
28733 {
28734 let mut __ast_path =
28735 __ast_path.with_guard(AstParentNodeRef::CustomPropertyName(
28736 self,
28737 self::fields::CustomPropertyNameField::Value,
28738 ));
28739 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
28740 value,
28741 visitor,
28742 &mut *__ast_path,
28743 )
28744 };
28745 {
28746 let mut __ast_path =
28747 __ast_path.with_guard(AstParentNodeRef::CustomPropertyName(
28748 self,
28749 self::fields::CustomPropertyNameField::Raw,
28750 ));
28751 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
28752 raw,
28753 visitor,
28754 &mut *__ast_path,
28755 )
28756 };
28757 }
28758 }
28759 }
28760}
28761#[cfg(any(docsrs, feature = "path"))]
28762#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28763impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for DashedIdent {
28764 #[doc = "Calls [VisitAstPath`::visit_dashed_ident`] with `self`."]
28765 fn visit_with_ast_path<'ast: 'r, 'r>(
28766 &'ast self,
28767 visitor: &mut V,
28768 __ast_path: &mut AstNodePath<'r>,
28769 ) {
28770 <V as VisitAstPath>::visit_dashed_ident(visitor, self, __ast_path)
28771 }
28772
28773 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28774 &'ast self,
28775 visitor: &mut V,
28776 __ast_path: &mut AstNodePath<'r>,
28777 ) {
28778 match self {
28779 DashedIdent { span, value, raw } => {
28780 {
28781 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DashedIdent(
28782 self,
28783 self::fields::DashedIdentField::Span,
28784 ));
28785 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28786 span,
28787 visitor,
28788 &mut *__ast_path,
28789 )
28790 };
28791 {
28792 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DashedIdent(
28793 self,
28794 self::fields::DashedIdentField::Value,
28795 ));
28796 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
28797 value,
28798 visitor,
28799 &mut *__ast_path,
28800 )
28801 };
28802 {
28803 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DashedIdent(
28804 self,
28805 self::fields::DashedIdentField::Raw,
28806 ));
28807 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
28808 raw,
28809 visitor,
28810 &mut *__ast_path,
28811 )
28812 };
28813 }
28814 }
28815 }
28816}
28817#[cfg(any(docsrs, feature = "path"))]
28818#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28819impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Declaration {
28820 #[doc = "Calls [VisitAstPath`::visit_declaration`] with `self`."]
28821 fn visit_with_ast_path<'ast: 'r, 'r>(
28822 &'ast self,
28823 visitor: &mut V,
28824 __ast_path: &mut AstNodePath<'r>,
28825 ) {
28826 <V as VisitAstPath>::visit_declaration(visitor, self, __ast_path)
28827 }
28828
28829 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28830 &'ast self,
28831 visitor: &mut V,
28832 __ast_path: &mut AstNodePath<'r>,
28833 ) {
28834 match self {
28835 Declaration {
28836 span,
28837 name,
28838 value,
28839 important,
28840 } => {
28841 {
28842 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Declaration(
28843 self,
28844 self::fields::DeclarationField::Span,
28845 ));
28846 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
28847 span,
28848 visitor,
28849 &mut *__ast_path,
28850 )
28851 };
28852 {
28853 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Declaration(
28854 self,
28855 self::fields::DeclarationField::Name,
28856 ));
28857 <DeclarationName as VisitWithAstPath<V>>::visit_with_ast_path(
28858 name,
28859 visitor,
28860 &mut *__ast_path,
28861 )
28862 };
28863 {
28864 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Declaration(
28865 self,
28866 self::fields::DeclarationField::Value(usize::MAX),
28867 ));
28868 <Vec<ComponentValue> as VisitWithAstPath<V>>::visit_with_ast_path(
28869 value,
28870 visitor,
28871 &mut *__ast_path,
28872 )
28873 };
28874 {
28875 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Declaration(
28876 self,
28877 self::fields::DeclarationField::Important,
28878 ));
28879 <Option<ImportantFlag> as VisitWithAstPath<V>>::visit_with_ast_path(
28880 important,
28881 visitor,
28882 &mut *__ast_path,
28883 )
28884 };
28885 }
28886 }
28887 }
28888}
28889#[cfg(any(docsrs, feature = "path"))]
28890#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28891impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for DeclarationName {
28892 #[doc = "Calls [VisitAstPath`::visit_declaration_name`] with `self`."]
28893 fn visit_with_ast_path<'ast: 'r, 'r>(
28894 &'ast self,
28895 visitor: &mut V,
28896 __ast_path: &mut AstNodePath<'r>,
28897 ) {
28898 <V as VisitAstPath>::visit_declaration_name(visitor, self, __ast_path)
28899 }
28900
28901 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28902 &'ast self,
28903 visitor: &mut V,
28904 __ast_path: &mut AstNodePath<'r>,
28905 ) {
28906 match self {
28907 DeclarationName::Ident { 0: _field_0 } => {
28908 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DeclarationName(
28909 self,
28910 self::fields::DeclarationNameField::Ident,
28911 ));
28912 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
28913 _field_0,
28914 visitor,
28915 &mut *__ast_path,
28916 );
28917 }
28918 DeclarationName::DashedIdent { 0: _field_0 } => {
28919 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DeclarationName(
28920 self,
28921 self::fields::DeclarationNameField::DashedIdent,
28922 ));
28923 <DashedIdent as VisitWithAstPath<V>>::visit_with_ast_path(
28924 _field_0,
28925 visitor,
28926 &mut *__ast_path,
28927 );
28928 }
28929 }
28930 }
28931}
28932#[cfg(any(docsrs, feature = "path"))]
28933#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28934impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for DeclarationOrAtRule {
28935 #[doc = "Calls [VisitAstPath`::visit_declaration_or_at_rule`] with `self`."]
28936 fn visit_with_ast_path<'ast: 'r, 'r>(
28937 &'ast self,
28938 visitor: &mut V,
28939 __ast_path: &mut AstNodePath<'r>,
28940 ) {
28941 <V as VisitAstPath>::visit_declaration_or_at_rule(visitor, self, __ast_path)
28942 }
28943
28944 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28945 &'ast self,
28946 visitor: &mut V,
28947 __ast_path: &mut AstNodePath<'r>,
28948 ) {
28949 match self {
28950 DeclarationOrAtRule::Declaration { 0: _field_0 } => {
28951 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DeclarationOrAtRule(
28952 self,
28953 self::fields::DeclarationOrAtRuleField::Declaration,
28954 ));
28955 <Box<Declaration> as VisitWithAstPath<V>>::visit_with_ast_path(
28956 _field_0,
28957 visitor,
28958 &mut *__ast_path,
28959 );
28960 }
28961 DeclarationOrAtRule::AtRule { 0: _field_0 } => {
28962 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DeclarationOrAtRule(
28963 self,
28964 self::fields::DeclarationOrAtRuleField::AtRule,
28965 ));
28966 <Box<AtRule> as VisitWithAstPath<V>>::visit_with_ast_path(
28967 _field_0,
28968 visitor,
28969 &mut *__ast_path,
28970 );
28971 }
28972 DeclarationOrAtRule::ListOfComponentValues { 0: _field_0 } => {
28973 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DeclarationOrAtRule(
28974 self,
28975 self::fields::DeclarationOrAtRuleField::ListOfComponentValues,
28976 ));
28977 <Box<ListOfComponentValues> as VisitWithAstPath<V>>::visit_with_ast_path(
28978 _field_0,
28979 visitor,
28980 &mut *__ast_path,
28981 );
28982 }
28983 }
28984 }
28985}
28986#[cfg(any(docsrs, feature = "path"))]
28987#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
28988impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Delimiter {
28989 #[doc = "Calls [VisitAstPath`::visit_delimiter`] with `self`."]
28990 fn visit_with_ast_path<'ast: 'r, 'r>(
28991 &'ast self,
28992 visitor: &mut V,
28993 __ast_path: &mut AstNodePath<'r>,
28994 ) {
28995 <V as VisitAstPath>::visit_delimiter(visitor, self, __ast_path)
28996 }
28997
28998 fn visit_children_with_ast_path<'ast: 'r, 'r>(
28999 &'ast self,
29000 visitor: &mut V,
29001 __ast_path: &mut AstNodePath<'r>,
29002 ) {
29003 match self {
29004 Delimiter { span, value } => {
29005 {
29006 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Delimiter(
29007 self,
29008 self::fields::DelimiterField::Span,
29009 ));
29010 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29011 span,
29012 visitor,
29013 &mut *__ast_path,
29014 )
29015 };
29016 {
29017 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Delimiter(
29018 self,
29019 self::fields::DelimiterField::Value,
29020 ));
29021 <DelimiterValue as VisitWithAstPath<V>>::visit_with_ast_path(
29022 value,
29023 visitor,
29024 &mut *__ast_path,
29025 )
29026 };
29027 }
29028 }
29029 }
29030}
29031#[cfg(any(docsrs, feature = "path"))]
29032#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29033impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for DelimiterValue {
29034 #[doc = "Calls [VisitAstPath`::visit_delimiter_value`] with `self`."]
29035 fn visit_with_ast_path<'ast: 'r, 'r>(
29036 &'ast self,
29037 visitor: &mut V,
29038 __ast_path: &mut AstNodePath<'r>,
29039 ) {
29040 <V as VisitAstPath>::visit_delimiter_value(visitor, self, __ast_path)
29041 }
29042
29043 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29044 &'ast self,
29045 visitor: &mut V,
29046 __ast_path: &mut AstNodePath<'r>,
29047 ) {
29048 match self {
29049 DelimiterValue::Comma => {}
29050 DelimiterValue::Solidus => {}
29051 DelimiterValue::Semicolon => {}
29052 }
29053 }
29054}
29055#[cfg(any(docsrs, feature = "path"))]
29056#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29057impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Dimension {
29058 #[doc = "Calls [VisitAstPath`::visit_dimension`] with `self`."]
29059 fn visit_with_ast_path<'ast: 'r, 'r>(
29060 &'ast self,
29061 visitor: &mut V,
29062 __ast_path: &mut AstNodePath<'r>,
29063 ) {
29064 <V as VisitAstPath>::visit_dimension(visitor, self, __ast_path)
29065 }
29066
29067 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29068 &'ast self,
29069 visitor: &mut V,
29070 __ast_path: &mut AstNodePath<'r>,
29071 ) {
29072 match self {
29073 Dimension::Length { 0: _field_0 } => {
29074 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Dimension(
29075 self,
29076 self::fields::DimensionField::Length,
29077 ));
29078 <Length as VisitWithAstPath<V>>::visit_with_ast_path(
29079 _field_0,
29080 visitor,
29081 &mut *__ast_path,
29082 );
29083 }
29084 Dimension::Angle { 0: _field_0 } => {
29085 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Dimension(
29086 self,
29087 self::fields::DimensionField::Angle,
29088 ));
29089 <Angle as VisitWithAstPath<V>>::visit_with_ast_path(
29090 _field_0,
29091 visitor,
29092 &mut *__ast_path,
29093 );
29094 }
29095 Dimension::Time { 0: _field_0 } => {
29096 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Dimension(
29097 self,
29098 self::fields::DimensionField::Time,
29099 ));
29100 <Time as VisitWithAstPath<V>>::visit_with_ast_path(
29101 _field_0,
29102 visitor,
29103 &mut *__ast_path,
29104 );
29105 }
29106 Dimension::Frequency { 0: _field_0 } => {
29107 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Dimension(
29108 self,
29109 self::fields::DimensionField::Frequency,
29110 ));
29111 <Frequency as VisitWithAstPath<V>>::visit_with_ast_path(
29112 _field_0,
29113 visitor,
29114 &mut *__ast_path,
29115 );
29116 }
29117 Dimension::Resolution { 0: _field_0 } => {
29118 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Dimension(
29119 self,
29120 self::fields::DimensionField::Resolution,
29121 ));
29122 <Resolution as VisitWithAstPath<V>>::visit_with_ast_path(
29123 _field_0,
29124 visitor,
29125 &mut *__ast_path,
29126 );
29127 }
29128 Dimension::Flex { 0: _field_0 } => {
29129 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Dimension(
29130 self,
29131 self::fields::DimensionField::Flex,
29132 ));
29133 <Flex as VisitWithAstPath<V>>::visit_with_ast_path(
29134 _field_0,
29135 visitor,
29136 &mut *__ast_path,
29137 );
29138 }
29139 Dimension::UnknownDimension { 0: _field_0 } => {
29140 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Dimension(
29141 self,
29142 self::fields::DimensionField::UnknownDimension,
29143 ));
29144 <UnknownDimension as VisitWithAstPath<V>>::visit_with_ast_path(
29145 _field_0,
29146 visitor,
29147 &mut *__ast_path,
29148 );
29149 }
29150 }
29151 }
29152}
29153#[cfg(any(docsrs, feature = "path"))]
29154#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29155impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for DimensionToken {
29156 #[doc = "Calls [VisitAstPath`::visit_dimension_token`] with `self`."]
29157 fn visit_with_ast_path<'ast: 'r, 'r>(
29158 &'ast self,
29159 visitor: &mut V,
29160 __ast_path: &mut AstNodePath<'r>,
29161 ) {
29162 <V as VisitAstPath>::visit_dimension_token(visitor, self, __ast_path)
29163 }
29164
29165 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29166 &'ast self,
29167 visitor: &mut V,
29168 __ast_path: &mut AstNodePath<'r>,
29169 ) {
29170 match self {
29171 DimensionToken {
29172 value,
29173 raw_value,
29174 unit,
29175 type_flag,
29176 raw_unit,
29177 } => {
29178 {
29179 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DimensionToken(
29180 self,
29181 self::fields::DimensionTokenField::RawValue,
29182 ));
29183 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
29184 raw_value,
29185 visitor,
29186 &mut *__ast_path,
29187 )
29188 };
29189 {
29190 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DimensionToken(
29191 self,
29192 self::fields::DimensionTokenField::Unit,
29193 ));
29194 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
29195 unit,
29196 visitor,
29197 &mut *__ast_path,
29198 )
29199 };
29200 {
29201 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DimensionToken(
29202 self,
29203 self::fields::DimensionTokenField::TypeFlag,
29204 ));
29205 <NumberType as VisitWithAstPath<V>>::visit_with_ast_path(
29206 type_flag,
29207 visitor,
29208 &mut *__ast_path,
29209 )
29210 };
29211 {
29212 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DimensionToken(
29213 self,
29214 self::fields::DimensionTokenField::RawUnit,
29215 ));
29216 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
29217 raw_unit,
29218 visitor,
29219 &mut *__ast_path,
29220 )
29221 };
29222 }
29223 }
29224 }
29225}
29226#[cfg(any(docsrs, feature = "path"))]
29227#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29228impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for DocumentPrelude {
29229 #[doc = "Calls [VisitAstPath`::visit_document_prelude`] with `self`."]
29230 fn visit_with_ast_path<'ast: 'r, 'r>(
29231 &'ast self,
29232 visitor: &mut V,
29233 __ast_path: &mut AstNodePath<'r>,
29234 ) {
29235 <V as VisitAstPath>::visit_document_prelude(visitor, self, __ast_path)
29236 }
29237
29238 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29239 &'ast self,
29240 visitor: &mut V,
29241 __ast_path: &mut AstNodePath<'r>,
29242 ) {
29243 match self {
29244 DocumentPrelude {
29245 span,
29246 matching_functions,
29247 } => {
29248 {
29249 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DocumentPrelude(
29250 self,
29251 self::fields::DocumentPreludeField::Span,
29252 ));
29253 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29254 span,
29255 visitor,
29256 &mut *__ast_path,
29257 )
29258 };
29259 {
29260 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::DocumentPrelude(
29261 self,
29262 self::fields::DocumentPreludeField::MatchingFunctions(usize::MAX),
29263 ));
29264 < Vec < DocumentPreludeMatchingFunction > as VisitWithAstPath < V > > :: visit_with_ast_path (matching_functions , visitor , & mut * __ast_path)
29265 };
29266 }
29267 }
29268 }
29269}
29270#[cfg(any(docsrs, feature = "path"))]
29271#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29272impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for DocumentPreludeMatchingFunction {
29273 #[doc = "Calls [VisitAstPath`::visit_document_prelude_matching_function`] with `self`."]
29274 fn visit_with_ast_path<'ast: 'r, 'r>(
29275 &'ast self,
29276 visitor: &mut V,
29277 __ast_path: &mut AstNodePath<'r>,
29278 ) {
29279 <V as VisitAstPath>::visit_document_prelude_matching_function(visitor, self, __ast_path)
29280 }
29281
29282 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29283 &'ast self,
29284 visitor: &mut V,
29285 __ast_path: &mut AstNodePath<'r>,
29286 ) {
29287 match self {
29288 DocumentPreludeMatchingFunction::Url { 0: _field_0 } => {
29289 let mut __ast_path =
29290 __ast_path.with_guard(AstParentNodeRef::DocumentPreludeMatchingFunction(
29291 self,
29292 self::fields::DocumentPreludeMatchingFunctionField::Url,
29293 ));
29294 <Url as VisitWithAstPath<V>>::visit_with_ast_path(
29295 _field_0,
29296 visitor,
29297 &mut *__ast_path,
29298 );
29299 }
29300 DocumentPreludeMatchingFunction::Function { 0: _field_0 } => {
29301 let mut __ast_path =
29302 __ast_path.with_guard(AstParentNodeRef::DocumentPreludeMatchingFunction(
29303 self,
29304 self::fields::DocumentPreludeMatchingFunctionField::Function,
29305 ));
29306 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
29307 _field_0,
29308 visitor,
29309 &mut *__ast_path,
29310 );
29311 }
29312 }
29313 }
29314}
29315#[cfg(any(docsrs, feature = "path"))]
29316#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29317impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ExtensionName {
29318 #[doc = "Calls [VisitAstPath`::visit_extension_name`] with `self`."]
29319 fn visit_with_ast_path<'ast: 'r, 'r>(
29320 &'ast self,
29321 visitor: &mut V,
29322 __ast_path: &mut AstNodePath<'r>,
29323 ) {
29324 <V as VisitAstPath>::visit_extension_name(visitor, self, __ast_path)
29325 }
29326
29327 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29328 &'ast self,
29329 visitor: &mut V,
29330 __ast_path: &mut AstNodePath<'r>,
29331 ) {
29332 match self {
29333 ExtensionName { span, value, raw } => {
29334 {
29335 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ExtensionName(
29336 self,
29337 self::fields::ExtensionNameField::Span,
29338 ));
29339 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29340 span,
29341 visitor,
29342 &mut *__ast_path,
29343 )
29344 };
29345 {
29346 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ExtensionName(
29347 self,
29348 self::fields::ExtensionNameField::Value,
29349 ));
29350 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
29351 value,
29352 visitor,
29353 &mut *__ast_path,
29354 )
29355 };
29356 {
29357 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ExtensionName(
29358 self,
29359 self::fields::ExtensionNameField::Raw,
29360 ));
29361 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
29362 raw,
29363 visitor,
29364 &mut *__ast_path,
29365 )
29366 };
29367 }
29368 }
29369 }
29370}
29371#[cfg(any(docsrs, feature = "path"))]
29372#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29373impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for FamilyName {
29374 #[doc = "Calls [VisitAstPath`::visit_family_name`] with `self`."]
29375 fn visit_with_ast_path<'ast: 'r, 'r>(
29376 &'ast self,
29377 visitor: &mut V,
29378 __ast_path: &mut AstNodePath<'r>,
29379 ) {
29380 <V as VisitAstPath>::visit_family_name(visitor, self, __ast_path)
29381 }
29382
29383 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29384 &'ast self,
29385 visitor: &mut V,
29386 __ast_path: &mut AstNodePath<'r>,
29387 ) {
29388 match self {
29389 FamilyName::Str { 0: _field_0 } => {
29390 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::FamilyName(
29391 self,
29392 self::fields::FamilyNameField::Str,
29393 ));
29394 <Str as VisitWithAstPath<V>>::visit_with_ast_path(
29395 _field_0,
29396 visitor,
29397 &mut *__ast_path,
29398 );
29399 }
29400 FamilyName::SequenceOfCustomIdents { 0: _field_0 } => {
29401 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::FamilyName(
29402 self,
29403 self::fields::FamilyNameField::SequenceOfCustomIdents,
29404 ));
29405 <SequenceOfCustomIdents as VisitWithAstPath<V>>::visit_with_ast_path(
29406 _field_0,
29407 visitor,
29408 &mut *__ast_path,
29409 );
29410 }
29411 }
29412 }
29413}
29414#[cfg(any(docsrs, feature = "path"))]
29415#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29416impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Flex {
29417 #[doc = "Calls [VisitAstPath`::visit_flex`] with `self`."]
29418 fn visit_with_ast_path<'ast: 'r, 'r>(
29419 &'ast self,
29420 visitor: &mut V,
29421 __ast_path: &mut AstNodePath<'r>,
29422 ) {
29423 <V as VisitAstPath>::visit_flex(visitor, self, __ast_path)
29424 }
29425
29426 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29427 &'ast self,
29428 visitor: &mut V,
29429 __ast_path: &mut AstNodePath<'r>,
29430 ) {
29431 match self {
29432 Flex { span, value, unit } => {
29433 {
29434 let mut __ast_path = __ast_path
29435 .with_guard(AstParentNodeRef::Flex(self, self::fields::FlexField::Span));
29436 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29437 span,
29438 visitor,
29439 &mut *__ast_path,
29440 )
29441 };
29442 {
29443 let mut __ast_path = __ast_path
29444 .with_guard(AstParentNodeRef::Flex(self, self::fields::FlexField::Value));
29445 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
29446 value,
29447 visitor,
29448 &mut *__ast_path,
29449 )
29450 };
29451 {
29452 let mut __ast_path = __ast_path
29453 .with_guard(AstParentNodeRef::Flex(self, self::fields::FlexField::Unit));
29454 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
29455 unit,
29456 visitor,
29457 &mut *__ast_path,
29458 )
29459 };
29460 }
29461 }
29462 }
29463}
29464#[cfg(any(docsrs, feature = "path"))]
29465#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29466impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for FontFeatureValuesPrelude {
29467 #[doc = "Calls [VisitAstPath`::visit_font_feature_values_prelude`] with `self`."]
29468 fn visit_with_ast_path<'ast: 'r, 'r>(
29469 &'ast self,
29470 visitor: &mut V,
29471 __ast_path: &mut AstNodePath<'r>,
29472 ) {
29473 <V as VisitAstPath>::visit_font_feature_values_prelude(visitor, self, __ast_path)
29474 }
29475
29476 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29477 &'ast self,
29478 visitor: &mut V,
29479 __ast_path: &mut AstNodePath<'r>,
29480 ) {
29481 match self {
29482 FontFeatureValuesPrelude { span, font_family } => {
29483 {
29484 let mut __ast_path =
29485 __ast_path.with_guard(AstParentNodeRef::FontFeatureValuesPrelude(
29486 self,
29487 self::fields::FontFeatureValuesPreludeField::Span,
29488 ));
29489 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29490 span,
29491 visitor,
29492 &mut *__ast_path,
29493 )
29494 };
29495 {
29496 let mut __ast_path =
29497 __ast_path.with_guard(AstParentNodeRef::FontFeatureValuesPrelude(
29498 self,
29499 self::fields::FontFeatureValuesPreludeField::FontFamily(usize::MAX),
29500 ));
29501 <Vec<FamilyName> as VisitWithAstPath<V>>::visit_with_ast_path(
29502 font_family,
29503 visitor,
29504 &mut *__ast_path,
29505 )
29506 };
29507 }
29508 }
29509 }
29510}
29511#[cfg(any(docsrs, feature = "path"))]
29512#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29513impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ForgivingComplexSelector {
29514 #[doc = "Calls [VisitAstPath`::visit_forgiving_complex_selector`] with `self`."]
29515 fn visit_with_ast_path<'ast: 'r, 'r>(
29516 &'ast self,
29517 visitor: &mut V,
29518 __ast_path: &mut AstNodePath<'r>,
29519 ) {
29520 <V as VisitAstPath>::visit_forgiving_complex_selector(visitor, self, __ast_path)
29521 }
29522
29523 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29524 &'ast self,
29525 visitor: &mut V,
29526 __ast_path: &mut AstNodePath<'r>,
29527 ) {
29528 match self {
29529 ForgivingComplexSelector::ComplexSelector { 0: _field_0 } => {
29530 let mut __ast_path =
29531 __ast_path.with_guard(AstParentNodeRef::ForgivingComplexSelector(
29532 self,
29533 self::fields::ForgivingComplexSelectorField::ComplexSelector,
29534 ));
29535 <ComplexSelector as VisitWithAstPath<V>>::visit_with_ast_path(
29536 _field_0,
29537 visitor,
29538 &mut *__ast_path,
29539 );
29540 }
29541 ForgivingComplexSelector::ListOfComponentValues { 0: _field_0 } => {
29542 let mut __ast_path =
29543 __ast_path.with_guard(AstParentNodeRef::ForgivingComplexSelector(
29544 self,
29545 self::fields::ForgivingComplexSelectorField::ListOfComponentValues,
29546 ));
29547 <ListOfComponentValues as VisitWithAstPath<V>>::visit_with_ast_path(
29548 _field_0,
29549 visitor,
29550 &mut *__ast_path,
29551 );
29552 }
29553 }
29554 }
29555}
29556#[cfg(any(docsrs, feature = "path"))]
29557#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29558impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ForgivingRelativeSelector {
29559 #[doc = "Calls [VisitAstPath`::visit_forgiving_relative_selector`] with `self`."]
29560 fn visit_with_ast_path<'ast: 'r, 'r>(
29561 &'ast self,
29562 visitor: &mut V,
29563 __ast_path: &mut AstNodePath<'r>,
29564 ) {
29565 <V as VisitAstPath>::visit_forgiving_relative_selector(visitor, self, __ast_path)
29566 }
29567
29568 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29569 &'ast self,
29570 visitor: &mut V,
29571 __ast_path: &mut AstNodePath<'r>,
29572 ) {
29573 match self {
29574 ForgivingRelativeSelector::RelativeSelector { 0: _field_0 } => {
29575 let mut __ast_path =
29576 __ast_path.with_guard(AstParentNodeRef::ForgivingRelativeSelector(
29577 self,
29578 self::fields::ForgivingRelativeSelectorField::RelativeSelector,
29579 ));
29580 <RelativeSelector as VisitWithAstPath<V>>::visit_with_ast_path(
29581 _field_0,
29582 visitor,
29583 &mut *__ast_path,
29584 );
29585 }
29586 ForgivingRelativeSelector::ListOfComponentValues { 0: _field_0 } => {
29587 let mut __ast_path =
29588 __ast_path.with_guard(AstParentNodeRef::ForgivingRelativeSelector(
29589 self,
29590 self::fields::ForgivingRelativeSelectorField::ListOfComponentValues,
29591 ));
29592 <ListOfComponentValues as VisitWithAstPath<V>>::visit_with_ast_path(
29593 _field_0,
29594 visitor,
29595 &mut *__ast_path,
29596 );
29597 }
29598 }
29599 }
29600}
29601#[cfg(any(docsrs, feature = "path"))]
29602#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29603impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ForgivingRelativeSelectorList {
29604 #[doc = "Calls [VisitAstPath`::visit_forgiving_relative_selector_list`] with `self`."]
29605 fn visit_with_ast_path<'ast: 'r, 'r>(
29606 &'ast self,
29607 visitor: &mut V,
29608 __ast_path: &mut AstNodePath<'r>,
29609 ) {
29610 <V as VisitAstPath>::visit_forgiving_relative_selector_list(visitor, self, __ast_path)
29611 }
29612
29613 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29614 &'ast self,
29615 visitor: &mut V,
29616 __ast_path: &mut AstNodePath<'r>,
29617 ) {
29618 match self {
29619 ForgivingRelativeSelectorList { span, children } => {
29620 {
29621 let mut __ast_path =
29622 __ast_path.with_guard(AstParentNodeRef::ForgivingRelativeSelectorList(
29623 self,
29624 self::fields::ForgivingRelativeSelectorListField::Span,
29625 ));
29626 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29627 span,
29628 visitor,
29629 &mut *__ast_path,
29630 )
29631 };
29632 {
29633 let mut __ast_path =
29634 __ast_path.with_guard(AstParentNodeRef::ForgivingRelativeSelectorList(
29635 self,
29636 self::fields::ForgivingRelativeSelectorListField::Children(usize::MAX),
29637 ));
29638 <Vec<ForgivingRelativeSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
29639 children,
29640 visitor,
29641 &mut *__ast_path,
29642 )
29643 };
29644 }
29645 }
29646 }
29647}
29648#[cfg(any(docsrs, feature = "path"))]
29649#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29650impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ForgivingSelectorList {
29651 #[doc = "Calls [VisitAstPath`::visit_forgiving_selector_list`] with `self`."]
29652 fn visit_with_ast_path<'ast: 'r, 'r>(
29653 &'ast self,
29654 visitor: &mut V,
29655 __ast_path: &mut AstNodePath<'r>,
29656 ) {
29657 <V as VisitAstPath>::visit_forgiving_selector_list(visitor, self, __ast_path)
29658 }
29659
29660 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29661 &'ast self,
29662 visitor: &mut V,
29663 __ast_path: &mut AstNodePath<'r>,
29664 ) {
29665 match self {
29666 ForgivingSelectorList { span, children } => {
29667 {
29668 let mut __ast_path =
29669 __ast_path.with_guard(AstParentNodeRef::ForgivingSelectorList(
29670 self,
29671 self::fields::ForgivingSelectorListField::Span,
29672 ));
29673 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29674 span,
29675 visitor,
29676 &mut *__ast_path,
29677 )
29678 };
29679 {
29680 let mut __ast_path =
29681 __ast_path.with_guard(AstParentNodeRef::ForgivingSelectorList(
29682 self,
29683 self::fields::ForgivingSelectorListField::Children(usize::MAX),
29684 ));
29685 <Vec<ForgivingComplexSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
29686 children,
29687 visitor,
29688 &mut *__ast_path,
29689 )
29690 };
29691 }
29692 }
29693 }
29694}
29695#[cfg(any(docsrs, feature = "path"))]
29696#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29697impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Frequency {
29698 #[doc = "Calls [VisitAstPath`::visit_frequency`] with `self`."]
29699 fn visit_with_ast_path<'ast: 'r, 'r>(
29700 &'ast self,
29701 visitor: &mut V,
29702 __ast_path: &mut AstNodePath<'r>,
29703 ) {
29704 <V as VisitAstPath>::visit_frequency(visitor, self, __ast_path)
29705 }
29706
29707 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29708 &'ast self,
29709 visitor: &mut V,
29710 __ast_path: &mut AstNodePath<'r>,
29711 ) {
29712 match self {
29713 Frequency { span, value, unit } => {
29714 {
29715 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Frequency(
29716 self,
29717 self::fields::FrequencyField::Span,
29718 ));
29719 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29720 span,
29721 visitor,
29722 &mut *__ast_path,
29723 )
29724 };
29725 {
29726 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Frequency(
29727 self,
29728 self::fields::FrequencyField::Value,
29729 ));
29730 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
29731 value,
29732 visitor,
29733 &mut *__ast_path,
29734 )
29735 };
29736 {
29737 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Frequency(
29738 self,
29739 self::fields::FrequencyField::Unit,
29740 ));
29741 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
29742 unit,
29743 visitor,
29744 &mut *__ast_path,
29745 )
29746 };
29747 }
29748 }
29749 }
29750}
29751#[cfg(any(docsrs, feature = "path"))]
29752#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29753impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for FrequencyPercentage {
29754 #[doc = "Calls [VisitAstPath`::visit_frequency_percentage`] with `self`."]
29755 fn visit_with_ast_path<'ast: 'r, 'r>(
29756 &'ast self,
29757 visitor: &mut V,
29758 __ast_path: &mut AstNodePath<'r>,
29759 ) {
29760 <V as VisitAstPath>::visit_frequency_percentage(visitor, self, __ast_path)
29761 }
29762
29763 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29764 &'ast self,
29765 visitor: &mut V,
29766 __ast_path: &mut AstNodePath<'r>,
29767 ) {
29768 match self {
29769 FrequencyPercentage::Frequency { 0: _field_0 } => {
29770 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::FrequencyPercentage(
29771 self,
29772 self::fields::FrequencyPercentageField::Frequency,
29773 ));
29774 <Frequency as VisitWithAstPath<V>>::visit_with_ast_path(
29775 _field_0,
29776 visitor,
29777 &mut *__ast_path,
29778 );
29779 }
29780 FrequencyPercentage::Percentage { 0: _field_0 } => {
29781 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::FrequencyPercentage(
29782 self,
29783 self::fields::FrequencyPercentageField::Percentage,
29784 ));
29785 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
29786 _field_0,
29787 visitor,
29788 &mut *__ast_path,
29789 );
29790 }
29791 }
29792 }
29793}
29794#[cfg(any(docsrs, feature = "path"))]
29795#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29796impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Function {
29797 #[doc = "Calls [VisitAstPath`::visit_function`] with `self`."]
29798 fn visit_with_ast_path<'ast: 'r, 'r>(
29799 &'ast self,
29800 visitor: &mut V,
29801 __ast_path: &mut AstNodePath<'r>,
29802 ) {
29803 <V as VisitAstPath>::visit_function(visitor, self, __ast_path)
29804 }
29805
29806 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29807 &'ast self,
29808 visitor: &mut V,
29809 __ast_path: &mut AstNodePath<'r>,
29810 ) {
29811 match self {
29812 Function { span, name, value } => {
29813 {
29814 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Function(
29815 self,
29816 self::fields::FunctionField::Span,
29817 ));
29818 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29819 span,
29820 visitor,
29821 &mut *__ast_path,
29822 )
29823 };
29824 {
29825 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Function(
29826 self,
29827 self::fields::FunctionField::Name,
29828 ));
29829 <FunctionName as VisitWithAstPath<V>>::visit_with_ast_path(
29830 name,
29831 visitor,
29832 &mut *__ast_path,
29833 )
29834 };
29835 {
29836 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Function(
29837 self,
29838 self::fields::FunctionField::Value(usize::MAX),
29839 ));
29840 <Vec<ComponentValue> as VisitWithAstPath<V>>::visit_with_ast_path(
29841 value,
29842 visitor,
29843 &mut *__ast_path,
29844 )
29845 };
29846 }
29847 }
29848 }
29849}
29850#[cfg(any(docsrs, feature = "path"))]
29851#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29852impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for FunctionName {
29853 #[doc = "Calls [VisitAstPath`::visit_function_name`] with `self`."]
29854 fn visit_with_ast_path<'ast: 'r, 'r>(
29855 &'ast self,
29856 visitor: &mut V,
29857 __ast_path: &mut AstNodePath<'r>,
29858 ) {
29859 <V as VisitAstPath>::visit_function_name(visitor, self, __ast_path)
29860 }
29861
29862 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29863 &'ast self,
29864 visitor: &mut V,
29865 __ast_path: &mut AstNodePath<'r>,
29866 ) {
29867 match self {
29868 FunctionName::Ident { 0: _field_0 } => {
29869 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::FunctionName(
29870 self,
29871 self::fields::FunctionNameField::Ident,
29872 ));
29873 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
29874 _field_0,
29875 visitor,
29876 &mut *__ast_path,
29877 );
29878 }
29879 FunctionName::DashedIdent { 0: _field_0 } => {
29880 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::FunctionName(
29881 self,
29882 self::fields::FunctionNameField::DashedIdent,
29883 ));
29884 <DashedIdent as VisitWithAstPath<V>>::visit_with_ast_path(
29885 _field_0,
29886 visitor,
29887 &mut *__ast_path,
29888 );
29889 }
29890 }
29891 }
29892}
29893#[cfg(any(docsrs, feature = "path"))]
29894#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29895impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for GeneralEnclosed {
29896 #[doc = "Calls [VisitAstPath`::visit_general_enclosed`] with `self`."]
29897 fn visit_with_ast_path<'ast: 'r, 'r>(
29898 &'ast self,
29899 visitor: &mut V,
29900 __ast_path: &mut AstNodePath<'r>,
29901 ) {
29902 <V as VisitAstPath>::visit_general_enclosed(visitor, self, __ast_path)
29903 }
29904
29905 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29906 &'ast self,
29907 visitor: &mut V,
29908 __ast_path: &mut AstNodePath<'r>,
29909 ) {
29910 match self {
29911 GeneralEnclosed::Function { 0: _field_0 } => {
29912 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::GeneralEnclosed(
29913 self,
29914 self::fields::GeneralEnclosedField::Function,
29915 ));
29916 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
29917 _field_0,
29918 visitor,
29919 &mut *__ast_path,
29920 );
29921 }
29922 GeneralEnclosed::SimpleBlock { 0: _field_0 } => {
29923 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::GeneralEnclosed(
29924 self,
29925 self::fields::GeneralEnclosedField::SimpleBlock,
29926 ));
29927 <SimpleBlock as VisitWithAstPath<V>>::visit_with_ast_path(
29928 _field_0,
29929 visitor,
29930 &mut *__ast_path,
29931 );
29932 }
29933 }
29934 }
29935}
29936#[cfg(any(docsrs, feature = "path"))]
29937#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29938impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for HexColor {
29939 #[doc = "Calls [VisitAstPath`::visit_hex_color`] with `self`."]
29940 fn visit_with_ast_path<'ast: 'r, 'r>(
29941 &'ast self,
29942 visitor: &mut V,
29943 __ast_path: &mut AstNodePath<'r>,
29944 ) {
29945 <V as VisitAstPath>::visit_hex_color(visitor, self, __ast_path)
29946 }
29947
29948 fn visit_children_with_ast_path<'ast: 'r, 'r>(
29949 &'ast self,
29950 visitor: &mut V,
29951 __ast_path: &mut AstNodePath<'r>,
29952 ) {
29953 match self {
29954 HexColor { span, value, raw } => {
29955 {
29956 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::HexColor(
29957 self,
29958 self::fields::HexColorField::Span,
29959 ));
29960 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
29961 span,
29962 visitor,
29963 &mut *__ast_path,
29964 )
29965 };
29966 {
29967 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::HexColor(
29968 self,
29969 self::fields::HexColorField::Value,
29970 ));
29971 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
29972 value,
29973 visitor,
29974 &mut *__ast_path,
29975 )
29976 };
29977 {
29978 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::HexColor(
29979 self,
29980 self::fields::HexColorField::Raw,
29981 ));
29982 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
29983 raw,
29984 visitor,
29985 &mut *__ast_path,
29986 )
29987 };
29988 }
29989 }
29990 }
29991}
29992#[cfg(any(docsrs, feature = "path"))]
29993#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
29994impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Hue {
29995 #[doc = "Calls [VisitAstPath`::visit_hue`] with `self`."]
29996 fn visit_with_ast_path<'ast: 'r, 'r>(
29997 &'ast self,
29998 visitor: &mut V,
29999 __ast_path: &mut AstNodePath<'r>,
30000 ) {
30001 <V as VisitAstPath>::visit_hue(visitor, self, __ast_path)
30002 }
30003
30004 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30005 &'ast self,
30006 visitor: &mut V,
30007 __ast_path: &mut AstNodePath<'r>,
30008 ) {
30009 match self {
30010 Hue::Number { 0: _field_0 } => {
30011 let mut __ast_path = __ast_path
30012 .with_guard(AstParentNodeRef::Hue(self, self::fields::HueField::Number));
30013 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
30014 _field_0,
30015 visitor,
30016 &mut *__ast_path,
30017 );
30018 }
30019 Hue::Angle { 0: _field_0 } => {
30020 let mut __ast_path = __ast_path
30021 .with_guard(AstParentNodeRef::Hue(self, self::fields::HueField::Angle));
30022 <Angle as VisitWithAstPath<V>>::visit_with_ast_path(
30023 _field_0,
30024 visitor,
30025 &mut *__ast_path,
30026 );
30027 }
30028 }
30029 }
30030}
30031#[cfg(any(docsrs, feature = "path"))]
30032#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30033impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for IdSelector {
30034 #[doc = "Calls [VisitAstPath`::visit_id_selector`] with `self`."]
30035 fn visit_with_ast_path<'ast: 'r, 'r>(
30036 &'ast self,
30037 visitor: &mut V,
30038 __ast_path: &mut AstNodePath<'r>,
30039 ) {
30040 <V as VisitAstPath>::visit_id_selector(visitor, self, __ast_path)
30041 }
30042
30043 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30044 &'ast self,
30045 visitor: &mut V,
30046 __ast_path: &mut AstNodePath<'r>,
30047 ) {
30048 match self {
30049 IdSelector { span, text } => {
30050 {
30051 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::IdSelector(
30052 self,
30053 self::fields::IdSelectorField::Span,
30054 ));
30055 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30056 span,
30057 visitor,
30058 &mut *__ast_path,
30059 )
30060 };
30061 {
30062 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::IdSelector(
30063 self,
30064 self::fields::IdSelectorField::Text,
30065 ));
30066 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
30067 text,
30068 visitor,
30069 &mut *__ast_path,
30070 )
30071 };
30072 }
30073 }
30074 }
30075}
30076#[cfg(any(docsrs, feature = "path"))]
30077#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30078impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Ident {
30079 #[doc = "Calls [VisitAstPath`::visit_ident`] with `self`."]
30080 fn visit_with_ast_path<'ast: 'r, 'r>(
30081 &'ast self,
30082 visitor: &mut V,
30083 __ast_path: &mut AstNodePath<'r>,
30084 ) {
30085 <V as VisitAstPath>::visit_ident(visitor, self, __ast_path)
30086 }
30087
30088 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30089 &'ast self,
30090 visitor: &mut V,
30091 __ast_path: &mut AstNodePath<'r>,
30092 ) {
30093 match self {
30094 Ident { span, value, raw } => {
30095 {
30096 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Ident(
30097 self,
30098 self::fields::IdentField::Span,
30099 ));
30100 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30101 span,
30102 visitor,
30103 &mut *__ast_path,
30104 )
30105 };
30106 {
30107 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Ident(
30108 self,
30109 self::fields::IdentField::Value,
30110 ));
30111 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
30112 value,
30113 visitor,
30114 &mut *__ast_path,
30115 )
30116 };
30117 {
30118 let mut __ast_path = __ast_path
30119 .with_guard(AstParentNodeRef::Ident(self, self::fields::IdentField::Raw));
30120 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
30121 raw,
30122 visitor,
30123 &mut *__ast_path,
30124 )
30125 };
30126 }
30127 }
30128 }
30129}
30130#[cfg(any(docsrs, feature = "path"))]
30131#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30132impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ImportConditions {
30133 #[doc = "Calls [VisitAstPath`::visit_import_conditions`] with `self`."]
30134 fn visit_with_ast_path<'ast: 'r, 'r>(
30135 &'ast self,
30136 visitor: &mut V,
30137 __ast_path: &mut AstNodePath<'r>,
30138 ) {
30139 <V as VisitAstPath>::visit_import_conditions(visitor, self, __ast_path)
30140 }
30141
30142 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30143 &'ast self,
30144 visitor: &mut V,
30145 __ast_path: &mut AstNodePath<'r>,
30146 ) {
30147 match self {
30148 ImportConditions {
30149 span,
30150 supports,
30151 media,
30152 } => {
30153 {
30154 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportConditions(
30155 self,
30156 self::fields::ImportConditionsField::Span,
30157 ));
30158 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30159 span,
30160 visitor,
30161 &mut *__ast_path,
30162 )
30163 };
30164 {
30165 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportConditions(
30166 self,
30167 self::fields::ImportConditionsField::Supports,
30168 ));
30169 <Option<Box<Function>> as VisitWithAstPath<V>>::visit_with_ast_path(
30170 supports,
30171 visitor,
30172 &mut *__ast_path,
30173 )
30174 };
30175 {
30176 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportConditions(
30177 self,
30178 self::fields::ImportConditionsField::Media,
30179 ));
30180 <Option<Box<MediaQueryList>> as VisitWithAstPath<V>>::visit_with_ast_path(
30181 media,
30182 visitor,
30183 &mut *__ast_path,
30184 )
30185 };
30186 }
30187 }
30188 }
30189}
30190#[cfg(any(docsrs, feature = "path"))]
30191#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30192impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ImportHref {
30193 #[doc = "Calls [VisitAstPath`::visit_import_href`] with `self`."]
30194 fn visit_with_ast_path<'ast: 'r, 'r>(
30195 &'ast self,
30196 visitor: &mut V,
30197 __ast_path: &mut AstNodePath<'r>,
30198 ) {
30199 <V as VisitAstPath>::visit_import_href(visitor, self, __ast_path)
30200 }
30201
30202 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30203 &'ast self,
30204 visitor: &mut V,
30205 __ast_path: &mut AstNodePath<'r>,
30206 ) {
30207 match self {
30208 ImportHref::Url { 0: _field_0 } => {
30209 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportHref(
30210 self,
30211 self::fields::ImportHrefField::Url,
30212 ));
30213 <Url as VisitWithAstPath<V>>::visit_with_ast_path(
30214 _field_0,
30215 visitor,
30216 &mut *__ast_path,
30217 );
30218 }
30219 ImportHref::Str { 0: _field_0 } => {
30220 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportHref(
30221 self,
30222 self::fields::ImportHrefField::Str,
30223 ));
30224 <Str as VisitWithAstPath<V>>::visit_with_ast_path(
30225 _field_0,
30226 visitor,
30227 &mut *__ast_path,
30228 );
30229 }
30230 }
30231 }
30232}
30233#[cfg(any(docsrs, feature = "path"))]
30234#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30235impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ImportLayerName {
30236 #[doc = "Calls [VisitAstPath`::visit_import_layer_name`] with `self`."]
30237 fn visit_with_ast_path<'ast: 'r, 'r>(
30238 &'ast self,
30239 visitor: &mut V,
30240 __ast_path: &mut AstNodePath<'r>,
30241 ) {
30242 <V as VisitAstPath>::visit_import_layer_name(visitor, self, __ast_path)
30243 }
30244
30245 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30246 &'ast self,
30247 visitor: &mut V,
30248 __ast_path: &mut AstNodePath<'r>,
30249 ) {
30250 match self {
30251 ImportLayerName::Ident { 0: _field_0 } => {
30252 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportLayerName(
30253 self,
30254 self::fields::ImportLayerNameField::Ident,
30255 ));
30256 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
30257 _field_0,
30258 visitor,
30259 &mut *__ast_path,
30260 );
30261 }
30262 ImportLayerName::Function { 0: _field_0 } => {
30263 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportLayerName(
30264 self,
30265 self::fields::ImportLayerNameField::Function,
30266 ));
30267 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
30268 _field_0,
30269 visitor,
30270 &mut *__ast_path,
30271 );
30272 }
30273 }
30274 }
30275}
30276#[cfg(any(docsrs, feature = "path"))]
30277#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30278impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ImportPrelude {
30279 #[doc = "Calls [VisitAstPath`::visit_import_prelude`] with `self`."]
30280 fn visit_with_ast_path<'ast: 'r, 'r>(
30281 &'ast self,
30282 visitor: &mut V,
30283 __ast_path: &mut AstNodePath<'r>,
30284 ) {
30285 <V as VisitAstPath>::visit_import_prelude(visitor, self, __ast_path)
30286 }
30287
30288 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30289 &'ast self,
30290 visitor: &mut V,
30291 __ast_path: &mut AstNodePath<'r>,
30292 ) {
30293 match self {
30294 ImportPrelude {
30295 span,
30296 href,
30297 layer_name,
30298 import_conditions,
30299 } => {
30300 {
30301 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportPrelude(
30302 self,
30303 self::fields::ImportPreludeField::Span,
30304 ));
30305 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30306 span,
30307 visitor,
30308 &mut *__ast_path,
30309 )
30310 };
30311 {
30312 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportPrelude(
30313 self,
30314 self::fields::ImportPreludeField::Href,
30315 ));
30316 <Box<ImportHref> as VisitWithAstPath<V>>::visit_with_ast_path(
30317 href,
30318 visitor,
30319 &mut *__ast_path,
30320 )
30321 };
30322 {
30323 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportPrelude(
30324 self,
30325 self::fields::ImportPreludeField::LayerName,
30326 ));
30327 <Option<Box<ImportLayerName>> as VisitWithAstPath<V>>::visit_with_ast_path(
30328 layer_name,
30329 visitor,
30330 &mut *__ast_path,
30331 )
30332 };
30333 {
30334 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportPrelude(
30335 self,
30336 self::fields::ImportPreludeField::ImportConditions,
30337 ));
30338 <Option<Box<ImportConditions>> as VisitWithAstPath<V>>::visit_with_ast_path(
30339 import_conditions,
30340 visitor,
30341 &mut *__ast_path,
30342 )
30343 };
30344 }
30345 }
30346 }
30347}
30348#[cfg(any(docsrs, feature = "path"))]
30349#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30350impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ImportantFlag {
30351 #[doc = "Calls [VisitAstPath`::visit_important_flag`] with `self`."]
30352 fn visit_with_ast_path<'ast: 'r, 'r>(
30353 &'ast self,
30354 visitor: &mut V,
30355 __ast_path: &mut AstNodePath<'r>,
30356 ) {
30357 <V as VisitAstPath>::visit_important_flag(visitor, self, __ast_path)
30358 }
30359
30360 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30361 &'ast self,
30362 visitor: &mut V,
30363 __ast_path: &mut AstNodePath<'r>,
30364 ) {
30365 match self {
30366 ImportantFlag { span, value } => {
30367 {
30368 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportantFlag(
30369 self,
30370 self::fields::ImportantFlagField::Span,
30371 ));
30372 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30373 span,
30374 visitor,
30375 &mut *__ast_path,
30376 )
30377 };
30378 {
30379 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ImportantFlag(
30380 self,
30381 self::fields::ImportantFlagField::Value,
30382 ));
30383 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
30384 value,
30385 visitor,
30386 &mut *__ast_path,
30387 )
30388 };
30389 }
30390 }
30391 }
30392}
30393#[cfg(any(docsrs, feature = "path"))]
30394#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30395impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Integer {
30396 #[doc = "Calls [VisitAstPath`::visit_integer`] with `self`."]
30397 fn visit_with_ast_path<'ast: 'r, 'r>(
30398 &'ast self,
30399 visitor: &mut V,
30400 __ast_path: &mut AstNodePath<'r>,
30401 ) {
30402 <V as VisitAstPath>::visit_integer(visitor, self, __ast_path)
30403 }
30404
30405 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30406 &'ast self,
30407 visitor: &mut V,
30408 __ast_path: &mut AstNodePath<'r>,
30409 ) {
30410 match self {
30411 Integer { span, value, raw } => {
30412 {
30413 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Integer(
30414 self,
30415 self::fields::IntegerField::Span,
30416 ));
30417 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30418 span,
30419 visitor,
30420 &mut *__ast_path,
30421 )
30422 };
30423 {
30424 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Integer(
30425 self,
30426 self::fields::IntegerField::Raw,
30427 ));
30428 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
30429 raw,
30430 visitor,
30431 &mut *__ast_path,
30432 )
30433 };
30434 }
30435 }
30436 }
30437}
30438#[cfg(any(docsrs, feature = "path"))]
30439#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30440impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for KeyframeBlock {
30441 #[doc = "Calls [VisitAstPath`::visit_keyframe_block`] with `self`."]
30442 fn visit_with_ast_path<'ast: 'r, 'r>(
30443 &'ast self,
30444 visitor: &mut V,
30445 __ast_path: &mut AstNodePath<'r>,
30446 ) {
30447 <V as VisitAstPath>::visit_keyframe_block(visitor, self, __ast_path)
30448 }
30449
30450 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30451 &'ast self,
30452 visitor: &mut V,
30453 __ast_path: &mut AstNodePath<'r>,
30454 ) {
30455 match self {
30456 KeyframeBlock {
30457 span,
30458 prelude,
30459 block,
30460 } => {
30461 {
30462 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframeBlock(
30463 self,
30464 self::fields::KeyframeBlockField::Span,
30465 ));
30466 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30467 span,
30468 visitor,
30469 &mut *__ast_path,
30470 )
30471 };
30472 {
30473 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframeBlock(
30474 self,
30475 self::fields::KeyframeBlockField::Prelude(usize::MAX),
30476 ));
30477 <Vec<KeyframeSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
30478 prelude,
30479 visitor,
30480 &mut *__ast_path,
30481 )
30482 };
30483 {
30484 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframeBlock(
30485 self,
30486 self::fields::KeyframeBlockField::Block,
30487 ));
30488 <SimpleBlock as VisitWithAstPath<V>>::visit_with_ast_path(
30489 block,
30490 visitor,
30491 &mut *__ast_path,
30492 )
30493 };
30494 }
30495 }
30496 }
30497}
30498#[cfg(any(docsrs, feature = "path"))]
30499#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30500impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for KeyframeSelector {
30501 #[doc = "Calls [VisitAstPath`::visit_keyframe_selector`] with `self`."]
30502 fn visit_with_ast_path<'ast: 'r, 'r>(
30503 &'ast self,
30504 visitor: &mut V,
30505 __ast_path: &mut AstNodePath<'r>,
30506 ) {
30507 <V as VisitAstPath>::visit_keyframe_selector(visitor, self, __ast_path)
30508 }
30509
30510 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30511 &'ast self,
30512 visitor: &mut V,
30513 __ast_path: &mut AstNodePath<'r>,
30514 ) {
30515 match self {
30516 KeyframeSelector::Ident { 0: _field_0 } => {
30517 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframeSelector(
30518 self,
30519 self::fields::KeyframeSelectorField::Ident,
30520 ));
30521 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
30522 _field_0,
30523 visitor,
30524 &mut *__ast_path,
30525 );
30526 }
30527 KeyframeSelector::Percentage { 0: _field_0 } => {
30528 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframeSelector(
30529 self,
30530 self::fields::KeyframeSelectorField::Percentage,
30531 ));
30532 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
30533 _field_0,
30534 visitor,
30535 &mut *__ast_path,
30536 );
30537 }
30538 }
30539 }
30540}
30541#[cfg(any(docsrs, feature = "path"))]
30542#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30543impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for KeyframesName {
30544 #[doc = "Calls [VisitAstPath`::visit_keyframes_name`] with `self`."]
30545 fn visit_with_ast_path<'ast: 'r, 'r>(
30546 &'ast self,
30547 visitor: &mut V,
30548 __ast_path: &mut AstNodePath<'r>,
30549 ) {
30550 <V as VisitAstPath>::visit_keyframes_name(visitor, self, __ast_path)
30551 }
30552
30553 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30554 &'ast self,
30555 visitor: &mut V,
30556 __ast_path: &mut AstNodePath<'r>,
30557 ) {
30558 match self {
30559 KeyframesName::CustomIdent { 0: _field_0 } => {
30560 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframesName(
30561 self,
30562 self::fields::KeyframesNameField::CustomIdent,
30563 ));
30564 <Box<CustomIdent> as VisitWithAstPath<V>>::visit_with_ast_path(
30565 _field_0,
30566 visitor,
30567 &mut *__ast_path,
30568 );
30569 }
30570 KeyframesName::Str { 0: _field_0 } => {
30571 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframesName(
30572 self,
30573 self::fields::KeyframesNameField::Str,
30574 ));
30575 <Box<Str> as VisitWithAstPath<V>>::visit_with_ast_path(
30576 _field_0,
30577 visitor,
30578 &mut *__ast_path,
30579 );
30580 }
30581 KeyframesName::PseudoPrefix { 0: _field_0 } => {
30582 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframesName(
30583 self,
30584 self::fields::KeyframesNameField::PseudoPrefix,
30585 ));
30586 <Box<KeyframesPseudoPrefix> as VisitWithAstPath<V>>::visit_with_ast_path(
30587 _field_0,
30588 visitor,
30589 &mut *__ast_path,
30590 );
30591 }
30592 KeyframesName::PseudoFunction { 0: _field_0 } => {
30593 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::KeyframesName(
30594 self,
30595 self::fields::KeyframesNameField::PseudoFunction,
30596 ));
30597 <Box<KeyframesPseudoFunction> as VisitWithAstPath<V>>::visit_with_ast_path(
30598 _field_0,
30599 visitor,
30600 &mut *__ast_path,
30601 );
30602 }
30603 }
30604 }
30605}
30606#[cfg(any(docsrs, feature = "path"))]
30607#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30608impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for KeyframesPseudoFunction {
30609 #[doc = "Calls [VisitAstPath`::visit_keyframes_pseudo_function`] with `self`."]
30610 fn visit_with_ast_path<'ast: 'r, 'r>(
30611 &'ast self,
30612 visitor: &mut V,
30613 __ast_path: &mut AstNodePath<'r>,
30614 ) {
30615 <V as VisitAstPath>::visit_keyframes_pseudo_function(visitor, self, __ast_path)
30616 }
30617
30618 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30619 &'ast self,
30620 visitor: &mut V,
30621 __ast_path: &mut AstNodePath<'r>,
30622 ) {
30623 match self {
30624 KeyframesPseudoFunction { span, pseudo, name } => {
30625 {
30626 let mut __ast_path =
30627 __ast_path.with_guard(AstParentNodeRef::KeyframesPseudoFunction(
30628 self,
30629 self::fields::KeyframesPseudoFunctionField::Span,
30630 ));
30631 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30632 span,
30633 visitor,
30634 &mut *__ast_path,
30635 )
30636 };
30637 {
30638 let mut __ast_path =
30639 __ast_path.with_guard(AstParentNodeRef::KeyframesPseudoFunction(
30640 self,
30641 self::fields::KeyframesPseudoFunctionField::Pseudo,
30642 ));
30643 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
30644 pseudo,
30645 visitor,
30646 &mut *__ast_path,
30647 )
30648 };
30649 {
30650 let mut __ast_path =
30651 __ast_path.with_guard(AstParentNodeRef::KeyframesPseudoFunction(
30652 self,
30653 self::fields::KeyframesPseudoFunctionField::Name,
30654 ));
30655 <KeyframesName as VisitWithAstPath<V>>::visit_with_ast_path(
30656 name,
30657 visitor,
30658 &mut *__ast_path,
30659 )
30660 };
30661 }
30662 }
30663 }
30664}
30665#[cfg(any(docsrs, feature = "path"))]
30666#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30667impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for KeyframesPseudoPrefix {
30668 #[doc = "Calls [VisitAstPath`::visit_keyframes_pseudo_prefix`] with `self`."]
30669 fn visit_with_ast_path<'ast: 'r, 'r>(
30670 &'ast self,
30671 visitor: &mut V,
30672 __ast_path: &mut AstNodePath<'r>,
30673 ) {
30674 <V as VisitAstPath>::visit_keyframes_pseudo_prefix(visitor, self, __ast_path)
30675 }
30676
30677 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30678 &'ast self,
30679 visitor: &mut V,
30680 __ast_path: &mut AstNodePath<'r>,
30681 ) {
30682 match self {
30683 KeyframesPseudoPrefix { span, pseudo, name } => {
30684 {
30685 let mut __ast_path =
30686 __ast_path.with_guard(AstParentNodeRef::KeyframesPseudoPrefix(
30687 self,
30688 self::fields::KeyframesPseudoPrefixField::Span,
30689 ));
30690 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30691 span,
30692 visitor,
30693 &mut *__ast_path,
30694 )
30695 };
30696 {
30697 let mut __ast_path =
30698 __ast_path.with_guard(AstParentNodeRef::KeyframesPseudoPrefix(
30699 self,
30700 self::fields::KeyframesPseudoPrefixField::Pseudo,
30701 ));
30702 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
30703 pseudo,
30704 visitor,
30705 &mut *__ast_path,
30706 )
30707 };
30708 {
30709 let mut __ast_path =
30710 __ast_path.with_guard(AstParentNodeRef::KeyframesPseudoPrefix(
30711 self,
30712 self::fields::KeyframesPseudoPrefixField::Name,
30713 ));
30714 <KeyframesName as VisitWithAstPath<V>>::visit_with_ast_path(
30715 name,
30716 visitor,
30717 &mut *__ast_path,
30718 )
30719 };
30720 }
30721 }
30722 }
30723}
30724#[cfg(any(docsrs, feature = "path"))]
30725#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30726impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for LayerName {
30727 #[doc = "Calls [VisitAstPath`::visit_layer_name`] with `self`."]
30728 fn visit_with_ast_path<'ast: 'r, 'r>(
30729 &'ast self,
30730 visitor: &mut V,
30731 __ast_path: &mut AstNodePath<'r>,
30732 ) {
30733 <V as VisitAstPath>::visit_layer_name(visitor, self, __ast_path)
30734 }
30735
30736 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30737 &'ast self,
30738 visitor: &mut V,
30739 __ast_path: &mut AstNodePath<'r>,
30740 ) {
30741 match self {
30742 LayerName { span, name } => {
30743 {
30744 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LayerName(
30745 self,
30746 self::fields::LayerNameField::Span,
30747 ));
30748 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30749 span,
30750 visitor,
30751 &mut *__ast_path,
30752 )
30753 };
30754 {
30755 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LayerName(
30756 self,
30757 self::fields::LayerNameField::Name(usize::MAX),
30758 ));
30759 <Vec<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
30760 name,
30761 visitor,
30762 &mut *__ast_path,
30763 )
30764 };
30765 }
30766 }
30767 }
30768}
30769#[cfg(any(docsrs, feature = "path"))]
30770#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30771impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for LayerNameList {
30772 #[doc = "Calls [VisitAstPath`::visit_layer_name_list`] with `self`."]
30773 fn visit_with_ast_path<'ast: 'r, 'r>(
30774 &'ast self,
30775 visitor: &mut V,
30776 __ast_path: &mut AstNodePath<'r>,
30777 ) {
30778 <V as VisitAstPath>::visit_layer_name_list(visitor, self, __ast_path)
30779 }
30780
30781 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30782 &'ast self,
30783 visitor: &mut V,
30784 __ast_path: &mut AstNodePath<'r>,
30785 ) {
30786 match self {
30787 LayerNameList { span, name_list } => {
30788 {
30789 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LayerNameList(
30790 self,
30791 self::fields::LayerNameListField::Span,
30792 ));
30793 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30794 span,
30795 visitor,
30796 &mut *__ast_path,
30797 )
30798 };
30799 {
30800 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LayerNameList(
30801 self,
30802 self::fields::LayerNameListField::NameList(usize::MAX),
30803 ));
30804 <Vec<LayerName> as VisitWithAstPath<V>>::visit_with_ast_path(
30805 name_list,
30806 visitor,
30807 &mut *__ast_path,
30808 )
30809 };
30810 }
30811 }
30812 }
30813}
30814#[cfg(any(docsrs, feature = "path"))]
30815#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30816impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for LayerPrelude {
30817 #[doc = "Calls [VisitAstPath`::visit_layer_prelude`] with `self`."]
30818 fn visit_with_ast_path<'ast: 'r, 'r>(
30819 &'ast self,
30820 visitor: &mut V,
30821 __ast_path: &mut AstNodePath<'r>,
30822 ) {
30823 <V as VisitAstPath>::visit_layer_prelude(visitor, self, __ast_path)
30824 }
30825
30826 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30827 &'ast self,
30828 visitor: &mut V,
30829 __ast_path: &mut AstNodePath<'r>,
30830 ) {
30831 match self {
30832 LayerPrelude::Name { 0: _field_0 } => {
30833 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LayerPrelude(
30834 self,
30835 self::fields::LayerPreludeField::Name,
30836 ));
30837 <LayerName as VisitWithAstPath<V>>::visit_with_ast_path(
30838 _field_0,
30839 visitor,
30840 &mut *__ast_path,
30841 );
30842 }
30843 LayerPrelude::NameList { 0: _field_0 } => {
30844 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LayerPrelude(
30845 self,
30846 self::fields::LayerPreludeField::NameList,
30847 ));
30848 <LayerNameList as VisitWithAstPath<V>>::visit_with_ast_path(
30849 _field_0,
30850 visitor,
30851 &mut *__ast_path,
30852 );
30853 }
30854 }
30855 }
30856}
30857#[cfg(any(docsrs, feature = "path"))]
30858#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30859impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Length {
30860 #[doc = "Calls [VisitAstPath`::visit_length`] with `self`."]
30861 fn visit_with_ast_path<'ast: 'r, 'r>(
30862 &'ast self,
30863 visitor: &mut V,
30864 __ast_path: &mut AstNodePath<'r>,
30865 ) {
30866 <V as VisitAstPath>::visit_length(visitor, self, __ast_path)
30867 }
30868
30869 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30870 &'ast self,
30871 visitor: &mut V,
30872 __ast_path: &mut AstNodePath<'r>,
30873 ) {
30874 match self {
30875 Length { span, value, unit } => {
30876 {
30877 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Length(
30878 self,
30879 self::fields::LengthField::Span,
30880 ));
30881 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30882 span,
30883 visitor,
30884 &mut *__ast_path,
30885 )
30886 };
30887 {
30888 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Length(
30889 self,
30890 self::fields::LengthField::Value,
30891 ));
30892 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
30893 value,
30894 visitor,
30895 &mut *__ast_path,
30896 )
30897 };
30898 {
30899 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Length(
30900 self,
30901 self::fields::LengthField::Unit,
30902 ));
30903 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
30904 unit,
30905 visitor,
30906 &mut *__ast_path,
30907 )
30908 };
30909 }
30910 }
30911 }
30912}
30913#[cfg(any(docsrs, feature = "path"))]
30914#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30915impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for LengthPercentage {
30916 #[doc = "Calls [VisitAstPath`::visit_length_percentage`] with `self`."]
30917 fn visit_with_ast_path<'ast: 'r, 'r>(
30918 &'ast self,
30919 visitor: &mut V,
30920 __ast_path: &mut AstNodePath<'r>,
30921 ) {
30922 <V as VisitAstPath>::visit_length_percentage(visitor, self, __ast_path)
30923 }
30924
30925 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30926 &'ast self,
30927 visitor: &mut V,
30928 __ast_path: &mut AstNodePath<'r>,
30929 ) {
30930 match self {
30931 LengthPercentage::Length { 0: _field_0 } => {
30932 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LengthPercentage(
30933 self,
30934 self::fields::LengthPercentageField::Length,
30935 ));
30936 <Length as VisitWithAstPath<V>>::visit_with_ast_path(
30937 _field_0,
30938 visitor,
30939 &mut *__ast_path,
30940 );
30941 }
30942 LengthPercentage::Percentage { 0: _field_0 } => {
30943 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::LengthPercentage(
30944 self,
30945 self::fields::LengthPercentageField::Percentage,
30946 ));
30947 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
30948 _field_0,
30949 visitor,
30950 &mut *__ast_path,
30951 );
30952 }
30953 }
30954 }
30955}
30956#[cfg(any(docsrs, feature = "path"))]
30957#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
30958impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ListOfComponentValues {
30959 #[doc = "Calls [VisitAstPath`::visit_list_of_component_values`] with `self`."]
30960 fn visit_with_ast_path<'ast: 'r, 'r>(
30961 &'ast self,
30962 visitor: &mut V,
30963 __ast_path: &mut AstNodePath<'r>,
30964 ) {
30965 <V as VisitAstPath>::visit_list_of_component_values(visitor, self, __ast_path)
30966 }
30967
30968 fn visit_children_with_ast_path<'ast: 'r, 'r>(
30969 &'ast self,
30970 visitor: &mut V,
30971 __ast_path: &mut AstNodePath<'r>,
30972 ) {
30973 match self {
30974 ListOfComponentValues { span, children } => {
30975 {
30976 let mut __ast_path =
30977 __ast_path.with_guard(AstParentNodeRef::ListOfComponentValues(
30978 self,
30979 self::fields::ListOfComponentValuesField::Span,
30980 ));
30981 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
30982 span,
30983 visitor,
30984 &mut *__ast_path,
30985 )
30986 };
30987 {
30988 let mut __ast_path =
30989 __ast_path.with_guard(AstParentNodeRef::ListOfComponentValues(
30990 self,
30991 self::fields::ListOfComponentValuesField::Children(usize::MAX),
30992 ));
30993 <Vec<ComponentValue> as VisitWithAstPath<V>>::visit_with_ast_path(
30994 children,
30995 visitor,
30996 &mut *__ast_path,
30997 )
30998 };
30999 }
31000 }
31001 }
31002}
31003#[cfg(any(docsrs, feature = "path"))]
31004#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31005impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaAnd {
31006 #[doc = "Calls [VisitAstPath`::visit_media_and`] with `self`."]
31007 fn visit_with_ast_path<'ast: 'r, 'r>(
31008 &'ast self,
31009 visitor: &mut V,
31010 __ast_path: &mut AstNodePath<'r>,
31011 ) {
31012 <V as VisitAstPath>::visit_media_and(visitor, self, __ast_path)
31013 }
31014
31015 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31016 &'ast self,
31017 visitor: &mut V,
31018 __ast_path: &mut AstNodePath<'r>,
31019 ) {
31020 match self {
31021 MediaAnd {
31022 span,
31023 keyword,
31024 condition,
31025 } => {
31026 {
31027 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaAnd(
31028 self,
31029 self::fields::MediaAndField::Span,
31030 ));
31031 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31032 span,
31033 visitor,
31034 &mut *__ast_path,
31035 )
31036 };
31037 {
31038 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaAnd(
31039 self,
31040 self::fields::MediaAndField::Keyword,
31041 ));
31042 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
31043 keyword,
31044 visitor,
31045 &mut *__ast_path,
31046 )
31047 };
31048 {
31049 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaAnd(
31050 self,
31051 self::fields::MediaAndField::Condition,
31052 ));
31053 <MediaInParens as VisitWithAstPath<V>>::visit_with_ast_path(
31054 condition,
31055 visitor,
31056 &mut *__ast_path,
31057 )
31058 };
31059 }
31060 }
31061 }
31062}
31063#[cfg(any(docsrs, feature = "path"))]
31064#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31065impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaCondition {
31066 #[doc = "Calls [VisitAstPath`::visit_media_condition`] with `self`."]
31067 fn visit_with_ast_path<'ast: 'r, 'r>(
31068 &'ast self,
31069 visitor: &mut V,
31070 __ast_path: &mut AstNodePath<'r>,
31071 ) {
31072 <V as VisitAstPath>::visit_media_condition(visitor, self, __ast_path)
31073 }
31074
31075 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31076 &'ast self,
31077 visitor: &mut V,
31078 __ast_path: &mut AstNodePath<'r>,
31079 ) {
31080 match self {
31081 MediaCondition { span, conditions } => {
31082 {
31083 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaCondition(
31084 self,
31085 self::fields::MediaConditionField::Span,
31086 ));
31087 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31088 span,
31089 visitor,
31090 &mut *__ast_path,
31091 )
31092 };
31093 {
31094 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaCondition(
31095 self,
31096 self::fields::MediaConditionField::Conditions(usize::MAX),
31097 ));
31098 <Vec<MediaConditionAllType> as VisitWithAstPath<V>>::visit_with_ast_path(
31099 conditions,
31100 visitor,
31101 &mut *__ast_path,
31102 )
31103 };
31104 }
31105 }
31106 }
31107}
31108#[cfg(any(docsrs, feature = "path"))]
31109#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31110impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaConditionAllType {
31111 #[doc = "Calls [VisitAstPath`::visit_media_condition_all_type`] with `self`."]
31112 fn visit_with_ast_path<'ast: 'r, 'r>(
31113 &'ast self,
31114 visitor: &mut V,
31115 __ast_path: &mut AstNodePath<'r>,
31116 ) {
31117 <V as VisitAstPath>::visit_media_condition_all_type(visitor, self, __ast_path)
31118 }
31119
31120 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31121 &'ast self,
31122 visitor: &mut V,
31123 __ast_path: &mut AstNodePath<'r>,
31124 ) {
31125 match self {
31126 MediaConditionAllType::Not { 0: _field_0 } => {
31127 let mut __ast_path =
31128 __ast_path.with_guard(AstParentNodeRef::MediaConditionAllType(
31129 self,
31130 self::fields::MediaConditionAllTypeField::Not,
31131 ));
31132 <MediaNot as VisitWithAstPath<V>>::visit_with_ast_path(
31133 _field_0,
31134 visitor,
31135 &mut *__ast_path,
31136 );
31137 }
31138 MediaConditionAllType::And { 0: _field_0 } => {
31139 let mut __ast_path =
31140 __ast_path.with_guard(AstParentNodeRef::MediaConditionAllType(
31141 self,
31142 self::fields::MediaConditionAllTypeField::And,
31143 ));
31144 <MediaAnd as VisitWithAstPath<V>>::visit_with_ast_path(
31145 _field_0,
31146 visitor,
31147 &mut *__ast_path,
31148 );
31149 }
31150 MediaConditionAllType::Or { 0: _field_0 } => {
31151 let mut __ast_path =
31152 __ast_path.with_guard(AstParentNodeRef::MediaConditionAllType(
31153 self,
31154 self::fields::MediaConditionAllTypeField::Or,
31155 ));
31156 <MediaOr as VisitWithAstPath<V>>::visit_with_ast_path(
31157 _field_0,
31158 visitor,
31159 &mut *__ast_path,
31160 );
31161 }
31162 MediaConditionAllType::MediaInParens { 0: _field_0 } => {
31163 let mut __ast_path =
31164 __ast_path.with_guard(AstParentNodeRef::MediaConditionAllType(
31165 self,
31166 self::fields::MediaConditionAllTypeField::MediaInParens,
31167 ));
31168 <MediaInParens as VisitWithAstPath<V>>::visit_with_ast_path(
31169 _field_0,
31170 visitor,
31171 &mut *__ast_path,
31172 );
31173 }
31174 }
31175 }
31176}
31177#[cfg(any(docsrs, feature = "path"))]
31178#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31179impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaConditionType {
31180 #[doc = "Calls [VisitAstPath`::visit_media_condition_type`] with `self`."]
31181 fn visit_with_ast_path<'ast: 'r, 'r>(
31182 &'ast self,
31183 visitor: &mut V,
31184 __ast_path: &mut AstNodePath<'r>,
31185 ) {
31186 <V as VisitAstPath>::visit_media_condition_type(visitor, self, __ast_path)
31187 }
31188
31189 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31190 &'ast self,
31191 visitor: &mut V,
31192 __ast_path: &mut AstNodePath<'r>,
31193 ) {
31194 match self {
31195 MediaConditionType::All { 0: _field_0 } => {
31196 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaConditionType(
31197 self,
31198 self::fields::MediaConditionTypeField::All,
31199 ));
31200 <MediaCondition as VisitWithAstPath<V>>::visit_with_ast_path(
31201 _field_0,
31202 visitor,
31203 &mut *__ast_path,
31204 );
31205 }
31206 MediaConditionType::WithoutOr { 0: _field_0 } => {
31207 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaConditionType(
31208 self,
31209 self::fields::MediaConditionTypeField::WithoutOr,
31210 ));
31211 <MediaConditionWithoutOr as VisitWithAstPath<V>>::visit_with_ast_path(
31212 _field_0,
31213 visitor,
31214 &mut *__ast_path,
31215 );
31216 }
31217 }
31218 }
31219}
31220#[cfg(any(docsrs, feature = "path"))]
31221#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31222impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaConditionWithoutOr {
31223 #[doc = "Calls [VisitAstPath`::visit_media_condition_without_or`] with `self`."]
31224 fn visit_with_ast_path<'ast: 'r, 'r>(
31225 &'ast self,
31226 visitor: &mut V,
31227 __ast_path: &mut AstNodePath<'r>,
31228 ) {
31229 <V as VisitAstPath>::visit_media_condition_without_or(visitor, self, __ast_path)
31230 }
31231
31232 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31233 &'ast self,
31234 visitor: &mut V,
31235 __ast_path: &mut AstNodePath<'r>,
31236 ) {
31237 match self {
31238 MediaConditionWithoutOr { span, conditions } => {
31239 {
31240 let mut __ast_path =
31241 __ast_path.with_guard(AstParentNodeRef::MediaConditionWithoutOr(
31242 self,
31243 self::fields::MediaConditionWithoutOrField::Span,
31244 ));
31245 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31246 span,
31247 visitor,
31248 &mut *__ast_path,
31249 )
31250 };
31251 {
31252 let mut __ast_path =
31253 __ast_path.with_guard(AstParentNodeRef::MediaConditionWithoutOr(
31254 self,
31255 self::fields::MediaConditionWithoutOrField::Conditions(usize::MAX),
31256 ));
31257 <Vec<MediaConditionWithoutOrType> as VisitWithAstPath<V>>::visit_with_ast_path(
31258 conditions,
31259 visitor,
31260 &mut *__ast_path,
31261 )
31262 };
31263 }
31264 }
31265 }
31266}
31267#[cfg(any(docsrs, feature = "path"))]
31268#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31269impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaConditionWithoutOrType {
31270 #[doc = "Calls [VisitAstPath`::visit_media_condition_without_or_type`] with `self`."]
31271 fn visit_with_ast_path<'ast: 'r, 'r>(
31272 &'ast self,
31273 visitor: &mut V,
31274 __ast_path: &mut AstNodePath<'r>,
31275 ) {
31276 <V as VisitAstPath>::visit_media_condition_without_or_type(visitor, self, __ast_path)
31277 }
31278
31279 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31280 &'ast self,
31281 visitor: &mut V,
31282 __ast_path: &mut AstNodePath<'r>,
31283 ) {
31284 match self {
31285 MediaConditionWithoutOrType::Not { 0: _field_0 } => {
31286 let mut __ast_path =
31287 __ast_path.with_guard(AstParentNodeRef::MediaConditionWithoutOrType(
31288 self,
31289 self::fields::MediaConditionWithoutOrTypeField::Not,
31290 ));
31291 <MediaNot as VisitWithAstPath<V>>::visit_with_ast_path(
31292 _field_0,
31293 visitor,
31294 &mut *__ast_path,
31295 );
31296 }
31297 MediaConditionWithoutOrType::And { 0: _field_0 } => {
31298 let mut __ast_path =
31299 __ast_path.with_guard(AstParentNodeRef::MediaConditionWithoutOrType(
31300 self,
31301 self::fields::MediaConditionWithoutOrTypeField::And,
31302 ));
31303 <MediaAnd as VisitWithAstPath<V>>::visit_with_ast_path(
31304 _field_0,
31305 visitor,
31306 &mut *__ast_path,
31307 );
31308 }
31309 MediaConditionWithoutOrType::MediaInParens { 0: _field_0 } => {
31310 let mut __ast_path =
31311 __ast_path.with_guard(AstParentNodeRef::MediaConditionWithoutOrType(
31312 self,
31313 self::fields::MediaConditionWithoutOrTypeField::MediaInParens,
31314 ));
31315 <MediaInParens as VisitWithAstPath<V>>::visit_with_ast_path(
31316 _field_0,
31317 visitor,
31318 &mut *__ast_path,
31319 );
31320 }
31321 }
31322 }
31323}
31324#[cfg(any(docsrs, feature = "path"))]
31325#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31326impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeature {
31327 #[doc = "Calls [VisitAstPath`::visit_media_feature`] with `self`."]
31328 fn visit_with_ast_path<'ast: 'r, 'r>(
31329 &'ast self,
31330 visitor: &mut V,
31331 __ast_path: &mut AstNodePath<'r>,
31332 ) {
31333 <V as VisitAstPath>::visit_media_feature(visitor, self, __ast_path)
31334 }
31335
31336 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31337 &'ast self,
31338 visitor: &mut V,
31339 __ast_path: &mut AstNodePath<'r>,
31340 ) {
31341 match self {
31342 MediaFeature::Plain { 0: _field_0 } => {
31343 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeature(
31344 self,
31345 self::fields::MediaFeatureField::Plain,
31346 ));
31347 <MediaFeaturePlain as VisitWithAstPath<V>>::visit_with_ast_path(
31348 _field_0,
31349 visitor,
31350 &mut *__ast_path,
31351 );
31352 }
31353 MediaFeature::Boolean { 0: _field_0 } => {
31354 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeature(
31355 self,
31356 self::fields::MediaFeatureField::Boolean,
31357 ));
31358 <MediaFeatureBoolean as VisitWithAstPath<V>>::visit_with_ast_path(
31359 _field_0,
31360 visitor,
31361 &mut *__ast_path,
31362 );
31363 }
31364 MediaFeature::Range { 0: _field_0 } => {
31365 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeature(
31366 self,
31367 self::fields::MediaFeatureField::Range,
31368 ));
31369 <MediaFeatureRange as VisitWithAstPath<V>>::visit_with_ast_path(
31370 _field_0,
31371 visitor,
31372 &mut *__ast_path,
31373 );
31374 }
31375 MediaFeature::RangeInterval { 0: _field_0 } => {
31376 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeature(
31377 self,
31378 self::fields::MediaFeatureField::RangeInterval,
31379 ));
31380 <MediaFeatureRangeInterval as VisitWithAstPath<V>>::visit_with_ast_path(
31381 _field_0,
31382 visitor,
31383 &mut *__ast_path,
31384 );
31385 }
31386 }
31387 }
31388}
31389#[cfg(any(docsrs, feature = "path"))]
31390#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31391impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeatureBoolean {
31392 #[doc = "Calls [VisitAstPath`::visit_media_feature_boolean`] with `self`."]
31393 fn visit_with_ast_path<'ast: 'r, 'r>(
31394 &'ast self,
31395 visitor: &mut V,
31396 __ast_path: &mut AstNodePath<'r>,
31397 ) {
31398 <V as VisitAstPath>::visit_media_feature_boolean(visitor, self, __ast_path)
31399 }
31400
31401 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31402 &'ast self,
31403 visitor: &mut V,
31404 __ast_path: &mut AstNodePath<'r>,
31405 ) {
31406 match self {
31407 MediaFeatureBoolean { span, name } => {
31408 {
31409 let mut __ast_path =
31410 __ast_path.with_guard(AstParentNodeRef::MediaFeatureBoolean(
31411 self,
31412 self::fields::MediaFeatureBooleanField::Span,
31413 ));
31414 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31415 span,
31416 visitor,
31417 &mut *__ast_path,
31418 )
31419 };
31420 {
31421 let mut __ast_path =
31422 __ast_path.with_guard(AstParentNodeRef::MediaFeatureBoolean(
31423 self,
31424 self::fields::MediaFeatureBooleanField::Name,
31425 ));
31426 <MediaFeatureName as VisitWithAstPath<V>>::visit_with_ast_path(
31427 name,
31428 visitor,
31429 &mut *__ast_path,
31430 )
31431 };
31432 }
31433 }
31434 }
31435}
31436#[cfg(any(docsrs, feature = "path"))]
31437#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31438impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeatureName {
31439 #[doc = "Calls [VisitAstPath`::visit_media_feature_name`] with `self`."]
31440 fn visit_with_ast_path<'ast: 'r, 'r>(
31441 &'ast self,
31442 visitor: &mut V,
31443 __ast_path: &mut AstNodePath<'r>,
31444 ) {
31445 <V as VisitAstPath>::visit_media_feature_name(visitor, self, __ast_path)
31446 }
31447
31448 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31449 &'ast self,
31450 visitor: &mut V,
31451 __ast_path: &mut AstNodePath<'r>,
31452 ) {
31453 match self {
31454 MediaFeatureName::Ident { 0: _field_0 } => {
31455 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeatureName(
31456 self,
31457 self::fields::MediaFeatureNameField::Ident,
31458 ));
31459 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
31460 _field_0,
31461 visitor,
31462 &mut *__ast_path,
31463 );
31464 }
31465 MediaFeatureName::ExtensionName { 0: _field_0 } => {
31466 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeatureName(
31467 self,
31468 self::fields::MediaFeatureNameField::ExtensionName,
31469 ));
31470 <ExtensionName as VisitWithAstPath<V>>::visit_with_ast_path(
31471 _field_0,
31472 visitor,
31473 &mut *__ast_path,
31474 );
31475 }
31476 }
31477 }
31478}
31479#[cfg(any(docsrs, feature = "path"))]
31480#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31481impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeaturePlain {
31482 #[doc = "Calls [VisitAstPath`::visit_media_feature_plain`] with `self`."]
31483 fn visit_with_ast_path<'ast: 'r, 'r>(
31484 &'ast self,
31485 visitor: &mut V,
31486 __ast_path: &mut AstNodePath<'r>,
31487 ) {
31488 <V as VisitAstPath>::visit_media_feature_plain(visitor, self, __ast_path)
31489 }
31490
31491 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31492 &'ast self,
31493 visitor: &mut V,
31494 __ast_path: &mut AstNodePath<'r>,
31495 ) {
31496 match self {
31497 MediaFeaturePlain { span, name, value } => {
31498 {
31499 let mut __ast_path =
31500 __ast_path.with_guard(AstParentNodeRef::MediaFeaturePlain(
31501 self,
31502 self::fields::MediaFeaturePlainField::Span,
31503 ));
31504 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31505 span,
31506 visitor,
31507 &mut *__ast_path,
31508 )
31509 };
31510 {
31511 let mut __ast_path =
31512 __ast_path.with_guard(AstParentNodeRef::MediaFeaturePlain(
31513 self,
31514 self::fields::MediaFeaturePlainField::Name,
31515 ));
31516 <MediaFeatureName as VisitWithAstPath<V>>::visit_with_ast_path(
31517 name,
31518 visitor,
31519 &mut *__ast_path,
31520 )
31521 };
31522 {
31523 let mut __ast_path =
31524 __ast_path.with_guard(AstParentNodeRef::MediaFeaturePlain(
31525 self,
31526 self::fields::MediaFeaturePlainField::Value,
31527 ));
31528 <Box<MediaFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
31529 value,
31530 visitor,
31531 &mut *__ast_path,
31532 )
31533 };
31534 }
31535 }
31536 }
31537}
31538#[cfg(any(docsrs, feature = "path"))]
31539#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31540impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeatureRange {
31541 #[doc = "Calls [VisitAstPath`::visit_media_feature_range`] with `self`."]
31542 fn visit_with_ast_path<'ast: 'r, 'r>(
31543 &'ast self,
31544 visitor: &mut V,
31545 __ast_path: &mut AstNodePath<'r>,
31546 ) {
31547 <V as VisitAstPath>::visit_media_feature_range(visitor, self, __ast_path)
31548 }
31549
31550 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31551 &'ast self,
31552 visitor: &mut V,
31553 __ast_path: &mut AstNodePath<'r>,
31554 ) {
31555 match self {
31556 MediaFeatureRange {
31557 span,
31558 left,
31559 comparison,
31560 right,
31561 } => {
31562 {
31563 let mut __ast_path =
31564 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRange(
31565 self,
31566 self::fields::MediaFeatureRangeField::Span,
31567 ));
31568 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31569 span,
31570 visitor,
31571 &mut *__ast_path,
31572 )
31573 };
31574 {
31575 let mut __ast_path =
31576 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRange(
31577 self,
31578 self::fields::MediaFeatureRangeField::Left,
31579 ));
31580 <Box<MediaFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
31581 left,
31582 visitor,
31583 &mut *__ast_path,
31584 )
31585 };
31586 {
31587 let mut __ast_path =
31588 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRange(
31589 self,
31590 self::fields::MediaFeatureRangeField::Comparison,
31591 ));
31592 <MediaFeatureRangeComparison as VisitWithAstPath<V>>::visit_with_ast_path(
31593 comparison,
31594 visitor,
31595 &mut *__ast_path,
31596 )
31597 };
31598 {
31599 let mut __ast_path =
31600 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRange(
31601 self,
31602 self::fields::MediaFeatureRangeField::Right,
31603 ));
31604 <Box<MediaFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
31605 right,
31606 visitor,
31607 &mut *__ast_path,
31608 )
31609 };
31610 }
31611 }
31612 }
31613}
31614#[cfg(any(docsrs, feature = "path"))]
31615#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31616impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeatureRangeComparison {
31617 #[doc = "Calls [VisitAstPath`::visit_media_feature_range_comparison`] with `self`."]
31618 fn visit_with_ast_path<'ast: 'r, 'r>(
31619 &'ast self,
31620 visitor: &mut V,
31621 __ast_path: &mut AstNodePath<'r>,
31622 ) {
31623 <V as VisitAstPath>::visit_media_feature_range_comparison(visitor, self, __ast_path)
31624 }
31625
31626 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31627 &'ast self,
31628 visitor: &mut V,
31629 __ast_path: &mut AstNodePath<'r>,
31630 ) {
31631 match self {
31632 MediaFeatureRangeComparison::Lt => {}
31633 MediaFeatureRangeComparison::Le => {}
31634 MediaFeatureRangeComparison::Gt => {}
31635 MediaFeatureRangeComparison::Ge => {}
31636 MediaFeatureRangeComparison::Eq => {}
31637 }
31638 }
31639}
31640#[cfg(any(docsrs, feature = "path"))]
31641#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31642impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeatureRangeInterval {
31643 #[doc = "Calls [VisitAstPath`::visit_media_feature_range_interval`] with `self`."]
31644 fn visit_with_ast_path<'ast: 'r, 'r>(
31645 &'ast self,
31646 visitor: &mut V,
31647 __ast_path: &mut AstNodePath<'r>,
31648 ) {
31649 <V as VisitAstPath>::visit_media_feature_range_interval(visitor, self, __ast_path)
31650 }
31651
31652 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31653 &'ast self,
31654 visitor: &mut V,
31655 __ast_path: &mut AstNodePath<'r>,
31656 ) {
31657 match self {
31658 MediaFeatureRangeInterval {
31659 span,
31660 left,
31661 left_comparison,
31662 name,
31663 right_comparison,
31664 right,
31665 } => {
31666 {
31667 let mut __ast_path =
31668 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRangeInterval(
31669 self,
31670 self::fields::MediaFeatureRangeIntervalField::Span,
31671 ));
31672 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31673 span,
31674 visitor,
31675 &mut *__ast_path,
31676 )
31677 };
31678 {
31679 let mut __ast_path =
31680 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRangeInterval(
31681 self,
31682 self::fields::MediaFeatureRangeIntervalField::Left,
31683 ));
31684 <Box<MediaFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
31685 left,
31686 visitor,
31687 &mut *__ast_path,
31688 )
31689 };
31690 {
31691 let mut __ast_path =
31692 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRangeInterval(
31693 self,
31694 self::fields::MediaFeatureRangeIntervalField::LeftComparison,
31695 ));
31696 <MediaFeatureRangeComparison as VisitWithAstPath<V>>::visit_with_ast_path(
31697 left_comparison,
31698 visitor,
31699 &mut *__ast_path,
31700 )
31701 };
31702 {
31703 let mut __ast_path =
31704 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRangeInterval(
31705 self,
31706 self::fields::MediaFeatureRangeIntervalField::Name,
31707 ));
31708 <MediaFeatureName as VisitWithAstPath<V>>::visit_with_ast_path(
31709 name,
31710 visitor,
31711 &mut *__ast_path,
31712 )
31713 };
31714 {
31715 let mut __ast_path =
31716 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRangeInterval(
31717 self,
31718 self::fields::MediaFeatureRangeIntervalField::RightComparison,
31719 ));
31720 <MediaFeatureRangeComparison as VisitWithAstPath<V>>::visit_with_ast_path(
31721 right_comparison,
31722 visitor,
31723 &mut *__ast_path,
31724 )
31725 };
31726 {
31727 let mut __ast_path =
31728 __ast_path.with_guard(AstParentNodeRef::MediaFeatureRangeInterval(
31729 self,
31730 self::fields::MediaFeatureRangeIntervalField::Right,
31731 ));
31732 <Box<MediaFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
31733 right,
31734 visitor,
31735 &mut *__ast_path,
31736 )
31737 };
31738 }
31739 }
31740 }
31741}
31742#[cfg(any(docsrs, feature = "path"))]
31743#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31744impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaFeatureValue {
31745 #[doc = "Calls [VisitAstPath`::visit_media_feature_value`] with `self`."]
31746 fn visit_with_ast_path<'ast: 'r, 'r>(
31747 &'ast self,
31748 visitor: &mut V,
31749 __ast_path: &mut AstNodePath<'r>,
31750 ) {
31751 <V as VisitAstPath>::visit_media_feature_value(visitor, self, __ast_path)
31752 }
31753
31754 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31755 &'ast self,
31756 visitor: &mut V,
31757 __ast_path: &mut AstNodePath<'r>,
31758 ) {
31759 match self {
31760 MediaFeatureValue::Number { 0: _field_0 } => {
31761 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeatureValue(
31762 self,
31763 self::fields::MediaFeatureValueField::Number,
31764 ));
31765 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
31766 _field_0,
31767 visitor,
31768 &mut *__ast_path,
31769 );
31770 }
31771 MediaFeatureValue::Dimension { 0: _field_0 } => {
31772 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeatureValue(
31773 self,
31774 self::fields::MediaFeatureValueField::Dimension,
31775 ));
31776 <Dimension as VisitWithAstPath<V>>::visit_with_ast_path(
31777 _field_0,
31778 visitor,
31779 &mut *__ast_path,
31780 );
31781 }
31782 MediaFeatureValue::Ident { 0: _field_0 } => {
31783 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeatureValue(
31784 self,
31785 self::fields::MediaFeatureValueField::Ident,
31786 ));
31787 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
31788 _field_0,
31789 visitor,
31790 &mut *__ast_path,
31791 );
31792 }
31793 MediaFeatureValue::Ratio { 0: _field_0 } => {
31794 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeatureValue(
31795 self,
31796 self::fields::MediaFeatureValueField::Ratio,
31797 ));
31798 <Ratio as VisitWithAstPath<V>>::visit_with_ast_path(
31799 _field_0,
31800 visitor,
31801 &mut *__ast_path,
31802 );
31803 }
31804 MediaFeatureValue::Function { 0: _field_0 } => {
31805 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaFeatureValue(
31806 self,
31807 self::fields::MediaFeatureValueField::Function,
31808 ));
31809 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
31810 _field_0,
31811 visitor,
31812 &mut *__ast_path,
31813 );
31814 }
31815 }
31816 }
31817}
31818#[cfg(any(docsrs, feature = "path"))]
31819#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31820impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaInParens {
31821 #[doc = "Calls [VisitAstPath`::visit_media_in_parens`] with `self`."]
31822 fn visit_with_ast_path<'ast: 'r, 'r>(
31823 &'ast self,
31824 visitor: &mut V,
31825 __ast_path: &mut AstNodePath<'r>,
31826 ) {
31827 <V as VisitAstPath>::visit_media_in_parens(visitor, self, __ast_path)
31828 }
31829
31830 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31831 &'ast self,
31832 visitor: &mut V,
31833 __ast_path: &mut AstNodePath<'r>,
31834 ) {
31835 match self {
31836 MediaInParens::MediaCondition { 0: _field_0 } => {
31837 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaInParens(
31838 self,
31839 self::fields::MediaInParensField::MediaCondition,
31840 ));
31841 <MediaCondition as VisitWithAstPath<V>>::visit_with_ast_path(
31842 _field_0,
31843 visitor,
31844 &mut *__ast_path,
31845 );
31846 }
31847 MediaInParens::Feature { 0: _field_0 } => {
31848 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaInParens(
31849 self,
31850 self::fields::MediaInParensField::Feature,
31851 ));
31852 <Box<MediaFeature> as VisitWithAstPath<V>>::visit_with_ast_path(
31853 _field_0,
31854 visitor,
31855 &mut *__ast_path,
31856 );
31857 }
31858 MediaInParens::GeneralEnclosed { 0: _field_0 } => {
31859 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaInParens(
31860 self,
31861 self::fields::MediaInParensField::GeneralEnclosed,
31862 ));
31863 <GeneralEnclosed as VisitWithAstPath<V>>::visit_with_ast_path(
31864 _field_0,
31865 visitor,
31866 &mut *__ast_path,
31867 );
31868 }
31869 }
31870 }
31871}
31872#[cfg(any(docsrs, feature = "path"))]
31873#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31874impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaNot {
31875 #[doc = "Calls [VisitAstPath`::visit_media_not`] with `self`."]
31876 fn visit_with_ast_path<'ast: 'r, 'r>(
31877 &'ast self,
31878 visitor: &mut V,
31879 __ast_path: &mut AstNodePath<'r>,
31880 ) {
31881 <V as VisitAstPath>::visit_media_not(visitor, self, __ast_path)
31882 }
31883
31884 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31885 &'ast self,
31886 visitor: &mut V,
31887 __ast_path: &mut AstNodePath<'r>,
31888 ) {
31889 match self {
31890 MediaNot {
31891 span,
31892 keyword,
31893 condition,
31894 } => {
31895 {
31896 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaNot(
31897 self,
31898 self::fields::MediaNotField::Span,
31899 ));
31900 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31901 span,
31902 visitor,
31903 &mut *__ast_path,
31904 )
31905 };
31906 {
31907 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaNot(
31908 self,
31909 self::fields::MediaNotField::Keyword,
31910 ));
31911 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
31912 keyword,
31913 visitor,
31914 &mut *__ast_path,
31915 )
31916 };
31917 {
31918 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaNot(
31919 self,
31920 self::fields::MediaNotField::Condition,
31921 ));
31922 <MediaInParens as VisitWithAstPath<V>>::visit_with_ast_path(
31923 condition,
31924 visitor,
31925 &mut *__ast_path,
31926 )
31927 };
31928 }
31929 }
31930 }
31931}
31932#[cfg(any(docsrs, feature = "path"))]
31933#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31934impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaOr {
31935 #[doc = "Calls [VisitAstPath`::visit_media_or`] with `self`."]
31936 fn visit_with_ast_path<'ast: 'r, 'r>(
31937 &'ast self,
31938 visitor: &mut V,
31939 __ast_path: &mut AstNodePath<'r>,
31940 ) {
31941 <V as VisitAstPath>::visit_media_or(visitor, self, __ast_path)
31942 }
31943
31944 fn visit_children_with_ast_path<'ast: 'r, 'r>(
31945 &'ast self,
31946 visitor: &mut V,
31947 __ast_path: &mut AstNodePath<'r>,
31948 ) {
31949 match self {
31950 MediaOr {
31951 span,
31952 keyword,
31953 condition,
31954 } => {
31955 {
31956 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaOr(
31957 self,
31958 self::fields::MediaOrField::Span,
31959 ));
31960 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
31961 span,
31962 visitor,
31963 &mut *__ast_path,
31964 )
31965 };
31966 {
31967 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaOr(
31968 self,
31969 self::fields::MediaOrField::Keyword,
31970 ));
31971 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
31972 keyword,
31973 visitor,
31974 &mut *__ast_path,
31975 )
31976 };
31977 {
31978 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaOr(
31979 self,
31980 self::fields::MediaOrField::Condition,
31981 ));
31982 <MediaInParens as VisitWithAstPath<V>>::visit_with_ast_path(
31983 condition,
31984 visitor,
31985 &mut *__ast_path,
31986 )
31987 };
31988 }
31989 }
31990 }
31991}
31992#[cfg(any(docsrs, feature = "path"))]
31993#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
31994impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaQuery {
31995 #[doc = "Calls [VisitAstPath`::visit_media_query`] with `self`."]
31996 fn visit_with_ast_path<'ast: 'r, 'r>(
31997 &'ast self,
31998 visitor: &mut V,
31999 __ast_path: &mut AstNodePath<'r>,
32000 ) {
32001 <V as VisitAstPath>::visit_media_query(visitor, self, __ast_path)
32002 }
32003
32004 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32005 &'ast self,
32006 visitor: &mut V,
32007 __ast_path: &mut AstNodePath<'r>,
32008 ) {
32009 match self {
32010 MediaQuery {
32011 span,
32012 modifier,
32013 media_type,
32014 keyword,
32015 condition,
32016 } => {
32017 {
32018 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaQuery(
32019 self,
32020 self::fields::MediaQueryField::Span,
32021 ));
32022 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32023 span,
32024 visitor,
32025 &mut *__ast_path,
32026 )
32027 };
32028 {
32029 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaQuery(
32030 self,
32031 self::fields::MediaQueryField::Modifier,
32032 ));
32033 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
32034 modifier,
32035 visitor,
32036 &mut *__ast_path,
32037 )
32038 };
32039 {
32040 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaQuery(
32041 self,
32042 self::fields::MediaQueryField::MediaType,
32043 ));
32044 <Option<MediaType> as VisitWithAstPath<V>>::visit_with_ast_path(
32045 media_type,
32046 visitor,
32047 &mut *__ast_path,
32048 )
32049 };
32050 {
32051 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaQuery(
32052 self,
32053 self::fields::MediaQueryField::Keyword,
32054 ));
32055 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
32056 keyword,
32057 visitor,
32058 &mut *__ast_path,
32059 )
32060 };
32061 {
32062 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaQuery(
32063 self,
32064 self::fields::MediaQueryField::Condition,
32065 ));
32066 <Option<Box<MediaConditionType>> as VisitWithAstPath<V>>::visit_with_ast_path(
32067 condition,
32068 visitor,
32069 &mut *__ast_path,
32070 )
32071 };
32072 }
32073 }
32074 }
32075}
32076#[cfg(any(docsrs, feature = "path"))]
32077#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32078impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaQueryList {
32079 #[doc = "Calls [VisitAstPath`::visit_media_query_list`] with `self`."]
32080 fn visit_with_ast_path<'ast: 'r, 'r>(
32081 &'ast self,
32082 visitor: &mut V,
32083 __ast_path: &mut AstNodePath<'r>,
32084 ) {
32085 <V as VisitAstPath>::visit_media_query_list(visitor, self, __ast_path)
32086 }
32087
32088 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32089 &'ast self,
32090 visitor: &mut V,
32091 __ast_path: &mut AstNodePath<'r>,
32092 ) {
32093 match self {
32094 MediaQueryList { span, queries } => {
32095 {
32096 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaQueryList(
32097 self,
32098 self::fields::MediaQueryListField::Span,
32099 ));
32100 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32101 span,
32102 visitor,
32103 &mut *__ast_path,
32104 )
32105 };
32106 {
32107 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaQueryList(
32108 self,
32109 self::fields::MediaQueryListField::Queries(usize::MAX),
32110 ));
32111 <Vec<MediaQuery> as VisitWithAstPath<V>>::visit_with_ast_path(
32112 queries,
32113 visitor,
32114 &mut *__ast_path,
32115 )
32116 };
32117 }
32118 }
32119 }
32120}
32121#[cfg(any(docsrs, feature = "path"))]
32122#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32123impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for MediaType {
32124 #[doc = "Calls [VisitAstPath`::visit_media_type`] with `self`."]
32125 fn visit_with_ast_path<'ast: 'r, 'r>(
32126 &'ast self,
32127 visitor: &mut V,
32128 __ast_path: &mut AstNodePath<'r>,
32129 ) {
32130 <V as VisitAstPath>::visit_media_type(visitor, self, __ast_path)
32131 }
32132
32133 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32134 &'ast self,
32135 visitor: &mut V,
32136 __ast_path: &mut AstNodePath<'r>,
32137 ) {
32138 match self {
32139 MediaType::Ident { 0: _field_0 } => {
32140 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::MediaType(
32141 self,
32142 self::fields::MediaTypeField::Ident,
32143 ));
32144 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
32145 _field_0,
32146 visitor,
32147 &mut *__ast_path,
32148 );
32149 }
32150 }
32151 }
32152}
32153#[cfg(any(docsrs, feature = "path"))]
32154#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32155impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for NamedNamespace {
32156 #[doc = "Calls [VisitAstPath`::visit_named_namespace`] with `self`."]
32157 fn visit_with_ast_path<'ast: 'r, 'r>(
32158 &'ast self,
32159 visitor: &mut V,
32160 __ast_path: &mut AstNodePath<'r>,
32161 ) {
32162 <V as VisitAstPath>::visit_named_namespace(visitor, self, __ast_path)
32163 }
32164
32165 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32166 &'ast self,
32167 visitor: &mut V,
32168 __ast_path: &mut AstNodePath<'r>,
32169 ) {
32170 match self {
32171 NamedNamespace { span, name } => {
32172 {
32173 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamedNamespace(
32174 self,
32175 self::fields::NamedNamespaceField::Span,
32176 ));
32177 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32178 span,
32179 visitor,
32180 &mut *__ast_path,
32181 )
32182 };
32183 {
32184 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamedNamespace(
32185 self,
32186 self::fields::NamedNamespaceField::Name,
32187 ));
32188 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
32189 name,
32190 visitor,
32191 &mut *__ast_path,
32192 )
32193 };
32194 }
32195 }
32196 }
32197}
32198#[cfg(any(docsrs, feature = "path"))]
32199#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32200impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Namespace {
32201 #[doc = "Calls [VisitAstPath`::visit_namespace`] with `self`."]
32202 fn visit_with_ast_path<'ast: 'r, 'r>(
32203 &'ast self,
32204 visitor: &mut V,
32205 __ast_path: &mut AstNodePath<'r>,
32206 ) {
32207 <V as VisitAstPath>::visit_namespace(visitor, self, __ast_path)
32208 }
32209
32210 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32211 &'ast self,
32212 visitor: &mut V,
32213 __ast_path: &mut AstNodePath<'r>,
32214 ) {
32215 match self {
32216 Namespace::Named { 0: _field_0 } => {
32217 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Namespace(
32218 self,
32219 self::fields::NamespaceField::Named,
32220 ));
32221 <NamedNamespace as VisitWithAstPath<V>>::visit_with_ast_path(
32222 _field_0,
32223 visitor,
32224 &mut *__ast_path,
32225 );
32226 }
32227 Namespace::Any { 0: _field_0 } => {
32228 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Namespace(
32229 self,
32230 self::fields::NamespaceField::Any,
32231 ));
32232 <AnyNamespace as VisitWithAstPath<V>>::visit_with_ast_path(
32233 _field_0,
32234 visitor,
32235 &mut *__ast_path,
32236 );
32237 }
32238 }
32239 }
32240}
32241#[cfg(any(docsrs, feature = "path"))]
32242#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32243impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for NamespacePrefix {
32244 #[doc = "Calls [VisitAstPath`::visit_namespace_prefix`] with `self`."]
32245 fn visit_with_ast_path<'ast: 'r, 'r>(
32246 &'ast self,
32247 visitor: &mut V,
32248 __ast_path: &mut AstNodePath<'r>,
32249 ) {
32250 <V as VisitAstPath>::visit_namespace_prefix(visitor, self, __ast_path)
32251 }
32252
32253 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32254 &'ast self,
32255 visitor: &mut V,
32256 __ast_path: &mut AstNodePath<'r>,
32257 ) {
32258 match self {
32259 NamespacePrefix { span, namespace } => {
32260 {
32261 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamespacePrefix(
32262 self,
32263 self::fields::NamespacePrefixField::Span,
32264 ));
32265 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32266 span,
32267 visitor,
32268 &mut *__ast_path,
32269 )
32270 };
32271 {
32272 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamespacePrefix(
32273 self,
32274 self::fields::NamespacePrefixField::Namespace,
32275 ));
32276 <Option<Namespace> as VisitWithAstPath<V>>::visit_with_ast_path(
32277 namespace,
32278 visitor,
32279 &mut *__ast_path,
32280 )
32281 };
32282 }
32283 }
32284 }
32285}
32286#[cfg(any(docsrs, feature = "path"))]
32287#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32288impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for NamespacePrelude {
32289 #[doc = "Calls [VisitAstPath`::visit_namespace_prelude`] with `self`."]
32290 fn visit_with_ast_path<'ast: 'r, 'r>(
32291 &'ast self,
32292 visitor: &mut V,
32293 __ast_path: &mut AstNodePath<'r>,
32294 ) {
32295 <V as VisitAstPath>::visit_namespace_prelude(visitor, self, __ast_path)
32296 }
32297
32298 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32299 &'ast self,
32300 visitor: &mut V,
32301 __ast_path: &mut AstNodePath<'r>,
32302 ) {
32303 match self {
32304 NamespacePrelude { span, prefix, uri } => {
32305 {
32306 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamespacePrelude(
32307 self,
32308 self::fields::NamespacePreludeField::Span,
32309 ));
32310 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32311 span,
32312 visitor,
32313 &mut *__ast_path,
32314 )
32315 };
32316 {
32317 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamespacePrelude(
32318 self,
32319 self::fields::NamespacePreludeField::Prefix,
32320 ));
32321 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
32322 prefix,
32323 visitor,
32324 &mut *__ast_path,
32325 )
32326 };
32327 {
32328 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamespacePrelude(
32329 self,
32330 self::fields::NamespacePreludeField::Uri,
32331 ));
32332 <Box<NamespacePreludeUri> as VisitWithAstPath<V>>::visit_with_ast_path(
32333 uri,
32334 visitor,
32335 &mut *__ast_path,
32336 )
32337 };
32338 }
32339 }
32340 }
32341}
32342#[cfg(any(docsrs, feature = "path"))]
32343#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32344impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for NamespacePreludeUri {
32345 #[doc = "Calls [VisitAstPath`::visit_namespace_prelude_uri`] with `self`."]
32346 fn visit_with_ast_path<'ast: 'r, 'r>(
32347 &'ast self,
32348 visitor: &mut V,
32349 __ast_path: &mut AstNodePath<'r>,
32350 ) {
32351 <V as VisitAstPath>::visit_namespace_prelude_uri(visitor, self, __ast_path)
32352 }
32353
32354 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32355 &'ast self,
32356 visitor: &mut V,
32357 __ast_path: &mut AstNodePath<'r>,
32358 ) {
32359 match self {
32360 NamespacePreludeUri::Url { 0: _field_0 } => {
32361 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamespacePreludeUri(
32362 self,
32363 self::fields::NamespacePreludeUriField::Url,
32364 ));
32365 <Url as VisitWithAstPath<V>>::visit_with_ast_path(
32366 _field_0,
32367 visitor,
32368 &mut *__ast_path,
32369 );
32370 }
32371 NamespacePreludeUri::Str { 0: _field_0 } => {
32372 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NamespacePreludeUri(
32373 self,
32374 self::fields::NamespacePreludeUriField::Str,
32375 ));
32376 <Str as VisitWithAstPath<V>>::visit_with_ast_path(
32377 _field_0,
32378 visitor,
32379 &mut *__ast_path,
32380 );
32381 }
32382 }
32383 }
32384}
32385#[cfg(any(docsrs, feature = "path"))]
32386#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32387impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for NestingSelector {
32388 #[doc = "Calls [VisitAstPath`::visit_nesting_selector`] with `self`."]
32389 fn visit_with_ast_path<'ast: 'r, 'r>(
32390 &'ast self,
32391 visitor: &mut V,
32392 __ast_path: &mut AstNodePath<'r>,
32393 ) {
32394 <V as VisitAstPath>::visit_nesting_selector(visitor, self, __ast_path)
32395 }
32396
32397 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32398 &'ast self,
32399 visitor: &mut V,
32400 __ast_path: &mut AstNodePath<'r>,
32401 ) {
32402 match self {
32403 NestingSelector { span } => {
32404 {
32405 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::NestingSelector(
32406 self,
32407 self::fields::NestingSelectorField::Span,
32408 ));
32409 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32410 span,
32411 visitor,
32412 &mut *__ast_path,
32413 )
32414 };
32415 }
32416 }
32417 }
32418}
32419#[cfg(any(docsrs, feature = "path"))]
32420#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32421impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Number {
32422 #[doc = "Calls [VisitAstPath`::visit_number`] with `self`."]
32423 fn visit_with_ast_path<'ast: 'r, 'r>(
32424 &'ast self,
32425 visitor: &mut V,
32426 __ast_path: &mut AstNodePath<'r>,
32427 ) {
32428 <V as VisitAstPath>::visit_number(visitor, self, __ast_path)
32429 }
32430
32431 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32432 &'ast self,
32433 visitor: &mut V,
32434 __ast_path: &mut AstNodePath<'r>,
32435 ) {
32436 match self {
32437 Number { span, value, raw } => {
32438 {
32439 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Number(
32440 self,
32441 self::fields::NumberField::Span,
32442 ));
32443 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32444 span,
32445 visitor,
32446 &mut *__ast_path,
32447 )
32448 };
32449 {
32450 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Number(
32451 self,
32452 self::fields::NumberField::Raw,
32453 ));
32454 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
32455 raw,
32456 visitor,
32457 &mut *__ast_path,
32458 )
32459 };
32460 }
32461 }
32462 }
32463}
32464#[cfg(any(docsrs, feature = "path"))]
32465#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32466impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for NumberType {
32467 #[doc = "Calls [VisitAstPath`::visit_number_type`] with `self`."]
32468 fn visit_with_ast_path<'ast: 'r, 'r>(
32469 &'ast self,
32470 visitor: &mut V,
32471 __ast_path: &mut AstNodePath<'r>,
32472 ) {
32473 <V as VisitAstPath>::visit_number_type(visitor, self, __ast_path)
32474 }
32475
32476 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32477 &'ast self,
32478 visitor: &mut V,
32479 __ast_path: &mut AstNodePath<'r>,
32480 ) {
32481 match self {
32482 NumberType::Integer => {}
32483 NumberType::Number => {}
32484 }
32485 }
32486}
32487#[cfg(any(docsrs, feature = "path"))]
32488#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32489impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PageSelector {
32490 #[doc = "Calls [VisitAstPath`::visit_page_selector`] with `self`."]
32491 fn visit_with_ast_path<'ast: 'r, 'r>(
32492 &'ast self,
32493 visitor: &mut V,
32494 __ast_path: &mut AstNodePath<'r>,
32495 ) {
32496 <V as VisitAstPath>::visit_page_selector(visitor, self, __ast_path)
32497 }
32498
32499 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32500 &'ast self,
32501 visitor: &mut V,
32502 __ast_path: &mut AstNodePath<'r>,
32503 ) {
32504 match self {
32505 PageSelector {
32506 span,
32507 page_type,
32508 pseudos,
32509 } => {
32510 {
32511 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::PageSelector(
32512 self,
32513 self::fields::PageSelectorField::Span,
32514 ));
32515 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32516 span,
32517 visitor,
32518 &mut *__ast_path,
32519 )
32520 };
32521 {
32522 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::PageSelector(
32523 self,
32524 self::fields::PageSelectorField::PageType,
32525 ));
32526 <Option<PageSelectorType> as VisitWithAstPath<V>>::visit_with_ast_path(
32527 page_type,
32528 visitor,
32529 &mut *__ast_path,
32530 )
32531 };
32532 {
32533 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::PageSelector(
32534 self,
32535 self::fields::PageSelectorField::Pseudos(usize::MAX),
32536 ));
32537 <Option<Vec<PageSelectorPseudo>> as VisitWithAstPath<V>>::visit_with_ast_path(
32538 pseudos,
32539 visitor,
32540 &mut *__ast_path,
32541 )
32542 };
32543 }
32544 }
32545 }
32546}
32547#[cfg(any(docsrs, feature = "path"))]
32548#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32549impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PageSelectorList {
32550 #[doc = "Calls [VisitAstPath`::visit_page_selector_list`] with `self`."]
32551 fn visit_with_ast_path<'ast: 'r, 'r>(
32552 &'ast self,
32553 visitor: &mut V,
32554 __ast_path: &mut AstNodePath<'r>,
32555 ) {
32556 <V as VisitAstPath>::visit_page_selector_list(visitor, self, __ast_path)
32557 }
32558
32559 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32560 &'ast self,
32561 visitor: &mut V,
32562 __ast_path: &mut AstNodePath<'r>,
32563 ) {
32564 match self {
32565 PageSelectorList { span, selectors } => {
32566 {
32567 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::PageSelectorList(
32568 self,
32569 self::fields::PageSelectorListField::Span,
32570 ));
32571 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32572 span,
32573 visitor,
32574 &mut *__ast_path,
32575 )
32576 };
32577 {
32578 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::PageSelectorList(
32579 self,
32580 self::fields::PageSelectorListField::Selectors(usize::MAX),
32581 ));
32582 <Vec<PageSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
32583 selectors,
32584 visitor,
32585 &mut *__ast_path,
32586 )
32587 };
32588 }
32589 }
32590 }
32591}
32592#[cfg(any(docsrs, feature = "path"))]
32593#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32594impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PageSelectorPseudo {
32595 #[doc = "Calls [VisitAstPath`::visit_page_selector_pseudo`] with `self`."]
32596 fn visit_with_ast_path<'ast: 'r, 'r>(
32597 &'ast self,
32598 visitor: &mut V,
32599 __ast_path: &mut AstNodePath<'r>,
32600 ) {
32601 <V as VisitAstPath>::visit_page_selector_pseudo(visitor, self, __ast_path)
32602 }
32603
32604 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32605 &'ast self,
32606 visitor: &mut V,
32607 __ast_path: &mut AstNodePath<'r>,
32608 ) {
32609 match self {
32610 PageSelectorPseudo { span, value } => {
32611 {
32612 let mut __ast_path =
32613 __ast_path.with_guard(AstParentNodeRef::PageSelectorPseudo(
32614 self,
32615 self::fields::PageSelectorPseudoField::Span,
32616 ));
32617 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32618 span,
32619 visitor,
32620 &mut *__ast_path,
32621 )
32622 };
32623 {
32624 let mut __ast_path =
32625 __ast_path.with_guard(AstParentNodeRef::PageSelectorPseudo(
32626 self,
32627 self::fields::PageSelectorPseudoField::Value,
32628 ));
32629 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
32630 value,
32631 visitor,
32632 &mut *__ast_path,
32633 )
32634 };
32635 }
32636 }
32637 }
32638}
32639#[cfg(any(docsrs, feature = "path"))]
32640#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32641impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PageSelectorType {
32642 #[doc = "Calls [VisitAstPath`::visit_page_selector_type`] with `self`."]
32643 fn visit_with_ast_path<'ast: 'r, 'r>(
32644 &'ast self,
32645 visitor: &mut V,
32646 __ast_path: &mut AstNodePath<'r>,
32647 ) {
32648 <V as VisitAstPath>::visit_page_selector_type(visitor, self, __ast_path)
32649 }
32650
32651 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32652 &'ast self,
32653 visitor: &mut V,
32654 __ast_path: &mut AstNodePath<'r>,
32655 ) {
32656 match self {
32657 PageSelectorType { span, value } => {
32658 {
32659 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::PageSelectorType(
32660 self,
32661 self::fields::PageSelectorTypeField::Span,
32662 ));
32663 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32664 span,
32665 visitor,
32666 &mut *__ast_path,
32667 )
32668 };
32669 {
32670 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::PageSelectorType(
32671 self,
32672 self::fields::PageSelectorTypeField::Value,
32673 ));
32674 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
32675 value,
32676 visitor,
32677 &mut *__ast_path,
32678 )
32679 };
32680 }
32681 }
32682 }
32683}
32684#[cfg(any(docsrs, feature = "path"))]
32685#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32686impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Percentage {
32687 #[doc = "Calls [VisitAstPath`::visit_percentage`] with `self`."]
32688 fn visit_with_ast_path<'ast: 'r, 'r>(
32689 &'ast self,
32690 visitor: &mut V,
32691 __ast_path: &mut AstNodePath<'r>,
32692 ) {
32693 <V as VisitAstPath>::visit_percentage(visitor, self, __ast_path)
32694 }
32695
32696 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32697 &'ast self,
32698 visitor: &mut V,
32699 __ast_path: &mut AstNodePath<'r>,
32700 ) {
32701 match self {
32702 Percentage { span, value } => {
32703 {
32704 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Percentage(
32705 self,
32706 self::fields::PercentageField::Span,
32707 ));
32708 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32709 span,
32710 visitor,
32711 &mut *__ast_path,
32712 )
32713 };
32714 {
32715 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Percentage(
32716 self,
32717 self::fields::PercentageField::Value,
32718 ));
32719 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
32720 value,
32721 visitor,
32722 &mut *__ast_path,
32723 )
32724 };
32725 }
32726 }
32727 }
32728}
32729#[cfg(any(docsrs, feature = "path"))]
32730#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32731impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PseudoClassSelector {
32732 #[doc = "Calls [VisitAstPath`::visit_pseudo_class_selector`] with `self`."]
32733 fn visit_with_ast_path<'ast: 'r, 'r>(
32734 &'ast self,
32735 visitor: &mut V,
32736 __ast_path: &mut AstNodePath<'r>,
32737 ) {
32738 <V as VisitAstPath>::visit_pseudo_class_selector(visitor, self, __ast_path)
32739 }
32740
32741 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32742 &'ast self,
32743 visitor: &mut V,
32744 __ast_path: &mut AstNodePath<'r>,
32745 ) {
32746 match self {
32747 PseudoClassSelector {
32748 span,
32749 name,
32750 children,
32751 } => {
32752 {
32753 let mut __ast_path =
32754 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelector(
32755 self,
32756 self::fields::PseudoClassSelectorField::Span,
32757 ));
32758 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32759 span,
32760 visitor,
32761 &mut *__ast_path,
32762 )
32763 };
32764 {
32765 let mut __ast_path =
32766 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelector(
32767 self,
32768 self::fields::PseudoClassSelectorField::Name,
32769 ));
32770 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
32771 name,
32772 visitor,
32773 &mut *__ast_path,
32774 )
32775 };
32776 {
32777 let mut __ast_path =
32778 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelector(
32779 self,
32780 self::fields::PseudoClassSelectorField::Children(usize::MAX),
32781 ));
32782 < Option < Vec < PseudoClassSelectorChildren > > as VisitWithAstPath < V > > :: visit_with_ast_path (children , visitor , & mut * __ast_path)
32783 };
32784 }
32785 }
32786 }
32787}
32788#[cfg(any(docsrs, feature = "path"))]
32789#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32790impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PseudoClassSelectorChildren {
32791 #[doc = "Calls [VisitAstPath`::visit_pseudo_class_selector_children`] with `self`."]
32792 fn visit_with_ast_path<'ast: 'r, 'r>(
32793 &'ast self,
32794 visitor: &mut V,
32795 __ast_path: &mut AstNodePath<'r>,
32796 ) {
32797 <V as VisitAstPath>::visit_pseudo_class_selector_children(visitor, self, __ast_path)
32798 }
32799
32800 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32801 &'ast self,
32802 visitor: &mut V,
32803 __ast_path: &mut AstNodePath<'r>,
32804 ) {
32805 match self {
32806 PseudoClassSelectorChildren::PreservedToken { 0: _field_0 } => {
32807 let mut __ast_path =
32808 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32809 self,
32810 self::fields::PseudoClassSelectorChildrenField::PreservedToken,
32811 ));
32812 <TokenAndSpan as VisitWithAstPath<V>>::visit_with_ast_path(
32813 _field_0,
32814 visitor,
32815 &mut *__ast_path,
32816 );
32817 }
32818 PseudoClassSelectorChildren::AnPlusB { 0: _field_0 } => {
32819 let mut __ast_path =
32820 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32821 self,
32822 self::fields::PseudoClassSelectorChildrenField::AnPlusB,
32823 ));
32824 <AnPlusB as VisitWithAstPath<V>>::visit_with_ast_path(
32825 _field_0,
32826 visitor,
32827 &mut *__ast_path,
32828 );
32829 }
32830 PseudoClassSelectorChildren::Ident { 0: _field_0 } => {
32831 let mut __ast_path =
32832 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32833 self,
32834 self::fields::PseudoClassSelectorChildrenField::Ident,
32835 ));
32836 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
32837 _field_0,
32838 visitor,
32839 &mut *__ast_path,
32840 );
32841 }
32842 PseudoClassSelectorChildren::Str { 0: _field_0 } => {
32843 let mut __ast_path =
32844 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32845 self,
32846 self::fields::PseudoClassSelectorChildrenField::Str,
32847 ));
32848 <Str as VisitWithAstPath<V>>::visit_with_ast_path(
32849 _field_0,
32850 visitor,
32851 &mut *__ast_path,
32852 );
32853 }
32854 PseudoClassSelectorChildren::Delimiter { 0: _field_0 } => {
32855 let mut __ast_path =
32856 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32857 self,
32858 self::fields::PseudoClassSelectorChildrenField::Delimiter,
32859 ));
32860 <Delimiter as VisitWithAstPath<V>>::visit_with_ast_path(
32861 _field_0,
32862 visitor,
32863 &mut *__ast_path,
32864 );
32865 }
32866 PseudoClassSelectorChildren::ComplexSelector { 0: _field_0 } => {
32867 let mut __ast_path =
32868 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32869 self,
32870 self::fields::PseudoClassSelectorChildrenField::ComplexSelector,
32871 ));
32872 <ComplexSelector as VisitWithAstPath<V>>::visit_with_ast_path(
32873 _field_0,
32874 visitor,
32875 &mut *__ast_path,
32876 );
32877 }
32878 PseudoClassSelectorChildren::SelectorList { 0: _field_0 } => {
32879 let mut __ast_path =
32880 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32881 self,
32882 self::fields::PseudoClassSelectorChildrenField::SelectorList,
32883 ));
32884 <SelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
32885 _field_0,
32886 visitor,
32887 &mut *__ast_path,
32888 );
32889 }
32890 PseudoClassSelectorChildren::ForgivingSelectorList { 0: _field_0 } => {
32891 let mut __ast_path =
32892 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32893 self,
32894 self::fields::PseudoClassSelectorChildrenField::ForgivingSelectorList,
32895 ));
32896 <ForgivingSelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
32897 _field_0,
32898 visitor,
32899 &mut *__ast_path,
32900 );
32901 }
32902 PseudoClassSelectorChildren::CompoundSelectorList { 0: _field_0 } => {
32903 let mut __ast_path =
32904 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32905 self,
32906 self::fields::PseudoClassSelectorChildrenField::CompoundSelectorList,
32907 ));
32908 <CompoundSelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
32909 _field_0,
32910 visitor,
32911 &mut *__ast_path,
32912 );
32913 }
32914 PseudoClassSelectorChildren::RelativeSelectorList { 0: _field_0 } => {
32915 let mut __ast_path =
32916 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32917 self,
32918 self::fields::PseudoClassSelectorChildrenField::RelativeSelectorList,
32919 ));
32920 <RelativeSelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
32921 _field_0,
32922 visitor,
32923 &mut *__ast_path,
32924 );
32925 }
32926 PseudoClassSelectorChildren::ForgivingRelativeSelectorList { 0: _field_0 } => {
32927 let mut __ast_path = __ast_path
32928 .with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32929 self,
32930 self::fields::PseudoClassSelectorChildrenField::ForgivingRelativeSelectorList,
32931 ));
32932 <ForgivingRelativeSelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
32933 _field_0,
32934 visitor,
32935 &mut *__ast_path,
32936 );
32937 }
32938 PseudoClassSelectorChildren::CompoundSelector { 0: _field_0 } => {
32939 let mut __ast_path =
32940 __ast_path.with_guard(AstParentNodeRef::PseudoClassSelectorChildren(
32941 self,
32942 self::fields::PseudoClassSelectorChildrenField::CompoundSelector,
32943 ));
32944 <CompoundSelector as VisitWithAstPath<V>>::visit_with_ast_path(
32945 _field_0,
32946 visitor,
32947 &mut *__ast_path,
32948 );
32949 }
32950 }
32951 }
32952}
32953#[cfg(any(docsrs, feature = "path"))]
32954#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
32955impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PseudoElementSelector {
32956 #[doc = "Calls [VisitAstPath`::visit_pseudo_element_selector`] with `self`."]
32957 fn visit_with_ast_path<'ast: 'r, 'r>(
32958 &'ast self,
32959 visitor: &mut V,
32960 __ast_path: &mut AstNodePath<'r>,
32961 ) {
32962 <V as VisitAstPath>::visit_pseudo_element_selector(visitor, self, __ast_path)
32963 }
32964
32965 fn visit_children_with_ast_path<'ast: 'r, 'r>(
32966 &'ast self,
32967 visitor: &mut V,
32968 __ast_path: &mut AstNodePath<'r>,
32969 ) {
32970 match self {
32971 PseudoElementSelector {
32972 span,
32973 name,
32974 children,
32975 } => {
32976 {
32977 let mut __ast_path =
32978 __ast_path.with_guard(AstParentNodeRef::PseudoElementSelector(
32979 self,
32980 self::fields::PseudoElementSelectorField::Span,
32981 ));
32982 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
32983 span,
32984 visitor,
32985 &mut *__ast_path,
32986 )
32987 };
32988 {
32989 let mut __ast_path =
32990 __ast_path.with_guard(AstParentNodeRef::PseudoElementSelector(
32991 self,
32992 self::fields::PseudoElementSelectorField::Name,
32993 ));
32994 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
32995 name,
32996 visitor,
32997 &mut *__ast_path,
32998 )
32999 };
33000 {
33001 let mut __ast_path =
33002 __ast_path.with_guard(AstParentNodeRef::PseudoElementSelector(
33003 self,
33004 self::fields::PseudoElementSelectorField::Children(usize::MAX),
33005 ));
33006 < Option < Vec < PseudoElementSelectorChildren > > as VisitWithAstPath < V > > :: visit_with_ast_path (children , visitor , & mut * __ast_path)
33007 };
33008 }
33009 }
33010 }
33011}
33012#[cfg(any(docsrs, feature = "path"))]
33013#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33014impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for PseudoElementSelectorChildren {
33015 #[doc = "Calls [VisitAstPath`::visit_pseudo_element_selector_children`] with `self`."]
33016 fn visit_with_ast_path<'ast: 'r, 'r>(
33017 &'ast self,
33018 visitor: &mut V,
33019 __ast_path: &mut AstNodePath<'r>,
33020 ) {
33021 <V as VisitAstPath>::visit_pseudo_element_selector_children(visitor, self, __ast_path)
33022 }
33023
33024 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33025 &'ast self,
33026 visitor: &mut V,
33027 __ast_path: &mut AstNodePath<'r>,
33028 ) {
33029 match self {
33030 PseudoElementSelectorChildren::PreservedToken { 0: _field_0 } => {
33031 let mut __ast_path =
33032 __ast_path.with_guard(AstParentNodeRef::PseudoElementSelectorChildren(
33033 self,
33034 self::fields::PseudoElementSelectorChildrenField::PreservedToken,
33035 ));
33036 <TokenAndSpan as VisitWithAstPath<V>>::visit_with_ast_path(
33037 _field_0,
33038 visitor,
33039 &mut *__ast_path,
33040 );
33041 }
33042 PseudoElementSelectorChildren::Ident { 0: _field_0 } => {
33043 let mut __ast_path =
33044 __ast_path.with_guard(AstParentNodeRef::PseudoElementSelectorChildren(
33045 self,
33046 self::fields::PseudoElementSelectorChildrenField::Ident,
33047 ));
33048 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
33049 _field_0,
33050 visitor,
33051 &mut *__ast_path,
33052 );
33053 }
33054 PseudoElementSelectorChildren::CompoundSelector { 0: _field_0 } => {
33055 let mut __ast_path =
33056 __ast_path.with_guard(AstParentNodeRef::PseudoElementSelectorChildren(
33057 self,
33058 self::fields::PseudoElementSelectorChildrenField::CompoundSelector,
33059 ));
33060 <CompoundSelector as VisitWithAstPath<V>>::visit_with_ast_path(
33061 _field_0,
33062 visitor,
33063 &mut *__ast_path,
33064 );
33065 }
33066 PseudoElementSelectorChildren::CustomHighlightName { 0: _field_0 } => {
33067 let mut __ast_path =
33068 __ast_path.with_guard(AstParentNodeRef::PseudoElementSelectorChildren(
33069 self,
33070 self::fields::PseudoElementSelectorChildrenField::CustomHighlightName,
33071 ));
33072 <CustomHighlightName as VisitWithAstPath<V>>::visit_with_ast_path(
33073 _field_0,
33074 visitor,
33075 &mut *__ast_path,
33076 );
33077 }
33078 }
33079 }
33080}
33081#[cfg(any(docsrs, feature = "path"))]
33082#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33083impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for QualifiedRule {
33084 #[doc = "Calls [VisitAstPath`::visit_qualified_rule`] with `self`."]
33085 fn visit_with_ast_path<'ast: 'r, 'r>(
33086 &'ast self,
33087 visitor: &mut V,
33088 __ast_path: &mut AstNodePath<'r>,
33089 ) {
33090 <V as VisitAstPath>::visit_qualified_rule(visitor, self, __ast_path)
33091 }
33092
33093 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33094 &'ast self,
33095 visitor: &mut V,
33096 __ast_path: &mut AstNodePath<'r>,
33097 ) {
33098 match self {
33099 QualifiedRule {
33100 span,
33101 prelude,
33102 block,
33103 } => {
33104 {
33105 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QualifiedRule(
33106 self,
33107 self::fields::QualifiedRuleField::Span,
33108 ));
33109 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33110 span,
33111 visitor,
33112 &mut *__ast_path,
33113 )
33114 };
33115 {
33116 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QualifiedRule(
33117 self,
33118 self::fields::QualifiedRuleField::Prelude,
33119 ));
33120 <QualifiedRulePrelude as VisitWithAstPath<V>>::visit_with_ast_path(
33121 prelude,
33122 visitor,
33123 &mut *__ast_path,
33124 )
33125 };
33126 {
33127 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QualifiedRule(
33128 self,
33129 self::fields::QualifiedRuleField::Block,
33130 ));
33131 <SimpleBlock as VisitWithAstPath<V>>::visit_with_ast_path(
33132 block,
33133 visitor,
33134 &mut *__ast_path,
33135 )
33136 };
33137 }
33138 }
33139 }
33140}
33141#[cfg(any(docsrs, feature = "path"))]
33142#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33143impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for QualifiedRulePrelude {
33144 #[doc = "Calls [VisitAstPath`::visit_qualified_rule_prelude`] with `self`."]
33145 fn visit_with_ast_path<'ast: 'r, 'r>(
33146 &'ast self,
33147 visitor: &mut V,
33148 __ast_path: &mut AstNodePath<'r>,
33149 ) {
33150 <V as VisitAstPath>::visit_qualified_rule_prelude(visitor, self, __ast_path)
33151 }
33152
33153 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33154 &'ast self,
33155 visitor: &mut V,
33156 __ast_path: &mut AstNodePath<'r>,
33157 ) {
33158 match self {
33159 QualifiedRulePrelude::SelectorList { 0: _field_0 } => {
33160 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QualifiedRulePrelude(
33161 self,
33162 self::fields::QualifiedRulePreludeField::SelectorList,
33163 ));
33164 <SelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
33165 _field_0,
33166 visitor,
33167 &mut *__ast_path,
33168 );
33169 }
33170 QualifiedRulePrelude::RelativeSelectorList { 0: _field_0 } => {
33171 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QualifiedRulePrelude(
33172 self,
33173 self::fields::QualifiedRulePreludeField::RelativeSelectorList,
33174 ));
33175 <RelativeSelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
33176 _field_0,
33177 visitor,
33178 &mut *__ast_path,
33179 );
33180 }
33181 QualifiedRulePrelude::ListOfComponentValues { 0: _field_0 } => {
33182 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QualifiedRulePrelude(
33183 self,
33184 self::fields::QualifiedRulePreludeField::ListOfComponentValues,
33185 ));
33186 <ListOfComponentValues as VisitWithAstPath<V>>::visit_with_ast_path(
33187 _field_0,
33188 visitor,
33189 &mut *__ast_path,
33190 );
33191 }
33192 }
33193 }
33194}
33195#[cfg(any(docsrs, feature = "path"))]
33196#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33197impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for QueryInParens {
33198 #[doc = "Calls [VisitAstPath`::visit_query_in_parens`] with `self`."]
33199 fn visit_with_ast_path<'ast: 'r, 'r>(
33200 &'ast self,
33201 visitor: &mut V,
33202 __ast_path: &mut AstNodePath<'r>,
33203 ) {
33204 <V as VisitAstPath>::visit_query_in_parens(visitor, self, __ast_path)
33205 }
33206
33207 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33208 &'ast self,
33209 visitor: &mut V,
33210 __ast_path: &mut AstNodePath<'r>,
33211 ) {
33212 match self {
33213 QueryInParens::ContainerQuery { 0: _field_0 } => {
33214 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QueryInParens(
33215 self,
33216 self::fields::QueryInParensField::ContainerQuery,
33217 ));
33218 <Box<ContainerQuery> as VisitWithAstPath<V>>::visit_with_ast_path(
33219 _field_0,
33220 visitor,
33221 &mut *__ast_path,
33222 );
33223 }
33224 QueryInParens::SizeFeature { 0: _field_0 } => {
33225 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QueryInParens(
33226 self,
33227 self::fields::QueryInParensField::SizeFeature,
33228 ));
33229 <SizeFeature as VisitWithAstPath<V>>::visit_with_ast_path(
33230 _field_0,
33231 visitor,
33232 &mut *__ast_path,
33233 );
33234 }
33235 QueryInParens::GeneralEnclosed { 0: _field_0 } => {
33236 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::QueryInParens(
33237 self,
33238 self::fields::QueryInParensField::GeneralEnclosed,
33239 ));
33240 <GeneralEnclosed as VisitWithAstPath<V>>::visit_with_ast_path(
33241 _field_0,
33242 visitor,
33243 &mut *__ast_path,
33244 );
33245 }
33246 }
33247 }
33248}
33249#[cfg(any(docsrs, feature = "path"))]
33250#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33251impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Ratio {
33252 #[doc = "Calls [VisitAstPath`::visit_ratio`] with `self`."]
33253 fn visit_with_ast_path<'ast: 'r, 'r>(
33254 &'ast self,
33255 visitor: &mut V,
33256 __ast_path: &mut AstNodePath<'r>,
33257 ) {
33258 <V as VisitAstPath>::visit_ratio(visitor, self, __ast_path)
33259 }
33260
33261 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33262 &'ast self,
33263 visitor: &mut V,
33264 __ast_path: &mut AstNodePath<'r>,
33265 ) {
33266 match self {
33267 Ratio { span, left, right } => {
33268 {
33269 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Ratio(
33270 self,
33271 self::fields::RatioField::Span,
33272 ));
33273 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33274 span,
33275 visitor,
33276 &mut *__ast_path,
33277 )
33278 };
33279 {
33280 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Ratio(
33281 self,
33282 self::fields::RatioField::Left,
33283 ));
33284 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
33285 left,
33286 visitor,
33287 &mut *__ast_path,
33288 )
33289 };
33290 {
33291 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Ratio(
33292 self,
33293 self::fields::RatioField::Right,
33294 ));
33295 <Option<Number> as VisitWithAstPath<V>>::visit_with_ast_path(
33296 right,
33297 visitor,
33298 &mut *__ast_path,
33299 )
33300 };
33301 }
33302 }
33303 }
33304}
33305#[cfg(any(docsrs, feature = "path"))]
33306#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33307impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for RelativeSelector {
33308 #[doc = "Calls [VisitAstPath`::visit_relative_selector`] with `self`."]
33309 fn visit_with_ast_path<'ast: 'r, 'r>(
33310 &'ast self,
33311 visitor: &mut V,
33312 __ast_path: &mut AstNodePath<'r>,
33313 ) {
33314 <V as VisitAstPath>::visit_relative_selector(visitor, self, __ast_path)
33315 }
33316
33317 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33318 &'ast self,
33319 visitor: &mut V,
33320 __ast_path: &mut AstNodePath<'r>,
33321 ) {
33322 match self {
33323 RelativeSelector {
33324 span,
33325 combinator,
33326 selector,
33327 } => {
33328 {
33329 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::RelativeSelector(
33330 self,
33331 self::fields::RelativeSelectorField::Span,
33332 ));
33333 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33334 span,
33335 visitor,
33336 &mut *__ast_path,
33337 )
33338 };
33339 {
33340 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::RelativeSelector(
33341 self,
33342 self::fields::RelativeSelectorField::Combinator,
33343 ));
33344 <Option<Combinator> as VisitWithAstPath<V>>::visit_with_ast_path(
33345 combinator,
33346 visitor,
33347 &mut *__ast_path,
33348 )
33349 };
33350 {
33351 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::RelativeSelector(
33352 self,
33353 self::fields::RelativeSelectorField::Selector,
33354 ));
33355 <ComplexSelector as VisitWithAstPath<V>>::visit_with_ast_path(
33356 selector,
33357 visitor,
33358 &mut *__ast_path,
33359 )
33360 };
33361 }
33362 }
33363 }
33364}
33365#[cfg(any(docsrs, feature = "path"))]
33366#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33367impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for RelativeSelectorList {
33368 #[doc = "Calls [VisitAstPath`::visit_relative_selector_list`] with `self`."]
33369 fn visit_with_ast_path<'ast: 'r, 'r>(
33370 &'ast self,
33371 visitor: &mut V,
33372 __ast_path: &mut AstNodePath<'r>,
33373 ) {
33374 <V as VisitAstPath>::visit_relative_selector_list(visitor, self, __ast_path)
33375 }
33376
33377 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33378 &'ast self,
33379 visitor: &mut V,
33380 __ast_path: &mut AstNodePath<'r>,
33381 ) {
33382 match self {
33383 RelativeSelectorList { span, children } => {
33384 {
33385 let mut __ast_path =
33386 __ast_path.with_guard(AstParentNodeRef::RelativeSelectorList(
33387 self,
33388 self::fields::RelativeSelectorListField::Span,
33389 ));
33390 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33391 span,
33392 visitor,
33393 &mut *__ast_path,
33394 )
33395 };
33396 {
33397 let mut __ast_path =
33398 __ast_path.with_guard(AstParentNodeRef::RelativeSelectorList(
33399 self,
33400 self::fields::RelativeSelectorListField::Children(usize::MAX),
33401 ));
33402 <Vec<RelativeSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
33403 children,
33404 visitor,
33405 &mut *__ast_path,
33406 )
33407 };
33408 }
33409 }
33410 }
33411}
33412#[cfg(any(docsrs, feature = "path"))]
33413#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33414impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Resolution {
33415 #[doc = "Calls [VisitAstPath`::visit_resolution`] with `self`."]
33416 fn visit_with_ast_path<'ast: 'r, 'r>(
33417 &'ast self,
33418 visitor: &mut V,
33419 __ast_path: &mut AstNodePath<'r>,
33420 ) {
33421 <V as VisitAstPath>::visit_resolution(visitor, self, __ast_path)
33422 }
33423
33424 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33425 &'ast self,
33426 visitor: &mut V,
33427 __ast_path: &mut AstNodePath<'r>,
33428 ) {
33429 match self {
33430 Resolution { span, value, unit } => {
33431 {
33432 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Resolution(
33433 self,
33434 self::fields::ResolutionField::Span,
33435 ));
33436 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33437 span,
33438 visitor,
33439 &mut *__ast_path,
33440 )
33441 };
33442 {
33443 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Resolution(
33444 self,
33445 self::fields::ResolutionField::Value,
33446 ));
33447 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
33448 value,
33449 visitor,
33450 &mut *__ast_path,
33451 )
33452 };
33453 {
33454 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Resolution(
33455 self,
33456 self::fields::ResolutionField::Unit,
33457 ));
33458 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
33459 unit,
33460 visitor,
33461 &mut *__ast_path,
33462 )
33463 };
33464 }
33465 }
33466 }
33467}
33468#[cfg(any(docsrs, feature = "path"))]
33469#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33470impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Rule {
33471 #[doc = "Calls [VisitAstPath`::visit_rule`] with `self`."]
33472 fn visit_with_ast_path<'ast: 'r, 'r>(
33473 &'ast self,
33474 visitor: &mut V,
33475 __ast_path: &mut AstNodePath<'r>,
33476 ) {
33477 <V as VisitAstPath>::visit_rule(visitor, self, __ast_path)
33478 }
33479
33480 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33481 &'ast self,
33482 visitor: &mut V,
33483 __ast_path: &mut AstNodePath<'r>,
33484 ) {
33485 match self {
33486 Rule::QualifiedRule { 0: _field_0 } => {
33487 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Rule(
33488 self,
33489 self::fields::RuleField::QualifiedRule,
33490 ));
33491 <Box<QualifiedRule> as VisitWithAstPath<V>>::visit_with_ast_path(
33492 _field_0,
33493 visitor,
33494 &mut *__ast_path,
33495 );
33496 }
33497 Rule::AtRule { 0: _field_0 } => {
33498 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Rule(
33499 self,
33500 self::fields::RuleField::AtRule,
33501 ));
33502 <Box<AtRule> as VisitWithAstPath<V>>::visit_with_ast_path(
33503 _field_0,
33504 visitor,
33505 &mut *__ast_path,
33506 );
33507 }
33508 Rule::ListOfComponentValues { 0: _field_0 } => {
33509 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Rule(
33510 self,
33511 self::fields::RuleField::ListOfComponentValues,
33512 ));
33513 <Box<ListOfComponentValues> as VisitWithAstPath<V>>::visit_with_ast_path(
33514 _field_0,
33515 visitor,
33516 &mut *__ast_path,
33517 );
33518 }
33519 }
33520 }
33521}
33522#[cfg(any(docsrs, feature = "path"))]
33523#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33524impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for ScopeRange {
33525 #[doc = "Calls [VisitAstPath`::visit_scope_range`] with `self`."]
33526 fn visit_with_ast_path<'ast: 'r, 'r>(
33527 &'ast self,
33528 visitor: &mut V,
33529 __ast_path: &mut AstNodePath<'r>,
33530 ) {
33531 <V as VisitAstPath>::visit_scope_range(visitor, self, __ast_path)
33532 }
33533
33534 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33535 &'ast self,
33536 visitor: &mut V,
33537 __ast_path: &mut AstNodePath<'r>,
33538 ) {
33539 match self {
33540 ScopeRange {
33541 span,
33542 scope_start,
33543 scope_end,
33544 } => {
33545 {
33546 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ScopeRange(
33547 self,
33548 self::fields::ScopeRangeField::Span,
33549 ));
33550 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33551 span,
33552 visitor,
33553 &mut *__ast_path,
33554 )
33555 };
33556 {
33557 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ScopeRange(
33558 self,
33559 self::fields::ScopeRangeField::ScopeStart,
33560 ));
33561 <Option<ForgivingSelectorList> as VisitWithAstPath<V>>::visit_with_ast_path(
33562 scope_start,
33563 visitor,
33564 &mut *__ast_path,
33565 )
33566 };
33567 {
33568 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::ScopeRange(
33569 self,
33570 self::fields::ScopeRangeField::ScopeEnd,
33571 ));
33572 <Option<ForgivingSelectorList> as VisitWithAstPath<V>>::visit_with_ast_path(
33573 scope_end,
33574 visitor,
33575 &mut *__ast_path,
33576 )
33577 };
33578 }
33579 }
33580 }
33581}
33582#[cfg(any(docsrs, feature = "path"))]
33583#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33584impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SelectorList {
33585 #[doc = "Calls [VisitAstPath`::visit_selector_list`] with `self`."]
33586 fn visit_with_ast_path<'ast: 'r, 'r>(
33587 &'ast self,
33588 visitor: &mut V,
33589 __ast_path: &mut AstNodePath<'r>,
33590 ) {
33591 <V as VisitAstPath>::visit_selector_list(visitor, self, __ast_path)
33592 }
33593
33594 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33595 &'ast self,
33596 visitor: &mut V,
33597 __ast_path: &mut AstNodePath<'r>,
33598 ) {
33599 match self {
33600 SelectorList { span, children } => {
33601 {
33602 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SelectorList(
33603 self,
33604 self::fields::SelectorListField::Span,
33605 ));
33606 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33607 span,
33608 visitor,
33609 &mut *__ast_path,
33610 )
33611 };
33612 {
33613 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SelectorList(
33614 self,
33615 self::fields::SelectorListField::Children(usize::MAX),
33616 ));
33617 <Vec<ComplexSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
33618 children,
33619 visitor,
33620 &mut *__ast_path,
33621 )
33622 };
33623 }
33624 }
33625 }
33626}
33627#[cfg(any(docsrs, feature = "path"))]
33628#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33629impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SequenceOfCustomIdents {
33630 #[doc = "Calls [VisitAstPath`::visit_sequence_of_custom_idents`] with `self`."]
33631 fn visit_with_ast_path<'ast: 'r, 'r>(
33632 &'ast self,
33633 visitor: &mut V,
33634 __ast_path: &mut AstNodePath<'r>,
33635 ) {
33636 <V as VisitAstPath>::visit_sequence_of_custom_idents(visitor, self, __ast_path)
33637 }
33638
33639 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33640 &'ast self,
33641 visitor: &mut V,
33642 __ast_path: &mut AstNodePath<'r>,
33643 ) {
33644 match self {
33645 SequenceOfCustomIdents { span, value } => {
33646 {
33647 let mut __ast_path =
33648 __ast_path.with_guard(AstParentNodeRef::SequenceOfCustomIdents(
33649 self,
33650 self::fields::SequenceOfCustomIdentsField::Span,
33651 ));
33652 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33653 span,
33654 visitor,
33655 &mut *__ast_path,
33656 )
33657 };
33658 {
33659 let mut __ast_path =
33660 __ast_path.with_guard(AstParentNodeRef::SequenceOfCustomIdents(
33661 self,
33662 self::fields::SequenceOfCustomIdentsField::Value(usize::MAX),
33663 ));
33664 <Vec<CustomIdent> as VisitWithAstPath<V>>::visit_with_ast_path(
33665 value,
33666 visitor,
33667 &mut *__ast_path,
33668 )
33669 };
33670 }
33671 }
33672 }
33673}
33674#[cfg(any(docsrs, feature = "path"))]
33675#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33676impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SimpleBlock {
33677 #[doc = "Calls [VisitAstPath`::visit_simple_block`] with `self`."]
33678 fn visit_with_ast_path<'ast: 'r, 'r>(
33679 &'ast self,
33680 visitor: &mut V,
33681 __ast_path: &mut AstNodePath<'r>,
33682 ) {
33683 <V as VisitAstPath>::visit_simple_block(visitor, self, __ast_path)
33684 }
33685
33686 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33687 &'ast self,
33688 visitor: &mut V,
33689 __ast_path: &mut AstNodePath<'r>,
33690 ) {
33691 match self {
33692 SimpleBlock { span, name, value } => {
33693 {
33694 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SimpleBlock(
33695 self,
33696 self::fields::SimpleBlockField::Span,
33697 ));
33698 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33699 span,
33700 visitor,
33701 &mut *__ast_path,
33702 )
33703 };
33704 {
33705 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SimpleBlock(
33706 self,
33707 self::fields::SimpleBlockField::Name,
33708 ));
33709 <TokenAndSpan as VisitWithAstPath<V>>::visit_with_ast_path(
33710 name,
33711 visitor,
33712 &mut *__ast_path,
33713 )
33714 };
33715 {
33716 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SimpleBlock(
33717 self,
33718 self::fields::SimpleBlockField::Value(usize::MAX),
33719 ));
33720 <Vec<ComponentValue> as VisitWithAstPath<V>>::visit_with_ast_path(
33721 value,
33722 visitor,
33723 &mut *__ast_path,
33724 )
33725 };
33726 }
33727 }
33728 }
33729}
33730#[cfg(any(docsrs, feature = "path"))]
33731#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33732impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeature {
33733 #[doc = "Calls [VisitAstPath`::visit_size_feature`] with `self`."]
33734 fn visit_with_ast_path<'ast: 'r, 'r>(
33735 &'ast self,
33736 visitor: &mut V,
33737 __ast_path: &mut AstNodePath<'r>,
33738 ) {
33739 <V as VisitAstPath>::visit_size_feature(visitor, self, __ast_path)
33740 }
33741
33742 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33743 &'ast self,
33744 visitor: &mut V,
33745 __ast_path: &mut AstNodePath<'r>,
33746 ) {
33747 match self {
33748 SizeFeature::Plain { 0: _field_0 } => {
33749 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeature(
33750 self,
33751 self::fields::SizeFeatureField::Plain,
33752 ));
33753 <SizeFeaturePlain as VisitWithAstPath<V>>::visit_with_ast_path(
33754 _field_0,
33755 visitor,
33756 &mut *__ast_path,
33757 );
33758 }
33759 SizeFeature::Boolean { 0: _field_0 } => {
33760 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeature(
33761 self,
33762 self::fields::SizeFeatureField::Boolean,
33763 ));
33764 <SizeFeatureBoolean as VisitWithAstPath<V>>::visit_with_ast_path(
33765 _field_0,
33766 visitor,
33767 &mut *__ast_path,
33768 );
33769 }
33770 SizeFeature::Range { 0: _field_0 } => {
33771 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeature(
33772 self,
33773 self::fields::SizeFeatureField::Range,
33774 ));
33775 <SizeFeatureRange as VisitWithAstPath<V>>::visit_with_ast_path(
33776 _field_0,
33777 visitor,
33778 &mut *__ast_path,
33779 );
33780 }
33781 SizeFeature::RangeInterval { 0: _field_0 } => {
33782 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeature(
33783 self,
33784 self::fields::SizeFeatureField::RangeInterval,
33785 ));
33786 <SizeFeatureRangeInterval as VisitWithAstPath<V>>::visit_with_ast_path(
33787 _field_0,
33788 visitor,
33789 &mut *__ast_path,
33790 );
33791 }
33792 }
33793 }
33794}
33795#[cfg(any(docsrs, feature = "path"))]
33796#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33797impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeatureBoolean {
33798 #[doc = "Calls [VisitAstPath`::visit_size_feature_boolean`] with `self`."]
33799 fn visit_with_ast_path<'ast: 'r, 'r>(
33800 &'ast self,
33801 visitor: &mut V,
33802 __ast_path: &mut AstNodePath<'r>,
33803 ) {
33804 <V as VisitAstPath>::visit_size_feature_boolean(visitor, self, __ast_path)
33805 }
33806
33807 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33808 &'ast self,
33809 visitor: &mut V,
33810 __ast_path: &mut AstNodePath<'r>,
33811 ) {
33812 match self {
33813 SizeFeatureBoolean { span, name } => {
33814 {
33815 let mut __ast_path =
33816 __ast_path.with_guard(AstParentNodeRef::SizeFeatureBoolean(
33817 self,
33818 self::fields::SizeFeatureBooleanField::Span,
33819 ));
33820 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33821 span,
33822 visitor,
33823 &mut *__ast_path,
33824 )
33825 };
33826 {
33827 let mut __ast_path =
33828 __ast_path.with_guard(AstParentNodeRef::SizeFeatureBoolean(
33829 self,
33830 self::fields::SizeFeatureBooleanField::Name,
33831 ));
33832 <SizeFeatureName as VisitWithAstPath<V>>::visit_with_ast_path(
33833 name,
33834 visitor,
33835 &mut *__ast_path,
33836 )
33837 };
33838 }
33839 }
33840 }
33841}
33842#[cfg(any(docsrs, feature = "path"))]
33843#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33844impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeatureName {
33845 #[doc = "Calls [VisitAstPath`::visit_size_feature_name`] with `self`."]
33846 fn visit_with_ast_path<'ast: 'r, 'r>(
33847 &'ast self,
33848 visitor: &mut V,
33849 __ast_path: &mut AstNodePath<'r>,
33850 ) {
33851 <V as VisitAstPath>::visit_size_feature_name(visitor, self, __ast_path)
33852 }
33853
33854 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33855 &'ast self,
33856 visitor: &mut V,
33857 __ast_path: &mut AstNodePath<'r>,
33858 ) {
33859 match self {
33860 SizeFeatureName::Ident { 0: _field_0 } => {
33861 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureName(
33862 self,
33863 self::fields::SizeFeatureNameField::Ident,
33864 ));
33865 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
33866 _field_0,
33867 visitor,
33868 &mut *__ast_path,
33869 );
33870 }
33871 }
33872 }
33873}
33874#[cfg(any(docsrs, feature = "path"))]
33875#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33876impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeaturePlain {
33877 #[doc = "Calls [VisitAstPath`::visit_size_feature_plain`] with `self`."]
33878 fn visit_with_ast_path<'ast: 'r, 'r>(
33879 &'ast self,
33880 visitor: &mut V,
33881 __ast_path: &mut AstNodePath<'r>,
33882 ) {
33883 <V as VisitAstPath>::visit_size_feature_plain(visitor, self, __ast_path)
33884 }
33885
33886 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33887 &'ast self,
33888 visitor: &mut V,
33889 __ast_path: &mut AstNodePath<'r>,
33890 ) {
33891 match self {
33892 SizeFeaturePlain { span, name, value } => {
33893 {
33894 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeaturePlain(
33895 self,
33896 self::fields::SizeFeaturePlainField::Span,
33897 ));
33898 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33899 span,
33900 visitor,
33901 &mut *__ast_path,
33902 )
33903 };
33904 {
33905 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeaturePlain(
33906 self,
33907 self::fields::SizeFeaturePlainField::Name,
33908 ));
33909 <SizeFeatureName as VisitWithAstPath<V>>::visit_with_ast_path(
33910 name,
33911 visitor,
33912 &mut *__ast_path,
33913 )
33914 };
33915 {
33916 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeaturePlain(
33917 self,
33918 self::fields::SizeFeaturePlainField::Value,
33919 ));
33920 <Box<SizeFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
33921 value,
33922 visitor,
33923 &mut *__ast_path,
33924 )
33925 };
33926 }
33927 }
33928 }
33929}
33930#[cfg(any(docsrs, feature = "path"))]
33931#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
33932impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeatureRange {
33933 #[doc = "Calls [VisitAstPath`::visit_size_feature_range`] with `self`."]
33934 fn visit_with_ast_path<'ast: 'r, 'r>(
33935 &'ast self,
33936 visitor: &mut V,
33937 __ast_path: &mut AstNodePath<'r>,
33938 ) {
33939 <V as VisitAstPath>::visit_size_feature_range(visitor, self, __ast_path)
33940 }
33941
33942 fn visit_children_with_ast_path<'ast: 'r, 'r>(
33943 &'ast self,
33944 visitor: &mut V,
33945 __ast_path: &mut AstNodePath<'r>,
33946 ) {
33947 match self {
33948 SizeFeatureRange {
33949 span,
33950 left,
33951 comparison,
33952 right,
33953 } => {
33954 {
33955 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureRange(
33956 self,
33957 self::fields::SizeFeatureRangeField::Span,
33958 ));
33959 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
33960 span,
33961 visitor,
33962 &mut *__ast_path,
33963 )
33964 };
33965 {
33966 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureRange(
33967 self,
33968 self::fields::SizeFeatureRangeField::Left,
33969 ));
33970 <Box<SizeFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
33971 left,
33972 visitor,
33973 &mut *__ast_path,
33974 )
33975 };
33976 {
33977 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureRange(
33978 self,
33979 self::fields::SizeFeatureRangeField::Comparison,
33980 ));
33981 <SizeFeatureRangeComparison as VisitWithAstPath<V>>::visit_with_ast_path(
33982 comparison,
33983 visitor,
33984 &mut *__ast_path,
33985 )
33986 };
33987 {
33988 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureRange(
33989 self,
33990 self::fields::SizeFeatureRangeField::Right,
33991 ));
33992 <Box<SizeFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
33993 right,
33994 visitor,
33995 &mut *__ast_path,
33996 )
33997 };
33998 }
33999 }
34000 }
34001}
34002#[cfg(any(docsrs, feature = "path"))]
34003#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34004impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeatureRangeComparison {
34005 #[doc = "Calls [VisitAstPath`::visit_size_feature_range_comparison`] with `self`."]
34006 fn visit_with_ast_path<'ast: 'r, 'r>(
34007 &'ast self,
34008 visitor: &mut V,
34009 __ast_path: &mut AstNodePath<'r>,
34010 ) {
34011 <V as VisitAstPath>::visit_size_feature_range_comparison(visitor, self, __ast_path)
34012 }
34013
34014 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34015 &'ast self,
34016 visitor: &mut V,
34017 __ast_path: &mut AstNodePath<'r>,
34018 ) {
34019 match self {
34020 SizeFeatureRangeComparison::Lt => {}
34021 SizeFeatureRangeComparison::Le => {}
34022 SizeFeatureRangeComparison::Gt => {}
34023 SizeFeatureRangeComparison::Ge => {}
34024 SizeFeatureRangeComparison::Eq => {}
34025 }
34026 }
34027}
34028#[cfg(any(docsrs, feature = "path"))]
34029#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34030impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeatureRangeInterval {
34031 #[doc = "Calls [VisitAstPath`::visit_size_feature_range_interval`] with `self`."]
34032 fn visit_with_ast_path<'ast: 'r, 'r>(
34033 &'ast self,
34034 visitor: &mut V,
34035 __ast_path: &mut AstNodePath<'r>,
34036 ) {
34037 <V as VisitAstPath>::visit_size_feature_range_interval(visitor, self, __ast_path)
34038 }
34039
34040 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34041 &'ast self,
34042 visitor: &mut V,
34043 __ast_path: &mut AstNodePath<'r>,
34044 ) {
34045 match self {
34046 SizeFeatureRangeInterval {
34047 span,
34048 left,
34049 left_comparison,
34050 name,
34051 right_comparison,
34052 right,
34053 } => {
34054 {
34055 let mut __ast_path =
34056 __ast_path.with_guard(AstParentNodeRef::SizeFeatureRangeInterval(
34057 self,
34058 self::fields::SizeFeatureRangeIntervalField::Span,
34059 ));
34060 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34061 span,
34062 visitor,
34063 &mut *__ast_path,
34064 )
34065 };
34066 {
34067 let mut __ast_path =
34068 __ast_path.with_guard(AstParentNodeRef::SizeFeatureRangeInterval(
34069 self,
34070 self::fields::SizeFeatureRangeIntervalField::Left,
34071 ));
34072 <Box<SizeFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
34073 left,
34074 visitor,
34075 &mut *__ast_path,
34076 )
34077 };
34078 {
34079 let mut __ast_path =
34080 __ast_path.with_guard(AstParentNodeRef::SizeFeatureRangeInterval(
34081 self,
34082 self::fields::SizeFeatureRangeIntervalField::LeftComparison,
34083 ));
34084 <SizeFeatureRangeComparison as VisitWithAstPath<V>>::visit_with_ast_path(
34085 left_comparison,
34086 visitor,
34087 &mut *__ast_path,
34088 )
34089 };
34090 {
34091 let mut __ast_path =
34092 __ast_path.with_guard(AstParentNodeRef::SizeFeatureRangeInterval(
34093 self,
34094 self::fields::SizeFeatureRangeIntervalField::Name,
34095 ));
34096 <SizeFeatureName as VisitWithAstPath<V>>::visit_with_ast_path(
34097 name,
34098 visitor,
34099 &mut *__ast_path,
34100 )
34101 };
34102 {
34103 let mut __ast_path =
34104 __ast_path.with_guard(AstParentNodeRef::SizeFeatureRangeInterval(
34105 self,
34106 self::fields::SizeFeatureRangeIntervalField::RightComparison,
34107 ));
34108 <SizeFeatureRangeComparison as VisitWithAstPath<V>>::visit_with_ast_path(
34109 right_comparison,
34110 visitor,
34111 &mut *__ast_path,
34112 )
34113 };
34114 {
34115 let mut __ast_path =
34116 __ast_path.with_guard(AstParentNodeRef::SizeFeatureRangeInterval(
34117 self,
34118 self::fields::SizeFeatureRangeIntervalField::Right,
34119 ));
34120 <Box<SizeFeatureValue> as VisitWithAstPath<V>>::visit_with_ast_path(
34121 right,
34122 visitor,
34123 &mut *__ast_path,
34124 )
34125 };
34126 }
34127 }
34128 }
34129}
34130#[cfg(any(docsrs, feature = "path"))]
34131#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34132impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SizeFeatureValue {
34133 #[doc = "Calls [VisitAstPath`::visit_size_feature_value`] with `self`."]
34134 fn visit_with_ast_path<'ast: 'r, 'r>(
34135 &'ast self,
34136 visitor: &mut V,
34137 __ast_path: &mut AstNodePath<'r>,
34138 ) {
34139 <V as VisitAstPath>::visit_size_feature_value(visitor, self, __ast_path)
34140 }
34141
34142 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34143 &'ast self,
34144 visitor: &mut V,
34145 __ast_path: &mut AstNodePath<'r>,
34146 ) {
34147 match self {
34148 SizeFeatureValue::Number { 0: _field_0 } => {
34149 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureValue(
34150 self,
34151 self::fields::SizeFeatureValueField::Number,
34152 ));
34153 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
34154 _field_0,
34155 visitor,
34156 &mut *__ast_path,
34157 );
34158 }
34159 SizeFeatureValue::Dimension { 0: _field_0 } => {
34160 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureValue(
34161 self,
34162 self::fields::SizeFeatureValueField::Dimension,
34163 ));
34164 <Dimension as VisitWithAstPath<V>>::visit_with_ast_path(
34165 _field_0,
34166 visitor,
34167 &mut *__ast_path,
34168 );
34169 }
34170 SizeFeatureValue::Ident { 0: _field_0 } => {
34171 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureValue(
34172 self,
34173 self::fields::SizeFeatureValueField::Ident,
34174 ));
34175 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
34176 _field_0,
34177 visitor,
34178 &mut *__ast_path,
34179 );
34180 }
34181 SizeFeatureValue::Ratio { 0: _field_0 } => {
34182 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureValue(
34183 self,
34184 self::fields::SizeFeatureValueField::Ratio,
34185 ));
34186 <Ratio as VisitWithAstPath<V>>::visit_with_ast_path(
34187 _field_0,
34188 visitor,
34189 &mut *__ast_path,
34190 );
34191 }
34192 SizeFeatureValue::Function { 0: _field_0 } => {
34193 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SizeFeatureValue(
34194 self,
34195 self::fields::SizeFeatureValueField::Function,
34196 ));
34197 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
34198 _field_0,
34199 visitor,
34200 &mut *__ast_path,
34201 );
34202 }
34203 }
34204 }
34205}
34206#[cfg(any(docsrs, feature = "path"))]
34207#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34208impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Str {
34209 #[doc = "Calls [VisitAstPath`::visit_str`] with `self`."]
34210 fn visit_with_ast_path<'ast: 'r, 'r>(
34211 &'ast self,
34212 visitor: &mut V,
34213 __ast_path: &mut AstNodePath<'r>,
34214 ) {
34215 <V as VisitAstPath>::visit_str(visitor, self, __ast_path)
34216 }
34217
34218 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34219 &'ast self,
34220 visitor: &mut V,
34221 __ast_path: &mut AstNodePath<'r>,
34222 ) {
34223 match self {
34224 Str { span, value, raw } => {
34225 {
34226 let mut __ast_path = __ast_path
34227 .with_guard(AstParentNodeRef::Str(self, self::fields::StrField::Span));
34228 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34229 span,
34230 visitor,
34231 &mut *__ast_path,
34232 )
34233 };
34234 {
34235 let mut __ast_path = __ast_path
34236 .with_guard(AstParentNodeRef::Str(self, self::fields::StrField::Value));
34237 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
34238 value,
34239 visitor,
34240 &mut *__ast_path,
34241 )
34242 };
34243 {
34244 let mut __ast_path = __ast_path
34245 .with_guard(AstParentNodeRef::Str(self, self::fields::StrField::Raw));
34246 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
34247 raw,
34248 visitor,
34249 &mut *__ast_path,
34250 )
34251 };
34252 }
34253 }
34254 }
34255}
34256#[cfg(any(docsrs, feature = "path"))]
34257#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34258impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for StyleBlock {
34259 #[doc = "Calls [VisitAstPath`::visit_style_block`] with `self`."]
34260 fn visit_with_ast_path<'ast: 'r, 'r>(
34261 &'ast self,
34262 visitor: &mut V,
34263 __ast_path: &mut AstNodePath<'r>,
34264 ) {
34265 <V as VisitAstPath>::visit_style_block(visitor, self, __ast_path)
34266 }
34267
34268 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34269 &'ast self,
34270 visitor: &mut V,
34271 __ast_path: &mut AstNodePath<'r>,
34272 ) {
34273 match self {
34274 StyleBlock::AtRule { 0: _field_0 } => {
34275 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::StyleBlock(
34276 self,
34277 self::fields::StyleBlockField::AtRule,
34278 ));
34279 <Box<AtRule> as VisitWithAstPath<V>>::visit_with_ast_path(
34280 _field_0,
34281 visitor,
34282 &mut *__ast_path,
34283 );
34284 }
34285 StyleBlock::Declaration { 0: _field_0 } => {
34286 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::StyleBlock(
34287 self,
34288 self::fields::StyleBlockField::Declaration,
34289 ));
34290 <Box<Declaration> as VisitWithAstPath<V>>::visit_with_ast_path(
34291 _field_0,
34292 visitor,
34293 &mut *__ast_path,
34294 );
34295 }
34296 StyleBlock::QualifiedRule { 0: _field_0 } => {
34297 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::StyleBlock(
34298 self,
34299 self::fields::StyleBlockField::QualifiedRule,
34300 ));
34301 <Box<QualifiedRule> as VisitWithAstPath<V>>::visit_with_ast_path(
34302 _field_0,
34303 visitor,
34304 &mut *__ast_path,
34305 );
34306 }
34307 StyleBlock::ListOfComponentValues { 0: _field_0 } => {
34308 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::StyleBlock(
34309 self,
34310 self::fields::StyleBlockField::ListOfComponentValues,
34311 ));
34312 <Box<ListOfComponentValues> as VisitWithAstPath<V>>::visit_with_ast_path(
34313 _field_0,
34314 visitor,
34315 &mut *__ast_path,
34316 );
34317 }
34318 }
34319 }
34320}
34321#[cfg(any(docsrs, feature = "path"))]
34322#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34323impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Stylesheet {
34324 #[doc = "Calls [VisitAstPath`::visit_stylesheet`] with `self`."]
34325 fn visit_with_ast_path<'ast: 'r, 'r>(
34326 &'ast self,
34327 visitor: &mut V,
34328 __ast_path: &mut AstNodePath<'r>,
34329 ) {
34330 <V as VisitAstPath>::visit_stylesheet(visitor, self, __ast_path)
34331 }
34332
34333 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34334 &'ast self,
34335 visitor: &mut V,
34336 __ast_path: &mut AstNodePath<'r>,
34337 ) {
34338 match self {
34339 Stylesheet { span, rules } => {
34340 {
34341 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Stylesheet(
34342 self,
34343 self::fields::StylesheetField::Span,
34344 ));
34345 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34346 span,
34347 visitor,
34348 &mut *__ast_path,
34349 )
34350 };
34351 {
34352 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Stylesheet(
34353 self,
34354 self::fields::StylesheetField::Rules(usize::MAX),
34355 ));
34356 <Vec<Rule> as VisitWithAstPath<V>>::visit_with_ast_path(
34357 rules,
34358 visitor,
34359 &mut *__ast_path,
34360 )
34361 };
34362 }
34363 }
34364 }
34365}
34366#[cfg(any(docsrs, feature = "path"))]
34367#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34368impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SubclassSelector {
34369 #[doc = "Calls [VisitAstPath`::visit_subclass_selector`] with `self`."]
34370 fn visit_with_ast_path<'ast: 'r, 'r>(
34371 &'ast self,
34372 visitor: &mut V,
34373 __ast_path: &mut AstNodePath<'r>,
34374 ) {
34375 <V as VisitAstPath>::visit_subclass_selector(visitor, self, __ast_path)
34376 }
34377
34378 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34379 &'ast self,
34380 visitor: &mut V,
34381 __ast_path: &mut AstNodePath<'r>,
34382 ) {
34383 match self {
34384 SubclassSelector::Id { 0: _field_0 } => {
34385 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SubclassSelector(
34386 self,
34387 self::fields::SubclassSelectorField::Id,
34388 ));
34389 <IdSelector as VisitWithAstPath<V>>::visit_with_ast_path(
34390 _field_0,
34391 visitor,
34392 &mut *__ast_path,
34393 );
34394 }
34395 SubclassSelector::Class { 0: _field_0 } => {
34396 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SubclassSelector(
34397 self,
34398 self::fields::SubclassSelectorField::Class,
34399 ));
34400 <ClassSelector as VisitWithAstPath<V>>::visit_with_ast_path(
34401 _field_0,
34402 visitor,
34403 &mut *__ast_path,
34404 );
34405 }
34406 SubclassSelector::Attribute { 0: _field_0 } => {
34407 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SubclassSelector(
34408 self,
34409 self::fields::SubclassSelectorField::Attribute,
34410 ));
34411 <Box<AttributeSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
34412 _field_0,
34413 visitor,
34414 &mut *__ast_path,
34415 );
34416 }
34417 SubclassSelector::PseudoClass { 0: _field_0 } => {
34418 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SubclassSelector(
34419 self,
34420 self::fields::SubclassSelectorField::PseudoClass,
34421 ));
34422 <PseudoClassSelector as VisitWithAstPath<V>>::visit_with_ast_path(
34423 _field_0,
34424 visitor,
34425 &mut *__ast_path,
34426 );
34427 }
34428 SubclassSelector::PseudoElement { 0: _field_0 } => {
34429 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SubclassSelector(
34430 self,
34431 self::fields::SubclassSelectorField::PseudoElement,
34432 ));
34433 <PseudoElementSelector as VisitWithAstPath<V>>::visit_with_ast_path(
34434 _field_0,
34435 visitor,
34436 &mut *__ast_path,
34437 );
34438 }
34439 }
34440 }
34441}
34442#[cfg(any(docsrs, feature = "path"))]
34443#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34444impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SupportsAnd {
34445 #[doc = "Calls [VisitAstPath`::visit_supports_and`] with `self`."]
34446 fn visit_with_ast_path<'ast: 'r, 'r>(
34447 &'ast self,
34448 visitor: &mut V,
34449 __ast_path: &mut AstNodePath<'r>,
34450 ) {
34451 <V as VisitAstPath>::visit_supports_and(visitor, self, __ast_path)
34452 }
34453
34454 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34455 &'ast self,
34456 visitor: &mut V,
34457 __ast_path: &mut AstNodePath<'r>,
34458 ) {
34459 match self {
34460 SupportsAnd {
34461 span,
34462 keyword,
34463 condition,
34464 } => {
34465 {
34466 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsAnd(
34467 self,
34468 self::fields::SupportsAndField::Span,
34469 ));
34470 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34471 span,
34472 visitor,
34473 &mut *__ast_path,
34474 )
34475 };
34476 {
34477 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsAnd(
34478 self,
34479 self::fields::SupportsAndField::Keyword,
34480 ));
34481 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
34482 keyword,
34483 visitor,
34484 &mut *__ast_path,
34485 )
34486 };
34487 {
34488 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsAnd(
34489 self,
34490 self::fields::SupportsAndField::Condition,
34491 ));
34492 <Box<SupportsInParens> as VisitWithAstPath<V>>::visit_with_ast_path(
34493 condition,
34494 visitor,
34495 &mut *__ast_path,
34496 )
34497 };
34498 }
34499 }
34500 }
34501}
34502#[cfg(any(docsrs, feature = "path"))]
34503#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34504impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SupportsCondition {
34505 #[doc = "Calls [VisitAstPath`::visit_supports_condition`] with `self`."]
34506 fn visit_with_ast_path<'ast: 'r, 'r>(
34507 &'ast self,
34508 visitor: &mut V,
34509 __ast_path: &mut AstNodePath<'r>,
34510 ) {
34511 <V as VisitAstPath>::visit_supports_condition(visitor, self, __ast_path)
34512 }
34513
34514 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34515 &'ast self,
34516 visitor: &mut V,
34517 __ast_path: &mut AstNodePath<'r>,
34518 ) {
34519 match self {
34520 SupportsCondition { span, conditions } => {
34521 {
34522 let mut __ast_path =
34523 __ast_path.with_guard(AstParentNodeRef::SupportsCondition(
34524 self,
34525 self::fields::SupportsConditionField::Span,
34526 ));
34527 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34528 span,
34529 visitor,
34530 &mut *__ast_path,
34531 )
34532 };
34533 {
34534 let mut __ast_path =
34535 __ast_path.with_guard(AstParentNodeRef::SupportsCondition(
34536 self,
34537 self::fields::SupportsConditionField::Conditions(usize::MAX),
34538 ));
34539 <Vec<SupportsConditionType> as VisitWithAstPath<V>>::visit_with_ast_path(
34540 conditions,
34541 visitor,
34542 &mut *__ast_path,
34543 )
34544 };
34545 }
34546 }
34547 }
34548}
34549#[cfg(any(docsrs, feature = "path"))]
34550#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34551impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SupportsConditionType {
34552 #[doc = "Calls [VisitAstPath`::visit_supports_condition_type`] with `self`."]
34553 fn visit_with_ast_path<'ast: 'r, 'r>(
34554 &'ast self,
34555 visitor: &mut V,
34556 __ast_path: &mut AstNodePath<'r>,
34557 ) {
34558 <V as VisitAstPath>::visit_supports_condition_type(visitor, self, __ast_path)
34559 }
34560
34561 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34562 &'ast self,
34563 visitor: &mut V,
34564 __ast_path: &mut AstNodePath<'r>,
34565 ) {
34566 match self {
34567 SupportsConditionType::Not { 0: _field_0 } => {
34568 let mut __ast_path =
34569 __ast_path.with_guard(AstParentNodeRef::SupportsConditionType(
34570 self,
34571 self::fields::SupportsConditionTypeField::Not,
34572 ));
34573 <SupportsNot as VisitWithAstPath<V>>::visit_with_ast_path(
34574 _field_0,
34575 visitor,
34576 &mut *__ast_path,
34577 );
34578 }
34579 SupportsConditionType::And { 0: _field_0 } => {
34580 let mut __ast_path =
34581 __ast_path.with_guard(AstParentNodeRef::SupportsConditionType(
34582 self,
34583 self::fields::SupportsConditionTypeField::And,
34584 ));
34585 <SupportsAnd as VisitWithAstPath<V>>::visit_with_ast_path(
34586 _field_0,
34587 visitor,
34588 &mut *__ast_path,
34589 );
34590 }
34591 SupportsConditionType::Or { 0: _field_0 } => {
34592 let mut __ast_path =
34593 __ast_path.with_guard(AstParentNodeRef::SupportsConditionType(
34594 self,
34595 self::fields::SupportsConditionTypeField::Or,
34596 ));
34597 <SupportsOr as VisitWithAstPath<V>>::visit_with_ast_path(
34598 _field_0,
34599 visitor,
34600 &mut *__ast_path,
34601 );
34602 }
34603 SupportsConditionType::SupportsInParens { 0: _field_0 } => {
34604 let mut __ast_path =
34605 __ast_path.with_guard(AstParentNodeRef::SupportsConditionType(
34606 self,
34607 self::fields::SupportsConditionTypeField::SupportsInParens,
34608 ));
34609 <SupportsInParens as VisitWithAstPath<V>>::visit_with_ast_path(
34610 _field_0,
34611 visitor,
34612 &mut *__ast_path,
34613 );
34614 }
34615 }
34616 }
34617}
34618#[cfg(any(docsrs, feature = "path"))]
34619#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34620impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SupportsFeature {
34621 #[doc = "Calls [VisitAstPath`::visit_supports_feature`] with `self`."]
34622 fn visit_with_ast_path<'ast: 'r, 'r>(
34623 &'ast self,
34624 visitor: &mut V,
34625 __ast_path: &mut AstNodePath<'r>,
34626 ) {
34627 <V as VisitAstPath>::visit_supports_feature(visitor, self, __ast_path)
34628 }
34629
34630 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34631 &'ast self,
34632 visitor: &mut V,
34633 __ast_path: &mut AstNodePath<'r>,
34634 ) {
34635 match self {
34636 SupportsFeature::Declaration { 0: _field_0 } => {
34637 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsFeature(
34638 self,
34639 self::fields::SupportsFeatureField::Declaration,
34640 ));
34641 <Box<Declaration> as VisitWithAstPath<V>>::visit_with_ast_path(
34642 _field_0,
34643 visitor,
34644 &mut *__ast_path,
34645 );
34646 }
34647 SupportsFeature::Function { 0: _field_0 } => {
34648 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsFeature(
34649 self,
34650 self::fields::SupportsFeatureField::Function,
34651 ));
34652 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
34653 _field_0,
34654 visitor,
34655 &mut *__ast_path,
34656 );
34657 }
34658 }
34659 }
34660}
34661#[cfg(any(docsrs, feature = "path"))]
34662#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34663impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SupportsInParens {
34664 #[doc = "Calls [VisitAstPath`::visit_supports_in_parens`] with `self`."]
34665 fn visit_with_ast_path<'ast: 'r, 'r>(
34666 &'ast self,
34667 visitor: &mut V,
34668 __ast_path: &mut AstNodePath<'r>,
34669 ) {
34670 <V as VisitAstPath>::visit_supports_in_parens(visitor, self, __ast_path)
34671 }
34672
34673 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34674 &'ast self,
34675 visitor: &mut V,
34676 __ast_path: &mut AstNodePath<'r>,
34677 ) {
34678 match self {
34679 SupportsInParens::SupportsCondition { 0: _field_0 } => {
34680 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsInParens(
34681 self,
34682 self::fields::SupportsInParensField::SupportsCondition,
34683 ));
34684 <SupportsCondition as VisitWithAstPath<V>>::visit_with_ast_path(
34685 _field_0,
34686 visitor,
34687 &mut *__ast_path,
34688 );
34689 }
34690 SupportsInParens::Feature { 0: _field_0 } => {
34691 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsInParens(
34692 self,
34693 self::fields::SupportsInParensField::Feature,
34694 ));
34695 <SupportsFeature as VisitWithAstPath<V>>::visit_with_ast_path(
34696 _field_0,
34697 visitor,
34698 &mut *__ast_path,
34699 );
34700 }
34701 SupportsInParens::GeneralEnclosed { 0: _field_0 } => {
34702 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsInParens(
34703 self,
34704 self::fields::SupportsInParensField::GeneralEnclosed,
34705 ));
34706 <GeneralEnclosed as VisitWithAstPath<V>>::visit_with_ast_path(
34707 _field_0,
34708 visitor,
34709 &mut *__ast_path,
34710 );
34711 }
34712 }
34713 }
34714}
34715#[cfg(any(docsrs, feature = "path"))]
34716#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34717impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SupportsNot {
34718 #[doc = "Calls [VisitAstPath`::visit_supports_not`] with `self`."]
34719 fn visit_with_ast_path<'ast: 'r, 'r>(
34720 &'ast self,
34721 visitor: &mut V,
34722 __ast_path: &mut AstNodePath<'r>,
34723 ) {
34724 <V as VisitAstPath>::visit_supports_not(visitor, self, __ast_path)
34725 }
34726
34727 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34728 &'ast self,
34729 visitor: &mut V,
34730 __ast_path: &mut AstNodePath<'r>,
34731 ) {
34732 match self {
34733 SupportsNot {
34734 span,
34735 keyword,
34736 condition,
34737 } => {
34738 {
34739 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsNot(
34740 self,
34741 self::fields::SupportsNotField::Span,
34742 ));
34743 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34744 span,
34745 visitor,
34746 &mut *__ast_path,
34747 )
34748 };
34749 {
34750 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsNot(
34751 self,
34752 self::fields::SupportsNotField::Keyword,
34753 ));
34754 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
34755 keyword,
34756 visitor,
34757 &mut *__ast_path,
34758 )
34759 };
34760 {
34761 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsNot(
34762 self,
34763 self::fields::SupportsNotField::Condition,
34764 ));
34765 <Box<SupportsInParens> as VisitWithAstPath<V>>::visit_with_ast_path(
34766 condition,
34767 visitor,
34768 &mut *__ast_path,
34769 )
34770 };
34771 }
34772 }
34773 }
34774}
34775#[cfg(any(docsrs, feature = "path"))]
34776#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34777impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for SupportsOr {
34778 #[doc = "Calls [VisitAstPath`::visit_supports_or`] with `self`."]
34779 fn visit_with_ast_path<'ast: 'r, 'r>(
34780 &'ast self,
34781 visitor: &mut V,
34782 __ast_path: &mut AstNodePath<'r>,
34783 ) {
34784 <V as VisitAstPath>::visit_supports_or(visitor, self, __ast_path)
34785 }
34786
34787 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34788 &'ast self,
34789 visitor: &mut V,
34790 __ast_path: &mut AstNodePath<'r>,
34791 ) {
34792 match self {
34793 SupportsOr {
34794 span,
34795 keyword,
34796 condition,
34797 } => {
34798 {
34799 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsOr(
34800 self,
34801 self::fields::SupportsOrField::Span,
34802 ));
34803 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34804 span,
34805 visitor,
34806 &mut *__ast_path,
34807 )
34808 };
34809 {
34810 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsOr(
34811 self,
34812 self::fields::SupportsOrField::Keyword,
34813 ));
34814 <Option<Ident> as VisitWithAstPath<V>>::visit_with_ast_path(
34815 keyword,
34816 visitor,
34817 &mut *__ast_path,
34818 )
34819 };
34820 {
34821 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::SupportsOr(
34822 self,
34823 self::fields::SupportsOrField::Condition,
34824 ));
34825 <Box<SupportsInParens> as VisitWithAstPath<V>>::visit_with_ast_path(
34826 condition,
34827 visitor,
34828 &mut *__ast_path,
34829 )
34830 };
34831 }
34832 }
34833 }
34834}
34835#[cfg(any(docsrs, feature = "path"))]
34836#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34837impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for TagNameSelector {
34838 #[doc = "Calls [VisitAstPath`::visit_tag_name_selector`] with `self`."]
34839 fn visit_with_ast_path<'ast: 'r, 'r>(
34840 &'ast self,
34841 visitor: &mut V,
34842 __ast_path: &mut AstNodePath<'r>,
34843 ) {
34844 <V as VisitAstPath>::visit_tag_name_selector(visitor, self, __ast_path)
34845 }
34846
34847 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34848 &'ast self,
34849 visitor: &mut V,
34850 __ast_path: &mut AstNodePath<'r>,
34851 ) {
34852 match self {
34853 TagNameSelector { span, name } => {
34854 {
34855 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TagNameSelector(
34856 self,
34857 self::fields::TagNameSelectorField::Span,
34858 ));
34859 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34860 span,
34861 visitor,
34862 &mut *__ast_path,
34863 )
34864 };
34865 {
34866 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TagNameSelector(
34867 self,
34868 self::fields::TagNameSelectorField::Name,
34869 ));
34870 <WqName as VisitWithAstPath<V>>::visit_with_ast_path(
34871 name,
34872 visitor,
34873 &mut *__ast_path,
34874 )
34875 };
34876 }
34877 }
34878 }
34879}
34880#[cfg(any(docsrs, feature = "path"))]
34881#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34882impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Time {
34883 #[doc = "Calls [VisitAstPath`::visit_time`] with `self`."]
34884 fn visit_with_ast_path<'ast: 'r, 'r>(
34885 &'ast self,
34886 visitor: &mut V,
34887 __ast_path: &mut AstNodePath<'r>,
34888 ) {
34889 <V as VisitAstPath>::visit_time(visitor, self, __ast_path)
34890 }
34891
34892 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34893 &'ast self,
34894 visitor: &mut V,
34895 __ast_path: &mut AstNodePath<'r>,
34896 ) {
34897 match self {
34898 Time { span, value, unit } => {
34899 {
34900 let mut __ast_path = __ast_path
34901 .with_guard(AstParentNodeRef::Time(self, self::fields::TimeField::Span));
34902 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
34903 span,
34904 visitor,
34905 &mut *__ast_path,
34906 )
34907 };
34908 {
34909 let mut __ast_path = __ast_path
34910 .with_guard(AstParentNodeRef::Time(self, self::fields::TimeField::Value));
34911 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
34912 value,
34913 visitor,
34914 &mut *__ast_path,
34915 )
34916 };
34917 {
34918 let mut __ast_path = __ast_path
34919 .with_guard(AstParentNodeRef::Time(self, self::fields::TimeField::Unit));
34920 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
34921 unit,
34922 visitor,
34923 &mut *__ast_path,
34924 )
34925 };
34926 }
34927 }
34928 }
34929}
34930#[cfg(any(docsrs, feature = "path"))]
34931#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34932impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for TimePercentage {
34933 #[doc = "Calls [VisitAstPath`::visit_time_percentage`] with `self`."]
34934 fn visit_with_ast_path<'ast: 'r, 'r>(
34935 &'ast self,
34936 visitor: &mut V,
34937 __ast_path: &mut AstNodePath<'r>,
34938 ) {
34939 <V as VisitAstPath>::visit_time_percentage(visitor, self, __ast_path)
34940 }
34941
34942 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34943 &'ast self,
34944 visitor: &mut V,
34945 __ast_path: &mut AstNodePath<'r>,
34946 ) {
34947 match self {
34948 TimePercentage::Time { 0: _field_0 } => {
34949 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TimePercentage(
34950 self,
34951 self::fields::TimePercentageField::Time,
34952 ));
34953 <Time as VisitWithAstPath<V>>::visit_with_ast_path(
34954 _field_0,
34955 visitor,
34956 &mut *__ast_path,
34957 );
34958 }
34959 TimePercentage::Percentage { 0: _field_0 } => {
34960 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TimePercentage(
34961 self,
34962 self::fields::TimePercentageField::Percentage,
34963 ));
34964 <Percentage as VisitWithAstPath<V>>::visit_with_ast_path(
34965 _field_0,
34966 visitor,
34967 &mut *__ast_path,
34968 );
34969 }
34970 }
34971 }
34972}
34973#[cfg(any(docsrs, feature = "path"))]
34974#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
34975impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Token {
34976 #[doc = "Calls [VisitAstPath`::visit_token`] with `self`."]
34977 fn visit_with_ast_path<'ast: 'r, 'r>(
34978 &'ast self,
34979 visitor: &mut V,
34980 __ast_path: &mut AstNodePath<'r>,
34981 ) {
34982 <V as VisitAstPath>::visit_token(visitor, self, __ast_path)
34983 }
34984
34985 fn visit_children_with_ast_path<'ast: 'r, 'r>(
34986 &'ast self,
34987 visitor: &mut V,
34988 __ast_path: &mut AstNodePath<'r>,
34989 ) {
34990 match self {
34991 Token::Ident { value, raw } => {
34992 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
34993 self,
34994 self::fields::TokenField::Ident,
34995 ));
34996 {
34997 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
34998 self,
34999 self::fields::TokenField::Value,
35000 ));
35001 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35002 value,
35003 visitor,
35004 &mut *__ast_path,
35005 )
35006 };
35007 {
35008 let mut __ast_path = __ast_path
35009 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35010 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35011 raw,
35012 visitor,
35013 &mut *__ast_path,
35014 )
35015 };
35016 }
35017 Token::Function { value, raw } => {
35018 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35019 self,
35020 self::fields::TokenField::Function,
35021 ));
35022 {
35023 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35024 self,
35025 self::fields::TokenField::Value,
35026 ));
35027 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35028 value,
35029 visitor,
35030 &mut *__ast_path,
35031 )
35032 };
35033 {
35034 let mut __ast_path = __ast_path
35035 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35036 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35037 raw,
35038 visitor,
35039 &mut *__ast_path,
35040 )
35041 };
35042 }
35043 Token::AtKeyword { value, raw } => {
35044 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35045 self,
35046 self::fields::TokenField::AtKeyword,
35047 ));
35048 {
35049 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35050 self,
35051 self::fields::TokenField::Value,
35052 ));
35053 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35054 value,
35055 visitor,
35056 &mut *__ast_path,
35057 )
35058 };
35059 {
35060 let mut __ast_path = __ast_path
35061 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35062 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35063 raw,
35064 visitor,
35065 &mut *__ast_path,
35066 )
35067 };
35068 }
35069 Token::Hash { is_id, value, raw } => {
35070 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35071 self,
35072 self::fields::TokenField::Hash,
35073 ));
35074 {
35075 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35076 self,
35077 self::fields::TokenField::Value,
35078 ));
35079 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35080 value,
35081 visitor,
35082 &mut *__ast_path,
35083 )
35084 };
35085 {
35086 let mut __ast_path = __ast_path
35087 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35088 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35089 raw,
35090 visitor,
35091 &mut *__ast_path,
35092 )
35093 };
35094 }
35095 Token::String { value, raw } => {
35096 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35097 self,
35098 self::fields::TokenField::String,
35099 ));
35100 {
35101 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35102 self,
35103 self::fields::TokenField::Value,
35104 ));
35105 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35106 value,
35107 visitor,
35108 &mut *__ast_path,
35109 )
35110 };
35111 {
35112 let mut __ast_path = __ast_path
35113 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35114 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35115 raw,
35116 visitor,
35117 &mut *__ast_path,
35118 )
35119 };
35120 }
35121 Token::BadString { raw } => {
35122 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35123 self,
35124 self::fields::TokenField::BadString,
35125 ));
35126 {
35127 let mut __ast_path = __ast_path
35128 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35129 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35130 raw,
35131 visitor,
35132 &mut *__ast_path,
35133 )
35134 };
35135 }
35136 Token::Url { value, raw } => {
35137 let mut __ast_path = __ast_path
35138 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Url));
35139 {
35140 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35141 self,
35142 self::fields::TokenField::Value,
35143 ));
35144 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35145 value,
35146 visitor,
35147 &mut *__ast_path,
35148 )
35149 };
35150 {
35151 let mut __ast_path = __ast_path
35152 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35153 <Box<UrlKeyValue> as VisitWithAstPath<V>>::visit_with_ast_path(
35154 raw,
35155 visitor,
35156 &mut *__ast_path,
35157 )
35158 };
35159 }
35160 Token::BadUrl { raw } => {
35161 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35162 self,
35163 self::fields::TokenField::BadUrl,
35164 ));
35165 {
35166 let mut __ast_path = __ast_path
35167 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35168 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35169 raw,
35170 visitor,
35171 &mut *__ast_path,
35172 )
35173 };
35174 }
35175 Token::Delim { value } => {
35176 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35177 self,
35178 self::fields::TokenField::Delim,
35179 ));
35180 }
35181 Token::Number {
35182 value,
35183 raw,
35184 type_flag,
35185 } => {
35186 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35187 self,
35188 self::fields::TokenField::Number,
35189 ));
35190 {
35191 let mut __ast_path = __ast_path
35192 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35193 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35194 raw,
35195 visitor,
35196 &mut *__ast_path,
35197 )
35198 };
35199 {
35200 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35201 self,
35202 self::fields::TokenField::TypeFlag,
35203 ));
35204 <NumberType as VisitWithAstPath<V>>::visit_with_ast_path(
35205 type_flag,
35206 visitor,
35207 &mut *__ast_path,
35208 )
35209 };
35210 }
35211 Token::Percentage { value, raw } => {
35212 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35213 self,
35214 self::fields::TokenField::Percentage,
35215 ));
35216 {
35217 let mut __ast_path = __ast_path
35218 .with_guard(AstParentNodeRef::Token(self, self::fields::TokenField::Raw));
35219 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35220 raw,
35221 visitor,
35222 &mut *__ast_path,
35223 )
35224 };
35225 }
35226 Token::Dimension { 0: _field_0 } => {
35227 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35228 self,
35229 self::fields::TokenField::Dimension,
35230 ));
35231 <Box<DimensionToken> as VisitWithAstPath<V>>::visit_with_ast_path(
35232 _field_0,
35233 visitor,
35234 &mut *__ast_path,
35235 );
35236 }
35237 Token::WhiteSpace { value } => {
35238 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35239 self,
35240 self::fields::TokenField::WhiteSpace,
35241 ));
35242 {
35243 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Token(
35244 self,
35245 self::fields::TokenField::Value,
35246 ));
35247 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35248 value,
35249 visitor,
35250 &mut *__ast_path,
35251 )
35252 };
35253 }
35254 Token::CDO => {}
35255 Token::CDC => {}
35256 Token::Colon => {}
35257 Token::Semi => {}
35258 Token::Comma => {}
35259 Token::LBracket => {}
35260 Token::RBracket => {}
35261 Token::LParen => {}
35262 Token::RParen => {}
35263 Token::LBrace => {}
35264 Token::RBrace => {}
35265 }
35266 }
35267}
35268#[cfg(any(docsrs, feature = "path"))]
35269#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35270impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for TokenAndSpan {
35271 #[doc = "Calls [VisitAstPath`::visit_token_and_span`] with `self`."]
35272 fn visit_with_ast_path<'ast: 'r, 'r>(
35273 &'ast self,
35274 visitor: &mut V,
35275 __ast_path: &mut AstNodePath<'r>,
35276 ) {
35277 <V as VisitAstPath>::visit_token_and_span(visitor, self, __ast_path)
35278 }
35279
35280 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35281 &'ast self,
35282 visitor: &mut V,
35283 __ast_path: &mut AstNodePath<'r>,
35284 ) {
35285 match self {
35286 TokenAndSpan { span, token } => {
35287 {
35288 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TokenAndSpan(
35289 self,
35290 self::fields::TokenAndSpanField::Span,
35291 ));
35292 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
35293 span,
35294 visitor,
35295 &mut *__ast_path,
35296 )
35297 };
35298 {
35299 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TokenAndSpan(
35300 self,
35301 self::fields::TokenAndSpanField::Token,
35302 ));
35303 <Token as VisitWithAstPath<V>>::visit_with_ast_path(
35304 token,
35305 visitor,
35306 &mut *__ast_path,
35307 )
35308 };
35309 }
35310 }
35311 }
35312}
35313#[cfg(any(docsrs, feature = "path"))]
35314#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35315impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for TypeSelector {
35316 #[doc = "Calls [VisitAstPath`::visit_type_selector`] with `self`."]
35317 fn visit_with_ast_path<'ast: 'r, 'r>(
35318 &'ast self,
35319 visitor: &mut V,
35320 __ast_path: &mut AstNodePath<'r>,
35321 ) {
35322 <V as VisitAstPath>::visit_type_selector(visitor, self, __ast_path)
35323 }
35324
35325 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35326 &'ast self,
35327 visitor: &mut V,
35328 __ast_path: &mut AstNodePath<'r>,
35329 ) {
35330 match self {
35331 TypeSelector::TagName { 0: _field_0 } => {
35332 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TypeSelector(
35333 self,
35334 self::fields::TypeSelectorField::TagName,
35335 ));
35336 <TagNameSelector as VisitWithAstPath<V>>::visit_with_ast_path(
35337 _field_0,
35338 visitor,
35339 &mut *__ast_path,
35340 );
35341 }
35342 TypeSelector::Universal { 0: _field_0 } => {
35343 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::TypeSelector(
35344 self,
35345 self::fields::TypeSelectorField::Universal,
35346 ));
35347 <UniversalSelector as VisitWithAstPath<V>>::visit_with_ast_path(
35348 _field_0,
35349 visitor,
35350 &mut *__ast_path,
35351 );
35352 }
35353 }
35354 }
35355}
35356#[cfg(any(docsrs, feature = "path"))]
35357#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35358impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for UnicodeRange {
35359 #[doc = "Calls [VisitAstPath`::visit_unicode_range`] with `self`."]
35360 fn visit_with_ast_path<'ast: 'r, 'r>(
35361 &'ast self,
35362 visitor: &mut V,
35363 __ast_path: &mut AstNodePath<'r>,
35364 ) {
35365 <V as VisitAstPath>::visit_unicode_range(visitor, self, __ast_path)
35366 }
35367
35368 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35369 &'ast self,
35370 visitor: &mut V,
35371 __ast_path: &mut AstNodePath<'r>,
35372 ) {
35373 match self {
35374 UnicodeRange {
35375 span,
35376 start,
35377 end,
35378 raw,
35379 } => {
35380 {
35381 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UnicodeRange(
35382 self,
35383 self::fields::UnicodeRangeField::Span,
35384 ));
35385 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
35386 span,
35387 visitor,
35388 &mut *__ast_path,
35389 )
35390 };
35391 {
35392 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UnicodeRange(
35393 self,
35394 self::fields::UnicodeRangeField::Start,
35395 ));
35396 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35397 start,
35398 visitor,
35399 &mut *__ast_path,
35400 )
35401 };
35402 {
35403 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UnicodeRange(
35404 self,
35405 self::fields::UnicodeRangeField::End,
35406 ));
35407 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
35408 end,
35409 visitor,
35410 &mut *__ast_path,
35411 )
35412 };
35413 {
35414 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UnicodeRange(
35415 self,
35416 self::fields::UnicodeRangeField::Raw,
35417 ));
35418 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
35419 raw,
35420 visitor,
35421 &mut *__ast_path,
35422 )
35423 };
35424 }
35425 }
35426 }
35427}
35428#[cfg(any(docsrs, feature = "path"))]
35429#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35430impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for UniversalSelector {
35431 #[doc = "Calls [VisitAstPath`::visit_universal_selector`] with `self`."]
35432 fn visit_with_ast_path<'ast: 'r, 'r>(
35433 &'ast self,
35434 visitor: &mut V,
35435 __ast_path: &mut AstNodePath<'r>,
35436 ) {
35437 <V as VisitAstPath>::visit_universal_selector(visitor, self, __ast_path)
35438 }
35439
35440 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35441 &'ast self,
35442 visitor: &mut V,
35443 __ast_path: &mut AstNodePath<'r>,
35444 ) {
35445 match self {
35446 UniversalSelector { span, prefix } => {
35447 {
35448 let mut __ast_path =
35449 __ast_path.with_guard(AstParentNodeRef::UniversalSelector(
35450 self,
35451 self::fields::UniversalSelectorField::Span,
35452 ));
35453 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
35454 span,
35455 visitor,
35456 &mut *__ast_path,
35457 )
35458 };
35459 {
35460 let mut __ast_path =
35461 __ast_path.with_guard(AstParentNodeRef::UniversalSelector(
35462 self,
35463 self::fields::UniversalSelectorField::Prefix,
35464 ));
35465 <Option<NamespacePrefix> as VisitWithAstPath<V>>::visit_with_ast_path(
35466 prefix,
35467 visitor,
35468 &mut *__ast_path,
35469 )
35470 };
35471 }
35472 }
35473 }
35474}
35475#[cfg(any(docsrs, feature = "path"))]
35476#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35477impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for UnknownDimension {
35478 #[doc = "Calls [VisitAstPath`::visit_unknown_dimension`] with `self`."]
35479 fn visit_with_ast_path<'ast: 'r, 'r>(
35480 &'ast self,
35481 visitor: &mut V,
35482 __ast_path: &mut AstNodePath<'r>,
35483 ) {
35484 <V as VisitAstPath>::visit_unknown_dimension(visitor, self, __ast_path)
35485 }
35486
35487 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35488 &'ast self,
35489 visitor: &mut V,
35490 __ast_path: &mut AstNodePath<'r>,
35491 ) {
35492 match self {
35493 UnknownDimension { span, value, unit } => {
35494 {
35495 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UnknownDimension(
35496 self,
35497 self::fields::UnknownDimensionField::Span,
35498 ));
35499 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
35500 span,
35501 visitor,
35502 &mut *__ast_path,
35503 )
35504 };
35505 {
35506 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UnknownDimension(
35507 self,
35508 self::fields::UnknownDimensionField::Value,
35509 ));
35510 <Number as VisitWithAstPath<V>>::visit_with_ast_path(
35511 value,
35512 visitor,
35513 &mut *__ast_path,
35514 )
35515 };
35516 {
35517 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UnknownDimension(
35518 self,
35519 self::fields::UnknownDimensionField::Unit,
35520 ));
35521 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
35522 unit,
35523 visitor,
35524 &mut *__ast_path,
35525 )
35526 };
35527 }
35528 }
35529 }
35530}
35531#[cfg(any(docsrs, feature = "path"))]
35532#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35533impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Url {
35534 #[doc = "Calls [VisitAstPath`::visit_url`] with `self`."]
35535 fn visit_with_ast_path<'ast: 'r, 'r>(
35536 &'ast self,
35537 visitor: &mut V,
35538 __ast_path: &mut AstNodePath<'r>,
35539 ) {
35540 <V as VisitAstPath>::visit_url(visitor, self, __ast_path)
35541 }
35542
35543 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35544 &'ast self,
35545 visitor: &mut V,
35546 __ast_path: &mut AstNodePath<'r>,
35547 ) {
35548 match self {
35549 Url {
35550 span,
35551 name,
35552 value,
35553 modifiers,
35554 } => {
35555 {
35556 let mut __ast_path = __ast_path
35557 .with_guard(AstParentNodeRef::Url(self, self::fields::UrlField::Span));
35558 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
35559 span,
35560 visitor,
35561 &mut *__ast_path,
35562 )
35563 };
35564 {
35565 let mut __ast_path = __ast_path
35566 .with_guard(AstParentNodeRef::Url(self, self::fields::UrlField::Name));
35567 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
35568 name,
35569 visitor,
35570 &mut *__ast_path,
35571 )
35572 };
35573 {
35574 let mut __ast_path = __ast_path
35575 .with_guard(AstParentNodeRef::Url(self, self::fields::UrlField::Value));
35576 <Option<Box<UrlValue>> as VisitWithAstPath<V>>::visit_with_ast_path(
35577 value,
35578 visitor,
35579 &mut *__ast_path,
35580 )
35581 };
35582 {
35583 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::Url(
35584 self,
35585 self::fields::UrlField::Modifiers(usize::MAX),
35586 ));
35587 <Option<Vec<UrlModifier>> as VisitWithAstPath<V>>::visit_with_ast_path(
35588 modifiers,
35589 visitor,
35590 &mut *__ast_path,
35591 )
35592 };
35593 }
35594 }
35595 }
35596}
35597#[cfg(any(docsrs, feature = "path"))]
35598#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35599impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for UrlKeyValue {
35600 #[doc = "Calls [VisitAstPath`::visit_url_key_value`] with `self`."]
35601 fn visit_with_ast_path<'ast: 'r, 'r>(
35602 &'ast self,
35603 visitor: &mut V,
35604 __ast_path: &mut AstNodePath<'r>,
35605 ) {
35606 <V as VisitAstPath>::visit_url_key_value(visitor, self, __ast_path)
35607 }
35608
35609 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35610 &'ast self,
35611 visitor: &mut V,
35612 __ast_path: &mut AstNodePath<'r>,
35613 ) {
35614 match self {
35615 UrlKeyValue {
35616 0: _field_0,
35617 1: _field_1,
35618 } => {
35619 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35620 _field_0,
35621 visitor,
35622 &mut *__ast_path,
35623 );
35624 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35625 _field_1,
35626 visitor,
35627 &mut *__ast_path,
35628 );
35629 }
35630 }
35631 }
35632}
35633#[cfg(any(docsrs, feature = "path"))]
35634#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35635impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for UrlModifier {
35636 #[doc = "Calls [VisitAstPath`::visit_url_modifier`] with `self`."]
35637 fn visit_with_ast_path<'ast: 'r, 'r>(
35638 &'ast self,
35639 visitor: &mut V,
35640 __ast_path: &mut AstNodePath<'r>,
35641 ) {
35642 <V as VisitAstPath>::visit_url_modifier(visitor, self, __ast_path)
35643 }
35644
35645 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35646 &'ast self,
35647 visitor: &mut V,
35648 __ast_path: &mut AstNodePath<'r>,
35649 ) {
35650 match self {
35651 UrlModifier::Ident { 0: _field_0 } => {
35652 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UrlModifier(
35653 self,
35654 self::fields::UrlModifierField::Ident,
35655 ));
35656 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
35657 _field_0,
35658 visitor,
35659 &mut *__ast_path,
35660 );
35661 }
35662 UrlModifier::Function { 0: _field_0 } => {
35663 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UrlModifier(
35664 self,
35665 self::fields::UrlModifierField::Function,
35666 ));
35667 <Function as VisitWithAstPath<V>>::visit_with_ast_path(
35668 _field_0,
35669 visitor,
35670 &mut *__ast_path,
35671 );
35672 }
35673 }
35674 }
35675}
35676#[cfg(any(docsrs, feature = "path"))]
35677#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35678impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for UrlValue {
35679 #[doc = "Calls [VisitAstPath`::visit_url_value`] with `self`."]
35680 fn visit_with_ast_path<'ast: 'r, 'r>(
35681 &'ast self,
35682 visitor: &mut V,
35683 __ast_path: &mut AstNodePath<'r>,
35684 ) {
35685 <V as VisitAstPath>::visit_url_value(visitor, self, __ast_path)
35686 }
35687
35688 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35689 &'ast self,
35690 visitor: &mut V,
35691 __ast_path: &mut AstNodePath<'r>,
35692 ) {
35693 match self {
35694 UrlValue::Str { 0: _field_0 } => {
35695 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UrlValue(
35696 self,
35697 self::fields::UrlValueField::Str,
35698 ));
35699 <Str as VisitWithAstPath<V>>::visit_with_ast_path(
35700 _field_0,
35701 visitor,
35702 &mut *__ast_path,
35703 );
35704 }
35705 UrlValue::Raw { 0: _field_0 } => {
35706 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UrlValue(
35707 self,
35708 self::fields::UrlValueField::Raw,
35709 ));
35710 <UrlValueRaw as VisitWithAstPath<V>>::visit_with_ast_path(
35711 _field_0,
35712 visitor,
35713 &mut *__ast_path,
35714 );
35715 }
35716 }
35717 }
35718}
35719#[cfg(any(docsrs, feature = "path"))]
35720#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35721impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for UrlValueRaw {
35722 #[doc = "Calls [VisitAstPath`::visit_url_value_raw`] with `self`."]
35723 fn visit_with_ast_path<'ast: 'r, 'r>(
35724 &'ast self,
35725 visitor: &mut V,
35726 __ast_path: &mut AstNodePath<'r>,
35727 ) {
35728 <V as VisitAstPath>::visit_url_value_raw(visitor, self, __ast_path)
35729 }
35730
35731 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35732 &'ast self,
35733 visitor: &mut V,
35734 __ast_path: &mut AstNodePath<'r>,
35735 ) {
35736 match self {
35737 UrlValueRaw { span, value, raw } => {
35738 {
35739 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UrlValueRaw(
35740 self,
35741 self::fields::UrlValueRawField::Span,
35742 ));
35743 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
35744 span,
35745 visitor,
35746 &mut *__ast_path,
35747 )
35748 };
35749 {
35750 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UrlValueRaw(
35751 self,
35752 self::fields::UrlValueRawField::Value,
35753 ));
35754 <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
35755 value,
35756 visitor,
35757 &mut *__ast_path,
35758 )
35759 };
35760 {
35761 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::UrlValueRaw(
35762 self,
35763 self::fields::UrlValueRawField::Raw,
35764 ));
35765 <Option<swc_atoms::Atom> as VisitWithAstPath<V>>::visit_with_ast_path(
35766 raw,
35767 visitor,
35768 &mut *__ast_path,
35769 )
35770 };
35771 }
35772 }
35773 }
35774}
35775#[cfg(any(docsrs, feature = "path"))]
35776#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35777impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for WqName {
35778 #[doc = "Calls [VisitAstPath`::visit_wq_name`] with `self`."]
35779 fn visit_with_ast_path<'ast: 'r, 'r>(
35780 &'ast self,
35781 visitor: &mut V,
35782 __ast_path: &mut AstNodePath<'r>,
35783 ) {
35784 <V as VisitAstPath>::visit_wq_name(visitor, self, __ast_path)
35785 }
35786
35787 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35788 &'ast self,
35789 visitor: &mut V,
35790 __ast_path: &mut AstNodePath<'r>,
35791 ) {
35792 match self {
35793 WqName {
35794 span,
35795 prefix,
35796 value,
35797 } => {
35798 {
35799 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::WqName(
35800 self,
35801 self::fields::WqNameField::Span,
35802 ));
35803 <swc_common::Span as VisitWithAstPath<V>>::visit_with_ast_path(
35804 span,
35805 visitor,
35806 &mut *__ast_path,
35807 )
35808 };
35809 {
35810 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::WqName(
35811 self,
35812 self::fields::WqNameField::Prefix,
35813 ));
35814 <Option<NamespacePrefix> as VisitWithAstPath<V>>::visit_with_ast_path(
35815 prefix,
35816 visitor,
35817 &mut *__ast_path,
35818 )
35819 };
35820 {
35821 let mut __ast_path = __ast_path.with_guard(AstParentNodeRef::WqName(
35822 self,
35823 self::fields::WqNameField::Value,
35824 ));
35825 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(
35826 value,
35827 visitor,
35828 &mut *__ast_path,
35829 )
35830 };
35831 }
35832 }
35833 }
35834}
35835#[cfg(any(docsrs, feature = "path"))]
35836#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35837impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for swc_atoms::Atom {
35838 #[doc = "Calls [VisitAstPath`::visit_atom`] with `self`. (Extra impl)"]
35839 #[inline]
35840 fn visit_with_ast_path<'ast: 'r, 'r>(
35841 &'ast self,
35842 visitor: &mut V,
35843 __ast_path: &mut AstNodePath<'r>,
35844 ) {
35845 <V as VisitAstPath>::visit_atom(visitor, self, __ast_path)
35846 }
35847
35848 #[inline]
35849 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35850 &'ast self,
35851 visitor: &mut V,
35852 __ast_path: &mut AstNodePath<'r>,
35853 ) {
35854 {}
35855 }
35856}
35857#[cfg(any(docsrs, feature = "path"))]
35858#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35859impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [CalcProductOrOperator] {
35860 #[doc = "Calls [VisitAstPath`::visit_calc_product_or_operators`] with `self`. (Extra impl)"]
35861 #[inline]
35862 fn visit_with_ast_path<'ast: 'r, 'r>(
35863 &'ast self,
35864 visitor: &mut V,
35865 __ast_path: &mut AstNodePath<'r>,
35866 ) {
35867 <V as VisitAstPath>::visit_calc_product_or_operators(visitor, self, __ast_path)
35868 }
35869
35870 #[inline]
35871 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35872 &'ast self,
35873 visitor: &mut V,
35874 __ast_path: &mut AstNodePath<'r>,
35875 ) {
35876 self.iter().enumerate().for_each(|(__idx, item)| {
35877 let mut __ast_path = __ast_path.with_index_guard(__idx);
35878 <CalcProductOrOperator as VisitWithAstPath<V>>::visit_with_ast_path(
35879 item,
35880 visitor,
35881 &mut *__ast_path,
35882 )
35883 })
35884 }
35885}
35886#[cfg(any(docsrs, feature = "path"))]
35887#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35888impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [CalcValueOrOperator] {
35889 #[doc = "Calls [VisitAstPath`::visit_calc_value_or_operators`] with `self`. (Extra impl)"]
35890 #[inline]
35891 fn visit_with_ast_path<'ast: 'r, 'r>(
35892 &'ast self,
35893 visitor: &mut V,
35894 __ast_path: &mut AstNodePath<'r>,
35895 ) {
35896 <V as VisitAstPath>::visit_calc_value_or_operators(visitor, self, __ast_path)
35897 }
35898
35899 #[inline]
35900 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35901 &'ast self,
35902 visitor: &mut V,
35903 __ast_path: &mut AstNodePath<'r>,
35904 ) {
35905 self.iter().enumerate().for_each(|(__idx, item)| {
35906 let mut __ast_path = __ast_path.with_index_guard(__idx);
35907 <CalcValueOrOperator as VisitWithAstPath<V>>::visit_with_ast_path(
35908 item,
35909 visitor,
35910 &mut *__ast_path,
35911 )
35912 })
35913 }
35914}
35915#[cfg(any(docsrs, feature = "path"))]
35916#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35917impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [ComplexSelectorChildren] {
35918 #[doc = "Calls [VisitAstPath`::visit_complex_selector_childrens`] with `self`. (Extra impl)"]
35919 #[inline]
35920 fn visit_with_ast_path<'ast: 'r, 'r>(
35921 &'ast self,
35922 visitor: &mut V,
35923 __ast_path: &mut AstNodePath<'r>,
35924 ) {
35925 <V as VisitAstPath>::visit_complex_selector_childrens(visitor, self, __ast_path)
35926 }
35927
35928 #[inline]
35929 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35930 &'ast self,
35931 visitor: &mut V,
35932 __ast_path: &mut AstNodePath<'r>,
35933 ) {
35934 self.iter().enumerate().for_each(|(__idx, item)| {
35935 let mut __ast_path = __ast_path.with_index_guard(__idx);
35936 <ComplexSelectorChildren as VisitWithAstPath<V>>::visit_with_ast_path(
35937 item,
35938 visitor,
35939 &mut *__ast_path,
35940 )
35941 })
35942 }
35943}
35944#[cfg(any(docsrs, feature = "path"))]
35945#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35946impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [ComplexSelector] {
35947 #[doc = "Calls [VisitAstPath`::visit_complex_selectors`] with `self`. (Extra impl)"]
35948 #[inline]
35949 fn visit_with_ast_path<'ast: 'r, 'r>(
35950 &'ast self,
35951 visitor: &mut V,
35952 __ast_path: &mut AstNodePath<'r>,
35953 ) {
35954 <V as VisitAstPath>::visit_complex_selectors(visitor, self, __ast_path)
35955 }
35956
35957 #[inline]
35958 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35959 &'ast self,
35960 visitor: &mut V,
35961 __ast_path: &mut AstNodePath<'r>,
35962 ) {
35963 self.iter().enumerate().for_each(|(__idx, item)| {
35964 let mut __ast_path = __ast_path.with_index_guard(__idx);
35965 <ComplexSelector as VisitWithAstPath<V>>::visit_with_ast_path(
35966 item,
35967 visitor,
35968 &mut *__ast_path,
35969 )
35970 })
35971 }
35972}
35973#[cfg(any(docsrs, feature = "path"))]
35974#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
35975impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [ComponentValue] {
35976 #[doc = "Calls [VisitAstPath`::visit_component_values`] with `self`. (Extra impl)"]
35977 #[inline]
35978 fn visit_with_ast_path<'ast: 'r, 'r>(
35979 &'ast self,
35980 visitor: &mut V,
35981 __ast_path: &mut AstNodePath<'r>,
35982 ) {
35983 <V as VisitAstPath>::visit_component_values(visitor, self, __ast_path)
35984 }
35985
35986 #[inline]
35987 fn visit_children_with_ast_path<'ast: 'r, 'r>(
35988 &'ast self,
35989 visitor: &mut V,
35990 __ast_path: &mut AstNodePath<'r>,
35991 ) {
35992 self.iter().enumerate().for_each(|(__idx, item)| {
35993 let mut __ast_path = __ast_path.with_index_guard(__idx);
35994 <ComponentValue as VisitWithAstPath<V>>::visit_with_ast_path(
35995 item,
35996 visitor,
35997 &mut *__ast_path,
35998 )
35999 })
36000 }
36001}
36002#[cfg(any(docsrs, feature = "path"))]
36003#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36004impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [CompoundSelector] {
36005 #[doc = "Calls [VisitAstPath`::visit_compound_selectors`] with `self`. (Extra impl)"]
36006 #[inline]
36007 fn visit_with_ast_path<'ast: 'r, 'r>(
36008 &'ast self,
36009 visitor: &mut V,
36010 __ast_path: &mut AstNodePath<'r>,
36011 ) {
36012 <V as VisitAstPath>::visit_compound_selectors(visitor, self, __ast_path)
36013 }
36014
36015 #[inline]
36016 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36017 &'ast self,
36018 visitor: &mut V,
36019 __ast_path: &mut AstNodePath<'r>,
36020 ) {
36021 self.iter().enumerate().for_each(|(__idx, item)| {
36022 let mut __ast_path = __ast_path.with_index_guard(__idx);
36023 <CompoundSelector as VisitWithAstPath<V>>::visit_with_ast_path(
36024 item,
36025 visitor,
36026 &mut *__ast_path,
36027 )
36028 })
36029 }
36030}
36031#[cfg(any(docsrs, feature = "path"))]
36032#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36033impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [ContainerQueryType] {
36034 #[doc = "Calls [VisitAstPath`::visit_container_query_types`] with `self`. (Extra impl)"]
36035 #[inline]
36036 fn visit_with_ast_path<'ast: 'r, 'r>(
36037 &'ast self,
36038 visitor: &mut V,
36039 __ast_path: &mut AstNodePath<'r>,
36040 ) {
36041 <V as VisitAstPath>::visit_container_query_types(visitor, self, __ast_path)
36042 }
36043
36044 #[inline]
36045 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36046 &'ast self,
36047 visitor: &mut V,
36048 __ast_path: &mut AstNodePath<'r>,
36049 ) {
36050 self.iter().enumerate().for_each(|(__idx, item)| {
36051 let mut __ast_path = __ast_path.with_index_guard(__idx);
36052 <ContainerQueryType as VisitWithAstPath<V>>::visit_with_ast_path(
36053 item,
36054 visitor,
36055 &mut *__ast_path,
36056 )
36057 })
36058 }
36059}
36060#[cfg(any(docsrs, feature = "path"))]
36061#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36062impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [CustomIdent] {
36063 #[doc = "Calls [VisitAstPath`::visit_custom_idents`] with `self`. (Extra impl)"]
36064 #[inline]
36065 fn visit_with_ast_path<'ast: 'r, 'r>(
36066 &'ast self,
36067 visitor: &mut V,
36068 __ast_path: &mut AstNodePath<'r>,
36069 ) {
36070 <V as VisitAstPath>::visit_custom_idents(visitor, self, __ast_path)
36071 }
36072
36073 #[inline]
36074 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36075 &'ast self,
36076 visitor: &mut V,
36077 __ast_path: &mut AstNodePath<'r>,
36078 ) {
36079 self.iter().enumerate().for_each(|(__idx, item)| {
36080 let mut __ast_path = __ast_path.with_index_guard(__idx);
36081 <CustomIdent as VisitWithAstPath<V>>::visit_with_ast_path(
36082 item,
36083 visitor,
36084 &mut *__ast_path,
36085 )
36086 })
36087 }
36088}
36089#[cfg(any(docsrs, feature = "path"))]
36090#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36091impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [DocumentPreludeMatchingFunction] {
36092 #[doc = "Calls [VisitAstPath`::visit_document_prelude_matching_functions`] with `self`. (Extra \
36093 impl)"]
36094 #[inline]
36095 fn visit_with_ast_path<'ast: 'r, 'r>(
36096 &'ast self,
36097 visitor: &mut V,
36098 __ast_path: &mut AstNodePath<'r>,
36099 ) {
36100 <V as VisitAstPath>::visit_document_prelude_matching_functions(visitor, self, __ast_path)
36101 }
36102
36103 #[inline]
36104 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36105 &'ast self,
36106 visitor: &mut V,
36107 __ast_path: &mut AstNodePath<'r>,
36108 ) {
36109 self.iter().enumerate().for_each(|(__idx, item)| {
36110 let mut __ast_path = __ast_path.with_index_guard(__idx);
36111 <DocumentPreludeMatchingFunction as VisitWithAstPath<V>>::visit_with_ast_path(
36112 item,
36113 visitor,
36114 &mut *__ast_path,
36115 )
36116 })
36117 }
36118}
36119#[cfg(any(docsrs, feature = "path"))]
36120#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36121impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [FamilyName] {
36122 #[doc = "Calls [VisitAstPath`::visit_family_names`] with `self`. (Extra impl)"]
36123 #[inline]
36124 fn visit_with_ast_path<'ast: 'r, 'r>(
36125 &'ast self,
36126 visitor: &mut V,
36127 __ast_path: &mut AstNodePath<'r>,
36128 ) {
36129 <V as VisitAstPath>::visit_family_names(visitor, self, __ast_path)
36130 }
36131
36132 #[inline]
36133 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36134 &'ast self,
36135 visitor: &mut V,
36136 __ast_path: &mut AstNodePath<'r>,
36137 ) {
36138 self.iter().enumerate().for_each(|(__idx, item)| {
36139 let mut __ast_path = __ast_path.with_index_guard(__idx);
36140 <FamilyName as VisitWithAstPath<V>>::visit_with_ast_path(
36141 item,
36142 visitor,
36143 &mut *__ast_path,
36144 )
36145 })
36146 }
36147}
36148#[cfg(any(docsrs, feature = "path"))]
36149#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36150impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [ForgivingComplexSelector] {
36151 #[doc = "Calls [VisitAstPath`::visit_forgiving_complex_selectors`] with `self`. (Extra impl)"]
36152 #[inline]
36153 fn visit_with_ast_path<'ast: 'r, 'r>(
36154 &'ast self,
36155 visitor: &mut V,
36156 __ast_path: &mut AstNodePath<'r>,
36157 ) {
36158 <V as VisitAstPath>::visit_forgiving_complex_selectors(visitor, self, __ast_path)
36159 }
36160
36161 #[inline]
36162 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36163 &'ast self,
36164 visitor: &mut V,
36165 __ast_path: &mut AstNodePath<'r>,
36166 ) {
36167 self.iter().enumerate().for_each(|(__idx, item)| {
36168 let mut __ast_path = __ast_path.with_index_guard(__idx);
36169 <ForgivingComplexSelector as VisitWithAstPath<V>>::visit_with_ast_path(
36170 item,
36171 visitor,
36172 &mut *__ast_path,
36173 )
36174 })
36175 }
36176}
36177#[cfg(any(docsrs, feature = "path"))]
36178#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36179impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [ForgivingRelativeSelector] {
36180 #[doc = "Calls [VisitAstPath`::visit_forgiving_relative_selectors`] with `self`. (Extra impl)"]
36181 #[inline]
36182 fn visit_with_ast_path<'ast: 'r, 'r>(
36183 &'ast self,
36184 visitor: &mut V,
36185 __ast_path: &mut AstNodePath<'r>,
36186 ) {
36187 <V as VisitAstPath>::visit_forgiving_relative_selectors(visitor, self, __ast_path)
36188 }
36189
36190 #[inline]
36191 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36192 &'ast self,
36193 visitor: &mut V,
36194 __ast_path: &mut AstNodePath<'r>,
36195 ) {
36196 self.iter().enumerate().for_each(|(__idx, item)| {
36197 let mut __ast_path = __ast_path.with_index_guard(__idx);
36198 <ForgivingRelativeSelector as VisitWithAstPath<V>>::visit_with_ast_path(
36199 item,
36200 visitor,
36201 &mut *__ast_path,
36202 )
36203 })
36204 }
36205}
36206#[cfg(any(docsrs, feature = "path"))]
36207#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36208impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [Ident] {
36209 #[doc = "Calls [VisitAstPath`::visit_idents`] with `self`. (Extra impl)"]
36210 #[inline]
36211 fn visit_with_ast_path<'ast: 'r, 'r>(
36212 &'ast self,
36213 visitor: &mut V,
36214 __ast_path: &mut AstNodePath<'r>,
36215 ) {
36216 <V as VisitAstPath>::visit_idents(visitor, self, __ast_path)
36217 }
36218
36219 #[inline]
36220 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36221 &'ast self,
36222 visitor: &mut V,
36223 __ast_path: &mut AstNodePath<'r>,
36224 ) {
36225 self.iter().enumerate().for_each(|(__idx, item)| {
36226 let mut __ast_path = __ast_path.with_index_guard(__idx);
36227 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(item, visitor, &mut *__ast_path)
36228 })
36229 }
36230}
36231#[cfg(any(docsrs, feature = "path"))]
36232#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36233impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [KeyframeSelector] {
36234 #[doc = "Calls [VisitAstPath`::visit_keyframe_selectors`] with `self`. (Extra impl)"]
36235 #[inline]
36236 fn visit_with_ast_path<'ast: 'r, 'r>(
36237 &'ast self,
36238 visitor: &mut V,
36239 __ast_path: &mut AstNodePath<'r>,
36240 ) {
36241 <V as VisitAstPath>::visit_keyframe_selectors(visitor, self, __ast_path)
36242 }
36243
36244 #[inline]
36245 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36246 &'ast self,
36247 visitor: &mut V,
36248 __ast_path: &mut AstNodePath<'r>,
36249 ) {
36250 self.iter().enumerate().for_each(|(__idx, item)| {
36251 let mut __ast_path = __ast_path.with_index_guard(__idx);
36252 <KeyframeSelector as VisitWithAstPath<V>>::visit_with_ast_path(
36253 item,
36254 visitor,
36255 &mut *__ast_path,
36256 )
36257 })
36258 }
36259}
36260#[cfg(any(docsrs, feature = "path"))]
36261#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36262impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [LayerName] {
36263 #[doc = "Calls [VisitAstPath`::visit_layer_names`] with `self`. (Extra impl)"]
36264 #[inline]
36265 fn visit_with_ast_path<'ast: 'r, 'r>(
36266 &'ast self,
36267 visitor: &mut V,
36268 __ast_path: &mut AstNodePath<'r>,
36269 ) {
36270 <V as VisitAstPath>::visit_layer_names(visitor, self, __ast_path)
36271 }
36272
36273 #[inline]
36274 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36275 &'ast self,
36276 visitor: &mut V,
36277 __ast_path: &mut AstNodePath<'r>,
36278 ) {
36279 self.iter().enumerate().for_each(|(__idx, item)| {
36280 let mut __ast_path = __ast_path.with_index_guard(__idx);
36281 <LayerName as VisitWithAstPath<V>>::visit_with_ast_path(item, visitor, &mut *__ast_path)
36282 })
36283 }
36284}
36285#[cfg(any(docsrs, feature = "path"))]
36286#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36287impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [MediaConditionAllType] {
36288 #[doc = "Calls [VisitAstPath`::visit_media_condition_all_types`] with `self`. (Extra impl)"]
36289 #[inline]
36290 fn visit_with_ast_path<'ast: 'r, 'r>(
36291 &'ast self,
36292 visitor: &mut V,
36293 __ast_path: &mut AstNodePath<'r>,
36294 ) {
36295 <V as VisitAstPath>::visit_media_condition_all_types(visitor, self, __ast_path)
36296 }
36297
36298 #[inline]
36299 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36300 &'ast self,
36301 visitor: &mut V,
36302 __ast_path: &mut AstNodePath<'r>,
36303 ) {
36304 self.iter().enumerate().for_each(|(__idx, item)| {
36305 let mut __ast_path = __ast_path.with_index_guard(__idx);
36306 <MediaConditionAllType as VisitWithAstPath<V>>::visit_with_ast_path(
36307 item,
36308 visitor,
36309 &mut *__ast_path,
36310 )
36311 })
36312 }
36313}
36314#[cfg(any(docsrs, feature = "path"))]
36315#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36316impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [MediaConditionWithoutOrType] {
36317 #[doc = "Calls [VisitAstPath`::visit_media_condition_without_or_types`] with `self`. (Extra \
36318 impl)"]
36319 #[inline]
36320 fn visit_with_ast_path<'ast: 'r, 'r>(
36321 &'ast self,
36322 visitor: &mut V,
36323 __ast_path: &mut AstNodePath<'r>,
36324 ) {
36325 <V as VisitAstPath>::visit_media_condition_without_or_types(visitor, self, __ast_path)
36326 }
36327
36328 #[inline]
36329 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36330 &'ast self,
36331 visitor: &mut V,
36332 __ast_path: &mut AstNodePath<'r>,
36333 ) {
36334 self.iter().enumerate().for_each(|(__idx, item)| {
36335 let mut __ast_path = __ast_path.with_index_guard(__idx);
36336 <MediaConditionWithoutOrType as VisitWithAstPath<V>>::visit_with_ast_path(
36337 item,
36338 visitor,
36339 &mut *__ast_path,
36340 )
36341 })
36342 }
36343}
36344#[cfg(any(docsrs, feature = "path"))]
36345#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36346impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [MediaQuery] {
36347 #[doc = "Calls [VisitAstPath`::visit_media_querys`] with `self`. (Extra impl)"]
36348 #[inline]
36349 fn visit_with_ast_path<'ast: 'r, 'r>(
36350 &'ast self,
36351 visitor: &mut V,
36352 __ast_path: &mut AstNodePath<'r>,
36353 ) {
36354 <V as VisitAstPath>::visit_media_querys(visitor, self, __ast_path)
36355 }
36356
36357 #[inline]
36358 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36359 &'ast self,
36360 visitor: &mut V,
36361 __ast_path: &mut AstNodePath<'r>,
36362 ) {
36363 self.iter().enumerate().for_each(|(__idx, item)| {
36364 let mut __ast_path = __ast_path.with_index_guard(__idx);
36365 <MediaQuery as VisitWithAstPath<V>>::visit_with_ast_path(
36366 item,
36367 visitor,
36368 &mut *__ast_path,
36369 )
36370 })
36371 }
36372}
36373#[cfg(any(docsrs, feature = "path"))]
36374#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36375impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<AtRulePrelude>> {
36376 #[doc = "Calls [VisitAstPath`::visit_opt_at_rule_prelude`] with `self`. (Extra impl)"]
36377 #[inline]
36378 fn visit_with_ast_path<'ast: 'r, 'r>(
36379 &'ast self,
36380 visitor: &mut V,
36381 __ast_path: &mut AstNodePath<'r>,
36382 ) {
36383 <V as VisitAstPath>::visit_opt_at_rule_prelude(visitor, self, __ast_path)
36384 }
36385
36386 #[inline]
36387 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36388 &'ast self,
36389 visitor: &mut V,
36390 __ast_path: &mut AstNodePath<'r>,
36391 ) {
36392 match self {
36393 Some(inner) => <Box<AtRulePrelude> as VisitWithAstPath<V>>::visit_with_ast_path(
36394 inner, visitor, __ast_path,
36395 ),
36396 None => {}
36397 }
36398 }
36399}
36400#[cfg(any(docsrs, feature = "path"))]
36401#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36402impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<swc_atoms::Atom> {
36403 #[doc = "Calls [VisitAstPath`::visit_opt_atom`] with `self`. (Extra impl)"]
36404 #[inline]
36405 fn visit_with_ast_path<'ast: 'r, 'r>(
36406 &'ast self,
36407 visitor: &mut V,
36408 __ast_path: &mut AstNodePath<'r>,
36409 ) {
36410 <V as VisitAstPath>::visit_opt_atom(visitor, self, __ast_path)
36411 }
36412
36413 #[inline]
36414 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36415 &'ast self,
36416 visitor: &mut V,
36417 __ast_path: &mut AstNodePath<'r>,
36418 ) {
36419 match self {
36420 Some(inner) => <swc_atoms::Atom as VisitWithAstPath<V>>::visit_with_ast_path(
36421 inner, visitor, __ast_path,
36422 ),
36423 None => {}
36424 }
36425 }
36426}
36427#[cfg(any(docsrs, feature = "path"))]
36428#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36429impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<AttributeSelectorMatcher> {
36430 #[doc = "Calls [VisitAstPath`::visit_opt_attribute_selector_matcher`] with `self`. (Extra impl)"]
36431 #[inline]
36432 fn visit_with_ast_path<'ast: 'r, 'r>(
36433 &'ast self,
36434 visitor: &mut V,
36435 __ast_path: &mut AstNodePath<'r>,
36436 ) {
36437 <V as VisitAstPath>::visit_opt_attribute_selector_matcher(visitor, self, __ast_path)
36438 }
36439
36440 #[inline]
36441 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36442 &'ast self,
36443 visitor: &mut V,
36444 __ast_path: &mut AstNodePath<'r>,
36445 ) {
36446 match self {
36447 Some(inner) => <AttributeSelectorMatcher as VisitWithAstPath<V>>::visit_with_ast_path(
36448 inner, visitor, __ast_path,
36449 ),
36450 None => {}
36451 }
36452 }
36453}
36454#[cfg(any(docsrs, feature = "path"))]
36455#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36456impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<AttributeSelectorModifier> {
36457 #[doc = "Calls [VisitAstPath`::visit_opt_attribute_selector_modifier`] with `self`. (Extra \
36458 impl)"]
36459 #[inline]
36460 fn visit_with_ast_path<'ast: 'r, 'r>(
36461 &'ast self,
36462 visitor: &mut V,
36463 __ast_path: &mut AstNodePath<'r>,
36464 ) {
36465 <V as VisitAstPath>::visit_opt_attribute_selector_modifier(visitor, self, __ast_path)
36466 }
36467
36468 #[inline]
36469 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36470 &'ast self,
36471 visitor: &mut V,
36472 __ast_path: &mut AstNodePath<'r>,
36473 ) {
36474 match self {
36475 Some(inner) => <AttributeSelectorModifier as VisitWithAstPath<V>>::visit_with_ast_path(
36476 inner, visitor, __ast_path,
36477 ),
36478 None => {}
36479 }
36480 }
36481}
36482#[cfg(any(docsrs, feature = "path"))]
36483#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36484impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<AttributeSelectorValue> {
36485 #[doc = "Calls [VisitAstPath`::visit_opt_attribute_selector_value`] with `self`. (Extra impl)"]
36486 #[inline]
36487 fn visit_with_ast_path<'ast: 'r, 'r>(
36488 &'ast self,
36489 visitor: &mut V,
36490 __ast_path: &mut AstNodePath<'r>,
36491 ) {
36492 <V as VisitAstPath>::visit_opt_attribute_selector_value(visitor, self, __ast_path)
36493 }
36494
36495 #[inline]
36496 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36497 &'ast self,
36498 visitor: &mut V,
36499 __ast_path: &mut AstNodePath<'r>,
36500 ) {
36501 match self {
36502 Some(inner) => <AttributeSelectorValue as VisitWithAstPath<V>>::visit_with_ast_path(
36503 inner, visitor, __ast_path,
36504 ),
36505 None => {}
36506 }
36507 }
36508}
36509#[cfg(any(docsrs, feature = "path"))]
36510#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36511impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Combinator> {
36512 #[doc = "Calls [VisitAstPath`::visit_opt_combinator`] with `self`. (Extra impl)"]
36513 #[inline]
36514 fn visit_with_ast_path<'ast: 'r, 'r>(
36515 &'ast self,
36516 visitor: &mut V,
36517 __ast_path: &mut AstNodePath<'r>,
36518 ) {
36519 <V as VisitAstPath>::visit_opt_combinator(visitor, self, __ast_path)
36520 }
36521
36522 #[inline]
36523 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36524 &'ast self,
36525 visitor: &mut V,
36526 __ast_path: &mut AstNodePath<'r>,
36527 ) {
36528 match self {
36529 Some(inner) => {
36530 <Combinator as VisitWithAstPath<V>>::visit_with_ast_path(inner, visitor, __ast_path)
36531 }
36532 None => {}
36533 }
36534 }
36535}
36536#[cfg(any(docsrs, feature = "path"))]
36537#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36538impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<ContainerName> {
36539 #[doc = "Calls [VisitAstPath`::visit_opt_container_name`] with `self`. (Extra impl)"]
36540 #[inline]
36541 fn visit_with_ast_path<'ast: 'r, 'r>(
36542 &'ast self,
36543 visitor: &mut V,
36544 __ast_path: &mut AstNodePath<'r>,
36545 ) {
36546 <V as VisitAstPath>::visit_opt_container_name(visitor, self, __ast_path)
36547 }
36548
36549 #[inline]
36550 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36551 &'ast self,
36552 visitor: &mut V,
36553 __ast_path: &mut AstNodePath<'r>,
36554 ) {
36555 match self {
36556 Some(inner) => <ContainerName as VisitWithAstPath<V>>::visit_with_ast_path(
36557 inner, visitor, __ast_path,
36558 ),
36559 None => {}
36560 }
36561 }
36562}
36563#[cfg(any(docsrs, feature = "path"))]
36564#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36565impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<ForgivingSelectorList> {
36566 #[doc = "Calls [VisitAstPath`::visit_opt_forgiving_selector_list`] with `self`. (Extra impl)"]
36567 #[inline]
36568 fn visit_with_ast_path<'ast: 'r, 'r>(
36569 &'ast self,
36570 visitor: &mut V,
36571 __ast_path: &mut AstNodePath<'r>,
36572 ) {
36573 <V as VisitAstPath>::visit_opt_forgiving_selector_list(visitor, self, __ast_path)
36574 }
36575
36576 #[inline]
36577 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36578 &'ast self,
36579 visitor: &mut V,
36580 __ast_path: &mut AstNodePath<'r>,
36581 ) {
36582 match self {
36583 Some(inner) => <ForgivingSelectorList as VisitWithAstPath<V>>::visit_with_ast_path(
36584 inner, visitor, __ast_path,
36585 ),
36586 None => {}
36587 }
36588 }
36589}
36590#[cfg(any(docsrs, feature = "path"))]
36591#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36592impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<Function>> {
36593 #[doc = "Calls [VisitAstPath`::visit_opt_function`] with `self`. (Extra impl)"]
36594 #[inline]
36595 fn visit_with_ast_path<'ast: 'r, 'r>(
36596 &'ast self,
36597 visitor: &mut V,
36598 __ast_path: &mut AstNodePath<'r>,
36599 ) {
36600 <V as VisitAstPath>::visit_opt_function(visitor, self, __ast_path)
36601 }
36602
36603 #[inline]
36604 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36605 &'ast self,
36606 visitor: &mut V,
36607 __ast_path: &mut AstNodePath<'r>,
36608 ) {
36609 match self {
36610 Some(inner) => <Box<Function> as VisitWithAstPath<V>>::visit_with_ast_path(
36611 inner, visitor, __ast_path,
36612 ),
36613 None => {}
36614 }
36615 }
36616}
36617#[cfg(any(docsrs, feature = "path"))]
36618#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36619impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Ident> {
36620 #[doc = "Calls [VisitAstPath`::visit_opt_ident`] with `self`. (Extra impl)"]
36621 #[inline]
36622 fn visit_with_ast_path<'ast: 'r, 'r>(
36623 &'ast self,
36624 visitor: &mut V,
36625 __ast_path: &mut AstNodePath<'r>,
36626 ) {
36627 <V as VisitAstPath>::visit_opt_ident(visitor, self, __ast_path)
36628 }
36629
36630 #[inline]
36631 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36632 &'ast self,
36633 visitor: &mut V,
36634 __ast_path: &mut AstNodePath<'r>,
36635 ) {
36636 match self {
36637 Some(inner) => {
36638 <Ident as VisitWithAstPath<V>>::visit_with_ast_path(inner, visitor, __ast_path)
36639 }
36640 None => {}
36641 }
36642 }
36643}
36644#[cfg(any(docsrs, feature = "path"))]
36645#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36646impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<ImportConditions>> {
36647 #[doc = "Calls [VisitAstPath`::visit_opt_import_conditions`] with `self`. (Extra impl)"]
36648 #[inline]
36649 fn visit_with_ast_path<'ast: 'r, 'r>(
36650 &'ast self,
36651 visitor: &mut V,
36652 __ast_path: &mut AstNodePath<'r>,
36653 ) {
36654 <V as VisitAstPath>::visit_opt_import_conditions(visitor, self, __ast_path)
36655 }
36656
36657 #[inline]
36658 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36659 &'ast self,
36660 visitor: &mut V,
36661 __ast_path: &mut AstNodePath<'r>,
36662 ) {
36663 match self {
36664 Some(inner) => <Box<ImportConditions> as VisitWithAstPath<V>>::visit_with_ast_path(
36665 inner, visitor, __ast_path,
36666 ),
36667 None => {}
36668 }
36669 }
36670}
36671#[cfg(any(docsrs, feature = "path"))]
36672#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36673impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<ImportLayerName>> {
36674 #[doc = "Calls [VisitAstPath`::visit_opt_import_layer_name`] with `self`. (Extra impl)"]
36675 #[inline]
36676 fn visit_with_ast_path<'ast: 'r, 'r>(
36677 &'ast self,
36678 visitor: &mut V,
36679 __ast_path: &mut AstNodePath<'r>,
36680 ) {
36681 <V as VisitAstPath>::visit_opt_import_layer_name(visitor, self, __ast_path)
36682 }
36683
36684 #[inline]
36685 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36686 &'ast self,
36687 visitor: &mut V,
36688 __ast_path: &mut AstNodePath<'r>,
36689 ) {
36690 match self {
36691 Some(inner) => <Box<ImportLayerName> as VisitWithAstPath<V>>::visit_with_ast_path(
36692 inner, visitor, __ast_path,
36693 ),
36694 None => {}
36695 }
36696 }
36697}
36698#[cfg(any(docsrs, feature = "path"))]
36699#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36700impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<ImportantFlag> {
36701 #[doc = "Calls [VisitAstPath`::visit_opt_important_flag`] with `self`. (Extra impl)"]
36702 #[inline]
36703 fn visit_with_ast_path<'ast: 'r, 'r>(
36704 &'ast self,
36705 visitor: &mut V,
36706 __ast_path: &mut AstNodePath<'r>,
36707 ) {
36708 <V as VisitAstPath>::visit_opt_important_flag(visitor, self, __ast_path)
36709 }
36710
36711 #[inline]
36712 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36713 &'ast self,
36714 visitor: &mut V,
36715 __ast_path: &mut AstNodePath<'r>,
36716 ) {
36717 match self {
36718 Some(inner) => <ImportantFlag as VisitWithAstPath<V>>::visit_with_ast_path(
36719 inner, visitor, __ast_path,
36720 ),
36721 None => {}
36722 }
36723 }
36724}
36725#[cfg(any(docsrs, feature = "path"))]
36726#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36727impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<MediaConditionType>> {
36728 #[doc = "Calls [VisitAstPath`::visit_opt_media_condition_type`] with `self`. (Extra impl)"]
36729 #[inline]
36730 fn visit_with_ast_path<'ast: 'r, 'r>(
36731 &'ast self,
36732 visitor: &mut V,
36733 __ast_path: &mut AstNodePath<'r>,
36734 ) {
36735 <V as VisitAstPath>::visit_opt_media_condition_type(visitor, self, __ast_path)
36736 }
36737
36738 #[inline]
36739 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36740 &'ast self,
36741 visitor: &mut V,
36742 __ast_path: &mut AstNodePath<'r>,
36743 ) {
36744 match self {
36745 Some(inner) => <Box<MediaConditionType> as VisitWithAstPath<V>>::visit_with_ast_path(
36746 inner, visitor, __ast_path,
36747 ),
36748 None => {}
36749 }
36750 }
36751}
36752#[cfg(any(docsrs, feature = "path"))]
36753#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36754impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<MediaQueryList>> {
36755 #[doc = "Calls [VisitAstPath`::visit_opt_media_query_list`] with `self`. (Extra impl)"]
36756 #[inline]
36757 fn visit_with_ast_path<'ast: 'r, 'r>(
36758 &'ast self,
36759 visitor: &mut V,
36760 __ast_path: &mut AstNodePath<'r>,
36761 ) {
36762 <V as VisitAstPath>::visit_opt_media_query_list(visitor, self, __ast_path)
36763 }
36764
36765 #[inline]
36766 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36767 &'ast self,
36768 visitor: &mut V,
36769 __ast_path: &mut AstNodePath<'r>,
36770 ) {
36771 match self {
36772 Some(inner) => <Box<MediaQueryList> as VisitWithAstPath<V>>::visit_with_ast_path(
36773 inner, visitor, __ast_path,
36774 ),
36775 None => {}
36776 }
36777 }
36778}
36779#[cfg(any(docsrs, feature = "path"))]
36780#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36781impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<MediaType> {
36782 #[doc = "Calls [VisitAstPath`::visit_opt_media_type`] with `self`. (Extra impl)"]
36783 #[inline]
36784 fn visit_with_ast_path<'ast: 'r, 'r>(
36785 &'ast self,
36786 visitor: &mut V,
36787 __ast_path: &mut AstNodePath<'r>,
36788 ) {
36789 <V as VisitAstPath>::visit_opt_media_type(visitor, self, __ast_path)
36790 }
36791
36792 #[inline]
36793 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36794 &'ast self,
36795 visitor: &mut V,
36796 __ast_path: &mut AstNodePath<'r>,
36797 ) {
36798 match self {
36799 Some(inner) => {
36800 <MediaType as VisitWithAstPath<V>>::visit_with_ast_path(inner, visitor, __ast_path)
36801 }
36802 None => {}
36803 }
36804 }
36805}
36806#[cfg(any(docsrs, feature = "path"))]
36807#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36808impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Namespace> {
36809 #[doc = "Calls [VisitAstPath`::visit_opt_namespace`] with `self`. (Extra impl)"]
36810 #[inline]
36811 fn visit_with_ast_path<'ast: 'r, 'r>(
36812 &'ast self,
36813 visitor: &mut V,
36814 __ast_path: &mut AstNodePath<'r>,
36815 ) {
36816 <V as VisitAstPath>::visit_opt_namespace(visitor, self, __ast_path)
36817 }
36818
36819 #[inline]
36820 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36821 &'ast self,
36822 visitor: &mut V,
36823 __ast_path: &mut AstNodePath<'r>,
36824 ) {
36825 match self {
36826 Some(inner) => {
36827 <Namespace as VisitWithAstPath<V>>::visit_with_ast_path(inner, visitor, __ast_path)
36828 }
36829 None => {}
36830 }
36831 }
36832}
36833#[cfg(any(docsrs, feature = "path"))]
36834#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36835impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<NamespacePrefix> {
36836 #[doc = "Calls [VisitAstPath`::visit_opt_namespace_prefix`] with `self`. (Extra impl)"]
36837 #[inline]
36838 fn visit_with_ast_path<'ast: 'r, 'r>(
36839 &'ast self,
36840 visitor: &mut V,
36841 __ast_path: &mut AstNodePath<'r>,
36842 ) {
36843 <V as VisitAstPath>::visit_opt_namespace_prefix(visitor, self, __ast_path)
36844 }
36845
36846 #[inline]
36847 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36848 &'ast self,
36849 visitor: &mut V,
36850 __ast_path: &mut AstNodePath<'r>,
36851 ) {
36852 match self {
36853 Some(inner) => <NamespacePrefix as VisitWithAstPath<V>>::visit_with_ast_path(
36854 inner, visitor, __ast_path,
36855 ),
36856 None => {}
36857 }
36858 }
36859}
36860#[cfg(any(docsrs, feature = "path"))]
36861#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36862impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<NestingSelector> {
36863 #[doc = "Calls [VisitAstPath`::visit_opt_nesting_selector`] with `self`. (Extra impl)"]
36864 #[inline]
36865 fn visit_with_ast_path<'ast: 'r, 'r>(
36866 &'ast self,
36867 visitor: &mut V,
36868 __ast_path: &mut AstNodePath<'r>,
36869 ) {
36870 <V as VisitAstPath>::visit_opt_nesting_selector(visitor, self, __ast_path)
36871 }
36872
36873 #[inline]
36874 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36875 &'ast self,
36876 visitor: &mut V,
36877 __ast_path: &mut AstNodePath<'r>,
36878 ) {
36879 match self {
36880 Some(inner) => <NestingSelector as VisitWithAstPath<V>>::visit_with_ast_path(
36881 inner, visitor, __ast_path,
36882 ),
36883 None => {}
36884 }
36885 }
36886}
36887#[cfg(any(docsrs, feature = "path"))]
36888#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36889impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Number> {
36890 #[doc = "Calls [VisitAstPath`::visit_opt_number`] with `self`. (Extra impl)"]
36891 #[inline]
36892 fn visit_with_ast_path<'ast: 'r, 'r>(
36893 &'ast self,
36894 visitor: &mut V,
36895 __ast_path: &mut AstNodePath<'r>,
36896 ) {
36897 <V as VisitAstPath>::visit_opt_number(visitor, self, __ast_path)
36898 }
36899
36900 #[inline]
36901 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36902 &'ast self,
36903 visitor: &mut V,
36904 __ast_path: &mut AstNodePath<'r>,
36905 ) {
36906 match self {
36907 Some(inner) => {
36908 <Number as VisitWithAstPath<V>>::visit_with_ast_path(inner, visitor, __ast_path)
36909 }
36910 None => {}
36911 }
36912 }
36913}
36914#[cfg(any(docsrs, feature = "path"))]
36915#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36916impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Vec<PageSelectorPseudo>> {
36917 #[doc = "Calls [VisitAstPath`::visit_opt_page_selector_pseudos`] with `self`. (Extra impl)"]
36918 #[inline]
36919 fn visit_with_ast_path<'ast: 'r, 'r>(
36920 &'ast self,
36921 visitor: &mut V,
36922 __ast_path: &mut AstNodePath<'r>,
36923 ) {
36924 <V as VisitAstPath>::visit_opt_page_selector_pseudos(visitor, self, __ast_path)
36925 }
36926
36927 #[inline]
36928 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36929 &'ast self,
36930 visitor: &mut V,
36931 __ast_path: &mut AstNodePath<'r>,
36932 ) {
36933 match self {
36934 Some(inner) => <Vec<PageSelectorPseudo> as VisitWithAstPath<V>>::visit_with_ast_path(
36935 inner, visitor, __ast_path,
36936 ),
36937 None => {}
36938 }
36939 }
36940}
36941#[cfg(any(docsrs, feature = "path"))]
36942#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36943impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<PageSelectorType> {
36944 #[doc = "Calls [VisitAstPath`::visit_opt_page_selector_type`] with `self`. (Extra impl)"]
36945 #[inline]
36946 fn visit_with_ast_path<'ast: 'r, 'r>(
36947 &'ast self,
36948 visitor: &mut V,
36949 __ast_path: &mut AstNodePath<'r>,
36950 ) {
36951 <V as VisitAstPath>::visit_opt_page_selector_type(visitor, self, __ast_path)
36952 }
36953
36954 #[inline]
36955 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36956 &'ast self,
36957 visitor: &mut V,
36958 __ast_path: &mut AstNodePath<'r>,
36959 ) {
36960 match self {
36961 Some(inner) => <PageSelectorType as VisitWithAstPath<V>>::visit_with_ast_path(
36962 inner, visitor, __ast_path,
36963 ),
36964 None => {}
36965 }
36966 }
36967}
36968#[cfg(any(docsrs, feature = "path"))]
36969#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
36970impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Vec<PseudoClassSelectorChildren>> {
36971 #[doc = "Calls [VisitAstPath`::visit_opt_pseudo_class_selector_childrens`] with `self`. (Extra \
36972 impl)"]
36973 #[inline]
36974 fn visit_with_ast_path<'ast: 'r, 'r>(
36975 &'ast self,
36976 visitor: &mut V,
36977 __ast_path: &mut AstNodePath<'r>,
36978 ) {
36979 <V as VisitAstPath>::visit_opt_pseudo_class_selector_childrens(visitor, self, __ast_path)
36980 }
36981
36982 #[inline]
36983 fn visit_children_with_ast_path<'ast: 'r, 'r>(
36984 &'ast self,
36985 visitor: &mut V,
36986 __ast_path: &mut AstNodePath<'r>,
36987 ) {
36988 match self {
36989 Some(inner) => {
36990 <Vec<PseudoClassSelectorChildren> as VisitWithAstPath<V>>::visit_with_ast_path(
36991 inner, visitor, __ast_path,
36992 )
36993 }
36994 None => {}
36995 }
36996 }
36997}
36998#[cfg(any(docsrs, feature = "path"))]
36999#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37000impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Vec<PseudoElementSelectorChildren>> {
37001 #[doc = "Calls [VisitAstPath`::visit_opt_pseudo_element_selector_childrens`] with `self`. \
37002 (Extra impl)"]
37003 #[inline]
37004 fn visit_with_ast_path<'ast: 'r, 'r>(
37005 &'ast self,
37006 visitor: &mut V,
37007 __ast_path: &mut AstNodePath<'r>,
37008 ) {
37009 <V as VisitAstPath>::visit_opt_pseudo_element_selector_childrens(visitor, self, __ast_path)
37010 }
37011
37012 #[inline]
37013 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37014 &'ast self,
37015 visitor: &mut V,
37016 __ast_path: &mut AstNodePath<'r>,
37017 ) {
37018 match self {
37019 Some(inner) => {
37020 <Vec<PseudoElementSelectorChildren> as VisitWithAstPath<V>>::visit_with_ast_path(
37021 inner, visitor, __ast_path,
37022 )
37023 }
37024 None => {}
37025 }
37026 }
37027}
37028#[cfg(any(docsrs, feature = "path"))]
37029#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37030impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<SimpleBlock> {
37031 #[doc = "Calls [VisitAstPath`::visit_opt_simple_block`] with `self`. (Extra impl)"]
37032 #[inline]
37033 fn visit_with_ast_path<'ast: 'r, 'r>(
37034 &'ast self,
37035 visitor: &mut V,
37036 __ast_path: &mut AstNodePath<'r>,
37037 ) {
37038 <V as VisitAstPath>::visit_opt_simple_block(visitor, self, __ast_path)
37039 }
37040
37041 #[inline]
37042 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37043 &'ast self,
37044 visitor: &mut V,
37045 __ast_path: &mut AstNodePath<'r>,
37046 ) {
37047 match self {
37048 Some(inner) => <SimpleBlock as VisitWithAstPath<V>>::visit_with_ast_path(
37049 inner, visitor, __ast_path,
37050 ),
37051 None => {}
37052 }
37053 }
37054}
37055#[cfg(any(docsrs, feature = "path"))]
37056#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37057impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<TypeSelector>> {
37058 #[doc = "Calls [VisitAstPath`::visit_opt_type_selector`] with `self`. (Extra impl)"]
37059 #[inline]
37060 fn visit_with_ast_path<'ast: 'r, 'r>(
37061 &'ast self,
37062 visitor: &mut V,
37063 __ast_path: &mut AstNodePath<'r>,
37064 ) {
37065 <V as VisitAstPath>::visit_opt_type_selector(visitor, self, __ast_path)
37066 }
37067
37068 #[inline]
37069 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37070 &'ast self,
37071 visitor: &mut V,
37072 __ast_path: &mut AstNodePath<'r>,
37073 ) {
37074 match self {
37075 Some(inner) => <Box<TypeSelector> as VisitWithAstPath<V>>::visit_with_ast_path(
37076 inner, visitor, __ast_path,
37077 ),
37078 None => {}
37079 }
37080 }
37081}
37082#[cfg(any(docsrs, feature = "path"))]
37083#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37084impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Vec<UrlModifier>> {
37085 #[doc = "Calls [VisitAstPath`::visit_opt_url_modifiers`] with `self`. (Extra impl)"]
37086 #[inline]
37087 fn visit_with_ast_path<'ast: 'r, 'r>(
37088 &'ast self,
37089 visitor: &mut V,
37090 __ast_path: &mut AstNodePath<'r>,
37091 ) {
37092 <V as VisitAstPath>::visit_opt_url_modifiers(visitor, self, __ast_path)
37093 }
37094
37095 #[inline]
37096 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37097 &'ast self,
37098 visitor: &mut V,
37099 __ast_path: &mut AstNodePath<'r>,
37100 ) {
37101 match self {
37102 Some(inner) => <Vec<UrlModifier> as VisitWithAstPath<V>>::visit_with_ast_path(
37103 inner, visitor, __ast_path,
37104 ),
37105 None => {}
37106 }
37107 }
37108}
37109#[cfg(any(docsrs, feature = "path"))]
37110#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37111impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for Option<Box<UrlValue>> {
37112 #[doc = "Calls [VisitAstPath`::visit_opt_url_value`] with `self`. (Extra impl)"]
37113 #[inline]
37114 fn visit_with_ast_path<'ast: 'r, 'r>(
37115 &'ast self,
37116 visitor: &mut V,
37117 __ast_path: &mut AstNodePath<'r>,
37118 ) {
37119 <V as VisitAstPath>::visit_opt_url_value(visitor, self, __ast_path)
37120 }
37121
37122 #[inline]
37123 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37124 &'ast self,
37125 visitor: &mut V,
37126 __ast_path: &mut AstNodePath<'r>,
37127 ) {
37128 match self {
37129 Some(inner) => <Box<UrlValue> as VisitWithAstPath<V>>::visit_with_ast_path(
37130 inner, visitor, __ast_path,
37131 ),
37132 None => {}
37133 }
37134 }
37135}
37136#[cfg(any(docsrs, feature = "path"))]
37137#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37138impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [PageSelectorPseudo] {
37139 #[doc = "Calls [VisitAstPath`::visit_page_selector_pseudos`] with `self`. (Extra impl)"]
37140 #[inline]
37141 fn visit_with_ast_path<'ast: 'r, 'r>(
37142 &'ast self,
37143 visitor: &mut V,
37144 __ast_path: &mut AstNodePath<'r>,
37145 ) {
37146 <V as VisitAstPath>::visit_page_selector_pseudos(visitor, self, __ast_path)
37147 }
37148
37149 #[inline]
37150 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37151 &'ast self,
37152 visitor: &mut V,
37153 __ast_path: &mut AstNodePath<'r>,
37154 ) {
37155 self.iter().enumerate().for_each(|(__idx, item)| {
37156 let mut __ast_path = __ast_path.with_index_guard(__idx);
37157 <PageSelectorPseudo as VisitWithAstPath<V>>::visit_with_ast_path(
37158 item,
37159 visitor,
37160 &mut *__ast_path,
37161 )
37162 })
37163 }
37164}
37165#[cfg(any(docsrs, feature = "path"))]
37166#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37167impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [PageSelector] {
37168 #[doc = "Calls [VisitAstPath`::visit_page_selectors`] with `self`. (Extra impl)"]
37169 #[inline]
37170 fn visit_with_ast_path<'ast: 'r, 'r>(
37171 &'ast self,
37172 visitor: &mut V,
37173 __ast_path: &mut AstNodePath<'r>,
37174 ) {
37175 <V as VisitAstPath>::visit_page_selectors(visitor, self, __ast_path)
37176 }
37177
37178 #[inline]
37179 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37180 &'ast self,
37181 visitor: &mut V,
37182 __ast_path: &mut AstNodePath<'r>,
37183 ) {
37184 self.iter().enumerate().for_each(|(__idx, item)| {
37185 let mut __ast_path = __ast_path.with_index_guard(__idx);
37186 <PageSelector as VisitWithAstPath<V>>::visit_with_ast_path(
37187 item,
37188 visitor,
37189 &mut *__ast_path,
37190 )
37191 })
37192 }
37193}
37194#[cfg(any(docsrs, feature = "path"))]
37195#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37196impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [PseudoClassSelectorChildren] {
37197 #[doc = "Calls [VisitAstPath`::visit_pseudo_class_selector_childrens`] with `self`. (Extra \
37198 impl)"]
37199 #[inline]
37200 fn visit_with_ast_path<'ast: 'r, 'r>(
37201 &'ast self,
37202 visitor: &mut V,
37203 __ast_path: &mut AstNodePath<'r>,
37204 ) {
37205 <V as VisitAstPath>::visit_pseudo_class_selector_childrens(visitor, self, __ast_path)
37206 }
37207
37208 #[inline]
37209 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37210 &'ast self,
37211 visitor: &mut V,
37212 __ast_path: &mut AstNodePath<'r>,
37213 ) {
37214 self.iter().enumerate().for_each(|(__idx, item)| {
37215 let mut __ast_path = __ast_path.with_index_guard(__idx);
37216 <PseudoClassSelectorChildren as VisitWithAstPath<V>>::visit_with_ast_path(
37217 item,
37218 visitor,
37219 &mut *__ast_path,
37220 )
37221 })
37222 }
37223}
37224#[cfg(any(docsrs, feature = "path"))]
37225#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37226impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [PseudoElementSelectorChildren] {
37227 #[doc = "Calls [VisitAstPath`::visit_pseudo_element_selector_childrens`] with `self`. (Extra \
37228 impl)"]
37229 #[inline]
37230 fn visit_with_ast_path<'ast: 'r, 'r>(
37231 &'ast self,
37232 visitor: &mut V,
37233 __ast_path: &mut AstNodePath<'r>,
37234 ) {
37235 <V as VisitAstPath>::visit_pseudo_element_selector_childrens(visitor, self, __ast_path)
37236 }
37237
37238 #[inline]
37239 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37240 &'ast self,
37241 visitor: &mut V,
37242 __ast_path: &mut AstNodePath<'r>,
37243 ) {
37244 self.iter().enumerate().for_each(|(__idx, item)| {
37245 let mut __ast_path = __ast_path.with_index_guard(__idx);
37246 <PseudoElementSelectorChildren as VisitWithAstPath<V>>::visit_with_ast_path(
37247 item,
37248 visitor,
37249 &mut *__ast_path,
37250 )
37251 })
37252 }
37253}
37254#[cfg(any(docsrs, feature = "path"))]
37255#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37256impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [RelativeSelector] {
37257 #[doc = "Calls [VisitAstPath`::visit_relative_selectors`] with `self`. (Extra impl)"]
37258 #[inline]
37259 fn visit_with_ast_path<'ast: 'r, 'r>(
37260 &'ast self,
37261 visitor: &mut V,
37262 __ast_path: &mut AstNodePath<'r>,
37263 ) {
37264 <V as VisitAstPath>::visit_relative_selectors(visitor, self, __ast_path)
37265 }
37266
37267 #[inline]
37268 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37269 &'ast self,
37270 visitor: &mut V,
37271 __ast_path: &mut AstNodePath<'r>,
37272 ) {
37273 self.iter().enumerate().for_each(|(__idx, item)| {
37274 let mut __ast_path = __ast_path.with_index_guard(__idx);
37275 <RelativeSelector as VisitWithAstPath<V>>::visit_with_ast_path(
37276 item,
37277 visitor,
37278 &mut *__ast_path,
37279 )
37280 })
37281 }
37282}
37283#[cfg(any(docsrs, feature = "path"))]
37284#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37285impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [Rule] {
37286 #[doc = "Calls [VisitAstPath`::visit_rules`] with `self`. (Extra impl)"]
37287 #[inline]
37288 fn visit_with_ast_path<'ast: 'r, 'r>(
37289 &'ast self,
37290 visitor: &mut V,
37291 __ast_path: &mut AstNodePath<'r>,
37292 ) {
37293 <V as VisitAstPath>::visit_rules(visitor, self, __ast_path)
37294 }
37295
37296 #[inline]
37297 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37298 &'ast self,
37299 visitor: &mut V,
37300 __ast_path: &mut AstNodePath<'r>,
37301 ) {
37302 self.iter().enumerate().for_each(|(__idx, item)| {
37303 let mut __ast_path = __ast_path.with_index_guard(__idx);
37304 <Rule as VisitWithAstPath<V>>::visit_with_ast_path(item, visitor, &mut *__ast_path)
37305 })
37306 }
37307}
37308#[cfg(any(docsrs, feature = "path"))]
37309#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37310impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for swc_common::Span {
37311 #[doc = "Calls [VisitAstPath`::visit_span`] with `self`. (Extra impl)"]
37312 #[inline]
37313 fn visit_with_ast_path<'ast: 'r, 'r>(
37314 &'ast self,
37315 visitor: &mut V,
37316 __ast_path: &mut AstNodePath<'r>,
37317 ) {
37318 <V as VisitAstPath>::visit_span(visitor, self, __ast_path)
37319 }
37320
37321 #[inline]
37322 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37323 &'ast self,
37324 visitor: &mut V,
37325 __ast_path: &mut AstNodePath<'r>,
37326 ) {
37327 {}
37328 }
37329}
37330#[cfg(any(docsrs, feature = "path"))]
37331#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37332impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [SubclassSelector] {
37333 #[doc = "Calls [VisitAstPath`::visit_subclass_selectors`] with `self`. (Extra impl)"]
37334 #[inline]
37335 fn visit_with_ast_path<'ast: 'r, 'r>(
37336 &'ast self,
37337 visitor: &mut V,
37338 __ast_path: &mut AstNodePath<'r>,
37339 ) {
37340 <V as VisitAstPath>::visit_subclass_selectors(visitor, self, __ast_path)
37341 }
37342
37343 #[inline]
37344 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37345 &'ast self,
37346 visitor: &mut V,
37347 __ast_path: &mut AstNodePath<'r>,
37348 ) {
37349 self.iter().enumerate().for_each(|(__idx, item)| {
37350 let mut __ast_path = __ast_path.with_index_guard(__idx);
37351 <SubclassSelector as VisitWithAstPath<V>>::visit_with_ast_path(
37352 item,
37353 visitor,
37354 &mut *__ast_path,
37355 )
37356 })
37357 }
37358}
37359#[cfg(any(docsrs, feature = "path"))]
37360#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37361impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [SupportsConditionType] {
37362 #[doc = "Calls [VisitAstPath`::visit_supports_condition_types`] with `self`. (Extra impl)"]
37363 #[inline]
37364 fn visit_with_ast_path<'ast: 'r, 'r>(
37365 &'ast self,
37366 visitor: &mut V,
37367 __ast_path: &mut AstNodePath<'r>,
37368 ) {
37369 <V as VisitAstPath>::visit_supports_condition_types(visitor, self, __ast_path)
37370 }
37371
37372 #[inline]
37373 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37374 &'ast self,
37375 visitor: &mut V,
37376 __ast_path: &mut AstNodePath<'r>,
37377 ) {
37378 self.iter().enumerate().for_each(|(__idx, item)| {
37379 let mut __ast_path = __ast_path.with_index_guard(__idx);
37380 <SupportsConditionType as VisitWithAstPath<V>>::visit_with_ast_path(
37381 item,
37382 visitor,
37383 &mut *__ast_path,
37384 )
37385 })
37386 }
37387}
37388#[cfg(any(docsrs, feature = "path"))]
37389#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37390impl<V: ?Sized + VisitAstPath> VisitWithAstPath<V> for [UrlModifier] {
37391 #[doc = "Calls [VisitAstPath`::visit_url_modifiers`] with `self`. (Extra impl)"]
37392 #[inline]
37393 fn visit_with_ast_path<'ast: 'r, 'r>(
37394 &'ast self,
37395 visitor: &mut V,
37396 __ast_path: &mut AstNodePath<'r>,
37397 ) {
37398 <V as VisitAstPath>::visit_url_modifiers(visitor, self, __ast_path)
37399 }
37400
37401 #[inline]
37402 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37403 &'ast self,
37404 visitor: &mut V,
37405 __ast_path: &mut AstNodePath<'r>,
37406 ) {
37407 self.iter().enumerate().for_each(|(__idx, item)| {
37408 let mut __ast_path = __ast_path.with_index_guard(__idx);
37409 <UrlModifier as VisitWithAstPath<V>>::visit_with_ast_path(
37410 item,
37411 visitor,
37412 &mut *__ast_path,
37413 )
37414 })
37415 }
37416}
37417#[cfg(any(docsrs, feature = "path"))]
37418#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37419impl<V, T> VisitWithAstPath<V> for std::boxed::Box<T>
37420where
37421 V: ?Sized + VisitAstPath,
37422 T: VisitWithAstPath<V>,
37423{
37424 #[inline]
37425 fn visit_with_ast_path<'ast: 'r, 'r>(
37426 &'ast self,
37427 visitor: &mut V,
37428 __ast_path: &mut AstNodePath<'r>,
37429 ) {
37430 let v = <T as VisitWithAstPath<V>>::visit_with_ast_path(&**self, visitor, __ast_path);
37431 v
37432 }
37433
37434 #[inline]
37435 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37436 &'ast self,
37437 visitor: &mut V,
37438 __ast_path: &mut AstNodePath<'r>,
37439 ) {
37440 let v =
37441 <T as VisitWithAstPath<V>>::visit_children_with_ast_path(&**self, visitor, __ast_path);
37442 v
37443 }
37444}
37445#[cfg(any(docsrs, feature = "path"))]
37446#[cfg_attr(docsrs, doc(cfg(feature = "path")))]
37447impl<V, T> VisitWithAstPath<V> for std::vec::Vec<T>
37448where
37449 V: ?Sized + VisitAstPath,
37450 [T]: VisitWithAstPath<V>,
37451{
37452 #[inline]
37453 fn visit_with_ast_path<'ast: 'r, 'r>(
37454 &'ast self,
37455 visitor: &mut V,
37456 __ast_path: &mut AstNodePath<'r>,
37457 ) {
37458 let v = <[T] as VisitWithAstPath<V>>::visit_with_ast_path(self, visitor, __ast_path);
37459 v
37460 }
37461
37462 #[inline]
37463 fn visit_children_with_ast_path<'ast: 'r, 'r>(
37464 &'ast self,
37465 visitor: &mut V,
37466 __ast_path: &mut AstNodePath<'r>,
37467 ) {
37468 let v =
37469 <[T] as VisitWithAstPath<V>>::visit_children_with_ast_path(self, visitor, __ast_path);
37470 v
37471 }
37472}
37473#[doc = r" A visitor trait for traversing the AST."]
37474pub trait VisitMut {
37475 #[doc = "Visit a node of type `AbsoluteColorBase`.\n\nBy default, this method calls \
37476 [`AbsoluteColorBase::visit_mut_children_with`]. If you want to recurse, you need to \
37477 call it manually."]
37478 #[inline]
37479 fn visit_mut_absolute_color_base(&mut self, node: &mut AbsoluteColorBase) {
37480 <AbsoluteColorBase as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37481 }
37482 #[doc = "Visit a node of type `AlphaValue`.\n\nBy default, this method calls \
37483 [`AlphaValue::visit_mut_children_with`]. If you want to recurse, you need to call it \
37484 manually."]
37485 #[inline]
37486 fn visit_mut_alpha_value(&mut self, node: &mut AlphaValue) {
37487 <AlphaValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37488 }
37489 #[doc = "Visit a node of type `AnPlusB`.\n\nBy default, this method calls \
37490 [`AnPlusB::visit_mut_children_with`]. If you want to recurse, you need to call it \
37491 manually."]
37492 #[inline]
37493 fn visit_mut_an_plus_b(&mut self, node: &mut AnPlusB) {
37494 <AnPlusB as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37495 }
37496 #[doc = "Visit a node of type `AnPlusBNotation`.\n\nBy default, this method calls \
37497 [`AnPlusBNotation::visit_mut_children_with`]. If you want to recurse, you need to \
37498 call it manually."]
37499 #[inline]
37500 fn visit_mut_an_plus_b_notation(&mut self, node: &mut AnPlusBNotation) {
37501 <AnPlusBNotation as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37502 }
37503 #[doc = "Visit a node of type `Angle`.\n\nBy default, this method calls \
37504 [`Angle::visit_mut_children_with`]. If you want to recurse, you need to call it \
37505 manually."]
37506 #[inline]
37507 fn visit_mut_angle(&mut self, node: &mut Angle) {
37508 <Angle as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37509 }
37510 #[doc = "Visit a node of type `AnglePercentage`.\n\nBy default, this method calls \
37511 [`AnglePercentage::visit_mut_children_with`]. If you want to recurse, you need to \
37512 call it manually."]
37513 #[inline]
37514 fn visit_mut_angle_percentage(&mut self, node: &mut AnglePercentage) {
37515 <AnglePercentage as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37516 }
37517 #[doc = "Visit a node of type `AnyNamespace`.\n\nBy default, this method calls \
37518 [`AnyNamespace::visit_mut_children_with`]. If you want to recurse, you need to call \
37519 it manually."]
37520 #[inline]
37521 fn visit_mut_any_namespace(&mut self, node: &mut AnyNamespace) {
37522 <AnyNamespace as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37523 }
37524 #[doc = "Visit a node of type `AtRule`.\n\nBy default, this method calls \
37525 [`AtRule::visit_mut_children_with`]. If you want to recurse, you need to call it \
37526 manually."]
37527 #[inline]
37528 fn visit_mut_at_rule(&mut self, node: &mut AtRule) {
37529 <AtRule as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37530 }
37531 #[doc = "Visit a node of type `AtRuleName`.\n\nBy default, this method calls \
37532 [`AtRuleName::visit_mut_children_with`]. If you want to recurse, you need to call it \
37533 manually."]
37534 #[inline]
37535 fn visit_mut_at_rule_name(&mut self, node: &mut AtRuleName) {
37536 <AtRuleName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37537 }
37538 #[doc = "Visit a node of type `AtRulePrelude`.\n\nBy default, this method calls \
37539 [`AtRulePrelude::visit_mut_children_with`]. If you want to recurse, you need to call \
37540 it manually."]
37541 #[inline]
37542 fn visit_mut_at_rule_prelude(&mut self, node: &mut AtRulePrelude) {
37543 <AtRulePrelude as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37544 }
37545 #[doc = "Visit a node of type `swc_atoms :: Atom`.\n\nBy default, this method calls \
37546 [`swc_atoms :: Atom::visit_mut_children_with`]. If you want to recurse, you need to \
37547 call it manually."]
37548 #[inline]
37549 fn visit_mut_atom(&mut self, node: &mut swc_atoms::Atom) {
37550 <swc_atoms::Atom as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37551 }
37552 #[doc = "Visit a node of type `AttributeSelector`.\n\nBy default, this method calls \
37553 [`AttributeSelector::visit_mut_children_with`]. If you want to recurse, you need to \
37554 call it manually."]
37555 #[inline]
37556 fn visit_mut_attribute_selector(&mut self, node: &mut AttributeSelector) {
37557 <AttributeSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37558 }
37559 #[doc = "Visit a node of type `AttributeSelectorMatcher`.\n\nBy default, this method calls \
37560 [`AttributeSelectorMatcher::visit_mut_children_with`]. If you want to recurse, you \
37561 need to call it manually."]
37562 #[inline]
37563 fn visit_mut_attribute_selector_matcher(&mut self, node: &mut AttributeSelectorMatcher) {
37564 <AttributeSelectorMatcher as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37565 }
37566 #[doc = "Visit a node of type `AttributeSelectorMatcherValue`.\n\nBy default, this method \
37567 calls [`AttributeSelectorMatcherValue::visit_mut_children_with`]. If you want to \
37568 recurse, you need to call it manually."]
37569 #[inline]
37570 fn visit_mut_attribute_selector_matcher_value(
37571 &mut self,
37572 node: &mut AttributeSelectorMatcherValue,
37573 ) {
37574 <AttributeSelectorMatcherValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37575 }
37576 #[doc = "Visit a node of type `AttributeSelectorModifier`.\n\nBy default, this method calls \
37577 [`AttributeSelectorModifier::visit_mut_children_with`]. If you want to recurse, you \
37578 need to call it manually."]
37579 #[inline]
37580 fn visit_mut_attribute_selector_modifier(&mut self, node: &mut AttributeSelectorModifier) {
37581 <AttributeSelectorModifier as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37582 }
37583 #[doc = "Visit a node of type `AttributeSelectorValue`.\n\nBy default, this method calls \
37584 [`AttributeSelectorValue::visit_mut_children_with`]. If you want to recurse, you need \
37585 to call it manually."]
37586 #[inline]
37587 fn visit_mut_attribute_selector_value(&mut self, node: &mut AttributeSelectorValue) {
37588 <AttributeSelectorValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37589 }
37590 #[doc = "Visit a node of type `BinOp`.\n\nBy default, this method calls \
37591 [`BinOp::visit_mut_children_with`]. If you want to recurse, you need to call it \
37592 manually."]
37593 #[inline]
37594 fn visit_mut_bin_op(&mut self, node: &mut BinOp) {
37595 <BinOp as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37596 }
37597 #[doc = "Visit a node of type `CalcOperator`.\n\nBy default, this method calls \
37598 [`CalcOperator::visit_mut_children_with`]. If you want to recurse, you need to call \
37599 it manually."]
37600 #[inline]
37601 fn visit_mut_calc_operator(&mut self, node: &mut CalcOperator) {
37602 <CalcOperator as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37603 }
37604 #[doc = "Visit a node of type `CalcOperatorType`.\n\nBy default, this method calls \
37605 [`CalcOperatorType::visit_mut_children_with`]. If you want to recurse, you need to \
37606 call it manually."]
37607 #[inline]
37608 fn visit_mut_calc_operator_type(&mut self, node: &mut CalcOperatorType) {
37609 <CalcOperatorType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37610 }
37611 #[doc = "Visit a node of type `CalcProduct`.\n\nBy default, this method calls \
37612 [`CalcProduct::visit_mut_children_with`]. If you want to recurse, you need to call it \
37613 manually."]
37614 #[inline]
37615 fn visit_mut_calc_product(&mut self, node: &mut CalcProduct) {
37616 <CalcProduct as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37617 }
37618 #[doc = "Visit a node of type `CalcProductOrOperator`.\n\nBy default, this method calls \
37619 [`CalcProductOrOperator::visit_mut_children_with`]. If you want to recurse, you need \
37620 to call it manually."]
37621 #[inline]
37622 fn visit_mut_calc_product_or_operator(&mut self, node: &mut CalcProductOrOperator) {
37623 <CalcProductOrOperator as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37624 }
37625 #[doc = "Visit a node of type `Vec < CalcProductOrOperator >`.\n\nBy default, this method \
37626 calls [`Vec < CalcProductOrOperator >::visit_mut_children_with`]. If you want to \
37627 recurse, you need to call it manually."]
37628 #[inline]
37629 fn visit_mut_calc_product_or_operators(&mut self, node: &mut Vec<CalcProductOrOperator>) {
37630 <Vec<CalcProductOrOperator> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37631 }
37632 #[doc = "Visit a node of type `CalcSum`.\n\nBy default, this method calls \
37633 [`CalcSum::visit_mut_children_with`]. If you want to recurse, you need to call it \
37634 manually."]
37635 #[inline]
37636 fn visit_mut_calc_sum(&mut self, node: &mut CalcSum) {
37637 <CalcSum as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37638 }
37639 #[doc = "Visit a node of type `CalcValue`.\n\nBy default, this method calls \
37640 [`CalcValue::visit_mut_children_with`]. If you want to recurse, you need to call it \
37641 manually."]
37642 #[inline]
37643 fn visit_mut_calc_value(&mut self, node: &mut CalcValue) {
37644 <CalcValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37645 }
37646 #[doc = "Visit a node of type `CalcValueOrOperator`.\n\nBy default, this method calls \
37647 [`CalcValueOrOperator::visit_mut_children_with`]. If you want to recurse, you need to \
37648 call it manually."]
37649 #[inline]
37650 fn visit_mut_calc_value_or_operator(&mut self, node: &mut CalcValueOrOperator) {
37651 <CalcValueOrOperator as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37652 }
37653 #[doc = "Visit a node of type `Vec < CalcValueOrOperator >`.\n\nBy default, this method calls \
37654 [`Vec < CalcValueOrOperator >::visit_mut_children_with`]. If you want to recurse, you \
37655 need to call it manually."]
37656 #[inline]
37657 fn visit_mut_calc_value_or_operators(&mut self, node: &mut Vec<CalcValueOrOperator>) {
37658 <Vec<CalcValueOrOperator> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37659 }
37660 #[doc = "Visit a node of type `ClassSelector`.\n\nBy default, this method calls \
37661 [`ClassSelector::visit_mut_children_with`]. If you want to recurse, you need to call \
37662 it manually."]
37663 #[inline]
37664 fn visit_mut_class_selector(&mut self, node: &mut ClassSelector) {
37665 <ClassSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37666 }
37667 #[doc = "Visit a node of type `CmykComponent`.\n\nBy default, this method calls \
37668 [`CmykComponent::visit_mut_children_with`]. If you want to recurse, you need to call \
37669 it manually."]
37670 #[inline]
37671 fn visit_mut_cmyk_component(&mut self, node: &mut CmykComponent) {
37672 <CmykComponent as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37673 }
37674 #[doc = "Visit a node of type `Color`.\n\nBy default, this method calls \
37675 [`Color::visit_mut_children_with`]. If you want to recurse, you need to call it \
37676 manually."]
37677 #[inline]
37678 fn visit_mut_color(&mut self, node: &mut Color) {
37679 <Color as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37680 }
37681 #[doc = "Visit a node of type `ColorProfileName`.\n\nBy default, this method calls \
37682 [`ColorProfileName::visit_mut_children_with`]. If you want to recurse, you need to \
37683 call it manually."]
37684 #[inline]
37685 fn visit_mut_color_profile_name(&mut self, node: &mut ColorProfileName) {
37686 <ColorProfileName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37687 }
37688 #[doc = "Visit a node of type `Combinator`.\n\nBy default, this method calls \
37689 [`Combinator::visit_mut_children_with`]. If you want to recurse, you need to call it \
37690 manually."]
37691 #[inline]
37692 fn visit_mut_combinator(&mut self, node: &mut Combinator) {
37693 <Combinator as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37694 }
37695 #[doc = "Visit a node of type `CombinatorValue`.\n\nBy default, this method calls \
37696 [`CombinatorValue::visit_mut_children_with`]. If you want to recurse, you need to \
37697 call it manually."]
37698 #[inline]
37699 fn visit_mut_combinator_value(&mut self, node: &mut CombinatorValue) {
37700 <CombinatorValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37701 }
37702 #[doc = "Visit a node of type `ComplexSelector`.\n\nBy default, this method calls \
37703 [`ComplexSelector::visit_mut_children_with`]. If you want to recurse, you need to \
37704 call it manually."]
37705 #[inline]
37706 fn visit_mut_complex_selector(&mut self, node: &mut ComplexSelector) {
37707 <ComplexSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37708 }
37709 #[doc = "Visit a node of type `ComplexSelectorChildren`.\n\nBy default, this method calls \
37710 [`ComplexSelectorChildren::visit_mut_children_with`]. If you want to recurse, you \
37711 need to call it manually."]
37712 #[inline]
37713 fn visit_mut_complex_selector_children(&mut self, node: &mut ComplexSelectorChildren) {
37714 <ComplexSelectorChildren as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37715 }
37716 #[doc = "Visit a node of type `Vec < ComplexSelectorChildren >`.\n\nBy default, this method \
37717 calls [`Vec < ComplexSelectorChildren >::visit_mut_children_with`]. If you want to \
37718 recurse, you need to call it manually."]
37719 #[inline]
37720 fn visit_mut_complex_selector_childrens(&mut self, node: &mut Vec<ComplexSelectorChildren>) {
37721 <Vec<ComplexSelectorChildren> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37722 }
37723 #[doc = "Visit a node of type `Vec < ComplexSelector >`.\n\nBy default, this method calls \
37724 [`Vec < ComplexSelector >::visit_mut_children_with`]. If you want to recurse, you \
37725 need to call it manually."]
37726 #[inline]
37727 fn visit_mut_complex_selectors(&mut self, node: &mut Vec<ComplexSelector>) {
37728 <Vec<ComplexSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37729 }
37730 #[doc = "Visit a node of type `ComponentValue`.\n\nBy default, this method calls \
37731 [`ComponentValue::visit_mut_children_with`]. If you want to recurse, you need to call \
37732 it manually."]
37733 #[inline]
37734 fn visit_mut_component_value(&mut self, node: &mut ComponentValue) {
37735 <ComponentValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37736 }
37737 #[doc = "Visit a node of type `Vec < ComponentValue >`.\n\nBy default, this method calls [`Vec \
37738 < ComponentValue >::visit_mut_children_with`]. If you want to recurse, you need to \
37739 call it manually."]
37740 #[inline]
37741 fn visit_mut_component_values(&mut self, node: &mut Vec<ComponentValue>) {
37742 <Vec<ComponentValue> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37743 }
37744 #[doc = "Visit a node of type `CompoundSelector`.\n\nBy default, this method calls \
37745 [`CompoundSelector::visit_mut_children_with`]. If you want to recurse, you need to \
37746 call it manually."]
37747 #[inline]
37748 fn visit_mut_compound_selector(&mut self, node: &mut CompoundSelector) {
37749 <CompoundSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37750 }
37751 #[doc = "Visit a node of type `CompoundSelectorList`.\n\nBy default, this method calls \
37752 [`CompoundSelectorList::visit_mut_children_with`]. If you want to recurse, you need \
37753 to call it manually."]
37754 #[inline]
37755 fn visit_mut_compound_selector_list(&mut self, node: &mut CompoundSelectorList) {
37756 <CompoundSelectorList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37757 }
37758 #[doc = "Visit a node of type `Vec < CompoundSelector >`.\n\nBy default, this method calls \
37759 [`Vec < CompoundSelector >::visit_mut_children_with`]. If you want to recurse, you \
37760 need to call it manually."]
37761 #[inline]
37762 fn visit_mut_compound_selectors(&mut self, node: &mut Vec<CompoundSelector>) {
37763 <Vec<CompoundSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37764 }
37765 #[doc = "Visit a node of type `ContainerCondition`.\n\nBy default, this method calls \
37766 [`ContainerCondition::visit_mut_children_with`]. If you want to recurse, you need to \
37767 call it manually."]
37768 #[inline]
37769 fn visit_mut_container_condition(&mut self, node: &mut ContainerCondition) {
37770 <ContainerCondition as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37771 }
37772 #[doc = "Visit a node of type `ContainerName`.\n\nBy default, this method calls \
37773 [`ContainerName::visit_mut_children_with`]. If you want to recurse, you need to call \
37774 it manually."]
37775 #[inline]
37776 fn visit_mut_container_name(&mut self, node: &mut ContainerName) {
37777 <ContainerName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37778 }
37779 #[doc = "Visit a node of type `ContainerQuery`.\n\nBy default, this method calls \
37780 [`ContainerQuery::visit_mut_children_with`]. If you want to recurse, you need to call \
37781 it manually."]
37782 #[inline]
37783 fn visit_mut_container_query(&mut self, node: &mut ContainerQuery) {
37784 <ContainerQuery as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37785 }
37786 #[doc = "Visit a node of type `ContainerQueryAnd`.\n\nBy default, this method calls \
37787 [`ContainerQueryAnd::visit_mut_children_with`]. If you want to recurse, you need to \
37788 call it manually."]
37789 #[inline]
37790 fn visit_mut_container_query_and(&mut self, node: &mut ContainerQueryAnd) {
37791 <ContainerQueryAnd as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37792 }
37793 #[doc = "Visit a node of type `ContainerQueryNot`.\n\nBy default, this method calls \
37794 [`ContainerQueryNot::visit_mut_children_with`]. If you want to recurse, you need to \
37795 call it manually."]
37796 #[inline]
37797 fn visit_mut_container_query_not(&mut self, node: &mut ContainerQueryNot) {
37798 <ContainerQueryNot as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37799 }
37800 #[doc = "Visit a node of type `ContainerQueryOr`.\n\nBy default, this method calls \
37801 [`ContainerQueryOr::visit_mut_children_with`]. If you want to recurse, you need to \
37802 call it manually."]
37803 #[inline]
37804 fn visit_mut_container_query_or(&mut self, node: &mut ContainerQueryOr) {
37805 <ContainerQueryOr as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37806 }
37807 #[doc = "Visit a node of type `ContainerQueryType`.\n\nBy default, this method calls \
37808 [`ContainerQueryType::visit_mut_children_with`]. If you want to recurse, you need to \
37809 call it manually."]
37810 #[inline]
37811 fn visit_mut_container_query_type(&mut self, node: &mut ContainerQueryType) {
37812 <ContainerQueryType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37813 }
37814 #[doc = "Visit a node of type `Vec < ContainerQueryType >`.\n\nBy default, this method calls \
37815 [`Vec < ContainerQueryType >::visit_mut_children_with`]. If you want to recurse, you \
37816 need to call it manually."]
37817 #[inline]
37818 fn visit_mut_container_query_types(&mut self, node: &mut Vec<ContainerQueryType>) {
37819 <Vec<ContainerQueryType> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37820 }
37821 #[doc = "Visit a node of type `CustomHighlightName`.\n\nBy default, this method calls \
37822 [`CustomHighlightName::visit_mut_children_with`]. If you want to recurse, you need to \
37823 call it manually."]
37824 #[inline]
37825 fn visit_mut_custom_highlight_name(&mut self, node: &mut CustomHighlightName) {
37826 <CustomHighlightName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37827 }
37828 #[doc = "Visit a node of type `CustomIdent`.\n\nBy default, this method calls \
37829 [`CustomIdent::visit_mut_children_with`]. If you want to recurse, you need to call it \
37830 manually."]
37831 #[inline]
37832 fn visit_mut_custom_ident(&mut self, node: &mut CustomIdent) {
37833 <CustomIdent as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37834 }
37835 #[doc = "Visit a node of type `Vec < CustomIdent >`.\n\nBy default, this method calls [`Vec < \
37836 CustomIdent >::visit_mut_children_with`]. If you want to recurse, you need to call it \
37837 manually."]
37838 #[inline]
37839 fn visit_mut_custom_idents(&mut self, node: &mut Vec<CustomIdent>) {
37840 <Vec<CustomIdent> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37841 }
37842 #[doc = "Visit a node of type `CustomMediaQuery`.\n\nBy default, this method calls \
37843 [`CustomMediaQuery::visit_mut_children_with`]. If you want to recurse, you need to \
37844 call it manually."]
37845 #[inline]
37846 fn visit_mut_custom_media_query(&mut self, node: &mut CustomMediaQuery) {
37847 <CustomMediaQuery as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37848 }
37849 #[doc = "Visit a node of type `CustomMediaQueryMediaType`.\n\nBy default, this method calls \
37850 [`CustomMediaQueryMediaType::visit_mut_children_with`]. If you want to recurse, you \
37851 need to call it manually."]
37852 #[inline]
37853 fn visit_mut_custom_media_query_media_type(&mut self, node: &mut CustomMediaQueryMediaType) {
37854 <CustomMediaQueryMediaType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37855 }
37856 #[doc = "Visit a node of type `CustomPropertyName`.\n\nBy default, this method calls \
37857 [`CustomPropertyName::visit_mut_children_with`]. If you want to recurse, you need to \
37858 call it manually."]
37859 #[inline]
37860 fn visit_mut_custom_property_name(&mut self, node: &mut CustomPropertyName) {
37861 <CustomPropertyName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37862 }
37863 #[doc = "Visit a node of type `DashedIdent`.\n\nBy default, this method calls \
37864 [`DashedIdent::visit_mut_children_with`]. If you want to recurse, you need to call it \
37865 manually."]
37866 #[inline]
37867 fn visit_mut_dashed_ident(&mut self, node: &mut DashedIdent) {
37868 <DashedIdent as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37869 }
37870 #[doc = "Visit a node of type `Declaration`.\n\nBy default, this method calls \
37871 [`Declaration::visit_mut_children_with`]. If you want to recurse, you need to call it \
37872 manually."]
37873 #[inline]
37874 fn visit_mut_declaration(&mut self, node: &mut Declaration) {
37875 <Declaration as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37876 }
37877 #[doc = "Visit a node of type `DeclarationName`.\n\nBy default, this method calls \
37878 [`DeclarationName::visit_mut_children_with`]. If you want to recurse, you need to \
37879 call it manually."]
37880 #[inline]
37881 fn visit_mut_declaration_name(&mut self, node: &mut DeclarationName) {
37882 <DeclarationName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37883 }
37884 #[doc = "Visit a node of type `DeclarationOrAtRule`.\n\nBy default, this method calls \
37885 [`DeclarationOrAtRule::visit_mut_children_with`]. If you want to recurse, you need to \
37886 call it manually."]
37887 #[inline]
37888 fn visit_mut_declaration_or_at_rule(&mut self, node: &mut DeclarationOrAtRule) {
37889 <DeclarationOrAtRule as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37890 }
37891 #[doc = "Visit a node of type `Delimiter`.\n\nBy default, this method calls \
37892 [`Delimiter::visit_mut_children_with`]. If you want to recurse, you need to call it \
37893 manually."]
37894 #[inline]
37895 fn visit_mut_delimiter(&mut self, node: &mut Delimiter) {
37896 <Delimiter as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37897 }
37898 #[doc = "Visit a node of type `DelimiterValue`.\n\nBy default, this method calls \
37899 [`DelimiterValue::visit_mut_children_with`]. If you want to recurse, you need to call \
37900 it manually."]
37901 #[inline]
37902 fn visit_mut_delimiter_value(&mut self, node: &mut DelimiterValue) {
37903 <DelimiterValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37904 }
37905 #[doc = "Visit a node of type `Dimension`.\n\nBy default, this method calls \
37906 [`Dimension::visit_mut_children_with`]. If you want to recurse, you need to call it \
37907 manually."]
37908 #[inline]
37909 fn visit_mut_dimension(&mut self, node: &mut Dimension) {
37910 <Dimension as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37911 }
37912 #[doc = "Visit a node of type `DimensionToken`.\n\nBy default, this method calls \
37913 [`DimensionToken::visit_mut_children_with`]. If you want to recurse, you need to call \
37914 it manually."]
37915 #[inline]
37916 fn visit_mut_dimension_token(&mut self, node: &mut DimensionToken) {
37917 <DimensionToken as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37918 }
37919 #[doc = "Visit a node of type `DocumentPrelude`.\n\nBy default, this method calls \
37920 [`DocumentPrelude::visit_mut_children_with`]. If you want to recurse, you need to \
37921 call it manually."]
37922 #[inline]
37923 fn visit_mut_document_prelude(&mut self, node: &mut DocumentPrelude) {
37924 <DocumentPrelude as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37925 }
37926 #[doc = "Visit a node of type `DocumentPreludeMatchingFunction`.\n\nBy default, this method \
37927 calls [`DocumentPreludeMatchingFunction::visit_mut_children_with`]. If you want to \
37928 recurse, you need to call it manually."]
37929 #[inline]
37930 fn visit_mut_document_prelude_matching_function(
37931 &mut self,
37932 node: &mut DocumentPreludeMatchingFunction,
37933 ) {
37934 <DocumentPreludeMatchingFunction as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37935 }
37936 #[doc = "Visit a node of type `Vec < DocumentPreludeMatchingFunction >`.\n\nBy default, this \
37937 method calls [`Vec < DocumentPreludeMatchingFunction >::visit_mut_children_with`]. If \
37938 you want to recurse, you need to call it manually."]
37939 #[inline]
37940 fn visit_mut_document_prelude_matching_functions(
37941 &mut self,
37942 node: &mut Vec<DocumentPreludeMatchingFunction>,
37943 ) {
37944 <Vec<DocumentPreludeMatchingFunction> as VisitMutWith<Self>>::visit_mut_children_with(
37945 node, self,
37946 )
37947 }
37948 #[doc = "Visit a node of type `ExtensionName`.\n\nBy default, this method calls \
37949 [`ExtensionName::visit_mut_children_with`]. If you want to recurse, you need to call \
37950 it manually."]
37951 #[inline]
37952 fn visit_mut_extension_name(&mut self, node: &mut ExtensionName) {
37953 <ExtensionName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37954 }
37955 #[doc = "Visit a node of type `FamilyName`.\n\nBy default, this method calls \
37956 [`FamilyName::visit_mut_children_with`]. If you want to recurse, you need to call it \
37957 manually."]
37958 #[inline]
37959 fn visit_mut_family_name(&mut self, node: &mut FamilyName) {
37960 <FamilyName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37961 }
37962 #[doc = "Visit a node of type `Vec < FamilyName >`.\n\nBy default, this method calls [`Vec < \
37963 FamilyName >::visit_mut_children_with`]. If you want to recurse, you need to call it \
37964 manually."]
37965 #[inline]
37966 fn visit_mut_family_names(&mut self, node: &mut Vec<FamilyName>) {
37967 <Vec<FamilyName> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37968 }
37969 #[doc = "Visit a node of type `Flex`.\n\nBy default, this method calls \
37970 [`Flex::visit_mut_children_with`]. If you want to recurse, you need to call it \
37971 manually."]
37972 #[inline]
37973 fn visit_mut_flex(&mut self, node: &mut Flex) {
37974 <Flex as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37975 }
37976 #[doc = "Visit a node of type `FontFeatureValuesPrelude`.\n\nBy default, this method calls \
37977 [`FontFeatureValuesPrelude::visit_mut_children_with`]. If you want to recurse, you \
37978 need to call it manually."]
37979 #[inline]
37980 fn visit_mut_font_feature_values_prelude(&mut self, node: &mut FontFeatureValuesPrelude) {
37981 <FontFeatureValuesPrelude as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37982 }
37983 #[doc = "Visit a node of type `ForgivingComplexSelector`.\n\nBy default, this method calls \
37984 [`ForgivingComplexSelector::visit_mut_children_with`]. If you want to recurse, you \
37985 need to call it manually."]
37986 #[inline]
37987 fn visit_mut_forgiving_complex_selector(&mut self, node: &mut ForgivingComplexSelector) {
37988 <ForgivingComplexSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37989 }
37990 #[doc = "Visit a node of type `Vec < ForgivingComplexSelector >`.\n\nBy default, this method \
37991 calls [`Vec < ForgivingComplexSelector >::visit_mut_children_with`]. If you want to \
37992 recurse, you need to call it manually."]
37993 #[inline]
37994 fn visit_mut_forgiving_complex_selectors(&mut self, node: &mut Vec<ForgivingComplexSelector>) {
37995 <Vec<ForgivingComplexSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
37996 }
37997 #[doc = "Visit a node of type `ForgivingRelativeSelector`.\n\nBy default, this method calls \
37998 [`ForgivingRelativeSelector::visit_mut_children_with`]. If you want to recurse, you \
37999 need to call it manually."]
38000 #[inline]
38001 fn visit_mut_forgiving_relative_selector(&mut self, node: &mut ForgivingRelativeSelector) {
38002 <ForgivingRelativeSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38003 }
38004 #[doc = "Visit a node of type `ForgivingRelativeSelectorList`.\n\nBy default, this method \
38005 calls [`ForgivingRelativeSelectorList::visit_mut_children_with`]. If you want to \
38006 recurse, you need to call it manually."]
38007 #[inline]
38008 fn visit_mut_forgiving_relative_selector_list(
38009 &mut self,
38010 node: &mut ForgivingRelativeSelectorList,
38011 ) {
38012 <ForgivingRelativeSelectorList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38013 }
38014 #[doc = "Visit a node of type `Vec < ForgivingRelativeSelector >`.\n\nBy default, this method \
38015 calls [`Vec < ForgivingRelativeSelector >::visit_mut_children_with`]. If you want to \
38016 recurse, you need to call it manually."]
38017 #[inline]
38018 fn visit_mut_forgiving_relative_selectors(
38019 &mut self,
38020 node: &mut Vec<ForgivingRelativeSelector>,
38021 ) {
38022 <Vec<ForgivingRelativeSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38023 }
38024 #[doc = "Visit a node of type `ForgivingSelectorList`.\n\nBy default, this method calls \
38025 [`ForgivingSelectorList::visit_mut_children_with`]. If you want to recurse, you need \
38026 to call it manually."]
38027 #[inline]
38028 fn visit_mut_forgiving_selector_list(&mut self, node: &mut ForgivingSelectorList) {
38029 <ForgivingSelectorList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38030 }
38031 #[doc = "Visit a node of type `Frequency`.\n\nBy default, this method calls \
38032 [`Frequency::visit_mut_children_with`]. If you want to recurse, you need to call it \
38033 manually."]
38034 #[inline]
38035 fn visit_mut_frequency(&mut self, node: &mut Frequency) {
38036 <Frequency as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38037 }
38038 #[doc = "Visit a node of type `FrequencyPercentage`.\n\nBy default, this method calls \
38039 [`FrequencyPercentage::visit_mut_children_with`]. If you want to recurse, you need to \
38040 call it manually."]
38041 #[inline]
38042 fn visit_mut_frequency_percentage(&mut self, node: &mut FrequencyPercentage) {
38043 <FrequencyPercentage as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38044 }
38045 #[doc = "Visit a node of type `Function`.\n\nBy default, this method calls \
38046 [`Function::visit_mut_children_with`]. If you want to recurse, you need to call it \
38047 manually."]
38048 #[inline]
38049 fn visit_mut_function(&mut self, node: &mut Function) {
38050 <Function as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38051 }
38052 #[doc = "Visit a node of type `FunctionName`.\n\nBy default, this method calls \
38053 [`FunctionName::visit_mut_children_with`]. If you want to recurse, you need to call \
38054 it manually."]
38055 #[inline]
38056 fn visit_mut_function_name(&mut self, node: &mut FunctionName) {
38057 <FunctionName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38058 }
38059 #[doc = "Visit a node of type `GeneralEnclosed`.\n\nBy default, this method calls \
38060 [`GeneralEnclosed::visit_mut_children_with`]. If you want to recurse, you need to \
38061 call it manually."]
38062 #[inline]
38063 fn visit_mut_general_enclosed(&mut self, node: &mut GeneralEnclosed) {
38064 <GeneralEnclosed as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38065 }
38066 #[doc = "Visit a node of type `HexColor`.\n\nBy default, this method calls \
38067 [`HexColor::visit_mut_children_with`]. If you want to recurse, you need to call it \
38068 manually."]
38069 #[inline]
38070 fn visit_mut_hex_color(&mut self, node: &mut HexColor) {
38071 <HexColor as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38072 }
38073 #[doc = "Visit a node of type `Hue`.\n\nBy default, this method calls \
38074 [`Hue::visit_mut_children_with`]. If you want to recurse, you need to call it \
38075 manually."]
38076 #[inline]
38077 fn visit_mut_hue(&mut self, node: &mut Hue) {
38078 <Hue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38079 }
38080 #[doc = "Visit a node of type `IdSelector`.\n\nBy default, this method calls \
38081 [`IdSelector::visit_mut_children_with`]. If you want to recurse, you need to call it \
38082 manually."]
38083 #[inline]
38084 fn visit_mut_id_selector(&mut self, node: &mut IdSelector) {
38085 <IdSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38086 }
38087 #[doc = "Visit a node of type `Ident`.\n\nBy default, this method calls \
38088 [`Ident::visit_mut_children_with`]. If you want to recurse, you need to call it \
38089 manually."]
38090 #[inline]
38091 fn visit_mut_ident(&mut self, node: &mut Ident) {
38092 <Ident as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38093 }
38094 #[doc = "Visit a node of type `Vec < Ident >`.\n\nBy default, this method calls [`Vec < Ident \
38095 >::visit_mut_children_with`]. If you want to recurse, you need to call it manually."]
38096 #[inline]
38097 fn visit_mut_idents(&mut self, node: &mut Vec<Ident>) {
38098 <Vec<Ident> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38099 }
38100 #[doc = "Visit a node of type `ImportConditions`.\n\nBy default, this method calls \
38101 [`ImportConditions::visit_mut_children_with`]. If you want to recurse, you need to \
38102 call it manually."]
38103 #[inline]
38104 fn visit_mut_import_conditions(&mut self, node: &mut ImportConditions) {
38105 <ImportConditions as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38106 }
38107 #[doc = "Visit a node of type `ImportHref`.\n\nBy default, this method calls \
38108 [`ImportHref::visit_mut_children_with`]. If you want to recurse, you need to call it \
38109 manually."]
38110 #[inline]
38111 fn visit_mut_import_href(&mut self, node: &mut ImportHref) {
38112 <ImportHref as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38113 }
38114 #[doc = "Visit a node of type `ImportLayerName`.\n\nBy default, this method calls \
38115 [`ImportLayerName::visit_mut_children_with`]. If you want to recurse, you need to \
38116 call it manually."]
38117 #[inline]
38118 fn visit_mut_import_layer_name(&mut self, node: &mut ImportLayerName) {
38119 <ImportLayerName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38120 }
38121 #[doc = "Visit a node of type `ImportPrelude`.\n\nBy default, this method calls \
38122 [`ImportPrelude::visit_mut_children_with`]. If you want to recurse, you need to call \
38123 it manually."]
38124 #[inline]
38125 fn visit_mut_import_prelude(&mut self, node: &mut ImportPrelude) {
38126 <ImportPrelude as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38127 }
38128 #[doc = "Visit a node of type `ImportantFlag`.\n\nBy default, this method calls \
38129 [`ImportantFlag::visit_mut_children_with`]. If you want to recurse, you need to call \
38130 it manually."]
38131 #[inline]
38132 fn visit_mut_important_flag(&mut self, node: &mut ImportantFlag) {
38133 <ImportantFlag as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38134 }
38135 #[doc = "Visit a node of type `Integer`.\n\nBy default, this method calls \
38136 [`Integer::visit_mut_children_with`]. If you want to recurse, you need to call it \
38137 manually."]
38138 #[inline]
38139 fn visit_mut_integer(&mut self, node: &mut Integer) {
38140 <Integer as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38141 }
38142 #[doc = "Visit a node of type `KeyframeBlock`.\n\nBy default, this method calls \
38143 [`KeyframeBlock::visit_mut_children_with`]. If you want to recurse, you need to call \
38144 it manually."]
38145 #[inline]
38146 fn visit_mut_keyframe_block(&mut self, node: &mut KeyframeBlock) {
38147 <KeyframeBlock as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38148 }
38149 #[doc = "Visit a node of type `KeyframeSelector`.\n\nBy default, this method calls \
38150 [`KeyframeSelector::visit_mut_children_with`]. If you want to recurse, you need to \
38151 call it manually."]
38152 #[inline]
38153 fn visit_mut_keyframe_selector(&mut self, node: &mut KeyframeSelector) {
38154 <KeyframeSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38155 }
38156 #[doc = "Visit a node of type `Vec < KeyframeSelector >`.\n\nBy default, this method calls \
38157 [`Vec < KeyframeSelector >::visit_mut_children_with`]. If you want to recurse, you \
38158 need to call it manually."]
38159 #[inline]
38160 fn visit_mut_keyframe_selectors(&mut self, node: &mut Vec<KeyframeSelector>) {
38161 <Vec<KeyframeSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38162 }
38163 #[doc = "Visit a node of type `KeyframesName`.\n\nBy default, this method calls \
38164 [`KeyframesName::visit_mut_children_with`]. If you want to recurse, you need to call \
38165 it manually."]
38166 #[inline]
38167 fn visit_mut_keyframes_name(&mut self, node: &mut KeyframesName) {
38168 <KeyframesName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38169 }
38170 #[doc = "Visit a node of type `KeyframesPseudoFunction`.\n\nBy default, this method calls \
38171 [`KeyframesPseudoFunction::visit_mut_children_with`]. If you want to recurse, you \
38172 need to call it manually."]
38173 #[inline]
38174 fn visit_mut_keyframes_pseudo_function(&mut self, node: &mut KeyframesPseudoFunction) {
38175 <KeyframesPseudoFunction as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38176 }
38177 #[doc = "Visit a node of type `KeyframesPseudoPrefix`.\n\nBy default, this method calls \
38178 [`KeyframesPseudoPrefix::visit_mut_children_with`]. If you want to recurse, you need \
38179 to call it manually."]
38180 #[inline]
38181 fn visit_mut_keyframes_pseudo_prefix(&mut self, node: &mut KeyframesPseudoPrefix) {
38182 <KeyframesPseudoPrefix as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38183 }
38184 #[doc = "Visit a node of type `LayerName`.\n\nBy default, this method calls \
38185 [`LayerName::visit_mut_children_with`]. If you want to recurse, you need to call it \
38186 manually."]
38187 #[inline]
38188 fn visit_mut_layer_name(&mut self, node: &mut LayerName) {
38189 <LayerName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38190 }
38191 #[doc = "Visit a node of type `LayerNameList`.\n\nBy default, this method calls \
38192 [`LayerNameList::visit_mut_children_with`]. If you want to recurse, you need to call \
38193 it manually."]
38194 #[inline]
38195 fn visit_mut_layer_name_list(&mut self, node: &mut LayerNameList) {
38196 <LayerNameList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38197 }
38198 #[doc = "Visit a node of type `Vec < LayerName >`.\n\nBy default, this method calls [`Vec < \
38199 LayerName >::visit_mut_children_with`]. If you want to recurse, you need to call it \
38200 manually."]
38201 #[inline]
38202 fn visit_mut_layer_names(&mut self, node: &mut Vec<LayerName>) {
38203 <Vec<LayerName> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38204 }
38205 #[doc = "Visit a node of type `LayerPrelude`.\n\nBy default, this method calls \
38206 [`LayerPrelude::visit_mut_children_with`]. If you want to recurse, you need to call \
38207 it manually."]
38208 #[inline]
38209 fn visit_mut_layer_prelude(&mut self, node: &mut LayerPrelude) {
38210 <LayerPrelude as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38211 }
38212 #[doc = "Visit a node of type `Length`.\n\nBy default, this method calls \
38213 [`Length::visit_mut_children_with`]. If you want to recurse, you need to call it \
38214 manually."]
38215 #[inline]
38216 fn visit_mut_length(&mut self, node: &mut Length) {
38217 <Length as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38218 }
38219 #[doc = "Visit a node of type `LengthPercentage`.\n\nBy default, this method calls \
38220 [`LengthPercentage::visit_mut_children_with`]. If you want to recurse, you need to \
38221 call it manually."]
38222 #[inline]
38223 fn visit_mut_length_percentage(&mut self, node: &mut LengthPercentage) {
38224 <LengthPercentage as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38225 }
38226 #[doc = "Visit a node of type `ListOfComponentValues`.\n\nBy default, this method calls \
38227 [`ListOfComponentValues::visit_mut_children_with`]. If you want to recurse, you need \
38228 to call it manually."]
38229 #[inline]
38230 fn visit_mut_list_of_component_values(&mut self, node: &mut ListOfComponentValues) {
38231 <ListOfComponentValues as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38232 }
38233 #[doc = "Visit a node of type `MediaAnd`.\n\nBy default, this method calls \
38234 [`MediaAnd::visit_mut_children_with`]. If you want to recurse, you need to call it \
38235 manually."]
38236 #[inline]
38237 fn visit_mut_media_and(&mut self, node: &mut MediaAnd) {
38238 <MediaAnd as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38239 }
38240 #[doc = "Visit a node of type `MediaCondition`.\n\nBy default, this method calls \
38241 [`MediaCondition::visit_mut_children_with`]. If you want to recurse, you need to call \
38242 it manually."]
38243 #[inline]
38244 fn visit_mut_media_condition(&mut self, node: &mut MediaCondition) {
38245 <MediaCondition as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38246 }
38247 #[doc = "Visit a node of type `MediaConditionAllType`.\n\nBy default, this method calls \
38248 [`MediaConditionAllType::visit_mut_children_with`]. If you want to recurse, you need \
38249 to call it manually."]
38250 #[inline]
38251 fn visit_mut_media_condition_all_type(&mut self, node: &mut MediaConditionAllType) {
38252 <MediaConditionAllType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38253 }
38254 #[doc = "Visit a node of type `Vec < MediaConditionAllType >`.\n\nBy default, this method \
38255 calls [`Vec < MediaConditionAllType >::visit_mut_children_with`]. If you want to \
38256 recurse, you need to call it manually."]
38257 #[inline]
38258 fn visit_mut_media_condition_all_types(&mut self, node: &mut Vec<MediaConditionAllType>) {
38259 <Vec<MediaConditionAllType> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38260 }
38261 #[doc = "Visit a node of type `MediaConditionType`.\n\nBy default, this method calls \
38262 [`MediaConditionType::visit_mut_children_with`]. If you want to recurse, you need to \
38263 call it manually."]
38264 #[inline]
38265 fn visit_mut_media_condition_type(&mut self, node: &mut MediaConditionType) {
38266 <MediaConditionType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38267 }
38268 #[doc = "Visit a node of type `MediaConditionWithoutOr`.\n\nBy default, this method calls \
38269 [`MediaConditionWithoutOr::visit_mut_children_with`]. If you want to recurse, you \
38270 need to call it manually."]
38271 #[inline]
38272 fn visit_mut_media_condition_without_or(&mut self, node: &mut MediaConditionWithoutOr) {
38273 <MediaConditionWithoutOr as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38274 }
38275 #[doc = "Visit a node of type `MediaConditionWithoutOrType`.\n\nBy default, this method calls \
38276 [`MediaConditionWithoutOrType::visit_mut_children_with`]. If you want to recurse, you \
38277 need to call it manually."]
38278 #[inline]
38279 fn visit_mut_media_condition_without_or_type(
38280 &mut self,
38281 node: &mut MediaConditionWithoutOrType,
38282 ) {
38283 <MediaConditionWithoutOrType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38284 }
38285 #[doc = "Visit a node of type `Vec < MediaConditionWithoutOrType >`.\n\nBy default, this \
38286 method calls [`Vec < MediaConditionWithoutOrType >::visit_mut_children_with`]. If you \
38287 want to recurse, you need to call it manually."]
38288 #[inline]
38289 fn visit_mut_media_condition_without_or_types(
38290 &mut self,
38291 node: &mut Vec<MediaConditionWithoutOrType>,
38292 ) {
38293 <Vec<MediaConditionWithoutOrType> as VisitMutWith<Self>>::visit_mut_children_with(
38294 node, self,
38295 )
38296 }
38297 #[doc = "Visit a node of type `MediaFeature`.\n\nBy default, this method calls \
38298 [`MediaFeature::visit_mut_children_with`]. If you want to recurse, you need to call \
38299 it manually."]
38300 #[inline]
38301 fn visit_mut_media_feature(&mut self, node: &mut MediaFeature) {
38302 <MediaFeature as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38303 }
38304 #[doc = "Visit a node of type `MediaFeatureBoolean`.\n\nBy default, this method calls \
38305 [`MediaFeatureBoolean::visit_mut_children_with`]. If you want to recurse, you need to \
38306 call it manually."]
38307 #[inline]
38308 fn visit_mut_media_feature_boolean(&mut self, node: &mut MediaFeatureBoolean) {
38309 <MediaFeatureBoolean as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38310 }
38311 #[doc = "Visit a node of type `MediaFeatureName`.\n\nBy default, this method calls \
38312 [`MediaFeatureName::visit_mut_children_with`]. If you want to recurse, you need to \
38313 call it manually."]
38314 #[inline]
38315 fn visit_mut_media_feature_name(&mut self, node: &mut MediaFeatureName) {
38316 <MediaFeatureName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38317 }
38318 #[doc = "Visit a node of type `MediaFeaturePlain`.\n\nBy default, this method calls \
38319 [`MediaFeaturePlain::visit_mut_children_with`]. If you want to recurse, you need to \
38320 call it manually."]
38321 #[inline]
38322 fn visit_mut_media_feature_plain(&mut self, node: &mut MediaFeaturePlain) {
38323 <MediaFeaturePlain as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38324 }
38325 #[doc = "Visit a node of type `MediaFeatureRange`.\n\nBy default, this method calls \
38326 [`MediaFeatureRange::visit_mut_children_with`]. If you want to recurse, you need to \
38327 call it manually."]
38328 #[inline]
38329 fn visit_mut_media_feature_range(&mut self, node: &mut MediaFeatureRange) {
38330 <MediaFeatureRange as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38331 }
38332 #[doc = "Visit a node of type `MediaFeatureRangeComparison`.\n\nBy default, this method calls \
38333 [`MediaFeatureRangeComparison::visit_mut_children_with`]. If you want to recurse, you \
38334 need to call it manually."]
38335 #[inline]
38336 fn visit_mut_media_feature_range_comparison(&mut self, node: &mut MediaFeatureRangeComparison) {
38337 <MediaFeatureRangeComparison as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38338 }
38339 #[doc = "Visit a node of type `MediaFeatureRangeInterval`.\n\nBy default, this method calls \
38340 [`MediaFeatureRangeInterval::visit_mut_children_with`]. If you want to recurse, you \
38341 need to call it manually."]
38342 #[inline]
38343 fn visit_mut_media_feature_range_interval(&mut self, node: &mut MediaFeatureRangeInterval) {
38344 <MediaFeatureRangeInterval as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38345 }
38346 #[doc = "Visit a node of type `MediaFeatureValue`.\n\nBy default, this method calls \
38347 [`MediaFeatureValue::visit_mut_children_with`]. If you want to recurse, you need to \
38348 call it manually."]
38349 #[inline]
38350 fn visit_mut_media_feature_value(&mut self, node: &mut MediaFeatureValue) {
38351 <MediaFeatureValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38352 }
38353 #[doc = "Visit a node of type `MediaInParens`.\n\nBy default, this method calls \
38354 [`MediaInParens::visit_mut_children_with`]. If you want to recurse, you need to call \
38355 it manually."]
38356 #[inline]
38357 fn visit_mut_media_in_parens(&mut self, node: &mut MediaInParens) {
38358 <MediaInParens as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38359 }
38360 #[doc = "Visit a node of type `MediaNot`.\n\nBy default, this method calls \
38361 [`MediaNot::visit_mut_children_with`]. If you want to recurse, you need to call it \
38362 manually."]
38363 #[inline]
38364 fn visit_mut_media_not(&mut self, node: &mut MediaNot) {
38365 <MediaNot as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38366 }
38367 #[doc = "Visit a node of type `MediaOr`.\n\nBy default, this method calls \
38368 [`MediaOr::visit_mut_children_with`]. If you want to recurse, you need to call it \
38369 manually."]
38370 #[inline]
38371 fn visit_mut_media_or(&mut self, node: &mut MediaOr) {
38372 <MediaOr as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38373 }
38374 #[doc = "Visit a node of type `MediaQuery`.\n\nBy default, this method calls \
38375 [`MediaQuery::visit_mut_children_with`]. If you want to recurse, you need to call it \
38376 manually."]
38377 #[inline]
38378 fn visit_mut_media_query(&mut self, node: &mut MediaQuery) {
38379 <MediaQuery as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38380 }
38381 #[doc = "Visit a node of type `MediaQueryList`.\n\nBy default, this method calls \
38382 [`MediaQueryList::visit_mut_children_with`]. If you want to recurse, you need to call \
38383 it manually."]
38384 #[inline]
38385 fn visit_mut_media_query_list(&mut self, node: &mut MediaQueryList) {
38386 <MediaQueryList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38387 }
38388 #[doc = "Visit a node of type `Vec < MediaQuery >`.\n\nBy default, this method calls [`Vec < \
38389 MediaQuery >::visit_mut_children_with`]. If you want to recurse, you need to call it \
38390 manually."]
38391 #[inline]
38392 fn visit_mut_media_querys(&mut self, node: &mut Vec<MediaQuery>) {
38393 <Vec<MediaQuery> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38394 }
38395 #[doc = "Visit a node of type `MediaType`.\n\nBy default, this method calls \
38396 [`MediaType::visit_mut_children_with`]. If you want to recurse, you need to call it \
38397 manually."]
38398 #[inline]
38399 fn visit_mut_media_type(&mut self, node: &mut MediaType) {
38400 <MediaType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38401 }
38402 #[doc = "Visit a node of type `NamedNamespace`.\n\nBy default, this method calls \
38403 [`NamedNamespace::visit_mut_children_with`]. If you want to recurse, you need to call \
38404 it manually."]
38405 #[inline]
38406 fn visit_mut_named_namespace(&mut self, node: &mut NamedNamespace) {
38407 <NamedNamespace as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38408 }
38409 #[doc = "Visit a node of type `Namespace`.\n\nBy default, this method calls \
38410 [`Namespace::visit_mut_children_with`]. If you want to recurse, you need to call it \
38411 manually."]
38412 #[inline]
38413 fn visit_mut_namespace(&mut self, node: &mut Namespace) {
38414 <Namespace as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38415 }
38416 #[doc = "Visit a node of type `NamespacePrefix`.\n\nBy default, this method calls \
38417 [`NamespacePrefix::visit_mut_children_with`]. If you want to recurse, you need to \
38418 call it manually."]
38419 #[inline]
38420 fn visit_mut_namespace_prefix(&mut self, node: &mut NamespacePrefix) {
38421 <NamespacePrefix as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38422 }
38423 #[doc = "Visit a node of type `NamespacePrelude`.\n\nBy default, this method calls \
38424 [`NamespacePrelude::visit_mut_children_with`]. If you want to recurse, you need to \
38425 call it manually."]
38426 #[inline]
38427 fn visit_mut_namespace_prelude(&mut self, node: &mut NamespacePrelude) {
38428 <NamespacePrelude as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38429 }
38430 #[doc = "Visit a node of type `NamespacePreludeUri`.\n\nBy default, this method calls \
38431 [`NamespacePreludeUri::visit_mut_children_with`]. If you want to recurse, you need to \
38432 call it manually."]
38433 #[inline]
38434 fn visit_mut_namespace_prelude_uri(&mut self, node: &mut NamespacePreludeUri) {
38435 <NamespacePreludeUri as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38436 }
38437 #[doc = "Visit a node of type `NestingSelector`.\n\nBy default, this method calls \
38438 [`NestingSelector::visit_mut_children_with`]. If you want to recurse, you need to \
38439 call it manually."]
38440 #[inline]
38441 fn visit_mut_nesting_selector(&mut self, node: &mut NestingSelector) {
38442 <NestingSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38443 }
38444 #[doc = "Visit a node of type `Number`.\n\nBy default, this method calls \
38445 [`Number::visit_mut_children_with`]. If you want to recurse, you need to call it \
38446 manually."]
38447 #[inline]
38448 fn visit_mut_number(&mut self, node: &mut Number) {
38449 <Number as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38450 }
38451 #[doc = "Visit a node of type `NumberType`.\n\nBy default, this method calls \
38452 [`NumberType::visit_mut_children_with`]. If you want to recurse, you need to call it \
38453 manually."]
38454 #[inline]
38455 fn visit_mut_number_type(&mut self, node: &mut NumberType) {
38456 <NumberType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38457 }
38458 #[doc = "Visit a node of type `Option < Box < AtRulePrelude > >`.\n\nBy default, this method \
38459 calls [`Option < Box < AtRulePrelude > >::visit_mut_children_with`]. If you want to \
38460 recurse, you need to call it manually."]
38461 #[inline]
38462 fn visit_mut_opt_at_rule_prelude(&mut self, node: &mut Option<Box<AtRulePrelude>>) {
38463 <Option<Box<AtRulePrelude>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38464 }
38465 #[doc = "Visit a node of type `Option < swc_atoms :: Atom >`.\n\nBy default, this method calls \
38466 [`Option < swc_atoms :: Atom >::visit_mut_children_with`]. If you want to recurse, \
38467 you need to call it manually."]
38468 #[inline]
38469 fn visit_mut_opt_atom(&mut self, node: &mut Option<swc_atoms::Atom>) {
38470 <Option<swc_atoms::Atom> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38471 }
38472 #[doc = "Visit a node of type `Option < AttributeSelectorMatcher >`.\n\nBy default, this \
38473 method calls [`Option < AttributeSelectorMatcher >::visit_mut_children_with`]. If you \
38474 want to recurse, you need to call it manually."]
38475 #[inline]
38476 fn visit_mut_opt_attribute_selector_matcher(
38477 &mut self,
38478 node: &mut Option<AttributeSelectorMatcher>,
38479 ) {
38480 <Option<AttributeSelectorMatcher> as VisitMutWith<Self>>::visit_mut_children_with(
38481 node, self,
38482 )
38483 }
38484 #[doc = "Visit a node of type `Option < AttributeSelectorModifier >`.\n\nBy default, this \
38485 method calls [`Option < AttributeSelectorModifier >::visit_mut_children_with`]. If \
38486 you want to recurse, you need to call it manually."]
38487 #[inline]
38488 fn visit_mut_opt_attribute_selector_modifier(
38489 &mut self,
38490 node: &mut Option<AttributeSelectorModifier>,
38491 ) {
38492 <Option<AttributeSelectorModifier> as VisitMutWith<Self>>::visit_mut_children_with(
38493 node, self,
38494 )
38495 }
38496 #[doc = "Visit a node of type `Option < AttributeSelectorValue >`.\n\nBy default, this method \
38497 calls [`Option < AttributeSelectorValue >::visit_mut_children_with`]. If you want to \
38498 recurse, you need to call it manually."]
38499 #[inline]
38500 fn visit_mut_opt_attribute_selector_value(
38501 &mut self,
38502 node: &mut Option<AttributeSelectorValue>,
38503 ) {
38504 <Option<AttributeSelectorValue> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38505 }
38506 #[doc = "Visit a node of type `Option < Combinator >`.\n\nBy default, this method calls \
38507 [`Option < Combinator >::visit_mut_children_with`]. If you want to recurse, you need \
38508 to call it manually."]
38509 #[inline]
38510 fn visit_mut_opt_combinator(&mut self, node: &mut Option<Combinator>) {
38511 <Option<Combinator> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38512 }
38513 #[doc = "Visit a node of type `Option < ContainerName >`.\n\nBy default, this method calls \
38514 [`Option < ContainerName >::visit_mut_children_with`]. If you want to recurse, you \
38515 need to call it manually."]
38516 #[inline]
38517 fn visit_mut_opt_container_name(&mut self, node: &mut Option<ContainerName>) {
38518 <Option<ContainerName> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38519 }
38520 #[doc = "Visit a node of type `Option < ForgivingSelectorList >`.\n\nBy default, this method \
38521 calls [`Option < ForgivingSelectorList >::visit_mut_children_with`]. If you want to \
38522 recurse, you need to call it manually."]
38523 #[inline]
38524 fn visit_mut_opt_forgiving_selector_list(&mut self, node: &mut Option<ForgivingSelectorList>) {
38525 <Option<ForgivingSelectorList> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38526 }
38527 #[doc = "Visit a node of type `Option < Box < Function > >`.\n\nBy default, this method calls \
38528 [`Option < Box < Function > >::visit_mut_children_with`]. If you want to recurse, you \
38529 need to call it manually."]
38530 #[inline]
38531 fn visit_mut_opt_function(&mut self, node: &mut Option<Box<Function>>) {
38532 <Option<Box<Function>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38533 }
38534 #[doc = "Visit a node of type `Option < Ident >`.\n\nBy default, this method calls [`Option < \
38535 Ident >::visit_mut_children_with`]. If you want to recurse, you need to call it \
38536 manually."]
38537 #[inline]
38538 fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>) {
38539 <Option<Ident> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38540 }
38541 #[doc = "Visit a node of type `Option < Box < ImportConditions > >`.\n\nBy default, this \
38542 method calls [`Option < Box < ImportConditions > >::visit_mut_children_with`]. If you \
38543 want to recurse, you need to call it manually."]
38544 #[inline]
38545 fn visit_mut_opt_import_conditions(&mut self, node: &mut Option<Box<ImportConditions>>) {
38546 <Option<Box<ImportConditions>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38547 }
38548 #[doc = "Visit a node of type `Option < Box < ImportLayerName > >`.\n\nBy default, this method \
38549 calls [`Option < Box < ImportLayerName > >::visit_mut_children_with`]. If you want to \
38550 recurse, you need to call it manually."]
38551 #[inline]
38552 fn visit_mut_opt_import_layer_name(&mut self, node: &mut Option<Box<ImportLayerName>>) {
38553 <Option<Box<ImportLayerName>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38554 }
38555 #[doc = "Visit a node of type `Option < ImportantFlag >`.\n\nBy default, this method calls \
38556 [`Option < ImportantFlag >::visit_mut_children_with`]. If you want to recurse, you \
38557 need to call it manually."]
38558 #[inline]
38559 fn visit_mut_opt_important_flag(&mut self, node: &mut Option<ImportantFlag>) {
38560 <Option<ImportantFlag> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38561 }
38562 #[doc = "Visit a node of type `Option < Box < MediaConditionType > >`.\n\nBy default, this \
38563 method calls [`Option < Box < MediaConditionType > >::visit_mut_children_with`]. If \
38564 you want to recurse, you need to call it manually."]
38565 #[inline]
38566 fn visit_mut_opt_media_condition_type(&mut self, node: &mut Option<Box<MediaConditionType>>) {
38567 <Option<Box<MediaConditionType>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38568 }
38569 #[doc = "Visit a node of type `Option < Box < MediaQueryList > >`.\n\nBy default, this method \
38570 calls [`Option < Box < MediaQueryList > >::visit_mut_children_with`]. If you want to \
38571 recurse, you need to call it manually."]
38572 #[inline]
38573 fn visit_mut_opt_media_query_list(&mut self, node: &mut Option<Box<MediaQueryList>>) {
38574 <Option<Box<MediaQueryList>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38575 }
38576 #[doc = "Visit a node of type `Option < MediaType >`.\n\nBy default, this method calls \
38577 [`Option < MediaType >::visit_mut_children_with`]. If you want to recurse, you need \
38578 to call it manually."]
38579 #[inline]
38580 fn visit_mut_opt_media_type(&mut self, node: &mut Option<MediaType>) {
38581 <Option<MediaType> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38582 }
38583 #[doc = "Visit a node of type `Option < Namespace >`.\n\nBy default, this method calls \
38584 [`Option < Namespace >::visit_mut_children_with`]. If you want to recurse, you need \
38585 to call it manually."]
38586 #[inline]
38587 fn visit_mut_opt_namespace(&mut self, node: &mut Option<Namespace>) {
38588 <Option<Namespace> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38589 }
38590 #[doc = "Visit a node of type `Option < NamespacePrefix >`.\n\nBy default, this method calls \
38591 [`Option < NamespacePrefix >::visit_mut_children_with`]. If you want to recurse, you \
38592 need to call it manually."]
38593 #[inline]
38594 fn visit_mut_opt_namespace_prefix(&mut self, node: &mut Option<NamespacePrefix>) {
38595 <Option<NamespacePrefix> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38596 }
38597 #[doc = "Visit a node of type `Option < NestingSelector >`.\n\nBy default, this method calls \
38598 [`Option < NestingSelector >::visit_mut_children_with`]. If you want to recurse, you \
38599 need to call it manually."]
38600 #[inline]
38601 fn visit_mut_opt_nesting_selector(&mut self, node: &mut Option<NestingSelector>) {
38602 <Option<NestingSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38603 }
38604 #[doc = "Visit a node of type `Option < Number >`.\n\nBy default, this method calls [`Option < \
38605 Number >::visit_mut_children_with`]. If you want to recurse, you need to call it \
38606 manually."]
38607 #[inline]
38608 fn visit_mut_opt_number(&mut self, node: &mut Option<Number>) {
38609 <Option<Number> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38610 }
38611 #[doc = "Visit a node of type `Option < Vec < PageSelectorPseudo > >`.\n\nBy default, this \
38612 method calls [`Option < Vec < PageSelectorPseudo > >::visit_mut_children_with`]. If \
38613 you want to recurse, you need to call it manually."]
38614 #[inline]
38615 fn visit_mut_opt_page_selector_pseudos(&mut self, node: &mut Option<Vec<PageSelectorPseudo>>) {
38616 <Option<Vec<PageSelectorPseudo>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38617 }
38618 #[doc = "Visit a node of type `Option < PageSelectorType >`.\n\nBy default, this method calls \
38619 [`Option < PageSelectorType >::visit_mut_children_with`]. If you want to recurse, you \
38620 need to call it manually."]
38621 #[inline]
38622 fn visit_mut_opt_page_selector_type(&mut self, node: &mut Option<PageSelectorType>) {
38623 <Option<PageSelectorType> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38624 }
38625 #[doc = "Visit a node of type `Option < Vec < PseudoClassSelectorChildren > >`.\n\nBy default, \
38626 this method calls [`Option < Vec < PseudoClassSelectorChildren > \
38627 >::visit_mut_children_with`]. If you want to recurse, you need to call it manually."]
38628 #[inline]
38629 fn visit_mut_opt_pseudo_class_selector_childrens(
38630 &mut self,
38631 node: &mut Option<Vec<PseudoClassSelectorChildren>>,
38632 ) {
38633 <Option<Vec<PseudoClassSelectorChildren>> as VisitMutWith<Self>>::visit_mut_children_with(
38634 node, self,
38635 )
38636 }
38637 #[doc = "Visit a node of type `Option < Vec < PseudoElementSelectorChildren > >`.\n\nBy \
38638 default, this method calls [`Option < Vec < PseudoElementSelectorChildren > \
38639 >::visit_mut_children_with`]. If you want to recurse, you need to call it manually."]
38640 #[inline]
38641 fn visit_mut_opt_pseudo_element_selector_childrens(
38642 &mut self,
38643 node: &mut Option<Vec<PseudoElementSelectorChildren>>,
38644 ) {
38645 <Option<Vec<PseudoElementSelectorChildren>> as VisitMutWith<Self>>::visit_mut_children_with(
38646 node, self,
38647 )
38648 }
38649 #[doc = "Visit a node of type `Option < SimpleBlock >`.\n\nBy default, this method calls \
38650 [`Option < SimpleBlock >::visit_mut_children_with`]. If you want to recurse, you need \
38651 to call it manually."]
38652 #[inline]
38653 fn visit_mut_opt_simple_block(&mut self, node: &mut Option<SimpleBlock>) {
38654 <Option<SimpleBlock> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38655 }
38656 #[doc = "Visit a node of type `Option < Box < TypeSelector > >`.\n\nBy default, this method \
38657 calls [`Option < Box < TypeSelector > >::visit_mut_children_with`]. If you want to \
38658 recurse, you need to call it manually."]
38659 #[inline]
38660 fn visit_mut_opt_type_selector(&mut self, node: &mut Option<Box<TypeSelector>>) {
38661 <Option<Box<TypeSelector>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38662 }
38663 #[doc = "Visit a node of type `Option < Vec < UrlModifier > >`.\n\nBy default, this method \
38664 calls [`Option < Vec < UrlModifier > >::visit_mut_children_with`]. If you want to \
38665 recurse, you need to call it manually."]
38666 #[inline]
38667 fn visit_mut_opt_url_modifiers(&mut self, node: &mut Option<Vec<UrlModifier>>) {
38668 <Option<Vec<UrlModifier>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38669 }
38670 #[doc = "Visit a node of type `Option < Box < UrlValue > >`.\n\nBy default, this method calls \
38671 [`Option < Box < UrlValue > >::visit_mut_children_with`]. If you want to recurse, you \
38672 need to call it manually."]
38673 #[inline]
38674 fn visit_mut_opt_url_value(&mut self, node: &mut Option<Box<UrlValue>>) {
38675 <Option<Box<UrlValue>> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38676 }
38677 #[doc = "Visit a node of type `PageSelector`.\n\nBy default, this method calls \
38678 [`PageSelector::visit_mut_children_with`]. If you want to recurse, you need to call \
38679 it manually."]
38680 #[inline]
38681 fn visit_mut_page_selector(&mut self, node: &mut PageSelector) {
38682 <PageSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38683 }
38684 #[doc = "Visit a node of type `PageSelectorList`.\n\nBy default, this method calls \
38685 [`PageSelectorList::visit_mut_children_with`]. If you want to recurse, you need to \
38686 call it manually."]
38687 #[inline]
38688 fn visit_mut_page_selector_list(&mut self, node: &mut PageSelectorList) {
38689 <PageSelectorList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38690 }
38691 #[doc = "Visit a node of type `PageSelectorPseudo`.\n\nBy default, this method calls \
38692 [`PageSelectorPseudo::visit_mut_children_with`]. If you want to recurse, you need to \
38693 call it manually."]
38694 #[inline]
38695 fn visit_mut_page_selector_pseudo(&mut self, node: &mut PageSelectorPseudo) {
38696 <PageSelectorPseudo as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38697 }
38698 #[doc = "Visit a node of type `Vec < PageSelectorPseudo >`.\n\nBy default, this method calls \
38699 [`Vec < PageSelectorPseudo >::visit_mut_children_with`]. If you want to recurse, you \
38700 need to call it manually."]
38701 #[inline]
38702 fn visit_mut_page_selector_pseudos(&mut self, node: &mut Vec<PageSelectorPseudo>) {
38703 <Vec<PageSelectorPseudo> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38704 }
38705 #[doc = "Visit a node of type `PageSelectorType`.\n\nBy default, this method calls \
38706 [`PageSelectorType::visit_mut_children_with`]. If you want to recurse, you need to \
38707 call it manually."]
38708 #[inline]
38709 fn visit_mut_page_selector_type(&mut self, node: &mut PageSelectorType) {
38710 <PageSelectorType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38711 }
38712 #[doc = "Visit a node of type `Vec < PageSelector >`.\n\nBy default, this method calls [`Vec < \
38713 PageSelector >::visit_mut_children_with`]. If you want to recurse, you need to call \
38714 it manually."]
38715 #[inline]
38716 fn visit_mut_page_selectors(&mut self, node: &mut Vec<PageSelector>) {
38717 <Vec<PageSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38718 }
38719 #[doc = "Visit a node of type `Percentage`.\n\nBy default, this method calls \
38720 [`Percentage::visit_mut_children_with`]. If you want to recurse, you need to call it \
38721 manually."]
38722 #[inline]
38723 fn visit_mut_percentage(&mut self, node: &mut Percentage) {
38724 <Percentage as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38725 }
38726 #[doc = "Visit a node of type `PseudoClassSelector`.\n\nBy default, this method calls \
38727 [`PseudoClassSelector::visit_mut_children_with`]. If you want to recurse, you need to \
38728 call it manually."]
38729 #[inline]
38730 fn visit_mut_pseudo_class_selector(&mut self, node: &mut PseudoClassSelector) {
38731 <PseudoClassSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38732 }
38733 #[doc = "Visit a node of type `PseudoClassSelectorChildren`.\n\nBy default, this method calls \
38734 [`PseudoClassSelectorChildren::visit_mut_children_with`]. If you want to recurse, you \
38735 need to call it manually."]
38736 #[inline]
38737 fn visit_mut_pseudo_class_selector_children(&mut self, node: &mut PseudoClassSelectorChildren) {
38738 <PseudoClassSelectorChildren as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38739 }
38740 #[doc = "Visit a node of type `Vec < PseudoClassSelectorChildren >`.\n\nBy default, this \
38741 method calls [`Vec < PseudoClassSelectorChildren >::visit_mut_children_with`]. If you \
38742 want to recurse, you need to call it manually."]
38743 #[inline]
38744 fn visit_mut_pseudo_class_selector_childrens(
38745 &mut self,
38746 node: &mut Vec<PseudoClassSelectorChildren>,
38747 ) {
38748 <Vec<PseudoClassSelectorChildren> as VisitMutWith<Self>>::visit_mut_children_with(
38749 node, self,
38750 )
38751 }
38752 #[doc = "Visit a node of type `PseudoElementSelector`.\n\nBy default, this method calls \
38753 [`PseudoElementSelector::visit_mut_children_with`]. If you want to recurse, you need \
38754 to call it manually."]
38755 #[inline]
38756 fn visit_mut_pseudo_element_selector(&mut self, node: &mut PseudoElementSelector) {
38757 <PseudoElementSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38758 }
38759 #[doc = "Visit a node of type `PseudoElementSelectorChildren`.\n\nBy default, this method \
38760 calls [`PseudoElementSelectorChildren::visit_mut_children_with`]. If you want to \
38761 recurse, you need to call it manually."]
38762 #[inline]
38763 fn visit_mut_pseudo_element_selector_children(
38764 &mut self,
38765 node: &mut PseudoElementSelectorChildren,
38766 ) {
38767 <PseudoElementSelectorChildren as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38768 }
38769 #[doc = "Visit a node of type `Vec < PseudoElementSelectorChildren >`.\n\nBy default, this \
38770 method calls [`Vec < PseudoElementSelectorChildren >::visit_mut_children_with`]. If \
38771 you want to recurse, you need to call it manually."]
38772 #[inline]
38773 fn visit_mut_pseudo_element_selector_childrens(
38774 &mut self,
38775 node: &mut Vec<PseudoElementSelectorChildren>,
38776 ) {
38777 <Vec<PseudoElementSelectorChildren> as VisitMutWith<Self>>::visit_mut_children_with(
38778 node, self,
38779 )
38780 }
38781 #[doc = "Visit a node of type `QualifiedRule`.\n\nBy default, this method calls \
38782 [`QualifiedRule::visit_mut_children_with`]. If you want to recurse, you need to call \
38783 it manually."]
38784 #[inline]
38785 fn visit_mut_qualified_rule(&mut self, node: &mut QualifiedRule) {
38786 <QualifiedRule as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38787 }
38788 #[doc = "Visit a node of type `QualifiedRulePrelude`.\n\nBy default, this method calls \
38789 [`QualifiedRulePrelude::visit_mut_children_with`]. If you want to recurse, you need \
38790 to call it manually."]
38791 #[inline]
38792 fn visit_mut_qualified_rule_prelude(&mut self, node: &mut QualifiedRulePrelude) {
38793 <QualifiedRulePrelude as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38794 }
38795 #[doc = "Visit a node of type `QueryInParens`.\n\nBy default, this method calls \
38796 [`QueryInParens::visit_mut_children_with`]. If you want to recurse, you need to call \
38797 it manually."]
38798 #[inline]
38799 fn visit_mut_query_in_parens(&mut self, node: &mut QueryInParens) {
38800 <QueryInParens as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38801 }
38802 #[doc = "Visit a node of type `Ratio`.\n\nBy default, this method calls \
38803 [`Ratio::visit_mut_children_with`]. If you want to recurse, you need to call it \
38804 manually."]
38805 #[inline]
38806 fn visit_mut_ratio(&mut self, node: &mut Ratio) {
38807 <Ratio as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38808 }
38809 #[doc = "Visit a node of type `RelativeSelector`.\n\nBy default, this method calls \
38810 [`RelativeSelector::visit_mut_children_with`]. If you want to recurse, you need to \
38811 call it manually."]
38812 #[inline]
38813 fn visit_mut_relative_selector(&mut self, node: &mut RelativeSelector) {
38814 <RelativeSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38815 }
38816 #[doc = "Visit a node of type `RelativeSelectorList`.\n\nBy default, this method calls \
38817 [`RelativeSelectorList::visit_mut_children_with`]. If you want to recurse, you need \
38818 to call it manually."]
38819 #[inline]
38820 fn visit_mut_relative_selector_list(&mut self, node: &mut RelativeSelectorList) {
38821 <RelativeSelectorList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38822 }
38823 #[doc = "Visit a node of type `Vec < RelativeSelector >`.\n\nBy default, this method calls \
38824 [`Vec < RelativeSelector >::visit_mut_children_with`]. If you want to recurse, you \
38825 need to call it manually."]
38826 #[inline]
38827 fn visit_mut_relative_selectors(&mut self, node: &mut Vec<RelativeSelector>) {
38828 <Vec<RelativeSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38829 }
38830 #[doc = "Visit a node of type `Resolution`.\n\nBy default, this method calls \
38831 [`Resolution::visit_mut_children_with`]. If you want to recurse, you need to call it \
38832 manually."]
38833 #[inline]
38834 fn visit_mut_resolution(&mut self, node: &mut Resolution) {
38835 <Resolution as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38836 }
38837 #[doc = "Visit a node of type `Rule`.\n\nBy default, this method calls \
38838 [`Rule::visit_mut_children_with`]. If you want to recurse, you need to call it \
38839 manually."]
38840 #[inline]
38841 fn visit_mut_rule(&mut self, node: &mut Rule) {
38842 <Rule as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38843 }
38844 #[doc = "Visit a node of type `Vec < Rule >`.\n\nBy default, this method calls [`Vec < Rule \
38845 >::visit_mut_children_with`]. If you want to recurse, you need to call it manually."]
38846 #[inline]
38847 fn visit_mut_rules(&mut self, node: &mut Vec<Rule>) {
38848 <Vec<Rule> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38849 }
38850 #[doc = "Visit a node of type `ScopeRange`.\n\nBy default, this method calls \
38851 [`ScopeRange::visit_mut_children_with`]. If you want to recurse, you need to call it \
38852 manually."]
38853 #[inline]
38854 fn visit_mut_scope_range(&mut self, node: &mut ScopeRange) {
38855 <ScopeRange as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38856 }
38857 #[doc = "Visit a node of type `SelectorList`.\n\nBy default, this method calls \
38858 [`SelectorList::visit_mut_children_with`]. If you want to recurse, you need to call \
38859 it manually."]
38860 #[inline]
38861 fn visit_mut_selector_list(&mut self, node: &mut SelectorList) {
38862 <SelectorList as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38863 }
38864 #[doc = "Visit a node of type `SequenceOfCustomIdents`.\n\nBy default, this method calls \
38865 [`SequenceOfCustomIdents::visit_mut_children_with`]. If you want to recurse, you need \
38866 to call it manually."]
38867 #[inline]
38868 fn visit_mut_sequence_of_custom_idents(&mut self, node: &mut SequenceOfCustomIdents) {
38869 <SequenceOfCustomIdents as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38870 }
38871 #[doc = "Visit a node of type `SimpleBlock`.\n\nBy default, this method calls \
38872 [`SimpleBlock::visit_mut_children_with`]. If you want to recurse, you need to call it \
38873 manually."]
38874 #[inline]
38875 fn visit_mut_simple_block(&mut self, node: &mut SimpleBlock) {
38876 <SimpleBlock as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38877 }
38878 #[doc = "Visit a node of type `SizeFeature`.\n\nBy default, this method calls \
38879 [`SizeFeature::visit_mut_children_with`]. If you want to recurse, you need to call it \
38880 manually."]
38881 #[inline]
38882 fn visit_mut_size_feature(&mut self, node: &mut SizeFeature) {
38883 <SizeFeature as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38884 }
38885 #[doc = "Visit a node of type `SizeFeatureBoolean`.\n\nBy default, this method calls \
38886 [`SizeFeatureBoolean::visit_mut_children_with`]. If you want to recurse, you need to \
38887 call it manually."]
38888 #[inline]
38889 fn visit_mut_size_feature_boolean(&mut self, node: &mut SizeFeatureBoolean) {
38890 <SizeFeatureBoolean as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38891 }
38892 #[doc = "Visit a node of type `SizeFeatureName`.\n\nBy default, this method calls \
38893 [`SizeFeatureName::visit_mut_children_with`]. If you want to recurse, you need to \
38894 call it manually."]
38895 #[inline]
38896 fn visit_mut_size_feature_name(&mut self, node: &mut SizeFeatureName) {
38897 <SizeFeatureName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38898 }
38899 #[doc = "Visit a node of type `SizeFeaturePlain`.\n\nBy default, this method calls \
38900 [`SizeFeaturePlain::visit_mut_children_with`]. If you want to recurse, you need to \
38901 call it manually."]
38902 #[inline]
38903 fn visit_mut_size_feature_plain(&mut self, node: &mut SizeFeaturePlain) {
38904 <SizeFeaturePlain as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38905 }
38906 #[doc = "Visit a node of type `SizeFeatureRange`.\n\nBy default, this method calls \
38907 [`SizeFeatureRange::visit_mut_children_with`]. If you want to recurse, you need to \
38908 call it manually."]
38909 #[inline]
38910 fn visit_mut_size_feature_range(&mut self, node: &mut SizeFeatureRange) {
38911 <SizeFeatureRange as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38912 }
38913 #[doc = "Visit a node of type `SizeFeatureRangeComparison`.\n\nBy default, this method calls \
38914 [`SizeFeatureRangeComparison::visit_mut_children_with`]. If you want to recurse, you \
38915 need to call it manually."]
38916 #[inline]
38917 fn visit_mut_size_feature_range_comparison(&mut self, node: &mut SizeFeatureRangeComparison) {
38918 <SizeFeatureRangeComparison as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38919 }
38920 #[doc = "Visit a node of type `SizeFeatureRangeInterval`.\n\nBy default, this method calls \
38921 [`SizeFeatureRangeInterval::visit_mut_children_with`]. If you want to recurse, you \
38922 need to call it manually."]
38923 #[inline]
38924 fn visit_mut_size_feature_range_interval(&mut self, node: &mut SizeFeatureRangeInterval) {
38925 <SizeFeatureRangeInterval as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38926 }
38927 #[doc = "Visit a node of type `SizeFeatureValue`.\n\nBy default, this method calls \
38928 [`SizeFeatureValue::visit_mut_children_with`]. If you want to recurse, you need to \
38929 call it manually."]
38930 #[inline]
38931 fn visit_mut_size_feature_value(&mut self, node: &mut SizeFeatureValue) {
38932 <SizeFeatureValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38933 }
38934 #[doc = "Visit a node of type `swc_common :: Span`.\n\nBy default, this method calls \
38935 [`swc_common :: Span::visit_mut_children_with`]. If you want to recurse, you need to \
38936 call it manually."]
38937 #[inline]
38938 fn visit_mut_span(&mut self, node: &mut swc_common::Span) {
38939 <swc_common::Span as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38940 }
38941 #[doc = "Visit a node of type `Str`.\n\nBy default, this method calls \
38942 [`Str::visit_mut_children_with`]. If you want to recurse, you need to call it \
38943 manually."]
38944 #[inline]
38945 fn visit_mut_str(&mut self, node: &mut Str) {
38946 <Str as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38947 }
38948 #[doc = "Visit a node of type `StyleBlock`.\n\nBy default, this method calls \
38949 [`StyleBlock::visit_mut_children_with`]. If you want to recurse, you need to call it \
38950 manually."]
38951 #[inline]
38952 fn visit_mut_style_block(&mut self, node: &mut StyleBlock) {
38953 <StyleBlock as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38954 }
38955 #[doc = "Visit a node of type `Stylesheet`.\n\nBy default, this method calls \
38956 [`Stylesheet::visit_mut_children_with`]. If you want to recurse, you need to call it \
38957 manually."]
38958 #[inline]
38959 fn visit_mut_stylesheet(&mut self, node: &mut Stylesheet) {
38960 <Stylesheet as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38961 }
38962 #[doc = "Visit a node of type `SubclassSelector`.\n\nBy default, this method calls \
38963 [`SubclassSelector::visit_mut_children_with`]. If you want to recurse, you need to \
38964 call it manually."]
38965 #[inline]
38966 fn visit_mut_subclass_selector(&mut self, node: &mut SubclassSelector) {
38967 <SubclassSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38968 }
38969 #[doc = "Visit a node of type `Vec < SubclassSelector >`.\n\nBy default, this method calls \
38970 [`Vec < SubclassSelector >::visit_mut_children_with`]. If you want to recurse, you \
38971 need to call it manually."]
38972 #[inline]
38973 fn visit_mut_subclass_selectors(&mut self, node: &mut Vec<SubclassSelector>) {
38974 <Vec<SubclassSelector> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38975 }
38976 #[doc = "Visit a node of type `SupportsAnd`.\n\nBy default, this method calls \
38977 [`SupportsAnd::visit_mut_children_with`]. If you want to recurse, you need to call it \
38978 manually."]
38979 #[inline]
38980 fn visit_mut_supports_and(&mut self, node: &mut SupportsAnd) {
38981 <SupportsAnd as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38982 }
38983 #[doc = "Visit a node of type `SupportsCondition`.\n\nBy default, this method calls \
38984 [`SupportsCondition::visit_mut_children_with`]. If you want to recurse, you need to \
38985 call it manually."]
38986 #[inline]
38987 fn visit_mut_supports_condition(&mut self, node: &mut SupportsCondition) {
38988 <SupportsCondition as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38989 }
38990 #[doc = "Visit a node of type `SupportsConditionType`.\n\nBy default, this method calls \
38991 [`SupportsConditionType::visit_mut_children_with`]. If you want to recurse, you need \
38992 to call it manually."]
38993 #[inline]
38994 fn visit_mut_supports_condition_type(&mut self, node: &mut SupportsConditionType) {
38995 <SupportsConditionType as VisitMutWith<Self>>::visit_mut_children_with(node, self)
38996 }
38997 #[doc = "Visit a node of type `Vec < SupportsConditionType >`.\n\nBy default, this method \
38998 calls [`Vec < SupportsConditionType >::visit_mut_children_with`]. If you want to \
38999 recurse, you need to call it manually."]
39000 #[inline]
39001 fn visit_mut_supports_condition_types(&mut self, node: &mut Vec<SupportsConditionType>) {
39002 <Vec<SupportsConditionType> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39003 }
39004 #[doc = "Visit a node of type `SupportsFeature`.\n\nBy default, this method calls \
39005 [`SupportsFeature::visit_mut_children_with`]. If you want to recurse, you need to \
39006 call it manually."]
39007 #[inline]
39008 fn visit_mut_supports_feature(&mut self, node: &mut SupportsFeature) {
39009 <SupportsFeature as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39010 }
39011 #[doc = "Visit a node of type `SupportsInParens`.\n\nBy default, this method calls \
39012 [`SupportsInParens::visit_mut_children_with`]. If you want to recurse, you need to \
39013 call it manually."]
39014 #[inline]
39015 fn visit_mut_supports_in_parens(&mut self, node: &mut SupportsInParens) {
39016 <SupportsInParens as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39017 }
39018 #[doc = "Visit a node of type `SupportsNot`.\n\nBy default, this method calls \
39019 [`SupportsNot::visit_mut_children_with`]. If you want to recurse, you need to call it \
39020 manually."]
39021 #[inline]
39022 fn visit_mut_supports_not(&mut self, node: &mut SupportsNot) {
39023 <SupportsNot as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39024 }
39025 #[doc = "Visit a node of type `SupportsOr`.\n\nBy default, this method calls \
39026 [`SupportsOr::visit_mut_children_with`]. If you want to recurse, you need to call it \
39027 manually."]
39028 #[inline]
39029 fn visit_mut_supports_or(&mut self, node: &mut SupportsOr) {
39030 <SupportsOr as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39031 }
39032 #[doc = "Visit a node of type `TagNameSelector`.\n\nBy default, this method calls \
39033 [`TagNameSelector::visit_mut_children_with`]. If you want to recurse, you need to \
39034 call it manually."]
39035 #[inline]
39036 fn visit_mut_tag_name_selector(&mut self, node: &mut TagNameSelector) {
39037 <TagNameSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39038 }
39039 #[doc = "Visit a node of type `Time`.\n\nBy default, this method calls \
39040 [`Time::visit_mut_children_with`]. If you want to recurse, you need to call it \
39041 manually."]
39042 #[inline]
39043 fn visit_mut_time(&mut self, node: &mut Time) {
39044 <Time as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39045 }
39046 #[doc = "Visit a node of type `TimePercentage`.\n\nBy default, this method calls \
39047 [`TimePercentage::visit_mut_children_with`]. If you want to recurse, you need to call \
39048 it manually."]
39049 #[inline]
39050 fn visit_mut_time_percentage(&mut self, node: &mut TimePercentage) {
39051 <TimePercentage as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39052 }
39053 #[doc = "Visit a node of type `Token`.\n\nBy default, this method calls \
39054 [`Token::visit_mut_children_with`]. If you want to recurse, you need to call it \
39055 manually."]
39056 #[inline]
39057 fn visit_mut_token(&mut self, node: &mut Token) {
39058 <Token as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39059 }
39060 #[doc = "Visit a node of type `TokenAndSpan`.\n\nBy default, this method calls \
39061 [`TokenAndSpan::visit_mut_children_with`]. If you want to recurse, you need to call \
39062 it manually."]
39063 #[inline]
39064 fn visit_mut_token_and_span(&mut self, node: &mut TokenAndSpan) {
39065 <TokenAndSpan as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39066 }
39067 #[doc = "Visit a node of type `TypeSelector`.\n\nBy default, this method calls \
39068 [`TypeSelector::visit_mut_children_with`]. If you want to recurse, you need to call \
39069 it manually."]
39070 #[inline]
39071 fn visit_mut_type_selector(&mut self, node: &mut TypeSelector) {
39072 <TypeSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39073 }
39074 #[doc = "Visit a node of type `UnicodeRange`.\n\nBy default, this method calls \
39075 [`UnicodeRange::visit_mut_children_with`]. If you want to recurse, you need to call \
39076 it manually."]
39077 #[inline]
39078 fn visit_mut_unicode_range(&mut self, node: &mut UnicodeRange) {
39079 <UnicodeRange as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39080 }
39081 #[doc = "Visit a node of type `UniversalSelector`.\n\nBy default, this method calls \
39082 [`UniversalSelector::visit_mut_children_with`]. If you want to recurse, you need to \
39083 call it manually."]
39084 #[inline]
39085 fn visit_mut_universal_selector(&mut self, node: &mut UniversalSelector) {
39086 <UniversalSelector as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39087 }
39088 #[doc = "Visit a node of type `UnknownDimension`.\n\nBy default, this method calls \
39089 [`UnknownDimension::visit_mut_children_with`]. If you want to recurse, you need to \
39090 call it manually."]
39091 #[inline]
39092 fn visit_mut_unknown_dimension(&mut self, node: &mut UnknownDimension) {
39093 <UnknownDimension as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39094 }
39095 #[doc = "Visit a node of type `Url`.\n\nBy default, this method calls \
39096 [`Url::visit_mut_children_with`]. If you want to recurse, you need to call it \
39097 manually."]
39098 #[inline]
39099 fn visit_mut_url(&mut self, node: &mut Url) {
39100 <Url as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39101 }
39102 #[doc = "Visit a node of type `UrlKeyValue`.\n\nBy default, this method calls \
39103 [`UrlKeyValue::visit_mut_children_with`]. If you want to recurse, you need to call it \
39104 manually."]
39105 #[inline]
39106 fn visit_mut_url_key_value(&mut self, node: &mut UrlKeyValue) {
39107 <UrlKeyValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39108 }
39109 #[doc = "Visit a node of type `UrlModifier`.\n\nBy default, this method calls \
39110 [`UrlModifier::visit_mut_children_with`]. If you want to recurse, you need to call it \
39111 manually."]
39112 #[inline]
39113 fn visit_mut_url_modifier(&mut self, node: &mut UrlModifier) {
39114 <UrlModifier as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39115 }
39116 #[doc = "Visit a node of type `Vec < UrlModifier >`.\n\nBy default, this method calls [`Vec < \
39117 UrlModifier >::visit_mut_children_with`]. If you want to recurse, you need to call it \
39118 manually."]
39119 #[inline]
39120 fn visit_mut_url_modifiers(&mut self, node: &mut Vec<UrlModifier>) {
39121 <Vec<UrlModifier> as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39122 }
39123 #[doc = "Visit a node of type `UrlValue`.\n\nBy default, this method calls \
39124 [`UrlValue::visit_mut_children_with`]. If you want to recurse, you need to call it \
39125 manually."]
39126 #[inline]
39127 fn visit_mut_url_value(&mut self, node: &mut UrlValue) {
39128 <UrlValue as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39129 }
39130 #[doc = "Visit a node of type `UrlValueRaw`.\n\nBy default, this method calls \
39131 [`UrlValueRaw::visit_mut_children_with`]. If you want to recurse, you need to call it \
39132 manually."]
39133 #[inline]
39134 fn visit_mut_url_value_raw(&mut self, node: &mut UrlValueRaw) {
39135 <UrlValueRaw as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39136 }
39137 #[doc = "Visit a node of type `WqName`.\n\nBy default, this method calls \
39138 [`WqName::visit_mut_children_with`]. If you want to recurse, you need to call it \
39139 manually."]
39140 #[inline]
39141 fn visit_mut_wq_name(&mut self, node: &mut WqName) {
39142 <WqName as VisitMutWith<Self>>::visit_mut_children_with(node, self)
39143 }
39144}
39145impl<V> VisitMut for &mut V
39146where
39147 V: ?Sized + VisitMut,
39148{
39149 #[inline]
39150 fn visit_mut_absolute_color_base(&mut self, node: &mut AbsoluteColorBase) {
39151 <V as VisitMut>::visit_mut_absolute_color_base(&mut **self, node)
39152 }
39153
39154 #[inline]
39155 fn visit_mut_alpha_value(&mut self, node: &mut AlphaValue) {
39156 <V as VisitMut>::visit_mut_alpha_value(&mut **self, node)
39157 }
39158
39159 #[inline]
39160 fn visit_mut_an_plus_b(&mut self, node: &mut AnPlusB) {
39161 <V as VisitMut>::visit_mut_an_plus_b(&mut **self, node)
39162 }
39163
39164 #[inline]
39165 fn visit_mut_an_plus_b_notation(&mut self, node: &mut AnPlusBNotation) {
39166 <V as VisitMut>::visit_mut_an_plus_b_notation(&mut **self, node)
39167 }
39168
39169 #[inline]
39170 fn visit_mut_angle(&mut self, node: &mut Angle) {
39171 <V as VisitMut>::visit_mut_angle(&mut **self, node)
39172 }
39173
39174 #[inline]
39175 fn visit_mut_angle_percentage(&mut self, node: &mut AnglePercentage) {
39176 <V as VisitMut>::visit_mut_angle_percentage(&mut **self, node)
39177 }
39178
39179 #[inline]
39180 fn visit_mut_any_namespace(&mut self, node: &mut AnyNamespace) {
39181 <V as VisitMut>::visit_mut_any_namespace(&mut **self, node)
39182 }
39183
39184 #[inline]
39185 fn visit_mut_at_rule(&mut self, node: &mut AtRule) {
39186 <V as VisitMut>::visit_mut_at_rule(&mut **self, node)
39187 }
39188
39189 #[inline]
39190 fn visit_mut_at_rule_name(&mut self, node: &mut AtRuleName) {
39191 <V as VisitMut>::visit_mut_at_rule_name(&mut **self, node)
39192 }
39193
39194 #[inline]
39195 fn visit_mut_at_rule_prelude(&mut self, node: &mut AtRulePrelude) {
39196 <V as VisitMut>::visit_mut_at_rule_prelude(&mut **self, node)
39197 }
39198
39199 #[inline]
39200 fn visit_mut_atom(&mut self, node: &mut swc_atoms::Atom) {
39201 <V as VisitMut>::visit_mut_atom(&mut **self, node)
39202 }
39203
39204 #[inline]
39205 fn visit_mut_attribute_selector(&mut self, node: &mut AttributeSelector) {
39206 <V as VisitMut>::visit_mut_attribute_selector(&mut **self, node)
39207 }
39208
39209 #[inline]
39210 fn visit_mut_attribute_selector_matcher(&mut self, node: &mut AttributeSelectorMatcher) {
39211 <V as VisitMut>::visit_mut_attribute_selector_matcher(&mut **self, node)
39212 }
39213
39214 #[inline]
39215 fn visit_mut_attribute_selector_matcher_value(
39216 &mut self,
39217 node: &mut AttributeSelectorMatcherValue,
39218 ) {
39219 <V as VisitMut>::visit_mut_attribute_selector_matcher_value(&mut **self, node)
39220 }
39221
39222 #[inline]
39223 fn visit_mut_attribute_selector_modifier(&mut self, node: &mut AttributeSelectorModifier) {
39224 <V as VisitMut>::visit_mut_attribute_selector_modifier(&mut **self, node)
39225 }
39226
39227 #[inline]
39228 fn visit_mut_attribute_selector_value(&mut self, node: &mut AttributeSelectorValue) {
39229 <V as VisitMut>::visit_mut_attribute_selector_value(&mut **self, node)
39230 }
39231
39232 #[inline]
39233 fn visit_mut_bin_op(&mut self, node: &mut BinOp) {
39234 <V as VisitMut>::visit_mut_bin_op(&mut **self, node)
39235 }
39236
39237 #[inline]
39238 fn visit_mut_calc_operator(&mut self, node: &mut CalcOperator) {
39239 <V as VisitMut>::visit_mut_calc_operator(&mut **self, node)
39240 }
39241
39242 #[inline]
39243 fn visit_mut_calc_operator_type(&mut self, node: &mut CalcOperatorType) {
39244 <V as VisitMut>::visit_mut_calc_operator_type(&mut **self, node)
39245 }
39246
39247 #[inline]
39248 fn visit_mut_calc_product(&mut self, node: &mut CalcProduct) {
39249 <V as VisitMut>::visit_mut_calc_product(&mut **self, node)
39250 }
39251
39252 #[inline]
39253 fn visit_mut_calc_product_or_operator(&mut self, node: &mut CalcProductOrOperator) {
39254 <V as VisitMut>::visit_mut_calc_product_or_operator(&mut **self, node)
39255 }
39256
39257 #[inline]
39258 fn visit_mut_calc_product_or_operators(&mut self, node: &mut Vec<CalcProductOrOperator>) {
39259 <V as VisitMut>::visit_mut_calc_product_or_operators(&mut **self, node)
39260 }
39261
39262 #[inline]
39263 fn visit_mut_calc_sum(&mut self, node: &mut CalcSum) {
39264 <V as VisitMut>::visit_mut_calc_sum(&mut **self, node)
39265 }
39266
39267 #[inline]
39268 fn visit_mut_calc_value(&mut self, node: &mut CalcValue) {
39269 <V as VisitMut>::visit_mut_calc_value(&mut **self, node)
39270 }
39271
39272 #[inline]
39273 fn visit_mut_calc_value_or_operator(&mut self, node: &mut CalcValueOrOperator) {
39274 <V as VisitMut>::visit_mut_calc_value_or_operator(&mut **self, node)
39275 }
39276
39277 #[inline]
39278 fn visit_mut_calc_value_or_operators(&mut self, node: &mut Vec<CalcValueOrOperator>) {
39279 <V as VisitMut>::visit_mut_calc_value_or_operators(&mut **self, node)
39280 }
39281
39282 #[inline]
39283 fn visit_mut_class_selector(&mut self, node: &mut ClassSelector) {
39284 <V as VisitMut>::visit_mut_class_selector(&mut **self, node)
39285 }
39286
39287 #[inline]
39288 fn visit_mut_cmyk_component(&mut self, node: &mut CmykComponent) {
39289 <V as VisitMut>::visit_mut_cmyk_component(&mut **self, node)
39290 }
39291
39292 #[inline]
39293 fn visit_mut_color(&mut self, node: &mut Color) {
39294 <V as VisitMut>::visit_mut_color(&mut **self, node)
39295 }
39296
39297 #[inline]
39298 fn visit_mut_color_profile_name(&mut self, node: &mut ColorProfileName) {
39299 <V as VisitMut>::visit_mut_color_profile_name(&mut **self, node)
39300 }
39301
39302 #[inline]
39303 fn visit_mut_combinator(&mut self, node: &mut Combinator) {
39304 <V as VisitMut>::visit_mut_combinator(&mut **self, node)
39305 }
39306
39307 #[inline]
39308 fn visit_mut_combinator_value(&mut self, node: &mut CombinatorValue) {
39309 <V as VisitMut>::visit_mut_combinator_value(&mut **self, node)
39310 }
39311
39312 #[inline]
39313 fn visit_mut_complex_selector(&mut self, node: &mut ComplexSelector) {
39314 <V as VisitMut>::visit_mut_complex_selector(&mut **self, node)
39315 }
39316
39317 #[inline]
39318 fn visit_mut_complex_selector_children(&mut self, node: &mut ComplexSelectorChildren) {
39319 <V as VisitMut>::visit_mut_complex_selector_children(&mut **self, node)
39320 }
39321
39322 #[inline]
39323 fn visit_mut_complex_selector_childrens(&mut self, node: &mut Vec<ComplexSelectorChildren>) {
39324 <V as VisitMut>::visit_mut_complex_selector_childrens(&mut **self, node)
39325 }
39326
39327 #[inline]
39328 fn visit_mut_complex_selectors(&mut self, node: &mut Vec<ComplexSelector>) {
39329 <V as VisitMut>::visit_mut_complex_selectors(&mut **self, node)
39330 }
39331
39332 #[inline]
39333 fn visit_mut_component_value(&mut self, node: &mut ComponentValue) {
39334 <V as VisitMut>::visit_mut_component_value(&mut **self, node)
39335 }
39336
39337 #[inline]
39338 fn visit_mut_component_values(&mut self, node: &mut Vec<ComponentValue>) {
39339 <V as VisitMut>::visit_mut_component_values(&mut **self, node)
39340 }
39341
39342 #[inline]
39343 fn visit_mut_compound_selector(&mut self, node: &mut CompoundSelector) {
39344 <V as VisitMut>::visit_mut_compound_selector(&mut **self, node)
39345 }
39346
39347 #[inline]
39348 fn visit_mut_compound_selector_list(&mut self, node: &mut CompoundSelectorList) {
39349 <V as VisitMut>::visit_mut_compound_selector_list(&mut **self, node)
39350 }
39351
39352 #[inline]
39353 fn visit_mut_compound_selectors(&mut self, node: &mut Vec<CompoundSelector>) {
39354 <V as VisitMut>::visit_mut_compound_selectors(&mut **self, node)
39355 }
39356
39357 #[inline]
39358 fn visit_mut_container_condition(&mut self, node: &mut ContainerCondition) {
39359 <V as VisitMut>::visit_mut_container_condition(&mut **self, node)
39360 }
39361
39362 #[inline]
39363 fn visit_mut_container_name(&mut self, node: &mut ContainerName) {
39364 <V as VisitMut>::visit_mut_container_name(&mut **self, node)
39365 }
39366
39367 #[inline]
39368 fn visit_mut_container_query(&mut self, node: &mut ContainerQuery) {
39369 <V as VisitMut>::visit_mut_container_query(&mut **self, node)
39370 }
39371
39372 #[inline]
39373 fn visit_mut_container_query_and(&mut self, node: &mut ContainerQueryAnd) {
39374 <V as VisitMut>::visit_mut_container_query_and(&mut **self, node)
39375 }
39376
39377 #[inline]
39378 fn visit_mut_container_query_not(&mut self, node: &mut ContainerQueryNot) {
39379 <V as VisitMut>::visit_mut_container_query_not(&mut **self, node)
39380 }
39381
39382 #[inline]
39383 fn visit_mut_container_query_or(&mut self, node: &mut ContainerQueryOr) {
39384 <V as VisitMut>::visit_mut_container_query_or(&mut **self, node)
39385 }
39386
39387 #[inline]
39388 fn visit_mut_container_query_type(&mut self, node: &mut ContainerQueryType) {
39389 <V as VisitMut>::visit_mut_container_query_type(&mut **self, node)
39390 }
39391
39392 #[inline]
39393 fn visit_mut_container_query_types(&mut self, node: &mut Vec<ContainerQueryType>) {
39394 <V as VisitMut>::visit_mut_container_query_types(&mut **self, node)
39395 }
39396
39397 #[inline]
39398 fn visit_mut_custom_highlight_name(&mut self, node: &mut CustomHighlightName) {
39399 <V as VisitMut>::visit_mut_custom_highlight_name(&mut **self, node)
39400 }
39401
39402 #[inline]
39403 fn visit_mut_custom_ident(&mut self, node: &mut CustomIdent) {
39404 <V as VisitMut>::visit_mut_custom_ident(&mut **self, node)
39405 }
39406
39407 #[inline]
39408 fn visit_mut_custom_idents(&mut self, node: &mut Vec<CustomIdent>) {
39409 <V as VisitMut>::visit_mut_custom_idents(&mut **self, node)
39410 }
39411
39412 #[inline]
39413 fn visit_mut_custom_media_query(&mut self, node: &mut CustomMediaQuery) {
39414 <V as VisitMut>::visit_mut_custom_media_query(&mut **self, node)
39415 }
39416
39417 #[inline]
39418 fn visit_mut_custom_media_query_media_type(&mut self, node: &mut CustomMediaQueryMediaType) {
39419 <V as VisitMut>::visit_mut_custom_media_query_media_type(&mut **self, node)
39420 }
39421
39422 #[inline]
39423 fn visit_mut_custom_property_name(&mut self, node: &mut CustomPropertyName) {
39424 <V as VisitMut>::visit_mut_custom_property_name(&mut **self, node)
39425 }
39426
39427 #[inline]
39428 fn visit_mut_dashed_ident(&mut self, node: &mut DashedIdent) {
39429 <V as VisitMut>::visit_mut_dashed_ident(&mut **self, node)
39430 }
39431
39432 #[inline]
39433 fn visit_mut_declaration(&mut self, node: &mut Declaration) {
39434 <V as VisitMut>::visit_mut_declaration(&mut **self, node)
39435 }
39436
39437 #[inline]
39438 fn visit_mut_declaration_name(&mut self, node: &mut DeclarationName) {
39439 <V as VisitMut>::visit_mut_declaration_name(&mut **self, node)
39440 }
39441
39442 #[inline]
39443 fn visit_mut_declaration_or_at_rule(&mut self, node: &mut DeclarationOrAtRule) {
39444 <V as VisitMut>::visit_mut_declaration_or_at_rule(&mut **self, node)
39445 }
39446
39447 #[inline]
39448 fn visit_mut_delimiter(&mut self, node: &mut Delimiter) {
39449 <V as VisitMut>::visit_mut_delimiter(&mut **self, node)
39450 }
39451
39452 #[inline]
39453 fn visit_mut_delimiter_value(&mut self, node: &mut DelimiterValue) {
39454 <V as VisitMut>::visit_mut_delimiter_value(&mut **self, node)
39455 }
39456
39457 #[inline]
39458 fn visit_mut_dimension(&mut self, node: &mut Dimension) {
39459 <V as VisitMut>::visit_mut_dimension(&mut **self, node)
39460 }
39461
39462 #[inline]
39463 fn visit_mut_dimension_token(&mut self, node: &mut DimensionToken) {
39464 <V as VisitMut>::visit_mut_dimension_token(&mut **self, node)
39465 }
39466
39467 #[inline]
39468 fn visit_mut_document_prelude(&mut self, node: &mut DocumentPrelude) {
39469 <V as VisitMut>::visit_mut_document_prelude(&mut **self, node)
39470 }
39471
39472 #[inline]
39473 fn visit_mut_document_prelude_matching_function(
39474 &mut self,
39475 node: &mut DocumentPreludeMatchingFunction,
39476 ) {
39477 <V as VisitMut>::visit_mut_document_prelude_matching_function(&mut **self, node)
39478 }
39479
39480 #[inline]
39481 fn visit_mut_document_prelude_matching_functions(
39482 &mut self,
39483 node: &mut Vec<DocumentPreludeMatchingFunction>,
39484 ) {
39485 <V as VisitMut>::visit_mut_document_prelude_matching_functions(&mut **self, node)
39486 }
39487
39488 #[inline]
39489 fn visit_mut_extension_name(&mut self, node: &mut ExtensionName) {
39490 <V as VisitMut>::visit_mut_extension_name(&mut **self, node)
39491 }
39492
39493 #[inline]
39494 fn visit_mut_family_name(&mut self, node: &mut FamilyName) {
39495 <V as VisitMut>::visit_mut_family_name(&mut **self, node)
39496 }
39497
39498 #[inline]
39499 fn visit_mut_family_names(&mut self, node: &mut Vec<FamilyName>) {
39500 <V as VisitMut>::visit_mut_family_names(&mut **self, node)
39501 }
39502
39503 #[inline]
39504 fn visit_mut_flex(&mut self, node: &mut Flex) {
39505 <V as VisitMut>::visit_mut_flex(&mut **self, node)
39506 }
39507
39508 #[inline]
39509 fn visit_mut_font_feature_values_prelude(&mut self, node: &mut FontFeatureValuesPrelude) {
39510 <V as VisitMut>::visit_mut_font_feature_values_prelude(&mut **self, node)
39511 }
39512
39513 #[inline]
39514 fn visit_mut_forgiving_complex_selector(&mut self, node: &mut ForgivingComplexSelector) {
39515 <V as VisitMut>::visit_mut_forgiving_complex_selector(&mut **self, node)
39516 }
39517
39518 #[inline]
39519 fn visit_mut_forgiving_complex_selectors(&mut self, node: &mut Vec<ForgivingComplexSelector>) {
39520 <V as VisitMut>::visit_mut_forgiving_complex_selectors(&mut **self, node)
39521 }
39522
39523 #[inline]
39524 fn visit_mut_forgiving_relative_selector(&mut self, node: &mut ForgivingRelativeSelector) {
39525 <V as VisitMut>::visit_mut_forgiving_relative_selector(&mut **self, node)
39526 }
39527
39528 #[inline]
39529 fn visit_mut_forgiving_relative_selector_list(
39530 &mut self,
39531 node: &mut ForgivingRelativeSelectorList,
39532 ) {
39533 <V as VisitMut>::visit_mut_forgiving_relative_selector_list(&mut **self, node)
39534 }
39535
39536 #[inline]
39537 fn visit_mut_forgiving_relative_selectors(
39538 &mut self,
39539 node: &mut Vec<ForgivingRelativeSelector>,
39540 ) {
39541 <V as VisitMut>::visit_mut_forgiving_relative_selectors(&mut **self, node)
39542 }
39543
39544 #[inline]
39545 fn visit_mut_forgiving_selector_list(&mut self, node: &mut ForgivingSelectorList) {
39546 <V as VisitMut>::visit_mut_forgiving_selector_list(&mut **self, node)
39547 }
39548
39549 #[inline]
39550 fn visit_mut_frequency(&mut self, node: &mut Frequency) {
39551 <V as VisitMut>::visit_mut_frequency(&mut **self, node)
39552 }
39553
39554 #[inline]
39555 fn visit_mut_frequency_percentage(&mut self, node: &mut FrequencyPercentage) {
39556 <V as VisitMut>::visit_mut_frequency_percentage(&mut **self, node)
39557 }
39558
39559 #[inline]
39560 fn visit_mut_function(&mut self, node: &mut Function) {
39561 <V as VisitMut>::visit_mut_function(&mut **self, node)
39562 }
39563
39564 #[inline]
39565 fn visit_mut_function_name(&mut self, node: &mut FunctionName) {
39566 <V as VisitMut>::visit_mut_function_name(&mut **self, node)
39567 }
39568
39569 #[inline]
39570 fn visit_mut_general_enclosed(&mut self, node: &mut GeneralEnclosed) {
39571 <V as VisitMut>::visit_mut_general_enclosed(&mut **self, node)
39572 }
39573
39574 #[inline]
39575 fn visit_mut_hex_color(&mut self, node: &mut HexColor) {
39576 <V as VisitMut>::visit_mut_hex_color(&mut **self, node)
39577 }
39578
39579 #[inline]
39580 fn visit_mut_hue(&mut self, node: &mut Hue) {
39581 <V as VisitMut>::visit_mut_hue(&mut **self, node)
39582 }
39583
39584 #[inline]
39585 fn visit_mut_id_selector(&mut self, node: &mut IdSelector) {
39586 <V as VisitMut>::visit_mut_id_selector(&mut **self, node)
39587 }
39588
39589 #[inline]
39590 fn visit_mut_ident(&mut self, node: &mut Ident) {
39591 <V as VisitMut>::visit_mut_ident(&mut **self, node)
39592 }
39593
39594 #[inline]
39595 fn visit_mut_idents(&mut self, node: &mut Vec<Ident>) {
39596 <V as VisitMut>::visit_mut_idents(&mut **self, node)
39597 }
39598
39599 #[inline]
39600 fn visit_mut_import_conditions(&mut self, node: &mut ImportConditions) {
39601 <V as VisitMut>::visit_mut_import_conditions(&mut **self, node)
39602 }
39603
39604 #[inline]
39605 fn visit_mut_import_href(&mut self, node: &mut ImportHref) {
39606 <V as VisitMut>::visit_mut_import_href(&mut **self, node)
39607 }
39608
39609 #[inline]
39610 fn visit_mut_import_layer_name(&mut self, node: &mut ImportLayerName) {
39611 <V as VisitMut>::visit_mut_import_layer_name(&mut **self, node)
39612 }
39613
39614 #[inline]
39615 fn visit_mut_import_prelude(&mut self, node: &mut ImportPrelude) {
39616 <V as VisitMut>::visit_mut_import_prelude(&mut **self, node)
39617 }
39618
39619 #[inline]
39620 fn visit_mut_important_flag(&mut self, node: &mut ImportantFlag) {
39621 <V as VisitMut>::visit_mut_important_flag(&mut **self, node)
39622 }
39623
39624 #[inline]
39625 fn visit_mut_integer(&mut self, node: &mut Integer) {
39626 <V as VisitMut>::visit_mut_integer(&mut **self, node)
39627 }
39628
39629 #[inline]
39630 fn visit_mut_keyframe_block(&mut self, node: &mut KeyframeBlock) {
39631 <V as VisitMut>::visit_mut_keyframe_block(&mut **self, node)
39632 }
39633
39634 #[inline]
39635 fn visit_mut_keyframe_selector(&mut self, node: &mut KeyframeSelector) {
39636 <V as VisitMut>::visit_mut_keyframe_selector(&mut **self, node)
39637 }
39638
39639 #[inline]
39640 fn visit_mut_keyframe_selectors(&mut self, node: &mut Vec<KeyframeSelector>) {
39641 <V as VisitMut>::visit_mut_keyframe_selectors(&mut **self, node)
39642 }
39643
39644 #[inline]
39645 fn visit_mut_keyframes_name(&mut self, node: &mut KeyframesName) {
39646 <V as VisitMut>::visit_mut_keyframes_name(&mut **self, node)
39647 }
39648
39649 #[inline]
39650 fn visit_mut_keyframes_pseudo_function(&mut self, node: &mut KeyframesPseudoFunction) {
39651 <V as VisitMut>::visit_mut_keyframes_pseudo_function(&mut **self, node)
39652 }
39653
39654 #[inline]
39655 fn visit_mut_keyframes_pseudo_prefix(&mut self, node: &mut KeyframesPseudoPrefix) {
39656 <V as VisitMut>::visit_mut_keyframes_pseudo_prefix(&mut **self, node)
39657 }
39658
39659 #[inline]
39660 fn visit_mut_layer_name(&mut self, node: &mut LayerName) {
39661 <V as VisitMut>::visit_mut_layer_name(&mut **self, node)
39662 }
39663
39664 #[inline]
39665 fn visit_mut_layer_name_list(&mut self, node: &mut LayerNameList) {
39666 <V as VisitMut>::visit_mut_layer_name_list(&mut **self, node)
39667 }
39668
39669 #[inline]
39670 fn visit_mut_layer_names(&mut self, node: &mut Vec<LayerName>) {
39671 <V as VisitMut>::visit_mut_layer_names(&mut **self, node)
39672 }
39673
39674 #[inline]
39675 fn visit_mut_layer_prelude(&mut self, node: &mut LayerPrelude) {
39676 <V as VisitMut>::visit_mut_layer_prelude(&mut **self, node)
39677 }
39678
39679 #[inline]
39680 fn visit_mut_length(&mut self, node: &mut Length) {
39681 <V as VisitMut>::visit_mut_length(&mut **self, node)
39682 }
39683
39684 #[inline]
39685 fn visit_mut_length_percentage(&mut self, node: &mut LengthPercentage) {
39686 <V as VisitMut>::visit_mut_length_percentage(&mut **self, node)
39687 }
39688
39689 #[inline]
39690 fn visit_mut_list_of_component_values(&mut self, node: &mut ListOfComponentValues) {
39691 <V as VisitMut>::visit_mut_list_of_component_values(&mut **self, node)
39692 }
39693
39694 #[inline]
39695 fn visit_mut_media_and(&mut self, node: &mut MediaAnd) {
39696 <V as VisitMut>::visit_mut_media_and(&mut **self, node)
39697 }
39698
39699 #[inline]
39700 fn visit_mut_media_condition(&mut self, node: &mut MediaCondition) {
39701 <V as VisitMut>::visit_mut_media_condition(&mut **self, node)
39702 }
39703
39704 #[inline]
39705 fn visit_mut_media_condition_all_type(&mut self, node: &mut MediaConditionAllType) {
39706 <V as VisitMut>::visit_mut_media_condition_all_type(&mut **self, node)
39707 }
39708
39709 #[inline]
39710 fn visit_mut_media_condition_all_types(&mut self, node: &mut Vec<MediaConditionAllType>) {
39711 <V as VisitMut>::visit_mut_media_condition_all_types(&mut **self, node)
39712 }
39713
39714 #[inline]
39715 fn visit_mut_media_condition_type(&mut self, node: &mut MediaConditionType) {
39716 <V as VisitMut>::visit_mut_media_condition_type(&mut **self, node)
39717 }
39718
39719 #[inline]
39720 fn visit_mut_media_condition_without_or(&mut self, node: &mut MediaConditionWithoutOr) {
39721 <V as VisitMut>::visit_mut_media_condition_without_or(&mut **self, node)
39722 }
39723
39724 #[inline]
39725 fn visit_mut_media_condition_without_or_type(
39726 &mut self,
39727 node: &mut MediaConditionWithoutOrType,
39728 ) {
39729 <V as VisitMut>::visit_mut_media_condition_without_or_type(&mut **self, node)
39730 }
39731
39732 #[inline]
39733 fn visit_mut_media_condition_without_or_types(
39734 &mut self,
39735 node: &mut Vec<MediaConditionWithoutOrType>,
39736 ) {
39737 <V as VisitMut>::visit_mut_media_condition_without_or_types(&mut **self, node)
39738 }
39739
39740 #[inline]
39741 fn visit_mut_media_feature(&mut self, node: &mut MediaFeature) {
39742 <V as VisitMut>::visit_mut_media_feature(&mut **self, node)
39743 }
39744
39745 #[inline]
39746 fn visit_mut_media_feature_boolean(&mut self, node: &mut MediaFeatureBoolean) {
39747 <V as VisitMut>::visit_mut_media_feature_boolean(&mut **self, node)
39748 }
39749
39750 #[inline]
39751 fn visit_mut_media_feature_name(&mut self, node: &mut MediaFeatureName) {
39752 <V as VisitMut>::visit_mut_media_feature_name(&mut **self, node)
39753 }
39754
39755 #[inline]
39756 fn visit_mut_media_feature_plain(&mut self, node: &mut MediaFeaturePlain) {
39757 <V as VisitMut>::visit_mut_media_feature_plain(&mut **self, node)
39758 }
39759
39760 #[inline]
39761 fn visit_mut_media_feature_range(&mut self, node: &mut MediaFeatureRange) {
39762 <V as VisitMut>::visit_mut_media_feature_range(&mut **self, node)
39763 }
39764
39765 #[inline]
39766 fn visit_mut_media_feature_range_comparison(&mut self, node: &mut MediaFeatureRangeComparison) {
39767 <V as VisitMut>::visit_mut_media_feature_range_comparison(&mut **self, node)
39768 }
39769
39770 #[inline]
39771 fn visit_mut_media_feature_range_interval(&mut self, node: &mut MediaFeatureRangeInterval) {
39772 <V as VisitMut>::visit_mut_media_feature_range_interval(&mut **self, node)
39773 }
39774
39775 #[inline]
39776 fn visit_mut_media_feature_value(&mut self, node: &mut MediaFeatureValue) {
39777 <V as VisitMut>::visit_mut_media_feature_value(&mut **self, node)
39778 }
39779
39780 #[inline]
39781 fn visit_mut_media_in_parens(&mut self, node: &mut MediaInParens) {
39782 <V as VisitMut>::visit_mut_media_in_parens(&mut **self, node)
39783 }
39784
39785 #[inline]
39786 fn visit_mut_media_not(&mut self, node: &mut MediaNot) {
39787 <V as VisitMut>::visit_mut_media_not(&mut **self, node)
39788 }
39789
39790 #[inline]
39791 fn visit_mut_media_or(&mut self, node: &mut MediaOr) {
39792 <V as VisitMut>::visit_mut_media_or(&mut **self, node)
39793 }
39794
39795 #[inline]
39796 fn visit_mut_media_query(&mut self, node: &mut MediaQuery) {
39797 <V as VisitMut>::visit_mut_media_query(&mut **self, node)
39798 }
39799
39800 #[inline]
39801 fn visit_mut_media_query_list(&mut self, node: &mut MediaQueryList) {
39802 <V as VisitMut>::visit_mut_media_query_list(&mut **self, node)
39803 }
39804
39805 #[inline]
39806 fn visit_mut_media_querys(&mut self, node: &mut Vec<MediaQuery>) {
39807 <V as VisitMut>::visit_mut_media_querys(&mut **self, node)
39808 }
39809
39810 #[inline]
39811 fn visit_mut_media_type(&mut self, node: &mut MediaType) {
39812 <V as VisitMut>::visit_mut_media_type(&mut **self, node)
39813 }
39814
39815 #[inline]
39816 fn visit_mut_named_namespace(&mut self, node: &mut NamedNamespace) {
39817 <V as VisitMut>::visit_mut_named_namespace(&mut **self, node)
39818 }
39819
39820 #[inline]
39821 fn visit_mut_namespace(&mut self, node: &mut Namespace) {
39822 <V as VisitMut>::visit_mut_namespace(&mut **self, node)
39823 }
39824
39825 #[inline]
39826 fn visit_mut_namespace_prefix(&mut self, node: &mut NamespacePrefix) {
39827 <V as VisitMut>::visit_mut_namespace_prefix(&mut **self, node)
39828 }
39829
39830 #[inline]
39831 fn visit_mut_namespace_prelude(&mut self, node: &mut NamespacePrelude) {
39832 <V as VisitMut>::visit_mut_namespace_prelude(&mut **self, node)
39833 }
39834
39835 #[inline]
39836 fn visit_mut_namespace_prelude_uri(&mut self, node: &mut NamespacePreludeUri) {
39837 <V as VisitMut>::visit_mut_namespace_prelude_uri(&mut **self, node)
39838 }
39839
39840 #[inline]
39841 fn visit_mut_nesting_selector(&mut self, node: &mut NestingSelector) {
39842 <V as VisitMut>::visit_mut_nesting_selector(&mut **self, node)
39843 }
39844
39845 #[inline]
39846 fn visit_mut_number(&mut self, node: &mut Number) {
39847 <V as VisitMut>::visit_mut_number(&mut **self, node)
39848 }
39849
39850 #[inline]
39851 fn visit_mut_number_type(&mut self, node: &mut NumberType) {
39852 <V as VisitMut>::visit_mut_number_type(&mut **self, node)
39853 }
39854
39855 #[inline]
39856 fn visit_mut_opt_at_rule_prelude(&mut self, node: &mut Option<Box<AtRulePrelude>>) {
39857 <V as VisitMut>::visit_mut_opt_at_rule_prelude(&mut **self, node)
39858 }
39859
39860 #[inline]
39861 fn visit_mut_opt_atom(&mut self, node: &mut Option<swc_atoms::Atom>) {
39862 <V as VisitMut>::visit_mut_opt_atom(&mut **self, node)
39863 }
39864
39865 #[inline]
39866 fn visit_mut_opt_attribute_selector_matcher(
39867 &mut self,
39868 node: &mut Option<AttributeSelectorMatcher>,
39869 ) {
39870 <V as VisitMut>::visit_mut_opt_attribute_selector_matcher(&mut **self, node)
39871 }
39872
39873 #[inline]
39874 fn visit_mut_opt_attribute_selector_modifier(
39875 &mut self,
39876 node: &mut Option<AttributeSelectorModifier>,
39877 ) {
39878 <V as VisitMut>::visit_mut_opt_attribute_selector_modifier(&mut **self, node)
39879 }
39880
39881 #[inline]
39882 fn visit_mut_opt_attribute_selector_value(
39883 &mut self,
39884 node: &mut Option<AttributeSelectorValue>,
39885 ) {
39886 <V as VisitMut>::visit_mut_opt_attribute_selector_value(&mut **self, node)
39887 }
39888
39889 #[inline]
39890 fn visit_mut_opt_combinator(&mut self, node: &mut Option<Combinator>) {
39891 <V as VisitMut>::visit_mut_opt_combinator(&mut **self, node)
39892 }
39893
39894 #[inline]
39895 fn visit_mut_opt_container_name(&mut self, node: &mut Option<ContainerName>) {
39896 <V as VisitMut>::visit_mut_opt_container_name(&mut **self, node)
39897 }
39898
39899 #[inline]
39900 fn visit_mut_opt_forgiving_selector_list(&mut self, node: &mut Option<ForgivingSelectorList>) {
39901 <V as VisitMut>::visit_mut_opt_forgiving_selector_list(&mut **self, node)
39902 }
39903
39904 #[inline]
39905 fn visit_mut_opt_function(&mut self, node: &mut Option<Box<Function>>) {
39906 <V as VisitMut>::visit_mut_opt_function(&mut **self, node)
39907 }
39908
39909 #[inline]
39910 fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>) {
39911 <V as VisitMut>::visit_mut_opt_ident(&mut **self, node)
39912 }
39913
39914 #[inline]
39915 fn visit_mut_opt_import_conditions(&mut self, node: &mut Option<Box<ImportConditions>>) {
39916 <V as VisitMut>::visit_mut_opt_import_conditions(&mut **self, node)
39917 }
39918
39919 #[inline]
39920 fn visit_mut_opt_import_layer_name(&mut self, node: &mut Option<Box<ImportLayerName>>) {
39921 <V as VisitMut>::visit_mut_opt_import_layer_name(&mut **self, node)
39922 }
39923
39924 #[inline]
39925 fn visit_mut_opt_important_flag(&mut self, node: &mut Option<ImportantFlag>) {
39926 <V as VisitMut>::visit_mut_opt_important_flag(&mut **self, node)
39927 }
39928
39929 #[inline]
39930 fn visit_mut_opt_media_condition_type(&mut self, node: &mut Option<Box<MediaConditionType>>) {
39931 <V as VisitMut>::visit_mut_opt_media_condition_type(&mut **self, node)
39932 }
39933
39934 #[inline]
39935 fn visit_mut_opt_media_query_list(&mut self, node: &mut Option<Box<MediaQueryList>>) {
39936 <V as VisitMut>::visit_mut_opt_media_query_list(&mut **self, node)
39937 }
39938
39939 #[inline]
39940 fn visit_mut_opt_media_type(&mut self, node: &mut Option<MediaType>) {
39941 <V as VisitMut>::visit_mut_opt_media_type(&mut **self, node)
39942 }
39943
39944 #[inline]
39945 fn visit_mut_opt_namespace(&mut self, node: &mut Option<Namespace>) {
39946 <V as VisitMut>::visit_mut_opt_namespace(&mut **self, node)
39947 }
39948
39949 #[inline]
39950 fn visit_mut_opt_namespace_prefix(&mut self, node: &mut Option<NamespacePrefix>) {
39951 <V as VisitMut>::visit_mut_opt_namespace_prefix(&mut **self, node)
39952 }
39953
39954 #[inline]
39955 fn visit_mut_opt_nesting_selector(&mut self, node: &mut Option<NestingSelector>) {
39956 <V as VisitMut>::visit_mut_opt_nesting_selector(&mut **self, node)
39957 }
39958
39959 #[inline]
39960 fn visit_mut_opt_number(&mut self, node: &mut Option<Number>) {
39961 <V as VisitMut>::visit_mut_opt_number(&mut **self, node)
39962 }
39963
39964 #[inline]
39965 fn visit_mut_opt_page_selector_pseudos(&mut self, node: &mut Option<Vec<PageSelectorPseudo>>) {
39966 <V as VisitMut>::visit_mut_opt_page_selector_pseudos(&mut **self, node)
39967 }
39968
39969 #[inline]
39970 fn visit_mut_opt_page_selector_type(&mut self, node: &mut Option<PageSelectorType>) {
39971 <V as VisitMut>::visit_mut_opt_page_selector_type(&mut **self, node)
39972 }
39973
39974 #[inline]
39975 fn visit_mut_opt_pseudo_class_selector_childrens(
39976 &mut self,
39977 node: &mut Option<Vec<PseudoClassSelectorChildren>>,
39978 ) {
39979 <V as VisitMut>::visit_mut_opt_pseudo_class_selector_childrens(&mut **self, node)
39980 }
39981
39982 #[inline]
39983 fn visit_mut_opt_pseudo_element_selector_childrens(
39984 &mut self,
39985 node: &mut Option<Vec<PseudoElementSelectorChildren>>,
39986 ) {
39987 <V as VisitMut>::visit_mut_opt_pseudo_element_selector_childrens(&mut **self, node)
39988 }
39989
39990 #[inline]
39991 fn visit_mut_opt_simple_block(&mut self, node: &mut Option<SimpleBlock>) {
39992 <V as VisitMut>::visit_mut_opt_simple_block(&mut **self, node)
39993 }
39994
39995 #[inline]
39996 fn visit_mut_opt_type_selector(&mut self, node: &mut Option<Box<TypeSelector>>) {
39997 <V as VisitMut>::visit_mut_opt_type_selector(&mut **self, node)
39998 }
39999
40000 #[inline]
40001 fn visit_mut_opt_url_modifiers(&mut self, node: &mut Option<Vec<UrlModifier>>) {
40002 <V as VisitMut>::visit_mut_opt_url_modifiers(&mut **self, node)
40003 }
40004
40005 #[inline]
40006 fn visit_mut_opt_url_value(&mut self, node: &mut Option<Box<UrlValue>>) {
40007 <V as VisitMut>::visit_mut_opt_url_value(&mut **self, node)
40008 }
40009
40010 #[inline]
40011 fn visit_mut_page_selector(&mut self, node: &mut PageSelector) {
40012 <V as VisitMut>::visit_mut_page_selector(&mut **self, node)
40013 }
40014
40015 #[inline]
40016 fn visit_mut_page_selector_list(&mut self, node: &mut PageSelectorList) {
40017 <V as VisitMut>::visit_mut_page_selector_list(&mut **self, node)
40018 }
40019
40020 #[inline]
40021 fn visit_mut_page_selector_pseudo(&mut self, node: &mut PageSelectorPseudo) {
40022 <V as VisitMut>::visit_mut_page_selector_pseudo(&mut **self, node)
40023 }
40024
40025 #[inline]
40026 fn visit_mut_page_selector_pseudos(&mut self, node: &mut Vec<PageSelectorPseudo>) {
40027 <V as VisitMut>::visit_mut_page_selector_pseudos(&mut **self, node)
40028 }
40029
40030 #[inline]
40031 fn visit_mut_page_selector_type(&mut self, node: &mut PageSelectorType) {
40032 <V as VisitMut>::visit_mut_page_selector_type(&mut **self, node)
40033 }
40034
40035 #[inline]
40036 fn visit_mut_page_selectors(&mut self, node: &mut Vec<PageSelector>) {
40037 <V as VisitMut>::visit_mut_page_selectors(&mut **self, node)
40038 }
40039
40040 #[inline]
40041 fn visit_mut_percentage(&mut self, node: &mut Percentage) {
40042 <V as VisitMut>::visit_mut_percentage(&mut **self, node)
40043 }
40044
40045 #[inline]
40046 fn visit_mut_pseudo_class_selector(&mut self, node: &mut PseudoClassSelector) {
40047 <V as VisitMut>::visit_mut_pseudo_class_selector(&mut **self, node)
40048 }
40049
40050 #[inline]
40051 fn visit_mut_pseudo_class_selector_children(&mut self, node: &mut PseudoClassSelectorChildren) {
40052 <V as VisitMut>::visit_mut_pseudo_class_selector_children(&mut **self, node)
40053 }
40054
40055 #[inline]
40056 fn visit_mut_pseudo_class_selector_childrens(
40057 &mut self,
40058 node: &mut Vec<PseudoClassSelectorChildren>,
40059 ) {
40060 <V as VisitMut>::visit_mut_pseudo_class_selector_childrens(&mut **self, node)
40061 }
40062
40063 #[inline]
40064 fn visit_mut_pseudo_element_selector(&mut self, node: &mut PseudoElementSelector) {
40065 <V as VisitMut>::visit_mut_pseudo_element_selector(&mut **self, node)
40066 }
40067
40068 #[inline]
40069 fn visit_mut_pseudo_element_selector_children(
40070 &mut self,
40071 node: &mut PseudoElementSelectorChildren,
40072 ) {
40073 <V as VisitMut>::visit_mut_pseudo_element_selector_children(&mut **self, node)
40074 }
40075
40076 #[inline]
40077 fn visit_mut_pseudo_element_selector_childrens(
40078 &mut self,
40079 node: &mut Vec<PseudoElementSelectorChildren>,
40080 ) {
40081 <V as VisitMut>::visit_mut_pseudo_element_selector_childrens(&mut **self, node)
40082 }
40083
40084 #[inline]
40085 fn visit_mut_qualified_rule(&mut self, node: &mut QualifiedRule) {
40086 <V as VisitMut>::visit_mut_qualified_rule(&mut **self, node)
40087 }
40088
40089 #[inline]
40090 fn visit_mut_qualified_rule_prelude(&mut self, node: &mut QualifiedRulePrelude) {
40091 <V as VisitMut>::visit_mut_qualified_rule_prelude(&mut **self, node)
40092 }
40093
40094 #[inline]
40095 fn visit_mut_query_in_parens(&mut self, node: &mut QueryInParens) {
40096 <V as VisitMut>::visit_mut_query_in_parens(&mut **self, node)
40097 }
40098
40099 #[inline]
40100 fn visit_mut_ratio(&mut self, node: &mut Ratio) {
40101 <V as VisitMut>::visit_mut_ratio(&mut **self, node)
40102 }
40103
40104 #[inline]
40105 fn visit_mut_relative_selector(&mut self, node: &mut RelativeSelector) {
40106 <V as VisitMut>::visit_mut_relative_selector(&mut **self, node)
40107 }
40108
40109 #[inline]
40110 fn visit_mut_relative_selector_list(&mut self, node: &mut RelativeSelectorList) {
40111 <V as VisitMut>::visit_mut_relative_selector_list(&mut **self, node)
40112 }
40113
40114 #[inline]
40115 fn visit_mut_relative_selectors(&mut self, node: &mut Vec<RelativeSelector>) {
40116 <V as VisitMut>::visit_mut_relative_selectors(&mut **self, node)
40117 }
40118
40119 #[inline]
40120 fn visit_mut_resolution(&mut self, node: &mut Resolution) {
40121 <V as VisitMut>::visit_mut_resolution(&mut **self, node)
40122 }
40123
40124 #[inline]
40125 fn visit_mut_rule(&mut self, node: &mut Rule) {
40126 <V as VisitMut>::visit_mut_rule(&mut **self, node)
40127 }
40128
40129 #[inline]
40130 fn visit_mut_rules(&mut self, node: &mut Vec<Rule>) {
40131 <V as VisitMut>::visit_mut_rules(&mut **self, node)
40132 }
40133
40134 #[inline]
40135 fn visit_mut_scope_range(&mut self, node: &mut ScopeRange) {
40136 <V as VisitMut>::visit_mut_scope_range(&mut **self, node)
40137 }
40138
40139 #[inline]
40140 fn visit_mut_selector_list(&mut self, node: &mut SelectorList) {
40141 <V as VisitMut>::visit_mut_selector_list(&mut **self, node)
40142 }
40143
40144 #[inline]
40145 fn visit_mut_sequence_of_custom_idents(&mut self, node: &mut SequenceOfCustomIdents) {
40146 <V as VisitMut>::visit_mut_sequence_of_custom_idents(&mut **self, node)
40147 }
40148
40149 #[inline]
40150 fn visit_mut_simple_block(&mut self, node: &mut SimpleBlock) {
40151 <V as VisitMut>::visit_mut_simple_block(&mut **self, node)
40152 }
40153
40154 #[inline]
40155 fn visit_mut_size_feature(&mut self, node: &mut SizeFeature) {
40156 <V as VisitMut>::visit_mut_size_feature(&mut **self, node)
40157 }
40158
40159 #[inline]
40160 fn visit_mut_size_feature_boolean(&mut self, node: &mut SizeFeatureBoolean) {
40161 <V as VisitMut>::visit_mut_size_feature_boolean(&mut **self, node)
40162 }
40163
40164 #[inline]
40165 fn visit_mut_size_feature_name(&mut self, node: &mut SizeFeatureName) {
40166 <V as VisitMut>::visit_mut_size_feature_name(&mut **self, node)
40167 }
40168
40169 #[inline]
40170 fn visit_mut_size_feature_plain(&mut self, node: &mut SizeFeaturePlain) {
40171 <V as VisitMut>::visit_mut_size_feature_plain(&mut **self, node)
40172 }
40173
40174 #[inline]
40175 fn visit_mut_size_feature_range(&mut self, node: &mut SizeFeatureRange) {
40176 <V as VisitMut>::visit_mut_size_feature_range(&mut **self, node)
40177 }
40178
40179 #[inline]
40180 fn visit_mut_size_feature_range_comparison(&mut self, node: &mut SizeFeatureRangeComparison) {
40181 <V as VisitMut>::visit_mut_size_feature_range_comparison(&mut **self, node)
40182 }
40183
40184 #[inline]
40185 fn visit_mut_size_feature_range_interval(&mut self, node: &mut SizeFeatureRangeInterval) {
40186 <V as VisitMut>::visit_mut_size_feature_range_interval(&mut **self, node)
40187 }
40188
40189 #[inline]
40190 fn visit_mut_size_feature_value(&mut self, node: &mut SizeFeatureValue) {
40191 <V as VisitMut>::visit_mut_size_feature_value(&mut **self, node)
40192 }
40193
40194 #[inline]
40195 fn visit_mut_span(&mut self, node: &mut swc_common::Span) {
40196 <V as VisitMut>::visit_mut_span(&mut **self, node)
40197 }
40198
40199 #[inline]
40200 fn visit_mut_str(&mut self, node: &mut Str) {
40201 <V as VisitMut>::visit_mut_str(&mut **self, node)
40202 }
40203
40204 #[inline]
40205 fn visit_mut_style_block(&mut self, node: &mut StyleBlock) {
40206 <V as VisitMut>::visit_mut_style_block(&mut **self, node)
40207 }
40208
40209 #[inline]
40210 fn visit_mut_stylesheet(&mut self, node: &mut Stylesheet) {
40211 <V as VisitMut>::visit_mut_stylesheet(&mut **self, node)
40212 }
40213
40214 #[inline]
40215 fn visit_mut_subclass_selector(&mut self, node: &mut SubclassSelector) {
40216 <V as VisitMut>::visit_mut_subclass_selector(&mut **self, node)
40217 }
40218
40219 #[inline]
40220 fn visit_mut_subclass_selectors(&mut self, node: &mut Vec<SubclassSelector>) {
40221 <V as VisitMut>::visit_mut_subclass_selectors(&mut **self, node)
40222 }
40223
40224 #[inline]
40225 fn visit_mut_supports_and(&mut self, node: &mut SupportsAnd) {
40226 <V as VisitMut>::visit_mut_supports_and(&mut **self, node)
40227 }
40228
40229 #[inline]
40230 fn visit_mut_supports_condition(&mut self, node: &mut SupportsCondition) {
40231 <V as VisitMut>::visit_mut_supports_condition(&mut **self, node)
40232 }
40233
40234 #[inline]
40235 fn visit_mut_supports_condition_type(&mut self, node: &mut SupportsConditionType) {
40236 <V as VisitMut>::visit_mut_supports_condition_type(&mut **self, node)
40237 }
40238
40239 #[inline]
40240 fn visit_mut_supports_condition_types(&mut self, node: &mut Vec<SupportsConditionType>) {
40241 <V as VisitMut>::visit_mut_supports_condition_types(&mut **self, node)
40242 }
40243
40244 #[inline]
40245 fn visit_mut_supports_feature(&mut self, node: &mut SupportsFeature) {
40246 <V as VisitMut>::visit_mut_supports_feature(&mut **self, node)
40247 }
40248
40249 #[inline]
40250 fn visit_mut_supports_in_parens(&mut self, node: &mut SupportsInParens) {
40251 <V as VisitMut>::visit_mut_supports_in_parens(&mut **self, node)
40252 }
40253
40254 #[inline]
40255 fn visit_mut_supports_not(&mut self, node: &mut SupportsNot) {
40256 <V as VisitMut>::visit_mut_supports_not(&mut **self, node)
40257 }
40258
40259 #[inline]
40260 fn visit_mut_supports_or(&mut self, node: &mut SupportsOr) {
40261 <V as VisitMut>::visit_mut_supports_or(&mut **self, node)
40262 }
40263
40264 #[inline]
40265 fn visit_mut_tag_name_selector(&mut self, node: &mut TagNameSelector) {
40266 <V as VisitMut>::visit_mut_tag_name_selector(&mut **self, node)
40267 }
40268
40269 #[inline]
40270 fn visit_mut_time(&mut self, node: &mut Time) {
40271 <V as VisitMut>::visit_mut_time(&mut **self, node)
40272 }
40273
40274 #[inline]
40275 fn visit_mut_time_percentage(&mut self, node: &mut TimePercentage) {
40276 <V as VisitMut>::visit_mut_time_percentage(&mut **self, node)
40277 }
40278
40279 #[inline]
40280 fn visit_mut_token(&mut self, node: &mut Token) {
40281 <V as VisitMut>::visit_mut_token(&mut **self, node)
40282 }
40283
40284 #[inline]
40285 fn visit_mut_token_and_span(&mut self, node: &mut TokenAndSpan) {
40286 <V as VisitMut>::visit_mut_token_and_span(&mut **self, node)
40287 }
40288
40289 #[inline]
40290 fn visit_mut_type_selector(&mut self, node: &mut TypeSelector) {
40291 <V as VisitMut>::visit_mut_type_selector(&mut **self, node)
40292 }
40293
40294 #[inline]
40295 fn visit_mut_unicode_range(&mut self, node: &mut UnicodeRange) {
40296 <V as VisitMut>::visit_mut_unicode_range(&mut **self, node)
40297 }
40298
40299 #[inline]
40300 fn visit_mut_universal_selector(&mut self, node: &mut UniversalSelector) {
40301 <V as VisitMut>::visit_mut_universal_selector(&mut **self, node)
40302 }
40303
40304 #[inline]
40305 fn visit_mut_unknown_dimension(&mut self, node: &mut UnknownDimension) {
40306 <V as VisitMut>::visit_mut_unknown_dimension(&mut **self, node)
40307 }
40308
40309 #[inline]
40310 fn visit_mut_url(&mut self, node: &mut Url) {
40311 <V as VisitMut>::visit_mut_url(&mut **self, node)
40312 }
40313
40314 #[inline]
40315 fn visit_mut_url_key_value(&mut self, node: &mut UrlKeyValue) {
40316 <V as VisitMut>::visit_mut_url_key_value(&mut **self, node)
40317 }
40318
40319 #[inline]
40320 fn visit_mut_url_modifier(&mut self, node: &mut UrlModifier) {
40321 <V as VisitMut>::visit_mut_url_modifier(&mut **self, node)
40322 }
40323
40324 #[inline]
40325 fn visit_mut_url_modifiers(&mut self, node: &mut Vec<UrlModifier>) {
40326 <V as VisitMut>::visit_mut_url_modifiers(&mut **self, node)
40327 }
40328
40329 #[inline]
40330 fn visit_mut_url_value(&mut self, node: &mut UrlValue) {
40331 <V as VisitMut>::visit_mut_url_value(&mut **self, node)
40332 }
40333
40334 #[inline]
40335 fn visit_mut_url_value_raw(&mut self, node: &mut UrlValueRaw) {
40336 <V as VisitMut>::visit_mut_url_value_raw(&mut **self, node)
40337 }
40338
40339 #[inline]
40340 fn visit_mut_wq_name(&mut self, node: &mut WqName) {
40341 <V as VisitMut>::visit_mut_wq_name(&mut **self, node)
40342 }
40343}
40344impl<V> VisitMut for Box<V>
40345where
40346 V: ?Sized + VisitMut,
40347{
40348 #[inline]
40349 fn visit_mut_absolute_color_base(&mut self, node: &mut AbsoluteColorBase) {
40350 <V as VisitMut>::visit_mut_absolute_color_base(&mut **self, node)
40351 }
40352
40353 #[inline]
40354 fn visit_mut_alpha_value(&mut self, node: &mut AlphaValue) {
40355 <V as VisitMut>::visit_mut_alpha_value(&mut **self, node)
40356 }
40357
40358 #[inline]
40359 fn visit_mut_an_plus_b(&mut self, node: &mut AnPlusB) {
40360 <V as VisitMut>::visit_mut_an_plus_b(&mut **self, node)
40361 }
40362
40363 #[inline]
40364 fn visit_mut_an_plus_b_notation(&mut self, node: &mut AnPlusBNotation) {
40365 <V as VisitMut>::visit_mut_an_plus_b_notation(&mut **self, node)
40366 }
40367
40368 #[inline]
40369 fn visit_mut_angle(&mut self, node: &mut Angle) {
40370 <V as VisitMut>::visit_mut_angle(&mut **self, node)
40371 }
40372
40373 #[inline]
40374 fn visit_mut_angle_percentage(&mut self, node: &mut AnglePercentage) {
40375 <V as VisitMut>::visit_mut_angle_percentage(&mut **self, node)
40376 }
40377
40378 #[inline]
40379 fn visit_mut_any_namespace(&mut self, node: &mut AnyNamespace) {
40380 <V as VisitMut>::visit_mut_any_namespace(&mut **self, node)
40381 }
40382
40383 #[inline]
40384 fn visit_mut_at_rule(&mut self, node: &mut AtRule) {
40385 <V as VisitMut>::visit_mut_at_rule(&mut **self, node)
40386 }
40387
40388 #[inline]
40389 fn visit_mut_at_rule_name(&mut self, node: &mut AtRuleName) {
40390 <V as VisitMut>::visit_mut_at_rule_name(&mut **self, node)
40391 }
40392
40393 #[inline]
40394 fn visit_mut_at_rule_prelude(&mut self, node: &mut AtRulePrelude) {
40395 <V as VisitMut>::visit_mut_at_rule_prelude(&mut **self, node)
40396 }
40397
40398 #[inline]
40399 fn visit_mut_atom(&mut self, node: &mut swc_atoms::Atom) {
40400 <V as VisitMut>::visit_mut_atom(&mut **self, node)
40401 }
40402
40403 #[inline]
40404 fn visit_mut_attribute_selector(&mut self, node: &mut AttributeSelector) {
40405 <V as VisitMut>::visit_mut_attribute_selector(&mut **self, node)
40406 }
40407
40408 #[inline]
40409 fn visit_mut_attribute_selector_matcher(&mut self, node: &mut AttributeSelectorMatcher) {
40410 <V as VisitMut>::visit_mut_attribute_selector_matcher(&mut **self, node)
40411 }
40412
40413 #[inline]
40414 fn visit_mut_attribute_selector_matcher_value(
40415 &mut self,
40416 node: &mut AttributeSelectorMatcherValue,
40417 ) {
40418 <V as VisitMut>::visit_mut_attribute_selector_matcher_value(&mut **self, node)
40419 }
40420
40421 #[inline]
40422 fn visit_mut_attribute_selector_modifier(&mut self, node: &mut AttributeSelectorModifier) {
40423 <V as VisitMut>::visit_mut_attribute_selector_modifier(&mut **self, node)
40424 }
40425
40426 #[inline]
40427 fn visit_mut_attribute_selector_value(&mut self, node: &mut AttributeSelectorValue) {
40428 <V as VisitMut>::visit_mut_attribute_selector_value(&mut **self, node)
40429 }
40430
40431 #[inline]
40432 fn visit_mut_bin_op(&mut self, node: &mut BinOp) {
40433 <V as VisitMut>::visit_mut_bin_op(&mut **self, node)
40434 }
40435
40436 #[inline]
40437 fn visit_mut_calc_operator(&mut self, node: &mut CalcOperator) {
40438 <V as VisitMut>::visit_mut_calc_operator(&mut **self, node)
40439 }
40440
40441 #[inline]
40442 fn visit_mut_calc_operator_type(&mut self, node: &mut CalcOperatorType) {
40443 <V as VisitMut>::visit_mut_calc_operator_type(&mut **self, node)
40444 }
40445
40446 #[inline]
40447 fn visit_mut_calc_product(&mut self, node: &mut CalcProduct) {
40448 <V as VisitMut>::visit_mut_calc_product(&mut **self, node)
40449 }
40450
40451 #[inline]
40452 fn visit_mut_calc_product_or_operator(&mut self, node: &mut CalcProductOrOperator) {
40453 <V as VisitMut>::visit_mut_calc_product_or_operator(&mut **self, node)
40454 }
40455
40456 #[inline]
40457 fn visit_mut_calc_product_or_operators(&mut self, node: &mut Vec<CalcProductOrOperator>) {
40458 <V as VisitMut>::visit_mut_calc_product_or_operators(&mut **self, node)
40459 }
40460
40461 #[inline]
40462 fn visit_mut_calc_sum(&mut self, node: &mut CalcSum) {
40463 <V as VisitMut>::visit_mut_calc_sum(&mut **self, node)
40464 }
40465
40466 #[inline]
40467 fn visit_mut_calc_value(&mut self, node: &mut CalcValue) {
40468 <V as VisitMut>::visit_mut_calc_value(&mut **self, node)
40469 }
40470
40471 #[inline]
40472 fn visit_mut_calc_value_or_operator(&mut self, node: &mut CalcValueOrOperator) {
40473 <V as VisitMut>::visit_mut_calc_value_or_operator(&mut **self, node)
40474 }
40475
40476 #[inline]
40477 fn visit_mut_calc_value_or_operators(&mut self, node: &mut Vec<CalcValueOrOperator>) {
40478 <V as VisitMut>::visit_mut_calc_value_or_operators(&mut **self, node)
40479 }
40480
40481 #[inline]
40482 fn visit_mut_class_selector(&mut self, node: &mut ClassSelector) {
40483 <V as VisitMut>::visit_mut_class_selector(&mut **self, node)
40484 }
40485
40486 #[inline]
40487 fn visit_mut_cmyk_component(&mut self, node: &mut CmykComponent) {
40488 <V as VisitMut>::visit_mut_cmyk_component(&mut **self, node)
40489 }
40490
40491 #[inline]
40492 fn visit_mut_color(&mut self, node: &mut Color) {
40493 <V as VisitMut>::visit_mut_color(&mut **self, node)
40494 }
40495
40496 #[inline]
40497 fn visit_mut_color_profile_name(&mut self, node: &mut ColorProfileName) {
40498 <V as VisitMut>::visit_mut_color_profile_name(&mut **self, node)
40499 }
40500
40501 #[inline]
40502 fn visit_mut_combinator(&mut self, node: &mut Combinator) {
40503 <V as VisitMut>::visit_mut_combinator(&mut **self, node)
40504 }
40505
40506 #[inline]
40507 fn visit_mut_combinator_value(&mut self, node: &mut CombinatorValue) {
40508 <V as VisitMut>::visit_mut_combinator_value(&mut **self, node)
40509 }
40510
40511 #[inline]
40512 fn visit_mut_complex_selector(&mut self, node: &mut ComplexSelector) {
40513 <V as VisitMut>::visit_mut_complex_selector(&mut **self, node)
40514 }
40515
40516 #[inline]
40517 fn visit_mut_complex_selector_children(&mut self, node: &mut ComplexSelectorChildren) {
40518 <V as VisitMut>::visit_mut_complex_selector_children(&mut **self, node)
40519 }
40520
40521 #[inline]
40522 fn visit_mut_complex_selector_childrens(&mut self, node: &mut Vec<ComplexSelectorChildren>) {
40523 <V as VisitMut>::visit_mut_complex_selector_childrens(&mut **self, node)
40524 }
40525
40526 #[inline]
40527 fn visit_mut_complex_selectors(&mut self, node: &mut Vec<ComplexSelector>) {
40528 <V as VisitMut>::visit_mut_complex_selectors(&mut **self, node)
40529 }
40530
40531 #[inline]
40532 fn visit_mut_component_value(&mut self, node: &mut ComponentValue) {
40533 <V as VisitMut>::visit_mut_component_value(&mut **self, node)
40534 }
40535
40536 #[inline]
40537 fn visit_mut_component_values(&mut self, node: &mut Vec<ComponentValue>) {
40538 <V as VisitMut>::visit_mut_component_values(&mut **self, node)
40539 }
40540
40541 #[inline]
40542 fn visit_mut_compound_selector(&mut self, node: &mut CompoundSelector) {
40543 <V as VisitMut>::visit_mut_compound_selector(&mut **self, node)
40544 }
40545
40546 #[inline]
40547 fn visit_mut_compound_selector_list(&mut self, node: &mut CompoundSelectorList) {
40548 <V as VisitMut>::visit_mut_compound_selector_list(&mut **self, node)
40549 }
40550
40551 #[inline]
40552 fn visit_mut_compound_selectors(&mut self, node: &mut Vec<CompoundSelector>) {
40553 <V as VisitMut>::visit_mut_compound_selectors(&mut **self, node)
40554 }
40555
40556 #[inline]
40557 fn visit_mut_container_condition(&mut self, node: &mut ContainerCondition) {
40558 <V as VisitMut>::visit_mut_container_condition(&mut **self, node)
40559 }
40560
40561 #[inline]
40562 fn visit_mut_container_name(&mut self, node: &mut ContainerName) {
40563 <V as VisitMut>::visit_mut_container_name(&mut **self, node)
40564 }
40565
40566 #[inline]
40567 fn visit_mut_container_query(&mut self, node: &mut ContainerQuery) {
40568 <V as VisitMut>::visit_mut_container_query(&mut **self, node)
40569 }
40570
40571 #[inline]
40572 fn visit_mut_container_query_and(&mut self, node: &mut ContainerQueryAnd) {
40573 <V as VisitMut>::visit_mut_container_query_and(&mut **self, node)
40574 }
40575
40576 #[inline]
40577 fn visit_mut_container_query_not(&mut self, node: &mut ContainerQueryNot) {
40578 <V as VisitMut>::visit_mut_container_query_not(&mut **self, node)
40579 }
40580
40581 #[inline]
40582 fn visit_mut_container_query_or(&mut self, node: &mut ContainerQueryOr) {
40583 <V as VisitMut>::visit_mut_container_query_or(&mut **self, node)
40584 }
40585
40586 #[inline]
40587 fn visit_mut_container_query_type(&mut self, node: &mut ContainerQueryType) {
40588 <V as VisitMut>::visit_mut_container_query_type(&mut **self, node)
40589 }
40590
40591 #[inline]
40592 fn visit_mut_container_query_types(&mut self, node: &mut Vec<ContainerQueryType>) {
40593 <V as VisitMut>::visit_mut_container_query_types(&mut **self, node)
40594 }
40595
40596 #[inline]
40597 fn visit_mut_custom_highlight_name(&mut self, node: &mut CustomHighlightName) {
40598 <V as VisitMut>::visit_mut_custom_highlight_name(&mut **self, node)
40599 }
40600
40601 #[inline]
40602 fn visit_mut_custom_ident(&mut self, node: &mut CustomIdent) {
40603 <V as VisitMut>::visit_mut_custom_ident(&mut **self, node)
40604 }
40605
40606 #[inline]
40607 fn visit_mut_custom_idents(&mut self, node: &mut Vec<CustomIdent>) {
40608 <V as VisitMut>::visit_mut_custom_idents(&mut **self, node)
40609 }
40610
40611 #[inline]
40612 fn visit_mut_custom_media_query(&mut self, node: &mut CustomMediaQuery) {
40613 <V as VisitMut>::visit_mut_custom_media_query(&mut **self, node)
40614 }
40615
40616 #[inline]
40617 fn visit_mut_custom_media_query_media_type(&mut self, node: &mut CustomMediaQueryMediaType) {
40618 <V as VisitMut>::visit_mut_custom_media_query_media_type(&mut **self, node)
40619 }
40620
40621 #[inline]
40622 fn visit_mut_custom_property_name(&mut self, node: &mut CustomPropertyName) {
40623 <V as VisitMut>::visit_mut_custom_property_name(&mut **self, node)
40624 }
40625
40626 #[inline]
40627 fn visit_mut_dashed_ident(&mut self, node: &mut DashedIdent) {
40628 <V as VisitMut>::visit_mut_dashed_ident(&mut **self, node)
40629 }
40630
40631 #[inline]
40632 fn visit_mut_declaration(&mut self, node: &mut Declaration) {
40633 <V as VisitMut>::visit_mut_declaration(&mut **self, node)
40634 }
40635
40636 #[inline]
40637 fn visit_mut_declaration_name(&mut self, node: &mut DeclarationName) {
40638 <V as VisitMut>::visit_mut_declaration_name(&mut **self, node)
40639 }
40640
40641 #[inline]
40642 fn visit_mut_declaration_or_at_rule(&mut self, node: &mut DeclarationOrAtRule) {
40643 <V as VisitMut>::visit_mut_declaration_or_at_rule(&mut **self, node)
40644 }
40645
40646 #[inline]
40647 fn visit_mut_delimiter(&mut self, node: &mut Delimiter) {
40648 <V as VisitMut>::visit_mut_delimiter(&mut **self, node)
40649 }
40650
40651 #[inline]
40652 fn visit_mut_delimiter_value(&mut self, node: &mut DelimiterValue) {
40653 <V as VisitMut>::visit_mut_delimiter_value(&mut **self, node)
40654 }
40655
40656 #[inline]
40657 fn visit_mut_dimension(&mut self, node: &mut Dimension) {
40658 <V as VisitMut>::visit_mut_dimension(&mut **self, node)
40659 }
40660
40661 #[inline]
40662 fn visit_mut_dimension_token(&mut self, node: &mut DimensionToken) {
40663 <V as VisitMut>::visit_mut_dimension_token(&mut **self, node)
40664 }
40665
40666 #[inline]
40667 fn visit_mut_document_prelude(&mut self, node: &mut DocumentPrelude) {
40668 <V as VisitMut>::visit_mut_document_prelude(&mut **self, node)
40669 }
40670
40671 #[inline]
40672 fn visit_mut_document_prelude_matching_function(
40673 &mut self,
40674 node: &mut DocumentPreludeMatchingFunction,
40675 ) {
40676 <V as VisitMut>::visit_mut_document_prelude_matching_function(&mut **self, node)
40677 }
40678
40679 #[inline]
40680 fn visit_mut_document_prelude_matching_functions(
40681 &mut self,
40682 node: &mut Vec<DocumentPreludeMatchingFunction>,
40683 ) {
40684 <V as VisitMut>::visit_mut_document_prelude_matching_functions(&mut **self, node)
40685 }
40686
40687 #[inline]
40688 fn visit_mut_extension_name(&mut self, node: &mut ExtensionName) {
40689 <V as VisitMut>::visit_mut_extension_name(&mut **self, node)
40690 }
40691
40692 #[inline]
40693 fn visit_mut_family_name(&mut self, node: &mut FamilyName) {
40694 <V as VisitMut>::visit_mut_family_name(&mut **self, node)
40695 }
40696
40697 #[inline]
40698 fn visit_mut_family_names(&mut self, node: &mut Vec<FamilyName>) {
40699 <V as VisitMut>::visit_mut_family_names(&mut **self, node)
40700 }
40701
40702 #[inline]
40703 fn visit_mut_flex(&mut self, node: &mut Flex) {
40704 <V as VisitMut>::visit_mut_flex(&mut **self, node)
40705 }
40706
40707 #[inline]
40708 fn visit_mut_font_feature_values_prelude(&mut self, node: &mut FontFeatureValuesPrelude) {
40709 <V as VisitMut>::visit_mut_font_feature_values_prelude(&mut **self, node)
40710 }
40711
40712 #[inline]
40713 fn visit_mut_forgiving_complex_selector(&mut self, node: &mut ForgivingComplexSelector) {
40714 <V as VisitMut>::visit_mut_forgiving_complex_selector(&mut **self, node)
40715 }
40716
40717 #[inline]
40718 fn visit_mut_forgiving_complex_selectors(&mut self, node: &mut Vec<ForgivingComplexSelector>) {
40719 <V as VisitMut>::visit_mut_forgiving_complex_selectors(&mut **self, node)
40720 }
40721
40722 #[inline]
40723 fn visit_mut_forgiving_relative_selector(&mut self, node: &mut ForgivingRelativeSelector) {
40724 <V as VisitMut>::visit_mut_forgiving_relative_selector(&mut **self, node)
40725 }
40726
40727 #[inline]
40728 fn visit_mut_forgiving_relative_selector_list(
40729 &mut self,
40730 node: &mut ForgivingRelativeSelectorList,
40731 ) {
40732 <V as VisitMut>::visit_mut_forgiving_relative_selector_list(&mut **self, node)
40733 }
40734
40735 #[inline]
40736 fn visit_mut_forgiving_relative_selectors(
40737 &mut self,
40738 node: &mut Vec<ForgivingRelativeSelector>,
40739 ) {
40740 <V as VisitMut>::visit_mut_forgiving_relative_selectors(&mut **self, node)
40741 }
40742
40743 #[inline]
40744 fn visit_mut_forgiving_selector_list(&mut self, node: &mut ForgivingSelectorList) {
40745 <V as VisitMut>::visit_mut_forgiving_selector_list(&mut **self, node)
40746 }
40747
40748 #[inline]
40749 fn visit_mut_frequency(&mut self, node: &mut Frequency) {
40750 <V as VisitMut>::visit_mut_frequency(&mut **self, node)
40751 }
40752
40753 #[inline]
40754 fn visit_mut_frequency_percentage(&mut self, node: &mut FrequencyPercentage) {
40755 <V as VisitMut>::visit_mut_frequency_percentage(&mut **self, node)
40756 }
40757
40758 #[inline]
40759 fn visit_mut_function(&mut self, node: &mut Function) {
40760 <V as VisitMut>::visit_mut_function(&mut **self, node)
40761 }
40762
40763 #[inline]
40764 fn visit_mut_function_name(&mut self, node: &mut FunctionName) {
40765 <V as VisitMut>::visit_mut_function_name(&mut **self, node)
40766 }
40767
40768 #[inline]
40769 fn visit_mut_general_enclosed(&mut self, node: &mut GeneralEnclosed) {
40770 <V as VisitMut>::visit_mut_general_enclosed(&mut **self, node)
40771 }
40772
40773 #[inline]
40774 fn visit_mut_hex_color(&mut self, node: &mut HexColor) {
40775 <V as VisitMut>::visit_mut_hex_color(&mut **self, node)
40776 }
40777
40778 #[inline]
40779 fn visit_mut_hue(&mut self, node: &mut Hue) {
40780 <V as VisitMut>::visit_mut_hue(&mut **self, node)
40781 }
40782
40783 #[inline]
40784 fn visit_mut_id_selector(&mut self, node: &mut IdSelector) {
40785 <V as VisitMut>::visit_mut_id_selector(&mut **self, node)
40786 }
40787
40788 #[inline]
40789 fn visit_mut_ident(&mut self, node: &mut Ident) {
40790 <V as VisitMut>::visit_mut_ident(&mut **self, node)
40791 }
40792
40793 #[inline]
40794 fn visit_mut_idents(&mut self, node: &mut Vec<Ident>) {
40795 <V as VisitMut>::visit_mut_idents(&mut **self, node)
40796 }
40797
40798 #[inline]
40799 fn visit_mut_import_conditions(&mut self, node: &mut ImportConditions) {
40800 <V as VisitMut>::visit_mut_import_conditions(&mut **self, node)
40801 }
40802
40803 #[inline]
40804 fn visit_mut_import_href(&mut self, node: &mut ImportHref) {
40805 <V as VisitMut>::visit_mut_import_href(&mut **self, node)
40806 }
40807
40808 #[inline]
40809 fn visit_mut_import_layer_name(&mut self, node: &mut ImportLayerName) {
40810 <V as VisitMut>::visit_mut_import_layer_name(&mut **self, node)
40811 }
40812
40813 #[inline]
40814 fn visit_mut_import_prelude(&mut self, node: &mut ImportPrelude) {
40815 <V as VisitMut>::visit_mut_import_prelude(&mut **self, node)
40816 }
40817
40818 #[inline]
40819 fn visit_mut_important_flag(&mut self, node: &mut ImportantFlag) {
40820 <V as VisitMut>::visit_mut_important_flag(&mut **self, node)
40821 }
40822
40823 #[inline]
40824 fn visit_mut_integer(&mut self, node: &mut Integer) {
40825 <V as VisitMut>::visit_mut_integer(&mut **self, node)
40826 }
40827
40828 #[inline]
40829 fn visit_mut_keyframe_block(&mut self, node: &mut KeyframeBlock) {
40830 <V as VisitMut>::visit_mut_keyframe_block(&mut **self, node)
40831 }
40832
40833 #[inline]
40834 fn visit_mut_keyframe_selector(&mut self, node: &mut KeyframeSelector) {
40835 <V as VisitMut>::visit_mut_keyframe_selector(&mut **self, node)
40836 }
40837
40838 #[inline]
40839 fn visit_mut_keyframe_selectors(&mut self, node: &mut Vec<KeyframeSelector>) {
40840 <V as VisitMut>::visit_mut_keyframe_selectors(&mut **self, node)
40841 }
40842
40843 #[inline]
40844 fn visit_mut_keyframes_name(&mut self, node: &mut KeyframesName) {
40845 <V as VisitMut>::visit_mut_keyframes_name(&mut **self, node)
40846 }
40847
40848 #[inline]
40849 fn visit_mut_keyframes_pseudo_function(&mut self, node: &mut KeyframesPseudoFunction) {
40850 <V as VisitMut>::visit_mut_keyframes_pseudo_function(&mut **self, node)
40851 }
40852
40853 #[inline]
40854 fn visit_mut_keyframes_pseudo_prefix(&mut self, node: &mut KeyframesPseudoPrefix) {
40855 <V as VisitMut>::visit_mut_keyframes_pseudo_prefix(&mut **self, node)
40856 }
40857
40858 #[inline]
40859 fn visit_mut_layer_name(&mut self, node: &mut LayerName) {
40860 <V as VisitMut>::visit_mut_layer_name(&mut **self, node)
40861 }
40862
40863 #[inline]
40864 fn visit_mut_layer_name_list(&mut self, node: &mut LayerNameList) {
40865 <V as VisitMut>::visit_mut_layer_name_list(&mut **self, node)
40866 }
40867
40868 #[inline]
40869 fn visit_mut_layer_names(&mut self, node: &mut Vec<LayerName>) {
40870 <V as VisitMut>::visit_mut_layer_names(&mut **self, node)
40871 }
40872
40873 #[inline]
40874 fn visit_mut_layer_prelude(&mut self, node: &mut LayerPrelude) {
40875 <V as VisitMut>::visit_mut_layer_prelude(&mut **self, node)
40876 }
40877
40878 #[inline]
40879 fn visit_mut_length(&mut self, node: &mut Length) {
40880 <V as VisitMut>::visit_mut_length(&mut **self, node)
40881 }
40882
40883 #[inline]
40884 fn visit_mut_length_percentage(&mut self, node: &mut LengthPercentage) {
40885 <V as VisitMut>::visit_mut_length_percentage(&mut **self, node)
40886 }
40887
40888 #[inline]
40889 fn visit_mut_list_of_component_values(&mut self, node: &mut ListOfComponentValues) {
40890 <V as VisitMut>::visit_mut_list_of_component_values(&mut **self, node)
40891 }
40892
40893 #[inline]
40894 fn visit_mut_media_and(&mut self, node: &mut MediaAnd) {
40895 <V as VisitMut>::visit_mut_media_and(&mut **self, node)
40896 }
40897
40898 #[inline]
40899 fn visit_mut_media_condition(&mut self, node: &mut MediaCondition) {
40900 <V as VisitMut>::visit_mut_media_condition(&mut **self, node)
40901 }
40902
40903 #[inline]
40904 fn visit_mut_media_condition_all_type(&mut self, node: &mut MediaConditionAllType) {
40905 <V as VisitMut>::visit_mut_media_condition_all_type(&mut **self, node)
40906 }
40907
40908 #[inline]
40909 fn visit_mut_media_condition_all_types(&mut self, node: &mut Vec<MediaConditionAllType>) {
40910 <V as VisitMut>::visit_mut_media_condition_all_types(&mut **self, node)
40911 }
40912
40913 #[inline]
40914 fn visit_mut_media_condition_type(&mut self, node: &mut MediaConditionType) {
40915 <V as VisitMut>::visit_mut_media_condition_type(&mut **self, node)
40916 }
40917
40918 #[inline]
40919 fn visit_mut_media_condition_without_or(&mut self, node: &mut MediaConditionWithoutOr) {
40920 <V as VisitMut>::visit_mut_media_condition_without_or(&mut **self, node)
40921 }
40922
40923 #[inline]
40924 fn visit_mut_media_condition_without_or_type(
40925 &mut self,
40926 node: &mut MediaConditionWithoutOrType,
40927 ) {
40928 <V as VisitMut>::visit_mut_media_condition_without_or_type(&mut **self, node)
40929 }
40930
40931 #[inline]
40932 fn visit_mut_media_condition_without_or_types(
40933 &mut self,
40934 node: &mut Vec<MediaConditionWithoutOrType>,
40935 ) {
40936 <V as VisitMut>::visit_mut_media_condition_without_or_types(&mut **self, node)
40937 }
40938
40939 #[inline]
40940 fn visit_mut_media_feature(&mut self, node: &mut MediaFeature) {
40941 <V as VisitMut>::visit_mut_media_feature(&mut **self, node)
40942 }
40943
40944 #[inline]
40945 fn visit_mut_media_feature_boolean(&mut self, node: &mut MediaFeatureBoolean) {
40946 <V as VisitMut>::visit_mut_media_feature_boolean(&mut **self, node)
40947 }
40948
40949 #[inline]
40950 fn visit_mut_media_feature_name(&mut self, node: &mut MediaFeatureName) {
40951 <V as VisitMut>::visit_mut_media_feature_name(&mut **self, node)
40952 }
40953
40954 #[inline]
40955 fn visit_mut_media_feature_plain(&mut self, node: &mut MediaFeaturePlain) {
40956 <V as VisitMut>::visit_mut_media_feature_plain(&mut **self, node)
40957 }
40958
40959 #[inline]
40960 fn visit_mut_media_feature_range(&mut self, node: &mut MediaFeatureRange) {
40961 <V as VisitMut>::visit_mut_media_feature_range(&mut **self, node)
40962 }
40963
40964 #[inline]
40965 fn visit_mut_media_feature_range_comparison(&mut self, node: &mut MediaFeatureRangeComparison) {
40966 <V as VisitMut>::visit_mut_media_feature_range_comparison(&mut **self, node)
40967 }
40968
40969 #[inline]
40970 fn visit_mut_media_feature_range_interval(&mut self, node: &mut MediaFeatureRangeInterval) {
40971 <V as VisitMut>::visit_mut_media_feature_range_interval(&mut **self, node)
40972 }
40973
40974 #[inline]
40975 fn visit_mut_media_feature_value(&mut self, node: &mut MediaFeatureValue) {
40976 <V as VisitMut>::visit_mut_media_feature_value(&mut **self, node)
40977 }
40978
40979 #[inline]
40980 fn visit_mut_media_in_parens(&mut self, node: &mut MediaInParens) {
40981 <V as VisitMut>::visit_mut_media_in_parens(&mut **self, node)
40982 }
40983
40984 #[inline]
40985 fn visit_mut_media_not(&mut self, node: &mut MediaNot) {
40986 <V as VisitMut>::visit_mut_media_not(&mut **self, node)
40987 }
40988
40989 #[inline]
40990 fn visit_mut_media_or(&mut self, node: &mut MediaOr) {
40991 <V as VisitMut>::visit_mut_media_or(&mut **self, node)
40992 }
40993
40994 #[inline]
40995 fn visit_mut_media_query(&mut self, node: &mut MediaQuery) {
40996 <V as VisitMut>::visit_mut_media_query(&mut **self, node)
40997 }
40998
40999 #[inline]
41000 fn visit_mut_media_query_list(&mut self, node: &mut MediaQueryList) {
41001 <V as VisitMut>::visit_mut_media_query_list(&mut **self, node)
41002 }
41003
41004 #[inline]
41005 fn visit_mut_media_querys(&mut self, node: &mut Vec<MediaQuery>) {
41006 <V as VisitMut>::visit_mut_media_querys(&mut **self, node)
41007 }
41008
41009 #[inline]
41010 fn visit_mut_media_type(&mut self, node: &mut MediaType) {
41011 <V as VisitMut>::visit_mut_media_type(&mut **self, node)
41012 }
41013
41014 #[inline]
41015 fn visit_mut_named_namespace(&mut self, node: &mut NamedNamespace) {
41016 <V as VisitMut>::visit_mut_named_namespace(&mut **self, node)
41017 }
41018
41019 #[inline]
41020 fn visit_mut_namespace(&mut self, node: &mut Namespace) {
41021 <V as VisitMut>::visit_mut_namespace(&mut **self, node)
41022 }
41023
41024 #[inline]
41025 fn visit_mut_namespace_prefix(&mut self, node: &mut NamespacePrefix) {
41026 <V as VisitMut>::visit_mut_namespace_prefix(&mut **self, node)
41027 }
41028
41029 #[inline]
41030 fn visit_mut_namespace_prelude(&mut self, node: &mut NamespacePrelude) {
41031 <V as VisitMut>::visit_mut_namespace_prelude(&mut **self, node)
41032 }
41033
41034 #[inline]
41035 fn visit_mut_namespace_prelude_uri(&mut self, node: &mut NamespacePreludeUri) {
41036 <V as VisitMut>::visit_mut_namespace_prelude_uri(&mut **self, node)
41037 }
41038
41039 #[inline]
41040 fn visit_mut_nesting_selector(&mut self, node: &mut NestingSelector) {
41041 <V as VisitMut>::visit_mut_nesting_selector(&mut **self, node)
41042 }
41043
41044 #[inline]
41045 fn visit_mut_number(&mut self, node: &mut Number) {
41046 <V as VisitMut>::visit_mut_number(&mut **self, node)
41047 }
41048
41049 #[inline]
41050 fn visit_mut_number_type(&mut self, node: &mut NumberType) {
41051 <V as VisitMut>::visit_mut_number_type(&mut **self, node)
41052 }
41053
41054 #[inline]
41055 fn visit_mut_opt_at_rule_prelude(&mut self, node: &mut Option<Box<AtRulePrelude>>) {
41056 <V as VisitMut>::visit_mut_opt_at_rule_prelude(&mut **self, node)
41057 }
41058
41059 #[inline]
41060 fn visit_mut_opt_atom(&mut self, node: &mut Option<swc_atoms::Atom>) {
41061 <V as VisitMut>::visit_mut_opt_atom(&mut **self, node)
41062 }
41063
41064 #[inline]
41065 fn visit_mut_opt_attribute_selector_matcher(
41066 &mut self,
41067 node: &mut Option<AttributeSelectorMatcher>,
41068 ) {
41069 <V as VisitMut>::visit_mut_opt_attribute_selector_matcher(&mut **self, node)
41070 }
41071
41072 #[inline]
41073 fn visit_mut_opt_attribute_selector_modifier(
41074 &mut self,
41075 node: &mut Option<AttributeSelectorModifier>,
41076 ) {
41077 <V as VisitMut>::visit_mut_opt_attribute_selector_modifier(&mut **self, node)
41078 }
41079
41080 #[inline]
41081 fn visit_mut_opt_attribute_selector_value(
41082 &mut self,
41083 node: &mut Option<AttributeSelectorValue>,
41084 ) {
41085 <V as VisitMut>::visit_mut_opt_attribute_selector_value(&mut **self, node)
41086 }
41087
41088 #[inline]
41089 fn visit_mut_opt_combinator(&mut self, node: &mut Option<Combinator>) {
41090 <V as VisitMut>::visit_mut_opt_combinator(&mut **self, node)
41091 }
41092
41093 #[inline]
41094 fn visit_mut_opt_container_name(&mut self, node: &mut Option<ContainerName>) {
41095 <V as VisitMut>::visit_mut_opt_container_name(&mut **self, node)
41096 }
41097
41098 #[inline]
41099 fn visit_mut_opt_forgiving_selector_list(&mut self, node: &mut Option<ForgivingSelectorList>) {
41100 <V as VisitMut>::visit_mut_opt_forgiving_selector_list(&mut **self, node)
41101 }
41102
41103 #[inline]
41104 fn visit_mut_opt_function(&mut self, node: &mut Option<Box<Function>>) {
41105 <V as VisitMut>::visit_mut_opt_function(&mut **self, node)
41106 }
41107
41108 #[inline]
41109 fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>) {
41110 <V as VisitMut>::visit_mut_opt_ident(&mut **self, node)
41111 }
41112
41113 #[inline]
41114 fn visit_mut_opt_import_conditions(&mut self, node: &mut Option<Box<ImportConditions>>) {
41115 <V as VisitMut>::visit_mut_opt_import_conditions(&mut **self, node)
41116 }
41117
41118 #[inline]
41119 fn visit_mut_opt_import_layer_name(&mut self, node: &mut Option<Box<ImportLayerName>>) {
41120 <V as VisitMut>::visit_mut_opt_import_layer_name(&mut **self, node)
41121 }
41122
41123 #[inline]
41124 fn visit_mut_opt_important_flag(&mut self, node: &mut Option<ImportantFlag>) {
41125 <V as VisitMut>::visit_mut_opt_important_flag(&mut **self, node)
41126 }
41127
41128 #[inline]
41129 fn visit_mut_opt_media_condition_type(&mut self, node: &mut Option<Box<MediaConditionType>>) {
41130 <V as VisitMut>::visit_mut_opt_media_condition_type(&mut **self, node)
41131 }
41132
41133 #[inline]
41134 fn visit_mut_opt_media_query_list(&mut self, node: &mut Option<Box<MediaQueryList>>) {
41135 <V as VisitMut>::visit_mut_opt_media_query_list(&mut **self, node)
41136 }
41137
41138 #[inline]
41139 fn visit_mut_opt_media_type(&mut self, node: &mut Option<MediaType>) {
41140 <V as VisitMut>::visit_mut_opt_media_type(&mut **self, node)
41141 }
41142
41143 #[inline]
41144 fn visit_mut_opt_namespace(&mut self, node: &mut Option<Namespace>) {
41145 <V as VisitMut>::visit_mut_opt_namespace(&mut **self, node)
41146 }
41147
41148 #[inline]
41149 fn visit_mut_opt_namespace_prefix(&mut self, node: &mut Option<NamespacePrefix>) {
41150 <V as VisitMut>::visit_mut_opt_namespace_prefix(&mut **self, node)
41151 }
41152
41153 #[inline]
41154 fn visit_mut_opt_nesting_selector(&mut self, node: &mut Option<NestingSelector>) {
41155 <V as VisitMut>::visit_mut_opt_nesting_selector(&mut **self, node)
41156 }
41157
41158 #[inline]
41159 fn visit_mut_opt_number(&mut self, node: &mut Option<Number>) {
41160 <V as VisitMut>::visit_mut_opt_number(&mut **self, node)
41161 }
41162
41163 #[inline]
41164 fn visit_mut_opt_page_selector_pseudos(&mut self, node: &mut Option<Vec<PageSelectorPseudo>>) {
41165 <V as VisitMut>::visit_mut_opt_page_selector_pseudos(&mut **self, node)
41166 }
41167
41168 #[inline]
41169 fn visit_mut_opt_page_selector_type(&mut self, node: &mut Option<PageSelectorType>) {
41170 <V as VisitMut>::visit_mut_opt_page_selector_type(&mut **self, node)
41171 }
41172
41173 #[inline]
41174 fn visit_mut_opt_pseudo_class_selector_childrens(
41175 &mut self,
41176 node: &mut Option<Vec<PseudoClassSelectorChildren>>,
41177 ) {
41178 <V as VisitMut>::visit_mut_opt_pseudo_class_selector_childrens(&mut **self, node)
41179 }
41180
41181 #[inline]
41182 fn visit_mut_opt_pseudo_element_selector_childrens(
41183 &mut self,
41184 node: &mut Option<Vec<PseudoElementSelectorChildren>>,
41185 ) {
41186 <V as VisitMut>::visit_mut_opt_pseudo_element_selector_childrens(&mut **self, node)
41187 }
41188
41189 #[inline]
41190 fn visit_mut_opt_simple_block(&mut self, node: &mut Option<SimpleBlock>) {
41191 <V as VisitMut>::visit_mut_opt_simple_block(&mut **self, node)
41192 }
41193
41194 #[inline]
41195 fn visit_mut_opt_type_selector(&mut self, node: &mut Option<Box<TypeSelector>>) {
41196 <V as VisitMut>::visit_mut_opt_type_selector(&mut **self, node)
41197 }
41198
41199 #[inline]
41200 fn visit_mut_opt_url_modifiers(&mut self, node: &mut Option<Vec<UrlModifier>>) {
41201 <V as VisitMut>::visit_mut_opt_url_modifiers(&mut **self, node)
41202 }
41203
41204 #[inline]
41205 fn visit_mut_opt_url_value(&mut self, node: &mut Option<Box<UrlValue>>) {
41206 <V as VisitMut>::visit_mut_opt_url_value(&mut **self, node)
41207 }
41208
41209 #[inline]
41210 fn visit_mut_page_selector(&mut self, node: &mut PageSelector) {
41211 <V as VisitMut>::visit_mut_page_selector(&mut **self, node)
41212 }
41213
41214 #[inline]
41215 fn visit_mut_page_selector_list(&mut self, node: &mut PageSelectorList) {
41216 <V as VisitMut>::visit_mut_page_selector_list(&mut **self, node)
41217 }
41218
41219 #[inline]
41220 fn visit_mut_page_selector_pseudo(&mut self, node: &mut PageSelectorPseudo) {
41221 <V as VisitMut>::visit_mut_page_selector_pseudo(&mut **self, node)
41222 }
41223
41224 #[inline]
41225 fn visit_mut_page_selector_pseudos(&mut self, node: &mut Vec<PageSelectorPseudo>) {
41226 <V as VisitMut>::visit_mut_page_selector_pseudos(&mut **self, node)
41227 }
41228
41229 #[inline]
41230 fn visit_mut_page_selector_type(&mut self, node: &mut PageSelectorType) {
41231 <V as VisitMut>::visit_mut_page_selector_type(&mut **self, node)
41232 }
41233
41234 #[inline]
41235 fn visit_mut_page_selectors(&mut self, node: &mut Vec<PageSelector>) {
41236 <V as VisitMut>::visit_mut_page_selectors(&mut **self, node)
41237 }
41238
41239 #[inline]
41240 fn visit_mut_percentage(&mut self, node: &mut Percentage) {
41241 <V as VisitMut>::visit_mut_percentage(&mut **self, node)
41242 }
41243
41244 #[inline]
41245 fn visit_mut_pseudo_class_selector(&mut self, node: &mut PseudoClassSelector) {
41246 <V as VisitMut>::visit_mut_pseudo_class_selector(&mut **self, node)
41247 }
41248
41249 #[inline]
41250 fn visit_mut_pseudo_class_selector_children(&mut self, node: &mut PseudoClassSelectorChildren) {
41251 <V as VisitMut>::visit_mut_pseudo_class_selector_children(&mut **self, node)
41252 }
41253
41254 #[inline]
41255 fn visit_mut_pseudo_class_selector_childrens(
41256 &mut self,
41257 node: &mut Vec<PseudoClassSelectorChildren>,
41258 ) {
41259 <V as VisitMut>::visit_mut_pseudo_class_selector_childrens(&mut **self, node)
41260 }
41261
41262 #[inline]
41263 fn visit_mut_pseudo_element_selector(&mut self, node: &mut PseudoElementSelector) {
41264 <V as VisitMut>::visit_mut_pseudo_element_selector(&mut **self, node)
41265 }
41266
41267 #[inline]
41268 fn visit_mut_pseudo_element_selector_children(
41269 &mut self,
41270 node: &mut PseudoElementSelectorChildren,
41271 ) {
41272 <V as VisitMut>::visit_mut_pseudo_element_selector_children(&mut **self, node)
41273 }
41274
41275 #[inline]
41276 fn visit_mut_pseudo_element_selector_childrens(
41277 &mut self,
41278 node: &mut Vec<PseudoElementSelectorChildren>,
41279 ) {
41280 <V as VisitMut>::visit_mut_pseudo_element_selector_childrens(&mut **self, node)
41281 }
41282
41283 #[inline]
41284 fn visit_mut_qualified_rule(&mut self, node: &mut QualifiedRule) {
41285 <V as VisitMut>::visit_mut_qualified_rule(&mut **self, node)
41286 }
41287
41288 #[inline]
41289 fn visit_mut_qualified_rule_prelude(&mut self, node: &mut QualifiedRulePrelude) {
41290 <V as VisitMut>::visit_mut_qualified_rule_prelude(&mut **self, node)
41291 }
41292
41293 #[inline]
41294 fn visit_mut_query_in_parens(&mut self, node: &mut QueryInParens) {
41295 <V as VisitMut>::visit_mut_query_in_parens(&mut **self, node)
41296 }
41297
41298 #[inline]
41299 fn visit_mut_ratio(&mut self, node: &mut Ratio) {
41300 <V as VisitMut>::visit_mut_ratio(&mut **self, node)
41301 }
41302
41303 #[inline]
41304 fn visit_mut_relative_selector(&mut self, node: &mut RelativeSelector) {
41305 <V as VisitMut>::visit_mut_relative_selector(&mut **self, node)
41306 }
41307
41308 #[inline]
41309 fn visit_mut_relative_selector_list(&mut self, node: &mut RelativeSelectorList) {
41310 <V as VisitMut>::visit_mut_relative_selector_list(&mut **self, node)
41311 }
41312
41313 #[inline]
41314 fn visit_mut_relative_selectors(&mut self, node: &mut Vec<RelativeSelector>) {
41315 <V as VisitMut>::visit_mut_relative_selectors(&mut **self, node)
41316 }
41317
41318 #[inline]
41319 fn visit_mut_resolution(&mut self, node: &mut Resolution) {
41320 <V as VisitMut>::visit_mut_resolution(&mut **self, node)
41321 }
41322
41323 #[inline]
41324 fn visit_mut_rule(&mut self, node: &mut Rule) {
41325 <V as VisitMut>::visit_mut_rule(&mut **self, node)
41326 }
41327
41328 #[inline]
41329 fn visit_mut_rules(&mut self, node: &mut Vec<Rule>) {
41330 <V as VisitMut>::visit_mut_rules(&mut **self, node)
41331 }
41332
41333 #[inline]
41334 fn visit_mut_scope_range(&mut self, node: &mut ScopeRange) {
41335 <V as VisitMut>::visit_mut_scope_range(&mut **self, node)
41336 }
41337
41338 #[inline]
41339 fn visit_mut_selector_list(&mut self, node: &mut SelectorList) {
41340 <V as VisitMut>::visit_mut_selector_list(&mut **self, node)
41341 }
41342
41343 #[inline]
41344 fn visit_mut_sequence_of_custom_idents(&mut self, node: &mut SequenceOfCustomIdents) {
41345 <V as VisitMut>::visit_mut_sequence_of_custom_idents(&mut **self, node)
41346 }
41347
41348 #[inline]
41349 fn visit_mut_simple_block(&mut self, node: &mut SimpleBlock) {
41350 <V as VisitMut>::visit_mut_simple_block(&mut **self, node)
41351 }
41352
41353 #[inline]
41354 fn visit_mut_size_feature(&mut self, node: &mut SizeFeature) {
41355 <V as VisitMut>::visit_mut_size_feature(&mut **self, node)
41356 }
41357
41358 #[inline]
41359 fn visit_mut_size_feature_boolean(&mut self, node: &mut SizeFeatureBoolean) {
41360 <V as VisitMut>::visit_mut_size_feature_boolean(&mut **self, node)
41361 }
41362
41363 #[inline]
41364 fn visit_mut_size_feature_name(&mut self, node: &mut SizeFeatureName) {
41365 <V as VisitMut>::visit_mut_size_feature_name(&mut **self, node)
41366 }
41367
41368 #[inline]
41369 fn visit_mut_size_feature_plain(&mut self, node: &mut SizeFeaturePlain) {
41370 <V as VisitMut>::visit_mut_size_feature_plain(&mut **self, node)
41371 }
41372
41373 #[inline]
41374 fn visit_mut_size_feature_range(&mut self, node: &mut SizeFeatureRange) {
41375 <V as VisitMut>::visit_mut_size_feature_range(&mut **self, node)
41376 }
41377
41378 #[inline]
41379 fn visit_mut_size_feature_range_comparison(&mut self, node: &mut SizeFeatureRangeComparison) {
41380 <V as VisitMut>::visit_mut_size_feature_range_comparison(&mut **self, node)
41381 }
41382
41383 #[inline]
41384 fn visit_mut_size_feature_range_interval(&mut self, node: &mut SizeFeatureRangeInterval) {
41385 <V as VisitMut>::visit_mut_size_feature_range_interval(&mut **self, node)
41386 }
41387
41388 #[inline]
41389 fn visit_mut_size_feature_value(&mut self, node: &mut SizeFeatureValue) {
41390 <V as VisitMut>::visit_mut_size_feature_value(&mut **self, node)
41391 }
41392
41393 #[inline]
41394 fn visit_mut_span(&mut self, node: &mut swc_common::Span) {
41395 <V as VisitMut>::visit_mut_span(&mut **self, node)
41396 }
41397
41398 #[inline]
41399 fn visit_mut_str(&mut self, node: &mut Str) {
41400 <V as VisitMut>::visit_mut_str(&mut **self, node)
41401 }
41402
41403 #[inline]
41404 fn visit_mut_style_block(&mut self, node: &mut StyleBlock) {
41405 <V as VisitMut>::visit_mut_style_block(&mut **self, node)
41406 }
41407
41408 #[inline]
41409 fn visit_mut_stylesheet(&mut self, node: &mut Stylesheet) {
41410 <V as VisitMut>::visit_mut_stylesheet(&mut **self, node)
41411 }
41412
41413 #[inline]
41414 fn visit_mut_subclass_selector(&mut self, node: &mut SubclassSelector) {
41415 <V as VisitMut>::visit_mut_subclass_selector(&mut **self, node)
41416 }
41417
41418 #[inline]
41419 fn visit_mut_subclass_selectors(&mut self, node: &mut Vec<SubclassSelector>) {
41420 <V as VisitMut>::visit_mut_subclass_selectors(&mut **self, node)
41421 }
41422
41423 #[inline]
41424 fn visit_mut_supports_and(&mut self, node: &mut SupportsAnd) {
41425 <V as VisitMut>::visit_mut_supports_and(&mut **self, node)
41426 }
41427
41428 #[inline]
41429 fn visit_mut_supports_condition(&mut self, node: &mut SupportsCondition) {
41430 <V as VisitMut>::visit_mut_supports_condition(&mut **self, node)
41431 }
41432
41433 #[inline]
41434 fn visit_mut_supports_condition_type(&mut self, node: &mut SupportsConditionType) {
41435 <V as VisitMut>::visit_mut_supports_condition_type(&mut **self, node)
41436 }
41437
41438 #[inline]
41439 fn visit_mut_supports_condition_types(&mut self, node: &mut Vec<SupportsConditionType>) {
41440 <V as VisitMut>::visit_mut_supports_condition_types(&mut **self, node)
41441 }
41442
41443 #[inline]
41444 fn visit_mut_supports_feature(&mut self, node: &mut SupportsFeature) {
41445 <V as VisitMut>::visit_mut_supports_feature(&mut **self, node)
41446 }
41447
41448 #[inline]
41449 fn visit_mut_supports_in_parens(&mut self, node: &mut SupportsInParens) {
41450 <V as VisitMut>::visit_mut_supports_in_parens(&mut **self, node)
41451 }
41452
41453 #[inline]
41454 fn visit_mut_supports_not(&mut self, node: &mut SupportsNot) {
41455 <V as VisitMut>::visit_mut_supports_not(&mut **self, node)
41456 }
41457
41458 #[inline]
41459 fn visit_mut_supports_or(&mut self, node: &mut SupportsOr) {
41460 <V as VisitMut>::visit_mut_supports_or(&mut **self, node)
41461 }
41462
41463 #[inline]
41464 fn visit_mut_tag_name_selector(&mut self, node: &mut TagNameSelector) {
41465 <V as VisitMut>::visit_mut_tag_name_selector(&mut **self, node)
41466 }
41467
41468 #[inline]
41469 fn visit_mut_time(&mut self, node: &mut Time) {
41470 <V as VisitMut>::visit_mut_time(&mut **self, node)
41471 }
41472
41473 #[inline]
41474 fn visit_mut_time_percentage(&mut self, node: &mut TimePercentage) {
41475 <V as VisitMut>::visit_mut_time_percentage(&mut **self, node)
41476 }
41477
41478 #[inline]
41479 fn visit_mut_token(&mut self, node: &mut Token) {
41480 <V as VisitMut>::visit_mut_token(&mut **self, node)
41481 }
41482
41483 #[inline]
41484 fn visit_mut_token_and_span(&mut self, node: &mut TokenAndSpan) {
41485 <V as VisitMut>::visit_mut_token_and_span(&mut **self, node)
41486 }
41487
41488 #[inline]
41489 fn visit_mut_type_selector(&mut self, node: &mut TypeSelector) {
41490 <V as VisitMut>::visit_mut_type_selector(&mut **self, node)
41491 }
41492
41493 #[inline]
41494 fn visit_mut_unicode_range(&mut self, node: &mut UnicodeRange) {
41495 <V as VisitMut>::visit_mut_unicode_range(&mut **self, node)
41496 }
41497
41498 #[inline]
41499 fn visit_mut_universal_selector(&mut self, node: &mut UniversalSelector) {
41500 <V as VisitMut>::visit_mut_universal_selector(&mut **self, node)
41501 }
41502
41503 #[inline]
41504 fn visit_mut_unknown_dimension(&mut self, node: &mut UnknownDimension) {
41505 <V as VisitMut>::visit_mut_unknown_dimension(&mut **self, node)
41506 }
41507
41508 #[inline]
41509 fn visit_mut_url(&mut self, node: &mut Url) {
41510 <V as VisitMut>::visit_mut_url(&mut **self, node)
41511 }
41512
41513 #[inline]
41514 fn visit_mut_url_key_value(&mut self, node: &mut UrlKeyValue) {
41515 <V as VisitMut>::visit_mut_url_key_value(&mut **self, node)
41516 }
41517
41518 #[inline]
41519 fn visit_mut_url_modifier(&mut self, node: &mut UrlModifier) {
41520 <V as VisitMut>::visit_mut_url_modifier(&mut **self, node)
41521 }
41522
41523 #[inline]
41524 fn visit_mut_url_modifiers(&mut self, node: &mut Vec<UrlModifier>) {
41525 <V as VisitMut>::visit_mut_url_modifiers(&mut **self, node)
41526 }
41527
41528 #[inline]
41529 fn visit_mut_url_value(&mut self, node: &mut UrlValue) {
41530 <V as VisitMut>::visit_mut_url_value(&mut **self, node)
41531 }
41532
41533 #[inline]
41534 fn visit_mut_url_value_raw(&mut self, node: &mut UrlValueRaw) {
41535 <V as VisitMut>::visit_mut_url_value_raw(&mut **self, node)
41536 }
41537
41538 #[inline]
41539 fn visit_mut_wq_name(&mut self, node: &mut WqName) {
41540 <V as VisitMut>::visit_mut_wq_name(&mut **self, node)
41541 }
41542}
41543impl<A, B> VisitMut for ::swc_visit::Either<A, B>
41544where
41545 A: VisitMut,
41546 B: VisitMut,
41547{
41548 #[inline]
41549 fn visit_mut_absolute_color_base(&mut self, node: &mut AbsoluteColorBase) {
41550 match self {
41551 swc_visit::Either::Left(visitor) => {
41552 VisitMut::visit_mut_absolute_color_base(visitor, node)
41553 }
41554 swc_visit::Either::Right(visitor) => {
41555 VisitMut::visit_mut_absolute_color_base(visitor, node)
41556 }
41557 }
41558 }
41559
41560 #[inline]
41561 fn visit_mut_alpha_value(&mut self, node: &mut AlphaValue) {
41562 match self {
41563 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_alpha_value(visitor, node),
41564 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_alpha_value(visitor, node),
41565 }
41566 }
41567
41568 #[inline]
41569 fn visit_mut_an_plus_b(&mut self, node: &mut AnPlusB) {
41570 match self {
41571 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_an_plus_b(visitor, node),
41572 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_an_plus_b(visitor, node),
41573 }
41574 }
41575
41576 #[inline]
41577 fn visit_mut_an_plus_b_notation(&mut self, node: &mut AnPlusBNotation) {
41578 match self {
41579 swc_visit::Either::Left(visitor) => {
41580 VisitMut::visit_mut_an_plus_b_notation(visitor, node)
41581 }
41582 swc_visit::Either::Right(visitor) => {
41583 VisitMut::visit_mut_an_plus_b_notation(visitor, node)
41584 }
41585 }
41586 }
41587
41588 #[inline]
41589 fn visit_mut_angle(&mut self, node: &mut Angle) {
41590 match self {
41591 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_angle(visitor, node),
41592 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_angle(visitor, node),
41593 }
41594 }
41595
41596 #[inline]
41597 fn visit_mut_angle_percentage(&mut self, node: &mut AnglePercentage) {
41598 match self {
41599 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_angle_percentage(visitor, node),
41600 swc_visit::Either::Right(visitor) => {
41601 VisitMut::visit_mut_angle_percentage(visitor, node)
41602 }
41603 }
41604 }
41605
41606 #[inline]
41607 fn visit_mut_any_namespace(&mut self, node: &mut AnyNamespace) {
41608 match self {
41609 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_any_namespace(visitor, node),
41610 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_any_namespace(visitor, node),
41611 }
41612 }
41613
41614 #[inline]
41615 fn visit_mut_at_rule(&mut self, node: &mut AtRule) {
41616 match self {
41617 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_at_rule(visitor, node),
41618 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_at_rule(visitor, node),
41619 }
41620 }
41621
41622 #[inline]
41623 fn visit_mut_at_rule_name(&mut self, node: &mut AtRuleName) {
41624 match self {
41625 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_at_rule_name(visitor, node),
41626 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_at_rule_name(visitor, node),
41627 }
41628 }
41629
41630 #[inline]
41631 fn visit_mut_at_rule_prelude(&mut self, node: &mut AtRulePrelude) {
41632 match self {
41633 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_at_rule_prelude(visitor, node),
41634 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_at_rule_prelude(visitor, node),
41635 }
41636 }
41637
41638 #[inline]
41639 fn visit_mut_atom(&mut self, node: &mut swc_atoms::Atom) {
41640 match self {
41641 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_atom(visitor, node),
41642 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_atom(visitor, node),
41643 }
41644 }
41645
41646 #[inline]
41647 fn visit_mut_attribute_selector(&mut self, node: &mut AttributeSelector) {
41648 match self {
41649 swc_visit::Either::Left(visitor) => {
41650 VisitMut::visit_mut_attribute_selector(visitor, node)
41651 }
41652 swc_visit::Either::Right(visitor) => {
41653 VisitMut::visit_mut_attribute_selector(visitor, node)
41654 }
41655 }
41656 }
41657
41658 #[inline]
41659 fn visit_mut_attribute_selector_matcher(&mut self, node: &mut AttributeSelectorMatcher) {
41660 match self {
41661 swc_visit::Either::Left(visitor) => {
41662 VisitMut::visit_mut_attribute_selector_matcher(visitor, node)
41663 }
41664 swc_visit::Either::Right(visitor) => {
41665 VisitMut::visit_mut_attribute_selector_matcher(visitor, node)
41666 }
41667 }
41668 }
41669
41670 #[inline]
41671 fn visit_mut_attribute_selector_matcher_value(
41672 &mut self,
41673 node: &mut AttributeSelectorMatcherValue,
41674 ) {
41675 match self {
41676 swc_visit::Either::Left(visitor) => {
41677 VisitMut::visit_mut_attribute_selector_matcher_value(visitor, node)
41678 }
41679 swc_visit::Either::Right(visitor) => {
41680 VisitMut::visit_mut_attribute_selector_matcher_value(visitor, node)
41681 }
41682 }
41683 }
41684
41685 #[inline]
41686 fn visit_mut_attribute_selector_modifier(&mut self, node: &mut AttributeSelectorModifier) {
41687 match self {
41688 swc_visit::Either::Left(visitor) => {
41689 VisitMut::visit_mut_attribute_selector_modifier(visitor, node)
41690 }
41691 swc_visit::Either::Right(visitor) => {
41692 VisitMut::visit_mut_attribute_selector_modifier(visitor, node)
41693 }
41694 }
41695 }
41696
41697 #[inline]
41698 fn visit_mut_attribute_selector_value(&mut self, node: &mut AttributeSelectorValue) {
41699 match self {
41700 swc_visit::Either::Left(visitor) => {
41701 VisitMut::visit_mut_attribute_selector_value(visitor, node)
41702 }
41703 swc_visit::Either::Right(visitor) => {
41704 VisitMut::visit_mut_attribute_selector_value(visitor, node)
41705 }
41706 }
41707 }
41708
41709 #[inline]
41710 fn visit_mut_bin_op(&mut self, node: &mut BinOp) {
41711 match self {
41712 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_bin_op(visitor, node),
41713 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_bin_op(visitor, node),
41714 }
41715 }
41716
41717 #[inline]
41718 fn visit_mut_calc_operator(&mut self, node: &mut CalcOperator) {
41719 match self {
41720 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_calc_operator(visitor, node),
41721 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_calc_operator(visitor, node),
41722 }
41723 }
41724
41725 #[inline]
41726 fn visit_mut_calc_operator_type(&mut self, node: &mut CalcOperatorType) {
41727 match self {
41728 swc_visit::Either::Left(visitor) => {
41729 VisitMut::visit_mut_calc_operator_type(visitor, node)
41730 }
41731 swc_visit::Either::Right(visitor) => {
41732 VisitMut::visit_mut_calc_operator_type(visitor, node)
41733 }
41734 }
41735 }
41736
41737 #[inline]
41738 fn visit_mut_calc_product(&mut self, node: &mut CalcProduct) {
41739 match self {
41740 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_calc_product(visitor, node),
41741 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_calc_product(visitor, node),
41742 }
41743 }
41744
41745 #[inline]
41746 fn visit_mut_calc_product_or_operator(&mut self, node: &mut CalcProductOrOperator) {
41747 match self {
41748 swc_visit::Either::Left(visitor) => {
41749 VisitMut::visit_mut_calc_product_or_operator(visitor, node)
41750 }
41751 swc_visit::Either::Right(visitor) => {
41752 VisitMut::visit_mut_calc_product_or_operator(visitor, node)
41753 }
41754 }
41755 }
41756
41757 #[inline]
41758 fn visit_mut_calc_product_or_operators(&mut self, node: &mut Vec<CalcProductOrOperator>) {
41759 match self {
41760 swc_visit::Either::Left(visitor) => {
41761 VisitMut::visit_mut_calc_product_or_operators(visitor, node)
41762 }
41763 swc_visit::Either::Right(visitor) => {
41764 VisitMut::visit_mut_calc_product_or_operators(visitor, node)
41765 }
41766 }
41767 }
41768
41769 #[inline]
41770 fn visit_mut_calc_sum(&mut self, node: &mut CalcSum) {
41771 match self {
41772 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_calc_sum(visitor, node),
41773 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_calc_sum(visitor, node),
41774 }
41775 }
41776
41777 #[inline]
41778 fn visit_mut_calc_value(&mut self, node: &mut CalcValue) {
41779 match self {
41780 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_calc_value(visitor, node),
41781 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_calc_value(visitor, node),
41782 }
41783 }
41784
41785 #[inline]
41786 fn visit_mut_calc_value_or_operator(&mut self, node: &mut CalcValueOrOperator) {
41787 match self {
41788 swc_visit::Either::Left(visitor) => {
41789 VisitMut::visit_mut_calc_value_or_operator(visitor, node)
41790 }
41791 swc_visit::Either::Right(visitor) => {
41792 VisitMut::visit_mut_calc_value_or_operator(visitor, node)
41793 }
41794 }
41795 }
41796
41797 #[inline]
41798 fn visit_mut_calc_value_or_operators(&mut self, node: &mut Vec<CalcValueOrOperator>) {
41799 match self {
41800 swc_visit::Either::Left(visitor) => {
41801 VisitMut::visit_mut_calc_value_or_operators(visitor, node)
41802 }
41803 swc_visit::Either::Right(visitor) => {
41804 VisitMut::visit_mut_calc_value_or_operators(visitor, node)
41805 }
41806 }
41807 }
41808
41809 #[inline]
41810 fn visit_mut_class_selector(&mut self, node: &mut ClassSelector) {
41811 match self {
41812 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_class_selector(visitor, node),
41813 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_class_selector(visitor, node),
41814 }
41815 }
41816
41817 #[inline]
41818 fn visit_mut_cmyk_component(&mut self, node: &mut CmykComponent) {
41819 match self {
41820 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_cmyk_component(visitor, node),
41821 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_cmyk_component(visitor, node),
41822 }
41823 }
41824
41825 #[inline]
41826 fn visit_mut_color(&mut self, node: &mut Color) {
41827 match self {
41828 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_color(visitor, node),
41829 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_color(visitor, node),
41830 }
41831 }
41832
41833 #[inline]
41834 fn visit_mut_color_profile_name(&mut self, node: &mut ColorProfileName) {
41835 match self {
41836 swc_visit::Either::Left(visitor) => {
41837 VisitMut::visit_mut_color_profile_name(visitor, node)
41838 }
41839 swc_visit::Either::Right(visitor) => {
41840 VisitMut::visit_mut_color_profile_name(visitor, node)
41841 }
41842 }
41843 }
41844
41845 #[inline]
41846 fn visit_mut_combinator(&mut self, node: &mut Combinator) {
41847 match self {
41848 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_combinator(visitor, node),
41849 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_combinator(visitor, node),
41850 }
41851 }
41852
41853 #[inline]
41854 fn visit_mut_combinator_value(&mut self, node: &mut CombinatorValue) {
41855 match self {
41856 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_combinator_value(visitor, node),
41857 swc_visit::Either::Right(visitor) => {
41858 VisitMut::visit_mut_combinator_value(visitor, node)
41859 }
41860 }
41861 }
41862
41863 #[inline]
41864 fn visit_mut_complex_selector(&mut self, node: &mut ComplexSelector) {
41865 match self {
41866 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_complex_selector(visitor, node),
41867 swc_visit::Either::Right(visitor) => {
41868 VisitMut::visit_mut_complex_selector(visitor, node)
41869 }
41870 }
41871 }
41872
41873 #[inline]
41874 fn visit_mut_complex_selector_children(&mut self, node: &mut ComplexSelectorChildren) {
41875 match self {
41876 swc_visit::Either::Left(visitor) => {
41877 VisitMut::visit_mut_complex_selector_children(visitor, node)
41878 }
41879 swc_visit::Either::Right(visitor) => {
41880 VisitMut::visit_mut_complex_selector_children(visitor, node)
41881 }
41882 }
41883 }
41884
41885 #[inline]
41886 fn visit_mut_complex_selector_childrens(&mut self, node: &mut Vec<ComplexSelectorChildren>) {
41887 match self {
41888 swc_visit::Either::Left(visitor) => {
41889 VisitMut::visit_mut_complex_selector_childrens(visitor, node)
41890 }
41891 swc_visit::Either::Right(visitor) => {
41892 VisitMut::visit_mut_complex_selector_childrens(visitor, node)
41893 }
41894 }
41895 }
41896
41897 #[inline]
41898 fn visit_mut_complex_selectors(&mut self, node: &mut Vec<ComplexSelector>) {
41899 match self {
41900 swc_visit::Either::Left(visitor) => {
41901 VisitMut::visit_mut_complex_selectors(visitor, node)
41902 }
41903 swc_visit::Either::Right(visitor) => {
41904 VisitMut::visit_mut_complex_selectors(visitor, node)
41905 }
41906 }
41907 }
41908
41909 #[inline]
41910 fn visit_mut_component_value(&mut self, node: &mut ComponentValue) {
41911 match self {
41912 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_component_value(visitor, node),
41913 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_component_value(visitor, node),
41914 }
41915 }
41916
41917 #[inline]
41918 fn visit_mut_component_values(&mut self, node: &mut Vec<ComponentValue>) {
41919 match self {
41920 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_component_values(visitor, node),
41921 swc_visit::Either::Right(visitor) => {
41922 VisitMut::visit_mut_component_values(visitor, node)
41923 }
41924 }
41925 }
41926
41927 #[inline]
41928 fn visit_mut_compound_selector(&mut self, node: &mut CompoundSelector) {
41929 match self {
41930 swc_visit::Either::Left(visitor) => {
41931 VisitMut::visit_mut_compound_selector(visitor, node)
41932 }
41933 swc_visit::Either::Right(visitor) => {
41934 VisitMut::visit_mut_compound_selector(visitor, node)
41935 }
41936 }
41937 }
41938
41939 #[inline]
41940 fn visit_mut_compound_selector_list(&mut self, node: &mut CompoundSelectorList) {
41941 match self {
41942 swc_visit::Either::Left(visitor) => {
41943 VisitMut::visit_mut_compound_selector_list(visitor, node)
41944 }
41945 swc_visit::Either::Right(visitor) => {
41946 VisitMut::visit_mut_compound_selector_list(visitor, node)
41947 }
41948 }
41949 }
41950
41951 #[inline]
41952 fn visit_mut_compound_selectors(&mut self, node: &mut Vec<CompoundSelector>) {
41953 match self {
41954 swc_visit::Either::Left(visitor) => {
41955 VisitMut::visit_mut_compound_selectors(visitor, node)
41956 }
41957 swc_visit::Either::Right(visitor) => {
41958 VisitMut::visit_mut_compound_selectors(visitor, node)
41959 }
41960 }
41961 }
41962
41963 #[inline]
41964 fn visit_mut_container_condition(&mut self, node: &mut ContainerCondition) {
41965 match self {
41966 swc_visit::Either::Left(visitor) => {
41967 VisitMut::visit_mut_container_condition(visitor, node)
41968 }
41969 swc_visit::Either::Right(visitor) => {
41970 VisitMut::visit_mut_container_condition(visitor, node)
41971 }
41972 }
41973 }
41974
41975 #[inline]
41976 fn visit_mut_container_name(&mut self, node: &mut ContainerName) {
41977 match self {
41978 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_container_name(visitor, node),
41979 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_container_name(visitor, node),
41980 }
41981 }
41982
41983 #[inline]
41984 fn visit_mut_container_query(&mut self, node: &mut ContainerQuery) {
41985 match self {
41986 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_container_query(visitor, node),
41987 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_container_query(visitor, node),
41988 }
41989 }
41990
41991 #[inline]
41992 fn visit_mut_container_query_and(&mut self, node: &mut ContainerQueryAnd) {
41993 match self {
41994 swc_visit::Either::Left(visitor) => {
41995 VisitMut::visit_mut_container_query_and(visitor, node)
41996 }
41997 swc_visit::Either::Right(visitor) => {
41998 VisitMut::visit_mut_container_query_and(visitor, node)
41999 }
42000 }
42001 }
42002
42003 #[inline]
42004 fn visit_mut_container_query_not(&mut self, node: &mut ContainerQueryNot) {
42005 match self {
42006 swc_visit::Either::Left(visitor) => {
42007 VisitMut::visit_mut_container_query_not(visitor, node)
42008 }
42009 swc_visit::Either::Right(visitor) => {
42010 VisitMut::visit_mut_container_query_not(visitor, node)
42011 }
42012 }
42013 }
42014
42015 #[inline]
42016 fn visit_mut_container_query_or(&mut self, node: &mut ContainerQueryOr) {
42017 match self {
42018 swc_visit::Either::Left(visitor) => {
42019 VisitMut::visit_mut_container_query_or(visitor, node)
42020 }
42021 swc_visit::Either::Right(visitor) => {
42022 VisitMut::visit_mut_container_query_or(visitor, node)
42023 }
42024 }
42025 }
42026
42027 #[inline]
42028 fn visit_mut_container_query_type(&mut self, node: &mut ContainerQueryType) {
42029 match self {
42030 swc_visit::Either::Left(visitor) => {
42031 VisitMut::visit_mut_container_query_type(visitor, node)
42032 }
42033 swc_visit::Either::Right(visitor) => {
42034 VisitMut::visit_mut_container_query_type(visitor, node)
42035 }
42036 }
42037 }
42038
42039 #[inline]
42040 fn visit_mut_container_query_types(&mut self, node: &mut Vec<ContainerQueryType>) {
42041 match self {
42042 swc_visit::Either::Left(visitor) => {
42043 VisitMut::visit_mut_container_query_types(visitor, node)
42044 }
42045 swc_visit::Either::Right(visitor) => {
42046 VisitMut::visit_mut_container_query_types(visitor, node)
42047 }
42048 }
42049 }
42050
42051 #[inline]
42052 fn visit_mut_custom_highlight_name(&mut self, node: &mut CustomHighlightName) {
42053 match self {
42054 swc_visit::Either::Left(visitor) => {
42055 VisitMut::visit_mut_custom_highlight_name(visitor, node)
42056 }
42057 swc_visit::Either::Right(visitor) => {
42058 VisitMut::visit_mut_custom_highlight_name(visitor, node)
42059 }
42060 }
42061 }
42062
42063 #[inline]
42064 fn visit_mut_custom_ident(&mut self, node: &mut CustomIdent) {
42065 match self {
42066 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_custom_ident(visitor, node),
42067 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_custom_ident(visitor, node),
42068 }
42069 }
42070
42071 #[inline]
42072 fn visit_mut_custom_idents(&mut self, node: &mut Vec<CustomIdent>) {
42073 match self {
42074 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_custom_idents(visitor, node),
42075 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_custom_idents(visitor, node),
42076 }
42077 }
42078
42079 #[inline]
42080 fn visit_mut_custom_media_query(&mut self, node: &mut CustomMediaQuery) {
42081 match self {
42082 swc_visit::Either::Left(visitor) => {
42083 VisitMut::visit_mut_custom_media_query(visitor, node)
42084 }
42085 swc_visit::Either::Right(visitor) => {
42086 VisitMut::visit_mut_custom_media_query(visitor, node)
42087 }
42088 }
42089 }
42090
42091 #[inline]
42092 fn visit_mut_custom_media_query_media_type(&mut self, node: &mut CustomMediaQueryMediaType) {
42093 match self {
42094 swc_visit::Either::Left(visitor) => {
42095 VisitMut::visit_mut_custom_media_query_media_type(visitor, node)
42096 }
42097 swc_visit::Either::Right(visitor) => {
42098 VisitMut::visit_mut_custom_media_query_media_type(visitor, node)
42099 }
42100 }
42101 }
42102
42103 #[inline]
42104 fn visit_mut_custom_property_name(&mut self, node: &mut CustomPropertyName) {
42105 match self {
42106 swc_visit::Either::Left(visitor) => {
42107 VisitMut::visit_mut_custom_property_name(visitor, node)
42108 }
42109 swc_visit::Either::Right(visitor) => {
42110 VisitMut::visit_mut_custom_property_name(visitor, node)
42111 }
42112 }
42113 }
42114
42115 #[inline]
42116 fn visit_mut_dashed_ident(&mut self, node: &mut DashedIdent) {
42117 match self {
42118 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_dashed_ident(visitor, node),
42119 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_dashed_ident(visitor, node),
42120 }
42121 }
42122
42123 #[inline]
42124 fn visit_mut_declaration(&mut self, node: &mut Declaration) {
42125 match self {
42126 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_declaration(visitor, node),
42127 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_declaration(visitor, node),
42128 }
42129 }
42130
42131 #[inline]
42132 fn visit_mut_declaration_name(&mut self, node: &mut DeclarationName) {
42133 match self {
42134 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_declaration_name(visitor, node),
42135 swc_visit::Either::Right(visitor) => {
42136 VisitMut::visit_mut_declaration_name(visitor, node)
42137 }
42138 }
42139 }
42140
42141 #[inline]
42142 fn visit_mut_declaration_or_at_rule(&mut self, node: &mut DeclarationOrAtRule) {
42143 match self {
42144 swc_visit::Either::Left(visitor) => {
42145 VisitMut::visit_mut_declaration_or_at_rule(visitor, node)
42146 }
42147 swc_visit::Either::Right(visitor) => {
42148 VisitMut::visit_mut_declaration_or_at_rule(visitor, node)
42149 }
42150 }
42151 }
42152
42153 #[inline]
42154 fn visit_mut_delimiter(&mut self, node: &mut Delimiter) {
42155 match self {
42156 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_delimiter(visitor, node),
42157 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_delimiter(visitor, node),
42158 }
42159 }
42160
42161 #[inline]
42162 fn visit_mut_delimiter_value(&mut self, node: &mut DelimiterValue) {
42163 match self {
42164 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_delimiter_value(visitor, node),
42165 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_delimiter_value(visitor, node),
42166 }
42167 }
42168
42169 #[inline]
42170 fn visit_mut_dimension(&mut self, node: &mut Dimension) {
42171 match self {
42172 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_dimension(visitor, node),
42173 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_dimension(visitor, node),
42174 }
42175 }
42176
42177 #[inline]
42178 fn visit_mut_dimension_token(&mut self, node: &mut DimensionToken) {
42179 match self {
42180 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_dimension_token(visitor, node),
42181 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_dimension_token(visitor, node),
42182 }
42183 }
42184
42185 #[inline]
42186 fn visit_mut_document_prelude(&mut self, node: &mut DocumentPrelude) {
42187 match self {
42188 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_document_prelude(visitor, node),
42189 swc_visit::Either::Right(visitor) => {
42190 VisitMut::visit_mut_document_prelude(visitor, node)
42191 }
42192 }
42193 }
42194
42195 #[inline]
42196 fn visit_mut_document_prelude_matching_function(
42197 &mut self,
42198 node: &mut DocumentPreludeMatchingFunction,
42199 ) {
42200 match self {
42201 swc_visit::Either::Left(visitor) => {
42202 VisitMut::visit_mut_document_prelude_matching_function(visitor, node)
42203 }
42204 swc_visit::Either::Right(visitor) => {
42205 VisitMut::visit_mut_document_prelude_matching_function(visitor, node)
42206 }
42207 }
42208 }
42209
42210 #[inline]
42211 fn visit_mut_document_prelude_matching_functions(
42212 &mut self,
42213 node: &mut Vec<DocumentPreludeMatchingFunction>,
42214 ) {
42215 match self {
42216 swc_visit::Either::Left(visitor) => {
42217 VisitMut::visit_mut_document_prelude_matching_functions(visitor, node)
42218 }
42219 swc_visit::Either::Right(visitor) => {
42220 VisitMut::visit_mut_document_prelude_matching_functions(visitor, node)
42221 }
42222 }
42223 }
42224
42225 #[inline]
42226 fn visit_mut_extension_name(&mut self, node: &mut ExtensionName) {
42227 match self {
42228 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_extension_name(visitor, node),
42229 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_extension_name(visitor, node),
42230 }
42231 }
42232
42233 #[inline]
42234 fn visit_mut_family_name(&mut self, node: &mut FamilyName) {
42235 match self {
42236 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_family_name(visitor, node),
42237 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_family_name(visitor, node),
42238 }
42239 }
42240
42241 #[inline]
42242 fn visit_mut_family_names(&mut self, node: &mut Vec<FamilyName>) {
42243 match self {
42244 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_family_names(visitor, node),
42245 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_family_names(visitor, node),
42246 }
42247 }
42248
42249 #[inline]
42250 fn visit_mut_flex(&mut self, node: &mut Flex) {
42251 match self {
42252 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_flex(visitor, node),
42253 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_flex(visitor, node),
42254 }
42255 }
42256
42257 #[inline]
42258 fn visit_mut_font_feature_values_prelude(&mut self, node: &mut FontFeatureValuesPrelude) {
42259 match self {
42260 swc_visit::Either::Left(visitor) => {
42261 VisitMut::visit_mut_font_feature_values_prelude(visitor, node)
42262 }
42263 swc_visit::Either::Right(visitor) => {
42264 VisitMut::visit_mut_font_feature_values_prelude(visitor, node)
42265 }
42266 }
42267 }
42268
42269 #[inline]
42270 fn visit_mut_forgiving_complex_selector(&mut self, node: &mut ForgivingComplexSelector) {
42271 match self {
42272 swc_visit::Either::Left(visitor) => {
42273 VisitMut::visit_mut_forgiving_complex_selector(visitor, node)
42274 }
42275 swc_visit::Either::Right(visitor) => {
42276 VisitMut::visit_mut_forgiving_complex_selector(visitor, node)
42277 }
42278 }
42279 }
42280
42281 #[inline]
42282 fn visit_mut_forgiving_complex_selectors(&mut self, node: &mut Vec<ForgivingComplexSelector>) {
42283 match self {
42284 swc_visit::Either::Left(visitor) => {
42285 VisitMut::visit_mut_forgiving_complex_selectors(visitor, node)
42286 }
42287 swc_visit::Either::Right(visitor) => {
42288 VisitMut::visit_mut_forgiving_complex_selectors(visitor, node)
42289 }
42290 }
42291 }
42292
42293 #[inline]
42294 fn visit_mut_forgiving_relative_selector(&mut self, node: &mut ForgivingRelativeSelector) {
42295 match self {
42296 swc_visit::Either::Left(visitor) => {
42297 VisitMut::visit_mut_forgiving_relative_selector(visitor, node)
42298 }
42299 swc_visit::Either::Right(visitor) => {
42300 VisitMut::visit_mut_forgiving_relative_selector(visitor, node)
42301 }
42302 }
42303 }
42304
42305 #[inline]
42306 fn visit_mut_forgiving_relative_selector_list(
42307 &mut self,
42308 node: &mut ForgivingRelativeSelectorList,
42309 ) {
42310 match self {
42311 swc_visit::Either::Left(visitor) => {
42312 VisitMut::visit_mut_forgiving_relative_selector_list(visitor, node)
42313 }
42314 swc_visit::Either::Right(visitor) => {
42315 VisitMut::visit_mut_forgiving_relative_selector_list(visitor, node)
42316 }
42317 }
42318 }
42319
42320 #[inline]
42321 fn visit_mut_forgiving_relative_selectors(
42322 &mut self,
42323 node: &mut Vec<ForgivingRelativeSelector>,
42324 ) {
42325 match self {
42326 swc_visit::Either::Left(visitor) => {
42327 VisitMut::visit_mut_forgiving_relative_selectors(visitor, node)
42328 }
42329 swc_visit::Either::Right(visitor) => {
42330 VisitMut::visit_mut_forgiving_relative_selectors(visitor, node)
42331 }
42332 }
42333 }
42334
42335 #[inline]
42336 fn visit_mut_forgiving_selector_list(&mut self, node: &mut ForgivingSelectorList) {
42337 match self {
42338 swc_visit::Either::Left(visitor) => {
42339 VisitMut::visit_mut_forgiving_selector_list(visitor, node)
42340 }
42341 swc_visit::Either::Right(visitor) => {
42342 VisitMut::visit_mut_forgiving_selector_list(visitor, node)
42343 }
42344 }
42345 }
42346
42347 #[inline]
42348 fn visit_mut_frequency(&mut self, node: &mut Frequency) {
42349 match self {
42350 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_frequency(visitor, node),
42351 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_frequency(visitor, node),
42352 }
42353 }
42354
42355 #[inline]
42356 fn visit_mut_frequency_percentage(&mut self, node: &mut FrequencyPercentage) {
42357 match self {
42358 swc_visit::Either::Left(visitor) => {
42359 VisitMut::visit_mut_frequency_percentage(visitor, node)
42360 }
42361 swc_visit::Either::Right(visitor) => {
42362 VisitMut::visit_mut_frequency_percentage(visitor, node)
42363 }
42364 }
42365 }
42366
42367 #[inline]
42368 fn visit_mut_function(&mut self, node: &mut Function) {
42369 match self {
42370 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_function(visitor, node),
42371 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_function(visitor, node),
42372 }
42373 }
42374
42375 #[inline]
42376 fn visit_mut_function_name(&mut self, node: &mut FunctionName) {
42377 match self {
42378 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_function_name(visitor, node),
42379 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_function_name(visitor, node),
42380 }
42381 }
42382
42383 #[inline]
42384 fn visit_mut_general_enclosed(&mut self, node: &mut GeneralEnclosed) {
42385 match self {
42386 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_general_enclosed(visitor, node),
42387 swc_visit::Either::Right(visitor) => {
42388 VisitMut::visit_mut_general_enclosed(visitor, node)
42389 }
42390 }
42391 }
42392
42393 #[inline]
42394 fn visit_mut_hex_color(&mut self, node: &mut HexColor) {
42395 match self {
42396 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_hex_color(visitor, node),
42397 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_hex_color(visitor, node),
42398 }
42399 }
42400
42401 #[inline]
42402 fn visit_mut_hue(&mut self, node: &mut Hue) {
42403 match self {
42404 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_hue(visitor, node),
42405 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_hue(visitor, node),
42406 }
42407 }
42408
42409 #[inline]
42410 fn visit_mut_id_selector(&mut self, node: &mut IdSelector) {
42411 match self {
42412 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_id_selector(visitor, node),
42413 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_id_selector(visitor, node),
42414 }
42415 }
42416
42417 #[inline]
42418 fn visit_mut_ident(&mut self, node: &mut Ident) {
42419 match self {
42420 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_ident(visitor, node),
42421 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_ident(visitor, node),
42422 }
42423 }
42424
42425 #[inline]
42426 fn visit_mut_idents(&mut self, node: &mut Vec<Ident>) {
42427 match self {
42428 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_idents(visitor, node),
42429 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_idents(visitor, node),
42430 }
42431 }
42432
42433 #[inline]
42434 fn visit_mut_import_conditions(&mut self, node: &mut ImportConditions) {
42435 match self {
42436 swc_visit::Either::Left(visitor) => {
42437 VisitMut::visit_mut_import_conditions(visitor, node)
42438 }
42439 swc_visit::Either::Right(visitor) => {
42440 VisitMut::visit_mut_import_conditions(visitor, node)
42441 }
42442 }
42443 }
42444
42445 #[inline]
42446 fn visit_mut_import_href(&mut self, node: &mut ImportHref) {
42447 match self {
42448 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_import_href(visitor, node),
42449 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_import_href(visitor, node),
42450 }
42451 }
42452
42453 #[inline]
42454 fn visit_mut_import_layer_name(&mut self, node: &mut ImportLayerName) {
42455 match self {
42456 swc_visit::Either::Left(visitor) => {
42457 VisitMut::visit_mut_import_layer_name(visitor, node)
42458 }
42459 swc_visit::Either::Right(visitor) => {
42460 VisitMut::visit_mut_import_layer_name(visitor, node)
42461 }
42462 }
42463 }
42464
42465 #[inline]
42466 fn visit_mut_import_prelude(&mut self, node: &mut ImportPrelude) {
42467 match self {
42468 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_import_prelude(visitor, node),
42469 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_import_prelude(visitor, node),
42470 }
42471 }
42472
42473 #[inline]
42474 fn visit_mut_important_flag(&mut self, node: &mut ImportantFlag) {
42475 match self {
42476 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_important_flag(visitor, node),
42477 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_important_flag(visitor, node),
42478 }
42479 }
42480
42481 #[inline]
42482 fn visit_mut_integer(&mut self, node: &mut Integer) {
42483 match self {
42484 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_integer(visitor, node),
42485 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_integer(visitor, node),
42486 }
42487 }
42488
42489 #[inline]
42490 fn visit_mut_keyframe_block(&mut self, node: &mut KeyframeBlock) {
42491 match self {
42492 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_keyframe_block(visitor, node),
42493 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_keyframe_block(visitor, node),
42494 }
42495 }
42496
42497 #[inline]
42498 fn visit_mut_keyframe_selector(&mut self, node: &mut KeyframeSelector) {
42499 match self {
42500 swc_visit::Either::Left(visitor) => {
42501 VisitMut::visit_mut_keyframe_selector(visitor, node)
42502 }
42503 swc_visit::Either::Right(visitor) => {
42504 VisitMut::visit_mut_keyframe_selector(visitor, node)
42505 }
42506 }
42507 }
42508
42509 #[inline]
42510 fn visit_mut_keyframe_selectors(&mut self, node: &mut Vec<KeyframeSelector>) {
42511 match self {
42512 swc_visit::Either::Left(visitor) => {
42513 VisitMut::visit_mut_keyframe_selectors(visitor, node)
42514 }
42515 swc_visit::Either::Right(visitor) => {
42516 VisitMut::visit_mut_keyframe_selectors(visitor, node)
42517 }
42518 }
42519 }
42520
42521 #[inline]
42522 fn visit_mut_keyframes_name(&mut self, node: &mut KeyframesName) {
42523 match self {
42524 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_keyframes_name(visitor, node),
42525 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_keyframes_name(visitor, node),
42526 }
42527 }
42528
42529 #[inline]
42530 fn visit_mut_keyframes_pseudo_function(&mut self, node: &mut KeyframesPseudoFunction) {
42531 match self {
42532 swc_visit::Either::Left(visitor) => {
42533 VisitMut::visit_mut_keyframes_pseudo_function(visitor, node)
42534 }
42535 swc_visit::Either::Right(visitor) => {
42536 VisitMut::visit_mut_keyframes_pseudo_function(visitor, node)
42537 }
42538 }
42539 }
42540
42541 #[inline]
42542 fn visit_mut_keyframes_pseudo_prefix(&mut self, node: &mut KeyframesPseudoPrefix) {
42543 match self {
42544 swc_visit::Either::Left(visitor) => {
42545 VisitMut::visit_mut_keyframes_pseudo_prefix(visitor, node)
42546 }
42547 swc_visit::Either::Right(visitor) => {
42548 VisitMut::visit_mut_keyframes_pseudo_prefix(visitor, node)
42549 }
42550 }
42551 }
42552
42553 #[inline]
42554 fn visit_mut_layer_name(&mut self, node: &mut LayerName) {
42555 match self {
42556 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_layer_name(visitor, node),
42557 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_layer_name(visitor, node),
42558 }
42559 }
42560
42561 #[inline]
42562 fn visit_mut_layer_name_list(&mut self, node: &mut LayerNameList) {
42563 match self {
42564 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_layer_name_list(visitor, node),
42565 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_layer_name_list(visitor, node),
42566 }
42567 }
42568
42569 #[inline]
42570 fn visit_mut_layer_names(&mut self, node: &mut Vec<LayerName>) {
42571 match self {
42572 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_layer_names(visitor, node),
42573 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_layer_names(visitor, node),
42574 }
42575 }
42576
42577 #[inline]
42578 fn visit_mut_layer_prelude(&mut self, node: &mut LayerPrelude) {
42579 match self {
42580 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_layer_prelude(visitor, node),
42581 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_layer_prelude(visitor, node),
42582 }
42583 }
42584
42585 #[inline]
42586 fn visit_mut_length(&mut self, node: &mut Length) {
42587 match self {
42588 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_length(visitor, node),
42589 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_length(visitor, node),
42590 }
42591 }
42592
42593 #[inline]
42594 fn visit_mut_length_percentage(&mut self, node: &mut LengthPercentage) {
42595 match self {
42596 swc_visit::Either::Left(visitor) => {
42597 VisitMut::visit_mut_length_percentage(visitor, node)
42598 }
42599 swc_visit::Either::Right(visitor) => {
42600 VisitMut::visit_mut_length_percentage(visitor, node)
42601 }
42602 }
42603 }
42604
42605 #[inline]
42606 fn visit_mut_list_of_component_values(&mut self, node: &mut ListOfComponentValues) {
42607 match self {
42608 swc_visit::Either::Left(visitor) => {
42609 VisitMut::visit_mut_list_of_component_values(visitor, node)
42610 }
42611 swc_visit::Either::Right(visitor) => {
42612 VisitMut::visit_mut_list_of_component_values(visitor, node)
42613 }
42614 }
42615 }
42616
42617 #[inline]
42618 fn visit_mut_media_and(&mut self, node: &mut MediaAnd) {
42619 match self {
42620 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_and(visitor, node),
42621 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_and(visitor, node),
42622 }
42623 }
42624
42625 #[inline]
42626 fn visit_mut_media_condition(&mut self, node: &mut MediaCondition) {
42627 match self {
42628 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_condition(visitor, node),
42629 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_condition(visitor, node),
42630 }
42631 }
42632
42633 #[inline]
42634 fn visit_mut_media_condition_all_type(&mut self, node: &mut MediaConditionAllType) {
42635 match self {
42636 swc_visit::Either::Left(visitor) => {
42637 VisitMut::visit_mut_media_condition_all_type(visitor, node)
42638 }
42639 swc_visit::Either::Right(visitor) => {
42640 VisitMut::visit_mut_media_condition_all_type(visitor, node)
42641 }
42642 }
42643 }
42644
42645 #[inline]
42646 fn visit_mut_media_condition_all_types(&mut self, node: &mut Vec<MediaConditionAllType>) {
42647 match self {
42648 swc_visit::Either::Left(visitor) => {
42649 VisitMut::visit_mut_media_condition_all_types(visitor, node)
42650 }
42651 swc_visit::Either::Right(visitor) => {
42652 VisitMut::visit_mut_media_condition_all_types(visitor, node)
42653 }
42654 }
42655 }
42656
42657 #[inline]
42658 fn visit_mut_media_condition_type(&mut self, node: &mut MediaConditionType) {
42659 match self {
42660 swc_visit::Either::Left(visitor) => {
42661 VisitMut::visit_mut_media_condition_type(visitor, node)
42662 }
42663 swc_visit::Either::Right(visitor) => {
42664 VisitMut::visit_mut_media_condition_type(visitor, node)
42665 }
42666 }
42667 }
42668
42669 #[inline]
42670 fn visit_mut_media_condition_without_or(&mut self, node: &mut MediaConditionWithoutOr) {
42671 match self {
42672 swc_visit::Either::Left(visitor) => {
42673 VisitMut::visit_mut_media_condition_without_or(visitor, node)
42674 }
42675 swc_visit::Either::Right(visitor) => {
42676 VisitMut::visit_mut_media_condition_without_or(visitor, node)
42677 }
42678 }
42679 }
42680
42681 #[inline]
42682 fn visit_mut_media_condition_without_or_type(
42683 &mut self,
42684 node: &mut MediaConditionWithoutOrType,
42685 ) {
42686 match self {
42687 swc_visit::Either::Left(visitor) => {
42688 VisitMut::visit_mut_media_condition_without_or_type(visitor, node)
42689 }
42690 swc_visit::Either::Right(visitor) => {
42691 VisitMut::visit_mut_media_condition_without_or_type(visitor, node)
42692 }
42693 }
42694 }
42695
42696 #[inline]
42697 fn visit_mut_media_condition_without_or_types(
42698 &mut self,
42699 node: &mut Vec<MediaConditionWithoutOrType>,
42700 ) {
42701 match self {
42702 swc_visit::Either::Left(visitor) => {
42703 VisitMut::visit_mut_media_condition_without_or_types(visitor, node)
42704 }
42705 swc_visit::Either::Right(visitor) => {
42706 VisitMut::visit_mut_media_condition_without_or_types(visitor, node)
42707 }
42708 }
42709 }
42710
42711 #[inline]
42712 fn visit_mut_media_feature(&mut self, node: &mut MediaFeature) {
42713 match self {
42714 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_feature(visitor, node),
42715 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_feature(visitor, node),
42716 }
42717 }
42718
42719 #[inline]
42720 fn visit_mut_media_feature_boolean(&mut self, node: &mut MediaFeatureBoolean) {
42721 match self {
42722 swc_visit::Either::Left(visitor) => {
42723 VisitMut::visit_mut_media_feature_boolean(visitor, node)
42724 }
42725 swc_visit::Either::Right(visitor) => {
42726 VisitMut::visit_mut_media_feature_boolean(visitor, node)
42727 }
42728 }
42729 }
42730
42731 #[inline]
42732 fn visit_mut_media_feature_name(&mut self, node: &mut MediaFeatureName) {
42733 match self {
42734 swc_visit::Either::Left(visitor) => {
42735 VisitMut::visit_mut_media_feature_name(visitor, node)
42736 }
42737 swc_visit::Either::Right(visitor) => {
42738 VisitMut::visit_mut_media_feature_name(visitor, node)
42739 }
42740 }
42741 }
42742
42743 #[inline]
42744 fn visit_mut_media_feature_plain(&mut self, node: &mut MediaFeaturePlain) {
42745 match self {
42746 swc_visit::Either::Left(visitor) => {
42747 VisitMut::visit_mut_media_feature_plain(visitor, node)
42748 }
42749 swc_visit::Either::Right(visitor) => {
42750 VisitMut::visit_mut_media_feature_plain(visitor, node)
42751 }
42752 }
42753 }
42754
42755 #[inline]
42756 fn visit_mut_media_feature_range(&mut self, node: &mut MediaFeatureRange) {
42757 match self {
42758 swc_visit::Either::Left(visitor) => {
42759 VisitMut::visit_mut_media_feature_range(visitor, node)
42760 }
42761 swc_visit::Either::Right(visitor) => {
42762 VisitMut::visit_mut_media_feature_range(visitor, node)
42763 }
42764 }
42765 }
42766
42767 #[inline]
42768 fn visit_mut_media_feature_range_comparison(&mut self, node: &mut MediaFeatureRangeComparison) {
42769 match self {
42770 swc_visit::Either::Left(visitor) => {
42771 VisitMut::visit_mut_media_feature_range_comparison(visitor, node)
42772 }
42773 swc_visit::Either::Right(visitor) => {
42774 VisitMut::visit_mut_media_feature_range_comparison(visitor, node)
42775 }
42776 }
42777 }
42778
42779 #[inline]
42780 fn visit_mut_media_feature_range_interval(&mut self, node: &mut MediaFeatureRangeInterval) {
42781 match self {
42782 swc_visit::Either::Left(visitor) => {
42783 VisitMut::visit_mut_media_feature_range_interval(visitor, node)
42784 }
42785 swc_visit::Either::Right(visitor) => {
42786 VisitMut::visit_mut_media_feature_range_interval(visitor, node)
42787 }
42788 }
42789 }
42790
42791 #[inline]
42792 fn visit_mut_media_feature_value(&mut self, node: &mut MediaFeatureValue) {
42793 match self {
42794 swc_visit::Either::Left(visitor) => {
42795 VisitMut::visit_mut_media_feature_value(visitor, node)
42796 }
42797 swc_visit::Either::Right(visitor) => {
42798 VisitMut::visit_mut_media_feature_value(visitor, node)
42799 }
42800 }
42801 }
42802
42803 #[inline]
42804 fn visit_mut_media_in_parens(&mut self, node: &mut MediaInParens) {
42805 match self {
42806 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_in_parens(visitor, node),
42807 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_in_parens(visitor, node),
42808 }
42809 }
42810
42811 #[inline]
42812 fn visit_mut_media_not(&mut self, node: &mut MediaNot) {
42813 match self {
42814 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_not(visitor, node),
42815 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_not(visitor, node),
42816 }
42817 }
42818
42819 #[inline]
42820 fn visit_mut_media_or(&mut self, node: &mut MediaOr) {
42821 match self {
42822 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_or(visitor, node),
42823 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_or(visitor, node),
42824 }
42825 }
42826
42827 #[inline]
42828 fn visit_mut_media_query(&mut self, node: &mut MediaQuery) {
42829 match self {
42830 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_query(visitor, node),
42831 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_query(visitor, node),
42832 }
42833 }
42834
42835 #[inline]
42836 fn visit_mut_media_query_list(&mut self, node: &mut MediaQueryList) {
42837 match self {
42838 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_query_list(visitor, node),
42839 swc_visit::Either::Right(visitor) => {
42840 VisitMut::visit_mut_media_query_list(visitor, node)
42841 }
42842 }
42843 }
42844
42845 #[inline]
42846 fn visit_mut_media_querys(&mut self, node: &mut Vec<MediaQuery>) {
42847 match self {
42848 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_querys(visitor, node),
42849 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_querys(visitor, node),
42850 }
42851 }
42852
42853 #[inline]
42854 fn visit_mut_media_type(&mut self, node: &mut MediaType) {
42855 match self {
42856 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_media_type(visitor, node),
42857 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_media_type(visitor, node),
42858 }
42859 }
42860
42861 #[inline]
42862 fn visit_mut_named_namespace(&mut self, node: &mut NamedNamespace) {
42863 match self {
42864 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_named_namespace(visitor, node),
42865 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_named_namespace(visitor, node),
42866 }
42867 }
42868
42869 #[inline]
42870 fn visit_mut_namespace(&mut self, node: &mut Namespace) {
42871 match self {
42872 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_namespace(visitor, node),
42873 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_namespace(visitor, node),
42874 }
42875 }
42876
42877 #[inline]
42878 fn visit_mut_namespace_prefix(&mut self, node: &mut NamespacePrefix) {
42879 match self {
42880 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_namespace_prefix(visitor, node),
42881 swc_visit::Either::Right(visitor) => {
42882 VisitMut::visit_mut_namespace_prefix(visitor, node)
42883 }
42884 }
42885 }
42886
42887 #[inline]
42888 fn visit_mut_namespace_prelude(&mut self, node: &mut NamespacePrelude) {
42889 match self {
42890 swc_visit::Either::Left(visitor) => {
42891 VisitMut::visit_mut_namespace_prelude(visitor, node)
42892 }
42893 swc_visit::Either::Right(visitor) => {
42894 VisitMut::visit_mut_namespace_prelude(visitor, node)
42895 }
42896 }
42897 }
42898
42899 #[inline]
42900 fn visit_mut_namespace_prelude_uri(&mut self, node: &mut NamespacePreludeUri) {
42901 match self {
42902 swc_visit::Either::Left(visitor) => {
42903 VisitMut::visit_mut_namespace_prelude_uri(visitor, node)
42904 }
42905 swc_visit::Either::Right(visitor) => {
42906 VisitMut::visit_mut_namespace_prelude_uri(visitor, node)
42907 }
42908 }
42909 }
42910
42911 #[inline]
42912 fn visit_mut_nesting_selector(&mut self, node: &mut NestingSelector) {
42913 match self {
42914 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_nesting_selector(visitor, node),
42915 swc_visit::Either::Right(visitor) => {
42916 VisitMut::visit_mut_nesting_selector(visitor, node)
42917 }
42918 }
42919 }
42920
42921 #[inline]
42922 fn visit_mut_number(&mut self, node: &mut Number) {
42923 match self {
42924 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_number(visitor, node),
42925 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_number(visitor, node),
42926 }
42927 }
42928
42929 #[inline]
42930 fn visit_mut_number_type(&mut self, node: &mut NumberType) {
42931 match self {
42932 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_number_type(visitor, node),
42933 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_number_type(visitor, node),
42934 }
42935 }
42936
42937 #[inline]
42938 fn visit_mut_opt_at_rule_prelude(&mut self, node: &mut Option<Box<AtRulePrelude>>) {
42939 match self {
42940 swc_visit::Either::Left(visitor) => {
42941 VisitMut::visit_mut_opt_at_rule_prelude(visitor, node)
42942 }
42943 swc_visit::Either::Right(visitor) => {
42944 VisitMut::visit_mut_opt_at_rule_prelude(visitor, node)
42945 }
42946 }
42947 }
42948
42949 #[inline]
42950 fn visit_mut_opt_atom(&mut self, node: &mut Option<swc_atoms::Atom>) {
42951 match self {
42952 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_atom(visitor, node),
42953 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_atom(visitor, node),
42954 }
42955 }
42956
42957 #[inline]
42958 fn visit_mut_opt_attribute_selector_matcher(
42959 &mut self,
42960 node: &mut Option<AttributeSelectorMatcher>,
42961 ) {
42962 match self {
42963 swc_visit::Either::Left(visitor) => {
42964 VisitMut::visit_mut_opt_attribute_selector_matcher(visitor, node)
42965 }
42966 swc_visit::Either::Right(visitor) => {
42967 VisitMut::visit_mut_opt_attribute_selector_matcher(visitor, node)
42968 }
42969 }
42970 }
42971
42972 #[inline]
42973 fn visit_mut_opt_attribute_selector_modifier(
42974 &mut self,
42975 node: &mut Option<AttributeSelectorModifier>,
42976 ) {
42977 match self {
42978 swc_visit::Either::Left(visitor) => {
42979 VisitMut::visit_mut_opt_attribute_selector_modifier(visitor, node)
42980 }
42981 swc_visit::Either::Right(visitor) => {
42982 VisitMut::visit_mut_opt_attribute_selector_modifier(visitor, node)
42983 }
42984 }
42985 }
42986
42987 #[inline]
42988 fn visit_mut_opt_attribute_selector_value(
42989 &mut self,
42990 node: &mut Option<AttributeSelectorValue>,
42991 ) {
42992 match self {
42993 swc_visit::Either::Left(visitor) => {
42994 VisitMut::visit_mut_opt_attribute_selector_value(visitor, node)
42995 }
42996 swc_visit::Either::Right(visitor) => {
42997 VisitMut::visit_mut_opt_attribute_selector_value(visitor, node)
42998 }
42999 }
43000 }
43001
43002 #[inline]
43003 fn visit_mut_opt_combinator(&mut self, node: &mut Option<Combinator>) {
43004 match self {
43005 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_combinator(visitor, node),
43006 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_combinator(visitor, node),
43007 }
43008 }
43009
43010 #[inline]
43011 fn visit_mut_opt_container_name(&mut self, node: &mut Option<ContainerName>) {
43012 match self {
43013 swc_visit::Either::Left(visitor) => {
43014 VisitMut::visit_mut_opt_container_name(visitor, node)
43015 }
43016 swc_visit::Either::Right(visitor) => {
43017 VisitMut::visit_mut_opt_container_name(visitor, node)
43018 }
43019 }
43020 }
43021
43022 #[inline]
43023 fn visit_mut_opt_forgiving_selector_list(&mut self, node: &mut Option<ForgivingSelectorList>) {
43024 match self {
43025 swc_visit::Either::Left(visitor) => {
43026 VisitMut::visit_mut_opt_forgiving_selector_list(visitor, node)
43027 }
43028 swc_visit::Either::Right(visitor) => {
43029 VisitMut::visit_mut_opt_forgiving_selector_list(visitor, node)
43030 }
43031 }
43032 }
43033
43034 #[inline]
43035 fn visit_mut_opt_function(&mut self, node: &mut Option<Box<Function>>) {
43036 match self {
43037 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_function(visitor, node),
43038 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_function(visitor, node),
43039 }
43040 }
43041
43042 #[inline]
43043 fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>) {
43044 match self {
43045 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_ident(visitor, node),
43046 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_ident(visitor, node),
43047 }
43048 }
43049
43050 #[inline]
43051 fn visit_mut_opt_import_conditions(&mut self, node: &mut Option<Box<ImportConditions>>) {
43052 match self {
43053 swc_visit::Either::Left(visitor) => {
43054 VisitMut::visit_mut_opt_import_conditions(visitor, node)
43055 }
43056 swc_visit::Either::Right(visitor) => {
43057 VisitMut::visit_mut_opt_import_conditions(visitor, node)
43058 }
43059 }
43060 }
43061
43062 #[inline]
43063 fn visit_mut_opt_import_layer_name(&mut self, node: &mut Option<Box<ImportLayerName>>) {
43064 match self {
43065 swc_visit::Either::Left(visitor) => {
43066 VisitMut::visit_mut_opt_import_layer_name(visitor, node)
43067 }
43068 swc_visit::Either::Right(visitor) => {
43069 VisitMut::visit_mut_opt_import_layer_name(visitor, node)
43070 }
43071 }
43072 }
43073
43074 #[inline]
43075 fn visit_mut_opt_important_flag(&mut self, node: &mut Option<ImportantFlag>) {
43076 match self {
43077 swc_visit::Either::Left(visitor) => {
43078 VisitMut::visit_mut_opt_important_flag(visitor, node)
43079 }
43080 swc_visit::Either::Right(visitor) => {
43081 VisitMut::visit_mut_opt_important_flag(visitor, node)
43082 }
43083 }
43084 }
43085
43086 #[inline]
43087 fn visit_mut_opt_media_condition_type(&mut self, node: &mut Option<Box<MediaConditionType>>) {
43088 match self {
43089 swc_visit::Either::Left(visitor) => {
43090 VisitMut::visit_mut_opt_media_condition_type(visitor, node)
43091 }
43092 swc_visit::Either::Right(visitor) => {
43093 VisitMut::visit_mut_opt_media_condition_type(visitor, node)
43094 }
43095 }
43096 }
43097
43098 #[inline]
43099 fn visit_mut_opt_media_query_list(&mut self, node: &mut Option<Box<MediaQueryList>>) {
43100 match self {
43101 swc_visit::Either::Left(visitor) => {
43102 VisitMut::visit_mut_opt_media_query_list(visitor, node)
43103 }
43104 swc_visit::Either::Right(visitor) => {
43105 VisitMut::visit_mut_opt_media_query_list(visitor, node)
43106 }
43107 }
43108 }
43109
43110 #[inline]
43111 fn visit_mut_opt_media_type(&mut self, node: &mut Option<MediaType>) {
43112 match self {
43113 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_media_type(visitor, node),
43114 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_media_type(visitor, node),
43115 }
43116 }
43117
43118 #[inline]
43119 fn visit_mut_opt_namespace(&mut self, node: &mut Option<Namespace>) {
43120 match self {
43121 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_namespace(visitor, node),
43122 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_namespace(visitor, node),
43123 }
43124 }
43125
43126 #[inline]
43127 fn visit_mut_opt_namespace_prefix(&mut self, node: &mut Option<NamespacePrefix>) {
43128 match self {
43129 swc_visit::Either::Left(visitor) => {
43130 VisitMut::visit_mut_opt_namespace_prefix(visitor, node)
43131 }
43132 swc_visit::Either::Right(visitor) => {
43133 VisitMut::visit_mut_opt_namespace_prefix(visitor, node)
43134 }
43135 }
43136 }
43137
43138 #[inline]
43139 fn visit_mut_opt_nesting_selector(&mut self, node: &mut Option<NestingSelector>) {
43140 match self {
43141 swc_visit::Either::Left(visitor) => {
43142 VisitMut::visit_mut_opt_nesting_selector(visitor, node)
43143 }
43144 swc_visit::Either::Right(visitor) => {
43145 VisitMut::visit_mut_opt_nesting_selector(visitor, node)
43146 }
43147 }
43148 }
43149
43150 #[inline]
43151 fn visit_mut_opt_number(&mut self, node: &mut Option<Number>) {
43152 match self {
43153 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_number(visitor, node),
43154 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_number(visitor, node),
43155 }
43156 }
43157
43158 #[inline]
43159 fn visit_mut_opt_page_selector_pseudos(&mut self, node: &mut Option<Vec<PageSelectorPseudo>>) {
43160 match self {
43161 swc_visit::Either::Left(visitor) => {
43162 VisitMut::visit_mut_opt_page_selector_pseudos(visitor, node)
43163 }
43164 swc_visit::Either::Right(visitor) => {
43165 VisitMut::visit_mut_opt_page_selector_pseudos(visitor, node)
43166 }
43167 }
43168 }
43169
43170 #[inline]
43171 fn visit_mut_opt_page_selector_type(&mut self, node: &mut Option<PageSelectorType>) {
43172 match self {
43173 swc_visit::Either::Left(visitor) => {
43174 VisitMut::visit_mut_opt_page_selector_type(visitor, node)
43175 }
43176 swc_visit::Either::Right(visitor) => {
43177 VisitMut::visit_mut_opt_page_selector_type(visitor, node)
43178 }
43179 }
43180 }
43181
43182 #[inline]
43183 fn visit_mut_opt_pseudo_class_selector_childrens(
43184 &mut self,
43185 node: &mut Option<Vec<PseudoClassSelectorChildren>>,
43186 ) {
43187 match self {
43188 swc_visit::Either::Left(visitor) => {
43189 VisitMut::visit_mut_opt_pseudo_class_selector_childrens(visitor, node)
43190 }
43191 swc_visit::Either::Right(visitor) => {
43192 VisitMut::visit_mut_opt_pseudo_class_selector_childrens(visitor, node)
43193 }
43194 }
43195 }
43196
43197 #[inline]
43198 fn visit_mut_opt_pseudo_element_selector_childrens(
43199 &mut self,
43200 node: &mut Option<Vec<PseudoElementSelectorChildren>>,
43201 ) {
43202 match self {
43203 swc_visit::Either::Left(visitor) => {
43204 VisitMut::visit_mut_opt_pseudo_element_selector_childrens(visitor, node)
43205 }
43206 swc_visit::Either::Right(visitor) => {
43207 VisitMut::visit_mut_opt_pseudo_element_selector_childrens(visitor, node)
43208 }
43209 }
43210 }
43211
43212 #[inline]
43213 fn visit_mut_opt_simple_block(&mut self, node: &mut Option<SimpleBlock>) {
43214 match self {
43215 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_simple_block(visitor, node),
43216 swc_visit::Either::Right(visitor) => {
43217 VisitMut::visit_mut_opt_simple_block(visitor, node)
43218 }
43219 }
43220 }
43221
43222 #[inline]
43223 fn visit_mut_opt_type_selector(&mut self, node: &mut Option<Box<TypeSelector>>) {
43224 match self {
43225 swc_visit::Either::Left(visitor) => {
43226 VisitMut::visit_mut_opt_type_selector(visitor, node)
43227 }
43228 swc_visit::Either::Right(visitor) => {
43229 VisitMut::visit_mut_opt_type_selector(visitor, node)
43230 }
43231 }
43232 }
43233
43234 #[inline]
43235 fn visit_mut_opt_url_modifiers(&mut self, node: &mut Option<Vec<UrlModifier>>) {
43236 match self {
43237 swc_visit::Either::Left(visitor) => {
43238 VisitMut::visit_mut_opt_url_modifiers(visitor, node)
43239 }
43240 swc_visit::Either::Right(visitor) => {
43241 VisitMut::visit_mut_opt_url_modifiers(visitor, node)
43242 }
43243 }
43244 }
43245
43246 #[inline]
43247 fn visit_mut_opt_url_value(&mut self, node: &mut Option<Box<UrlValue>>) {
43248 match self {
43249 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_opt_url_value(visitor, node),
43250 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_opt_url_value(visitor, node),
43251 }
43252 }
43253
43254 #[inline]
43255 fn visit_mut_page_selector(&mut self, node: &mut PageSelector) {
43256 match self {
43257 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_page_selector(visitor, node),
43258 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_page_selector(visitor, node),
43259 }
43260 }
43261
43262 #[inline]
43263 fn visit_mut_page_selector_list(&mut self, node: &mut PageSelectorList) {
43264 match self {
43265 swc_visit::Either::Left(visitor) => {
43266 VisitMut::visit_mut_page_selector_list(visitor, node)
43267 }
43268 swc_visit::Either::Right(visitor) => {
43269 VisitMut::visit_mut_page_selector_list(visitor, node)
43270 }
43271 }
43272 }
43273
43274 #[inline]
43275 fn visit_mut_page_selector_pseudo(&mut self, node: &mut PageSelectorPseudo) {
43276 match self {
43277 swc_visit::Either::Left(visitor) => {
43278 VisitMut::visit_mut_page_selector_pseudo(visitor, node)
43279 }
43280 swc_visit::Either::Right(visitor) => {
43281 VisitMut::visit_mut_page_selector_pseudo(visitor, node)
43282 }
43283 }
43284 }
43285
43286 #[inline]
43287 fn visit_mut_page_selector_pseudos(&mut self, node: &mut Vec<PageSelectorPseudo>) {
43288 match self {
43289 swc_visit::Either::Left(visitor) => {
43290 VisitMut::visit_mut_page_selector_pseudos(visitor, node)
43291 }
43292 swc_visit::Either::Right(visitor) => {
43293 VisitMut::visit_mut_page_selector_pseudos(visitor, node)
43294 }
43295 }
43296 }
43297
43298 #[inline]
43299 fn visit_mut_page_selector_type(&mut self, node: &mut PageSelectorType) {
43300 match self {
43301 swc_visit::Either::Left(visitor) => {
43302 VisitMut::visit_mut_page_selector_type(visitor, node)
43303 }
43304 swc_visit::Either::Right(visitor) => {
43305 VisitMut::visit_mut_page_selector_type(visitor, node)
43306 }
43307 }
43308 }
43309
43310 #[inline]
43311 fn visit_mut_page_selectors(&mut self, node: &mut Vec<PageSelector>) {
43312 match self {
43313 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_page_selectors(visitor, node),
43314 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_page_selectors(visitor, node),
43315 }
43316 }
43317
43318 #[inline]
43319 fn visit_mut_percentage(&mut self, node: &mut Percentage) {
43320 match self {
43321 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_percentage(visitor, node),
43322 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_percentage(visitor, node),
43323 }
43324 }
43325
43326 #[inline]
43327 fn visit_mut_pseudo_class_selector(&mut self, node: &mut PseudoClassSelector) {
43328 match self {
43329 swc_visit::Either::Left(visitor) => {
43330 VisitMut::visit_mut_pseudo_class_selector(visitor, node)
43331 }
43332 swc_visit::Either::Right(visitor) => {
43333 VisitMut::visit_mut_pseudo_class_selector(visitor, node)
43334 }
43335 }
43336 }
43337
43338 #[inline]
43339 fn visit_mut_pseudo_class_selector_children(&mut self, node: &mut PseudoClassSelectorChildren) {
43340 match self {
43341 swc_visit::Either::Left(visitor) => {
43342 VisitMut::visit_mut_pseudo_class_selector_children(visitor, node)
43343 }
43344 swc_visit::Either::Right(visitor) => {
43345 VisitMut::visit_mut_pseudo_class_selector_children(visitor, node)
43346 }
43347 }
43348 }
43349
43350 #[inline]
43351 fn visit_mut_pseudo_class_selector_childrens(
43352 &mut self,
43353 node: &mut Vec<PseudoClassSelectorChildren>,
43354 ) {
43355 match self {
43356 swc_visit::Either::Left(visitor) => {
43357 VisitMut::visit_mut_pseudo_class_selector_childrens(visitor, node)
43358 }
43359 swc_visit::Either::Right(visitor) => {
43360 VisitMut::visit_mut_pseudo_class_selector_childrens(visitor, node)
43361 }
43362 }
43363 }
43364
43365 #[inline]
43366 fn visit_mut_pseudo_element_selector(&mut self, node: &mut PseudoElementSelector) {
43367 match self {
43368 swc_visit::Either::Left(visitor) => {
43369 VisitMut::visit_mut_pseudo_element_selector(visitor, node)
43370 }
43371 swc_visit::Either::Right(visitor) => {
43372 VisitMut::visit_mut_pseudo_element_selector(visitor, node)
43373 }
43374 }
43375 }
43376
43377 #[inline]
43378 fn visit_mut_pseudo_element_selector_children(
43379 &mut self,
43380 node: &mut PseudoElementSelectorChildren,
43381 ) {
43382 match self {
43383 swc_visit::Either::Left(visitor) => {
43384 VisitMut::visit_mut_pseudo_element_selector_children(visitor, node)
43385 }
43386 swc_visit::Either::Right(visitor) => {
43387 VisitMut::visit_mut_pseudo_element_selector_children(visitor, node)
43388 }
43389 }
43390 }
43391
43392 #[inline]
43393 fn visit_mut_pseudo_element_selector_childrens(
43394 &mut self,
43395 node: &mut Vec<PseudoElementSelectorChildren>,
43396 ) {
43397 match self {
43398 swc_visit::Either::Left(visitor) => {
43399 VisitMut::visit_mut_pseudo_element_selector_childrens(visitor, node)
43400 }
43401 swc_visit::Either::Right(visitor) => {
43402 VisitMut::visit_mut_pseudo_element_selector_childrens(visitor, node)
43403 }
43404 }
43405 }
43406
43407 #[inline]
43408 fn visit_mut_qualified_rule(&mut self, node: &mut QualifiedRule) {
43409 match self {
43410 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_qualified_rule(visitor, node),
43411 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_qualified_rule(visitor, node),
43412 }
43413 }
43414
43415 #[inline]
43416 fn visit_mut_qualified_rule_prelude(&mut self, node: &mut QualifiedRulePrelude) {
43417 match self {
43418 swc_visit::Either::Left(visitor) => {
43419 VisitMut::visit_mut_qualified_rule_prelude(visitor, node)
43420 }
43421 swc_visit::Either::Right(visitor) => {
43422 VisitMut::visit_mut_qualified_rule_prelude(visitor, node)
43423 }
43424 }
43425 }
43426
43427 #[inline]
43428 fn visit_mut_query_in_parens(&mut self, node: &mut QueryInParens) {
43429 match self {
43430 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_query_in_parens(visitor, node),
43431 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_query_in_parens(visitor, node),
43432 }
43433 }
43434
43435 #[inline]
43436 fn visit_mut_ratio(&mut self, node: &mut Ratio) {
43437 match self {
43438 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_ratio(visitor, node),
43439 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_ratio(visitor, node),
43440 }
43441 }
43442
43443 #[inline]
43444 fn visit_mut_relative_selector(&mut self, node: &mut RelativeSelector) {
43445 match self {
43446 swc_visit::Either::Left(visitor) => {
43447 VisitMut::visit_mut_relative_selector(visitor, node)
43448 }
43449 swc_visit::Either::Right(visitor) => {
43450 VisitMut::visit_mut_relative_selector(visitor, node)
43451 }
43452 }
43453 }
43454
43455 #[inline]
43456 fn visit_mut_relative_selector_list(&mut self, node: &mut RelativeSelectorList) {
43457 match self {
43458 swc_visit::Either::Left(visitor) => {
43459 VisitMut::visit_mut_relative_selector_list(visitor, node)
43460 }
43461 swc_visit::Either::Right(visitor) => {
43462 VisitMut::visit_mut_relative_selector_list(visitor, node)
43463 }
43464 }
43465 }
43466
43467 #[inline]
43468 fn visit_mut_relative_selectors(&mut self, node: &mut Vec<RelativeSelector>) {
43469 match self {
43470 swc_visit::Either::Left(visitor) => {
43471 VisitMut::visit_mut_relative_selectors(visitor, node)
43472 }
43473 swc_visit::Either::Right(visitor) => {
43474 VisitMut::visit_mut_relative_selectors(visitor, node)
43475 }
43476 }
43477 }
43478
43479 #[inline]
43480 fn visit_mut_resolution(&mut self, node: &mut Resolution) {
43481 match self {
43482 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_resolution(visitor, node),
43483 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_resolution(visitor, node),
43484 }
43485 }
43486
43487 #[inline]
43488 fn visit_mut_rule(&mut self, node: &mut Rule) {
43489 match self {
43490 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_rule(visitor, node),
43491 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_rule(visitor, node),
43492 }
43493 }
43494
43495 #[inline]
43496 fn visit_mut_rules(&mut self, node: &mut Vec<Rule>) {
43497 match self {
43498 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_rules(visitor, node),
43499 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_rules(visitor, node),
43500 }
43501 }
43502
43503 #[inline]
43504 fn visit_mut_scope_range(&mut self, node: &mut ScopeRange) {
43505 match self {
43506 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_scope_range(visitor, node),
43507 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_scope_range(visitor, node),
43508 }
43509 }
43510
43511 #[inline]
43512 fn visit_mut_selector_list(&mut self, node: &mut SelectorList) {
43513 match self {
43514 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_selector_list(visitor, node),
43515 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_selector_list(visitor, node),
43516 }
43517 }
43518
43519 #[inline]
43520 fn visit_mut_sequence_of_custom_idents(&mut self, node: &mut SequenceOfCustomIdents) {
43521 match self {
43522 swc_visit::Either::Left(visitor) => {
43523 VisitMut::visit_mut_sequence_of_custom_idents(visitor, node)
43524 }
43525 swc_visit::Either::Right(visitor) => {
43526 VisitMut::visit_mut_sequence_of_custom_idents(visitor, node)
43527 }
43528 }
43529 }
43530
43531 #[inline]
43532 fn visit_mut_simple_block(&mut self, node: &mut SimpleBlock) {
43533 match self {
43534 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_simple_block(visitor, node),
43535 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_simple_block(visitor, node),
43536 }
43537 }
43538
43539 #[inline]
43540 fn visit_mut_size_feature(&mut self, node: &mut SizeFeature) {
43541 match self {
43542 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_size_feature(visitor, node),
43543 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_size_feature(visitor, node),
43544 }
43545 }
43546
43547 #[inline]
43548 fn visit_mut_size_feature_boolean(&mut self, node: &mut SizeFeatureBoolean) {
43549 match self {
43550 swc_visit::Either::Left(visitor) => {
43551 VisitMut::visit_mut_size_feature_boolean(visitor, node)
43552 }
43553 swc_visit::Either::Right(visitor) => {
43554 VisitMut::visit_mut_size_feature_boolean(visitor, node)
43555 }
43556 }
43557 }
43558
43559 #[inline]
43560 fn visit_mut_size_feature_name(&mut self, node: &mut SizeFeatureName) {
43561 match self {
43562 swc_visit::Either::Left(visitor) => {
43563 VisitMut::visit_mut_size_feature_name(visitor, node)
43564 }
43565 swc_visit::Either::Right(visitor) => {
43566 VisitMut::visit_mut_size_feature_name(visitor, node)
43567 }
43568 }
43569 }
43570
43571 #[inline]
43572 fn visit_mut_size_feature_plain(&mut self, node: &mut SizeFeaturePlain) {
43573 match self {
43574 swc_visit::Either::Left(visitor) => {
43575 VisitMut::visit_mut_size_feature_plain(visitor, node)
43576 }
43577 swc_visit::Either::Right(visitor) => {
43578 VisitMut::visit_mut_size_feature_plain(visitor, node)
43579 }
43580 }
43581 }
43582
43583 #[inline]
43584 fn visit_mut_size_feature_range(&mut self, node: &mut SizeFeatureRange) {
43585 match self {
43586 swc_visit::Either::Left(visitor) => {
43587 VisitMut::visit_mut_size_feature_range(visitor, node)
43588 }
43589 swc_visit::Either::Right(visitor) => {
43590 VisitMut::visit_mut_size_feature_range(visitor, node)
43591 }
43592 }
43593 }
43594
43595 #[inline]
43596 fn visit_mut_size_feature_range_comparison(&mut self, node: &mut SizeFeatureRangeComparison) {
43597 match self {
43598 swc_visit::Either::Left(visitor) => {
43599 VisitMut::visit_mut_size_feature_range_comparison(visitor, node)
43600 }
43601 swc_visit::Either::Right(visitor) => {
43602 VisitMut::visit_mut_size_feature_range_comparison(visitor, node)
43603 }
43604 }
43605 }
43606
43607 #[inline]
43608 fn visit_mut_size_feature_range_interval(&mut self, node: &mut SizeFeatureRangeInterval) {
43609 match self {
43610 swc_visit::Either::Left(visitor) => {
43611 VisitMut::visit_mut_size_feature_range_interval(visitor, node)
43612 }
43613 swc_visit::Either::Right(visitor) => {
43614 VisitMut::visit_mut_size_feature_range_interval(visitor, node)
43615 }
43616 }
43617 }
43618
43619 #[inline]
43620 fn visit_mut_size_feature_value(&mut self, node: &mut SizeFeatureValue) {
43621 match self {
43622 swc_visit::Either::Left(visitor) => {
43623 VisitMut::visit_mut_size_feature_value(visitor, node)
43624 }
43625 swc_visit::Either::Right(visitor) => {
43626 VisitMut::visit_mut_size_feature_value(visitor, node)
43627 }
43628 }
43629 }
43630
43631 #[inline]
43632 fn visit_mut_span(&mut self, node: &mut swc_common::Span) {
43633 match self {
43634 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_span(visitor, node),
43635 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_span(visitor, node),
43636 }
43637 }
43638
43639 #[inline]
43640 fn visit_mut_str(&mut self, node: &mut Str) {
43641 match self {
43642 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_str(visitor, node),
43643 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_str(visitor, node),
43644 }
43645 }
43646
43647 #[inline]
43648 fn visit_mut_style_block(&mut self, node: &mut StyleBlock) {
43649 match self {
43650 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_style_block(visitor, node),
43651 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_style_block(visitor, node),
43652 }
43653 }
43654
43655 #[inline]
43656 fn visit_mut_stylesheet(&mut self, node: &mut Stylesheet) {
43657 match self {
43658 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_stylesheet(visitor, node),
43659 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_stylesheet(visitor, node),
43660 }
43661 }
43662
43663 #[inline]
43664 fn visit_mut_subclass_selector(&mut self, node: &mut SubclassSelector) {
43665 match self {
43666 swc_visit::Either::Left(visitor) => {
43667 VisitMut::visit_mut_subclass_selector(visitor, node)
43668 }
43669 swc_visit::Either::Right(visitor) => {
43670 VisitMut::visit_mut_subclass_selector(visitor, node)
43671 }
43672 }
43673 }
43674
43675 #[inline]
43676 fn visit_mut_subclass_selectors(&mut self, node: &mut Vec<SubclassSelector>) {
43677 match self {
43678 swc_visit::Either::Left(visitor) => {
43679 VisitMut::visit_mut_subclass_selectors(visitor, node)
43680 }
43681 swc_visit::Either::Right(visitor) => {
43682 VisitMut::visit_mut_subclass_selectors(visitor, node)
43683 }
43684 }
43685 }
43686
43687 #[inline]
43688 fn visit_mut_supports_and(&mut self, node: &mut SupportsAnd) {
43689 match self {
43690 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_supports_and(visitor, node),
43691 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_supports_and(visitor, node),
43692 }
43693 }
43694
43695 #[inline]
43696 fn visit_mut_supports_condition(&mut self, node: &mut SupportsCondition) {
43697 match self {
43698 swc_visit::Either::Left(visitor) => {
43699 VisitMut::visit_mut_supports_condition(visitor, node)
43700 }
43701 swc_visit::Either::Right(visitor) => {
43702 VisitMut::visit_mut_supports_condition(visitor, node)
43703 }
43704 }
43705 }
43706
43707 #[inline]
43708 fn visit_mut_supports_condition_type(&mut self, node: &mut SupportsConditionType) {
43709 match self {
43710 swc_visit::Either::Left(visitor) => {
43711 VisitMut::visit_mut_supports_condition_type(visitor, node)
43712 }
43713 swc_visit::Either::Right(visitor) => {
43714 VisitMut::visit_mut_supports_condition_type(visitor, node)
43715 }
43716 }
43717 }
43718
43719 #[inline]
43720 fn visit_mut_supports_condition_types(&mut self, node: &mut Vec<SupportsConditionType>) {
43721 match self {
43722 swc_visit::Either::Left(visitor) => {
43723 VisitMut::visit_mut_supports_condition_types(visitor, node)
43724 }
43725 swc_visit::Either::Right(visitor) => {
43726 VisitMut::visit_mut_supports_condition_types(visitor, node)
43727 }
43728 }
43729 }
43730
43731 #[inline]
43732 fn visit_mut_supports_feature(&mut self, node: &mut SupportsFeature) {
43733 match self {
43734 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_supports_feature(visitor, node),
43735 swc_visit::Either::Right(visitor) => {
43736 VisitMut::visit_mut_supports_feature(visitor, node)
43737 }
43738 }
43739 }
43740
43741 #[inline]
43742 fn visit_mut_supports_in_parens(&mut self, node: &mut SupportsInParens) {
43743 match self {
43744 swc_visit::Either::Left(visitor) => {
43745 VisitMut::visit_mut_supports_in_parens(visitor, node)
43746 }
43747 swc_visit::Either::Right(visitor) => {
43748 VisitMut::visit_mut_supports_in_parens(visitor, node)
43749 }
43750 }
43751 }
43752
43753 #[inline]
43754 fn visit_mut_supports_not(&mut self, node: &mut SupportsNot) {
43755 match self {
43756 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_supports_not(visitor, node),
43757 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_supports_not(visitor, node),
43758 }
43759 }
43760
43761 #[inline]
43762 fn visit_mut_supports_or(&mut self, node: &mut SupportsOr) {
43763 match self {
43764 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_supports_or(visitor, node),
43765 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_supports_or(visitor, node),
43766 }
43767 }
43768
43769 #[inline]
43770 fn visit_mut_tag_name_selector(&mut self, node: &mut TagNameSelector) {
43771 match self {
43772 swc_visit::Either::Left(visitor) => {
43773 VisitMut::visit_mut_tag_name_selector(visitor, node)
43774 }
43775 swc_visit::Either::Right(visitor) => {
43776 VisitMut::visit_mut_tag_name_selector(visitor, node)
43777 }
43778 }
43779 }
43780
43781 #[inline]
43782 fn visit_mut_time(&mut self, node: &mut Time) {
43783 match self {
43784 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_time(visitor, node),
43785 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_time(visitor, node),
43786 }
43787 }
43788
43789 #[inline]
43790 fn visit_mut_time_percentage(&mut self, node: &mut TimePercentage) {
43791 match self {
43792 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_time_percentage(visitor, node),
43793 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_time_percentage(visitor, node),
43794 }
43795 }
43796
43797 #[inline]
43798 fn visit_mut_token(&mut self, node: &mut Token) {
43799 match self {
43800 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_token(visitor, node),
43801 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_token(visitor, node),
43802 }
43803 }
43804
43805 #[inline]
43806 fn visit_mut_token_and_span(&mut self, node: &mut TokenAndSpan) {
43807 match self {
43808 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_token_and_span(visitor, node),
43809 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_token_and_span(visitor, node),
43810 }
43811 }
43812
43813 #[inline]
43814 fn visit_mut_type_selector(&mut self, node: &mut TypeSelector) {
43815 match self {
43816 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_type_selector(visitor, node),
43817 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_type_selector(visitor, node),
43818 }
43819 }
43820
43821 #[inline]
43822 fn visit_mut_unicode_range(&mut self, node: &mut UnicodeRange) {
43823 match self {
43824 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_unicode_range(visitor, node),
43825 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_unicode_range(visitor, node),
43826 }
43827 }
43828
43829 #[inline]
43830 fn visit_mut_universal_selector(&mut self, node: &mut UniversalSelector) {
43831 match self {
43832 swc_visit::Either::Left(visitor) => {
43833 VisitMut::visit_mut_universal_selector(visitor, node)
43834 }
43835 swc_visit::Either::Right(visitor) => {
43836 VisitMut::visit_mut_universal_selector(visitor, node)
43837 }
43838 }
43839 }
43840
43841 #[inline]
43842 fn visit_mut_unknown_dimension(&mut self, node: &mut UnknownDimension) {
43843 match self {
43844 swc_visit::Either::Left(visitor) => {
43845 VisitMut::visit_mut_unknown_dimension(visitor, node)
43846 }
43847 swc_visit::Either::Right(visitor) => {
43848 VisitMut::visit_mut_unknown_dimension(visitor, node)
43849 }
43850 }
43851 }
43852
43853 #[inline]
43854 fn visit_mut_url(&mut self, node: &mut Url) {
43855 match self {
43856 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_url(visitor, node),
43857 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_url(visitor, node),
43858 }
43859 }
43860
43861 #[inline]
43862 fn visit_mut_url_key_value(&mut self, node: &mut UrlKeyValue) {
43863 match self {
43864 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_url_key_value(visitor, node),
43865 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_url_key_value(visitor, node),
43866 }
43867 }
43868
43869 #[inline]
43870 fn visit_mut_url_modifier(&mut self, node: &mut UrlModifier) {
43871 match self {
43872 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_url_modifier(visitor, node),
43873 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_url_modifier(visitor, node),
43874 }
43875 }
43876
43877 #[inline]
43878 fn visit_mut_url_modifiers(&mut self, node: &mut Vec<UrlModifier>) {
43879 match self {
43880 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_url_modifiers(visitor, node),
43881 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_url_modifiers(visitor, node),
43882 }
43883 }
43884
43885 #[inline]
43886 fn visit_mut_url_value(&mut self, node: &mut UrlValue) {
43887 match self {
43888 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_url_value(visitor, node),
43889 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_url_value(visitor, node),
43890 }
43891 }
43892
43893 #[inline]
43894 fn visit_mut_url_value_raw(&mut self, node: &mut UrlValueRaw) {
43895 match self {
43896 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_url_value_raw(visitor, node),
43897 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_url_value_raw(visitor, node),
43898 }
43899 }
43900
43901 #[inline]
43902 fn visit_mut_wq_name(&mut self, node: &mut WqName) {
43903 match self {
43904 swc_visit::Either::Left(visitor) => VisitMut::visit_mut_wq_name(visitor, node),
43905 swc_visit::Either::Right(visitor) => VisitMut::visit_mut_wq_name(visitor, node),
43906 }
43907 }
43908}
43909impl<V> VisitMut for ::swc_visit::Optional<V>
43910where
43911 V: VisitMut,
43912{
43913 #[inline]
43914 fn visit_mut_absolute_color_base(&mut self, node: &mut AbsoluteColorBase) {
43915 if self.enabled {
43916 <V as VisitMut>::visit_mut_absolute_color_base(&mut self.visitor, node)
43917 } else {
43918 }
43919 }
43920
43921 #[inline]
43922 fn visit_mut_alpha_value(&mut self, node: &mut AlphaValue) {
43923 if self.enabled {
43924 <V as VisitMut>::visit_mut_alpha_value(&mut self.visitor, node)
43925 } else {
43926 }
43927 }
43928
43929 #[inline]
43930 fn visit_mut_an_plus_b(&mut self, node: &mut AnPlusB) {
43931 if self.enabled {
43932 <V as VisitMut>::visit_mut_an_plus_b(&mut self.visitor, node)
43933 } else {
43934 }
43935 }
43936
43937 #[inline]
43938 fn visit_mut_an_plus_b_notation(&mut self, node: &mut AnPlusBNotation) {
43939 if self.enabled {
43940 <V as VisitMut>::visit_mut_an_plus_b_notation(&mut self.visitor, node)
43941 } else {
43942 }
43943 }
43944
43945 #[inline]
43946 fn visit_mut_angle(&mut self, node: &mut Angle) {
43947 if self.enabled {
43948 <V as VisitMut>::visit_mut_angle(&mut self.visitor, node)
43949 } else {
43950 }
43951 }
43952
43953 #[inline]
43954 fn visit_mut_angle_percentage(&mut self, node: &mut AnglePercentage) {
43955 if self.enabled {
43956 <V as VisitMut>::visit_mut_angle_percentage(&mut self.visitor, node)
43957 } else {
43958 }
43959 }
43960
43961 #[inline]
43962 fn visit_mut_any_namespace(&mut self, node: &mut AnyNamespace) {
43963 if self.enabled {
43964 <V as VisitMut>::visit_mut_any_namespace(&mut self.visitor, node)
43965 } else {
43966 }
43967 }
43968
43969 #[inline]
43970 fn visit_mut_at_rule(&mut self, node: &mut AtRule) {
43971 if self.enabled {
43972 <V as VisitMut>::visit_mut_at_rule(&mut self.visitor, node)
43973 } else {
43974 }
43975 }
43976
43977 #[inline]
43978 fn visit_mut_at_rule_name(&mut self, node: &mut AtRuleName) {
43979 if self.enabled {
43980 <V as VisitMut>::visit_mut_at_rule_name(&mut self.visitor, node)
43981 } else {
43982 }
43983 }
43984
43985 #[inline]
43986 fn visit_mut_at_rule_prelude(&mut self, node: &mut AtRulePrelude) {
43987 if self.enabled {
43988 <V as VisitMut>::visit_mut_at_rule_prelude(&mut self.visitor, node)
43989 } else {
43990 }
43991 }
43992
43993 #[inline]
43994 fn visit_mut_atom(&mut self, node: &mut swc_atoms::Atom) {
43995 if self.enabled {
43996 <V as VisitMut>::visit_mut_atom(&mut self.visitor, node)
43997 } else {
43998 }
43999 }
44000
44001 #[inline]
44002 fn visit_mut_attribute_selector(&mut self, node: &mut AttributeSelector) {
44003 if self.enabled {
44004 <V as VisitMut>::visit_mut_attribute_selector(&mut self.visitor, node)
44005 } else {
44006 }
44007 }
44008
44009 #[inline]
44010 fn visit_mut_attribute_selector_matcher(&mut self, node: &mut AttributeSelectorMatcher) {
44011 if self.enabled {
44012 <V as VisitMut>::visit_mut_attribute_selector_matcher(&mut self.visitor, node)
44013 } else {
44014 }
44015 }
44016
44017 #[inline]
44018 fn visit_mut_attribute_selector_matcher_value(
44019 &mut self,
44020 node: &mut AttributeSelectorMatcherValue,
44021 ) {
44022 if self.enabled {
44023 <V as VisitMut>::visit_mut_attribute_selector_matcher_value(&mut self.visitor, node)
44024 } else {
44025 }
44026 }
44027
44028 #[inline]
44029 fn visit_mut_attribute_selector_modifier(&mut self, node: &mut AttributeSelectorModifier) {
44030 if self.enabled {
44031 <V as VisitMut>::visit_mut_attribute_selector_modifier(&mut self.visitor, node)
44032 } else {
44033 }
44034 }
44035
44036 #[inline]
44037 fn visit_mut_attribute_selector_value(&mut self, node: &mut AttributeSelectorValue) {
44038 if self.enabled {
44039 <V as VisitMut>::visit_mut_attribute_selector_value(&mut self.visitor, node)
44040 } else {
44041 }
44042 }
44043
44044 #[inline]
44045 fn visit_mut_bin_op(&mut self, node: &mut BinOp) {
44046 if self.enabled {
44047 <V as VisitMut>::visit_mut_bin_op(&mut self.visitor, node)
44048 } else {
44049 }
44050 }
44051
44052 #[inline]
44053 fn visit_mut_calc_operator(&mut self, node: &mut CalcOperator) {
44054 if self.enabled {
44055 <V as VisitMut>::visit_mut_calc_operator(&mut self.visitor, node)
44056 } else {
44057 }
44058 }
44059
44060 #[inline]
44061 fn visit_mut_calc_operator_type(&mut self, node: &mut CalcOperatorType) {
44062 if self.enabled {
44063 <V as VisitMut>::visit_mut_calc_operator_type(&mut self.visitor, node)
44064 } else {
44065 }
44066 }
44067
44068 #[inline]
44069 fn visit_mut_calc_product(&mut self, node: &mut CalcProduct) {
44070 if self.enabled {
44071 <V as VisitMut>::visit_mut_calc_product(&mut self.visitor, node)
44072 } else {
44073 }
44074 }
44075
44076 #[inline]
44077 fn visit_mut_calc_product_or_operator(&mut self, node: &mut CalcProductOrOperator) {
44078 if self.enabled {
44079 <V as VisitMut>::visit_mut_calc_product_or_operator(&mut self.visitor, node)
44080 } else {
44081 }
44082 }
44083
44084 #[inline]
44085 fn visit_mut_calc_product_or_operators(&mut self, node: &mut Vec<CalcProductOrOperator>) {
44086 if self.enabled {
44087 <V as VisitMut>::visit_mut_calc_product_or_operators(&mut self.visitor, node)
44088 } else {
44089 }
44090 }
44091
44092 #[inline]
44093 fn visit_mut_calc_sum(&mut self, node: &mut CalcSum) {
44094 if self.enabled {
44095 <V as VisitMut>::visit_mut_calc_sum(&mut self.visitor, node)
44096 } else {
44097 }
44098 }
44099
44100 #[inline]
44101 fn visit_mut_calc_value(&mut self, node: &mut CalcValue) {
44102 if self.enabled {
44103 <V as VisitMut>::visit_mut_calc_value(&mut self.visitor, node)
44104 } else {
44105 }
44106 }
44107
44108 #[inline]
44109 fn visit_mut_calc_value_or_operator(&mut self, node: &mut CalcValueOrOperator) {
44110 if self.enabled {
44111 <V as VisitMut>::visit_mut_calc_value_or_operator(&mut self.visitor, node)
44112 } else {
44113 }
44114 }
44115
44116 #[inline]
44117 fn visit_mut_calc_value_or_operators(&mut self, node: &mut Vec<CalcValueOrOperator>) {
44118 if self.enabled {
44119 <V as VisitMut>::visit_mut_calc_value_or_operators(&mut self.visitor, node)
44120 } else {
44121 }
44122 }
44123
44124 #[inline]
44125 fn visit_mut_class_selector(&mut self, node: &mut ClassSelector) {
44126 if self.enabled {
44127 <V as VisitMut>::visit_mut_class_selector(&mut self.visitor, node)
44128 } else {
44129 }
44130 }
44131
44132 #[inline]
44133 fn visit_mut_cmyk_component(&mut self, node: &mut CmykComponent) {
44134 if self.enabled {
44135 <V as VisitMut>::visit_mut_cmyk_component(&mut self.visitor, node)
44136 } else {
44137 }
44138 }
44139
44140 #[inline]
44141 fn visit_mut_color(&mut self, node: &mut Color) {
44142 if self.enabled {
44143 <V as VisitMut>::visit_mut_color(&mut self.visitor, node)
44144 } else {
44145 }
44146 }
44147
44148 #[inline]
44149 fn visit_mut_color_profile_name(&mut self, node: &mut ColorProfileName) {
44150 if self.enabled {
44151 <V as VisitMut>::visit_mut_color_profile_name(&mut self.visitor, node)
44152 } else {
44153 }
44154 }
44155
44156 #[inline]
44157 fn visit_mut_combinator(&mut self, node: &mut Combinator) {
44158 if self.enabled {
44159 <V as VisitMut>::visit_mut_combinator(&mut self.visitor, node)
44160 } else {
44161 }
44162 }
44163
44164 #[inline]
44165 fn visit_mut_combinator_value(&mut self, node: &mut CombinatorValue) {
44166 if self.enabled {
44167 <V as VisitMut>::visit_mut_combinator_value(&mut self.visitor, node)
44168 } else {
44169 }
44170 }
44171
44172 #[inline]
44173 fn visit_mut_complex_selector(&mut self, node: &mut ComplexSelector) {
44174 if self.enabled {
44175 <V as VisitMut>::visit_mut_complex_selector(&mut self.visitor, node)
44176 } else {
44177 }
44178 }
44179
44180 #[inline]
44181 fn visit_mut_complex_selector_children(&mut self, node: &mut ComplexSelectorChildren) {
44182 if self.enabled {
44183 <V as VisitMut>::visit_mut_complex_selector_children(&mut self.visitor, node)
44184 } else {
44185 }
44186 }
44187
44188 #[inline]
44189 fn visit_mut_complex_selector_childrens(&mut self, node: &mut Vec<ComplexSelectorChildren>) {
44190 if self.enabled {
44191 <V as VisitMut>::visit_mut_complex_selector_childrens(&mut self.visitor, node)
44192 } else {
44193 }
44194 }
44195
44196 #[inline]
44197 fn visit_mut_complex_selectors(&mut self, node: &mut Vec<ComplexSelector>) {
44198 if self.enabled {
44199 <V as VisitMut>::visit_mut_complex_selectors(&mut self.visitor, node)
44200 } else {
44201 }
44202 }
44203
44204 #[inline]
44205 fn visit_mut_component_value(&mut self, node: &mut ComponentValue) {
44206 if self.enabled {
44207 <V as VisitMut>::visit_mut_component_value(&mut self.visitor, node)
44208 } else {
44209 }
44210 }
44211
44212 #[inline]
44213 fn visit_mut_component_values(&mut self, node: &mut Vec<ComponentValue>) {
44214 if self.enabled {
44215 <V as VisitMut>::visit_mut_component_values(&mut self.visitor, node)
44216 } else {
44217 }
44218 }
44219
44220 #[inline]
44221 fn visit_mut_compound_selector(&mut self, node: &mut CompoundSelector) {
44222 if self.enabled {
44223 <V as VisitMut>::visit_mut_compound_selector(&mut self.visitor, node)
44224 } else {
44225 }
44226 }
44227
44228 #[inline]
44229 fn visit_mut_compound_selector_list(&mut self, node: &mut CompoundSelectorList) {
44230 if self.enabled {
44231 <V as VisitMut>::visit_mut_compound_selector_list(&mut self.visitor, node)
44232 } else {
44233 }
44234 }
44235
44236 #[inline]
44237 fn visit_mut_compound_selectors(&mut self, node: &mut Vec<CompoundSelector>) {
44238 if self.enabled {
44239 <V as VisitMut>::visit_mut_compound_selectors(&mut self.visitor, node)
44240 } else {
44241 }
44242 }
44243
44244 #[inline]
44245 fn visit_mut_container_condition(&mut self, node: &mut ContainerCondition) {
44246 if self.enabled {
44247 <V as VisitMut>::visit_mut_container_condition(&mut self.visitor, node)
44248 } else {
44249 }
44250 }
44251
44252 #[inline]
44253 fn visit_mut_container_name(&mut self, node: &mut ContainerName) {
44254 if self.enabled {
44255 <V as VisitMut>::visit_mut_container_name(&mut self.visitor, node)
44256 } else {
44257 }
44258 }
44259
44260 #[inline]
44261 fn visit_mut_container_query(&mut self, node: &mut ContainerQuery) {
44262 if self.enabled {
44263 <V as VisitMut>::visit_mut_container_query(&mut self.visitor, node)
44264 } else {
44265 }
44266 }
44267
44268 #[inline]
44269 fn visit_mut_container_query_and(&mut self, node: &mut ContainerQueryAnd) {
44270 if self.enabled {
44271 <V as VisitMut>::visit_mut_container_query_and(&mut self.visitor, node)
44272 } else {
44273 }
44274 }
44275
44276 #[inline]
44277 fn visit_mut_container_query_not(&mut self, node: &mut ContainerQueryNot) {
44278 if self.enabled {
44279 <V as VisitMut>::visit_mut_container_query_not(&mut self.visitor, node)
44280 } else {
44281 }
44282 }
44283
44284 #[inline]
44285 fn visit_mut_container_query_or(&mut self, node: &mut ContainerQueryOr) {
44286 if self.enabled {
44287 <V as VisitMut>::visit_mut_container_query_or(&mut self.visitor, node)
44288 } else {
44289 }
44290 }
44291
44292 #[inline]
44293 fn visit_mut_container_query_type(&mut self, node: &mut ContainerQueryType) {
44294 if self.enabled {
44295 <V as VisitMut>::visit_mut_container_query_type(&mut self.visitor, node)
44296 } else {
44297 }
44298 }
44299
44300 #[inline]
44301 fn visit_mut_container_query_types(&mut self, node: &mut Vec<ContainerQueryType>) {
44302 if self.enabled {
44303 <V as VisitMut>::visit_mut_container_query_types(&mut self.visitor, node)
44304 } else {
44305 }
44306 }
44307
44308 #[inline]
44309 fn visit_mut_custom_highlight_name(&mut self, node: &mut CustomHighlightName) {
44310 if self.enabled {
44311 <V as VisitMut>::visit_mut_custom_highlight_name(&mut self.visitor, node)
44312 } else {
44313 }
44314 }
44315
44316 #[inline]
44317 fn visit_mut_custom_ident(&mut self, node: &mut CustomIdent) {
44318 if self.enabled {
44319 <V as VisitMut>::visit_mut_custom_ident(&mut self.visitor, node)
44320 } else {
44321 }
44322 }
44323
44324 #[inline]
44325 fn visit_mut_custom_idents(&mut self, node: &mut Vec<CustomIdent>) {
44326 if self.enabled {
44327 <V as VisitMut>::visit_mut_custom_idents(&mut self.visitor, node)
44328 } else {
44329 }
44330 }
44331
44332 #[inline]
44333 fn visit_mut_custom_media_query(&mut self, node: &mut CustomMediaQuery) {
44334 if self.enabled {
44335 <V as VisitMut>::visit_mut_custom_media_query(&mut self.visitor, node)
44336 } else {
44337 }
44338 }
44339
44340 #[inline]
44341 fn visit_mut_custom_media_query_media_type(&mut self, node: &mut CustomMediaQueryMediaType) {
44342 if self.enabled {
44343 <V as VisitMut>::visit_mut_custom_media_query_media_type(&mut self.visitor, node)
44344 } else {
44345 }
44346 }
44347
44348 #[inline]
44349 fn visit_mut_custom_property_name(&mut self, node: &mut CustomPropertyName) {
44350 if self.enabled {
44351 <V as VisitMut>::visit_mut_custom_property_name(&mut self.visitor, node)
44352 } else {
44353 }
44354 }
44355
44356 #[inline]
44357 fn visit_mut_dashed_ident(&mut self, node: &mut DashedIdent) {
44358 if self.enabled {
44359 <V as VisitMut>::visit_mut_dashed_ident(&mut self.visitor, node)
44360 } else {
44361 }
44362 }
44363
44364 #[inline]
44365 fn visit_mut_declaration(&mut self, node: &mut Declaration) {
44366 if self.enabled {
44367 <V as VisitMut>::visit_mut_declaration(&mut self.visitor, node)
44368 } else {
44369 }
44370 }
44371
44372 #[inline]
44373 fn visit_mut_declaration_name(&mut self, node: &mut DeclarationName) {
44374 if self.enabled {
44375 <V as VisitMut>::visit_mut_declaration_name(&mut self.visitor, node)
44376 } else {
44377 }
44378 }
44379
44380 #[inline]
44381 fn visit_mut_declaration_or_at_rule(&mut self, node: &mut DeclarationOrAtRule) {
44382 if self.enabled {
44383 <V as VisitMut>::visit_mut_declaration_or_at_rule(&mut self.visitor, node)
44384 } else {
44385 }
44386 }
44387
44388 #[inline]
44389 fn visit_mut_delimiter(&mut self, node: &mut Delimiter) {
44390 if self.enabled {
44391 <V as VisitMut>::visit_mut_delimiter(&mut self.visitor, node)
44392 } else {
44393 }
44394 }
44395
44396 #[inline]
44397 fn visit_mut_delimiter_value(&mut self, node: &mut DelimiterValue) {
44398 if self.enabled {
44399 <V as VisitMut>::visit_mut_delimiter_value(&mut self.visitor, node)
44400 } else {
44401 }
44402 }
44403
44404 #[inline]
44405 fn visit_mut_dimension(&mut self, node: &mut Dimension) {
44406 if self.enabled {
44407 <V as VisitMut>::visit_mut_dimension(&mut self.visitor, node)
44408 } else {
44409 }
44410 }
44411
44412 #[inline]
44413 fn visit_mut_dimension_token(&mut self, node: &mut DimensionToken) {
44414 if self.enabled {
44415 <V as VisitMut>::visit_mut_dimension_token(&mut self.visitor, node)
44416 } else {
44417 }
44418 }
44419
44420 #[inline]
44421 fn visit_mut_document_prelude(&mut self, node: &mut DocumentPrelude) {
44422 if self.enabled {
44423 <V as VisitMut>::visit_mut_document_prelude(&mut self.visitor, node)
44424 } else {
44425 }
44426 }
44427
44428 #[inline]
44429 fn visit_mut_document_prelude_matching_function(
44430 &mut self,
44431 node: &mut DocumentPreludeMatchingFunction,
44432 ) {
44433 if self.enabled {
44434 <V as VisitMut>::visit_mut_document_prelude_matching_function(&mut self.visitor, node)
44435 } else {
44436 }
44437 }
44438
44439 #[inline]
44440 fn visit_mut_document_prelude_matching_functions(
44441 &mut self,
44442 node: &mut Vec<DocumentPreludeMatchingFunction>,
44443 ) {
44444 if self.enabled {
44445 <V as VisitMut>::visit_mut_document_prelude_matching_functions(&mut self.visitor, node)
44446 } else {
44447 }
44448 }
44449
44450 #[inline]
44451 fn visit_mut_extension_name(&mut self, node: &mut ExtensionName) {
44452 if self.enabled {
44453 <V as VisitMut>::visit_mut_extension_name(&mut self.visitor, node)
44454 } else {
44455 }
44456 }
44457
44458 #[inline]
44459 fn visit_mut_family_name(&mut self, node: &mut FamilyName) {
44460 if self.enabled {
44461 <V as VisitMut>::visit_mut_family_name(&mut self.visitor, node)
44462 } else {
44463 }
44464 }
44465
44466 #[inline]
44467 fn visit_mut_family_names(&mut self, node: &mut Vec<FamilyName>) {
44468 if self.enabled {
44469 <V as VisitMut>::visit_mut_family_names(&mut self.visitor, node)
44470 } else {
44471 }
44472 }
44473
44474 #[inline]
44475 fn visit_mut_flex(&mut self, node: &mut Flex) {
44476 if self.enabled {
44477 <V as VisitMut>::visit_mut_flex(&mut self.visitor, node)
44478 } else {
44479 }
44480 }
44481
44482 #[inline]
44483 fn visit_mut_font_feature_values_prelude(&mut self, node: &mut FontFeatureValuesPrelude) {
44484 if self.enabled {
44485 <V as VisitMut>::visit_mut_font_feature_values_prelude(&mut self.visitor, node)
44486 } else {
44487 }
44488 }
44489
44490 #[inline]
44491 fn visit_mut_forgiving_complex_selector(&mut self, node: &mut ForgivingComplexSelector) {
44492 if self.enabled {
44493 <V as VisitMut>::visit_mut_forgiving_complex_selector(&mut self.visitor, node)
44494 } else {
44495 }
44496 }
44497
44498 #[inline]
44499 fn visit_mut_forgiving_complex_selectors(&mut self, node: &mut Vec<ForgivingComplexSelector>) {
44500 if self.enabled {
44501 <V as VisitMut>::visit_mut_forgiving_complex_selectors(&mut self.visitor, node)
44502 } else {
44503 }
44504 }
44505
44506 #[inline]
44507 fn visit_mut_forgiving_relative_selector(&mut self, node: &mut ForgivingRelativeSelector) {
44508 if self.enabled {
44509 <V as VisitMut>::visit_mut_forgiving_relative_selector(&mut self.visitor, node)
44510 } else {
44511 }
44512 }
44513
44514 #[inline]
44515 fn visit_mut_forgiving_relative_selector_list(
44516 &mut self,
44517 node: &mut ForgivingRelativeSelectorList,
44518 ) {
44519 if self.enabled {
44520 <V as VisitMut>::visit_mut_forgiving_relative_selector_list(&mut self.visitor, node)
44521 } else {
44522 }
44523 }
44524
44525 #[inline]
44526 fn visit_mut_forgiving_relative_selectors(
44527 &mut self,
44528 node: &mut Vec<ForgivingRelativeSelector>,
44529 ) {
44530 if self.enabled {
44531 <V as VisitMut>::visit_mut_forgiving_relative_selectors(&mut self.visitor, node)
44532 } else {
44533 }
44534 }
44535
44536 #[inline]
44537 fn visit_mut_forgiving_selector_list(&mut self, node: &mut ForgivingSelectorList) {
44538 if self.enabled {
44539 <V as VisitMut>::visit_mut_forgiving_selector_list(&mut self.visitor, node)
44540 } else {
44541 }
44542 }
44543
44544 #[inline]
44545 fn visit_mut_frequency(&mut self, node: &mut Frequency) {
44546 if self.enabled {
44547 <V as VisitMut>::visit_mut_frequency(&mut self.visitor, node)
44548 } else {
44549 }
44550 }
44551
44552 #[inline]
44553 fn visit_mut_frequency_percentage(&mut self, node: &mut FrequencyPercentage) {
44554 if self.enabled {
44555 <V as VisitMut>::visit_mut_frequency_percentage(&mut self.visitor, node)
44556 } else {
44557 }
44558 }
44559
44560 #[inline]
44561 fn visit_mut_function(&mut self, node: &mut Function) {
44562 if self.enabled {
44563 <V as VisitMut>::visit_mut_function(&mut self.visitor, node)
44564 } else {
44565 }
44566 }
44567
44568 #[inline]
44569 fn visit_mut_function_name(&mut self, node: &mut FunctionName) {
44570 if self.enabled {
44571 <V as VisitMut>::visit_mut_function_name(&mut self.visitor, node)
44572 } else {
44573 }
44574 }
44575
44576 #[inline]
44577 fn visit_mut_general_enclosed(&mut self, node: &mut GeneralEnclosed) {
44578 if self.enabled {
44579 <V as VisitMut>::visit_mut_general_enclosed(&mut self.visitor, node)
44580 } else {
44581 }
44582 }
44583
44584 #[inline]
44585 fn visit_mut_hex_color(&mut self, node: &mut HexColor) {
44586 if self.enabled {
44587 <V as VisitMut>::visit_mut_hex_color(&mut self.visitor, node)
44588 } else {
44589 }
44590 }
44591
44592 #[inline]
44593 fn visit_mut_hue(&mut self, node: &mut Hue) {
44594 if self.enabled {
44595 <V as VisitMut>::visit_mut_hue(&mut self.visitor, node)
44596 } else {
44597 }
44598 }
44599
44600 #[inline]
44601 fn visit_mut_id_selector(&mut self, node: &mut IdSelector) {
44602 if self.enabled {
44603 <V as VisitMut>::visit_mut_id_selector(&mut self.visitor, node)
44604 } else {
44605 }
44606 }
44607
44608 #[inline]
44609 fn visit_mut_ident(&mut self, node: &mut Ident) {
44610 if self.enabled {
44611 <V as VisitMut>::visit_mut_ident(&mut self.visitor, node)
44612 } else {
44613 }
44614 }
44615
44616 #[inline]
44617 fn visit_mut_idents(&mut self, node: &mut Vec<Ident>) {
44618 if self.enabled {
44619 <V as VisitMut>::visit_mut_idents(&mut self.visitor, node)
44620 } else {
44621 }
44622 }
44623
44624 #[inline]
44625 fn visit_mut_import_conditions(&mut self, node: &mut ImportConditions) {
44626 if self.enabled {
44627 <V as VisitMut>::visit_mut_import_conditions(&mut self.visitor, node)
44628 } else {
44629 }
44630 }
44631
44632 #[inline]
44633 fn visit_mut_import_href(&mut self, node: &mut ImportHref) {
44634 if self.enabled {
44635 <V as VisitMut>::visit_mut_import_href(&mut self.visitor, node)
44636 } else {
44637 }
44638 }
44639
44640 #[inline]
44641 fn visit_mut_import_layer_name(&mut self, node: &mut ImportLayerName) {
44642 if self.enabled {
44643 <V as VisitMut>::visit_mut_import_layer_name(&mut self.visitor, node)
44644 } else {
44645 }
44646 }
44647
44648 #[inline]
44649 fn visit_mut_import_prelude(&mut self, node: &mut ImportPrelude) {
44650 if self.enabled {
44651 <V as VisitMut>::visit_mut_import_prelude(&mut self.visitor, node)
44652 } else {
44653 }
44654 }
44655
44656 #[inline]
44657 fn visit_mut_important_flag(&mut self, node: &mut ImportantFlag) {
44658 if self.enabled {
44659 <V as VisitMut>::visit_mut_important_flag(&mut self.visitor, node)
44660 } else {
44661 }
44662 }
44663
44664 #[inline]
44665 fn visit_mut_integer(&mut self, node: &mut Integer) {
44666 if self.enabled {
44667 <V as VisitMut>::visit_mut_integer(&mut self.visitor, node)
44668 } else {
44669 }
44670 }
44671
44672 #[inline]
44673 fn visit_mut_keyframe_block(&mut self, node: &mut KeyframeBlock) {
44674 if self.enabled {
44675 <V as VisitMut>::visit_mut_keyframe_block(&mut self.visitor, node)
44676 } else {
44677 }
44678 }
44679
44680 #[inline]
44681 fn visit_mut_keyframe_selector(&mut self, node: &mut KeyframeSelector) {
44682 if self.enabled {
44683 <V as VisitMut>::visit_mut_keyframe_selector(&mut self.visitor, node)
44684 } else {
44685 }
44686 }
44687
44688 #[inline]
44689 fn visit_mut_keyframe_selectors(&mut self, node: &mut Vec<KeyframeSelector>) {
44690 if self.enabled {
44691 <V as VisitMut>::visit_mut_keyframe_selectors(&mut self.visitor, node)
44692 } else {
44693 }
44694 }
44695
44696 #[inline]
44697 fn visit_mut_keyframes_name(&mut self, node: &mut KeyframesName) {
44698 if self.enabled {
44699 <V as VisitMut>::visit_mut_keyframes_name(&mut self.visitor, node)
44700 } else {
44701 }
44702 }
44703
44704 #[inline]
44705 fn visit_mut_keyframes_pseudo_function(&mut self, node: &mut KeyframesPseudoFunction) {
44706 if self.enabled {
44707 <V as VisitMut>::visit_mut_keyframes_pseudo_function(&mut self.visitor, node)
44708 } else {
44709 }
44710 }
44711
44712 #[inline]
44713 fn visit_mut_keyframes_pseudo_prefix(&mut self, node: &mut KeyframesPseudoPrefix) {
44714 if self.enabled {
44715 <V as VisitMut>::visit_mut_keyframes_pseudo_prefix(&mut self.visitor, node)
44716 } else {
44717 }
44718 }
44719
44720 #[inline]
44721 fn visit_mut_layer_name(&mut self, node: &mut LayerName) {
44722 if self.enabled {
44723 <V as VisitMut>::visit_mut_layer_name(&mut self.visitor, node)
44724 } else {
44725 }
44726 }
44727
44728 #[inline]
44729 fn visit_mut_layer_name_list(&mut self, node: &mut LayerNameList) {
44730 if self.enabled {
44731 <V as VisitMut>::visit_mut_layer_name_list(&mut self.visitor, node)
44732 } else {
44733 }
44734 }
44735
44736 #[inline]
44737 fn visit_mut_layer_names(&mut self, node: &mut Vec<LayerName>) {
44738 if self.enabled {
44739 <V as VisitMut>::visit_mut_layer_names(&mut self.visitor, node)
44740 } else {
44741 }
44742 }
44743
44744 #[inline]
44745 fn visit_mut_layer_prelude(&mut self, node: &mut LayerPrelude) {
44746 if self.enabled {
44747 <V as VisitMut>::visit_mut_layer_prelude(&mut self.visitor, node)
44748 } else {
44749 }
44750 }
44751
44752 #[inline]
44753 fn visit_mut_length(&mut self, node: &mut Length) {
44754 if self.enabled {
44755 <V as VisitMut>::visit_mut_length(&mut self.visitor, node)
44756 } else {
44757 }
44758 }
44759
44760 #[inline]
44761 fn visit_mut_length_percentage(&mut self, node: &mut LengthPercentage) {
44762 if self.enabled {
44763 <V as VisitMut>::visit_mut_length_percentage(&mut self.visitor, node)
44764 } else {
44765 }
44766 }
44767
44768 #[inline]
44769 fn visit_mut_list_of_component_values(&mut self, node: &mut ListOfComponentValues) {
44770 if self.enabled {
44771 <V as VisitMut>::visit_mut_list_of_component_values(&mut self.visitor, node)
44772 } else {
44773 }
44774 }
44775
44776 #[inline]
44777 fn visit_mut_media_and(&mut self, node: &mut MediaAnd) {
44778 if self.enabled {
44779 <V as VisitMut>::visit_mut_media_and(&mut self.visitor, node)
44780 } else {
44781 }
44782 }
44783
44784 #[inline]
44785 fn visit_mut_media_condition(&mut self, node: &mut MediaCondition) {
44786 if self.enabled {
44787 <V as VisitMut>::visit_mut_media_condition(&mut self.visitor, node)
44788 } else {
44789 }
44790 }
44791
44792 #[inline]
44793 fn visit_mut_media_condition_all_type(&mut self, node: &mut MediaConditionAllType) {
44794 if self.enabled {
44795 <V as VisitMut>::visit_mut_media_condition_all_type(&mut self.visitor, node)
44796 } else {
44797 }
44798 }
44799
44800 #[inline]
44801 fn visit_mut_media_condition_all_types(&mut self, node: &mut Vec<MediaConditionAllType>) {
44802 if self.enabled {
44803 <V as VisitMut>::visit_mut_media_condition_all_types(&mut self.visitor, node)
44804 } else {
44805 }
44806 }
44807
44808 #[inline]
44809 fn visit_mut_media_condition_type(&mut self, node: &mut MediaConditionType) {
44810 if self.enabled {
44811 <V as VisitMut>::visit_mut_media_condition_type(&mut self.visitor, node)
44812 } else {
44813 }
44814 }
44815
44816 #[inline]
44817 fn visit_mut_media_condition_without_or(&mut self, node: &mut MediaConditionWithoutOr) {
44818 if self.enabled {
44819 <V as VisitMut>::visit_mut_media_condition_without_or(&mut self.visitor, node)
44820 } else {
44821 }
44822 }
44823
44824 #[inline]
44825 fn visit_mut_media_condition_without_or_type(
44826 &mut self,
44827 node: &mut MediaConditionWithoutOrType,
44828 ) {
44829 if self.enabled {
44830 <V as VisitMut>::visit_mut_media_condition_without_or_type(&mut self.visitor, node)
44831 } else {
44832 }
44833 }
44834
44835 #[inline]
44836 fn visit_mut_media_condition_without_or_types(
44837 &mut self,
44838 node: &mut Vec<MediaConditionWithoutOrType>,
44839 ) {
44840 if self.enabled {
44841 <V as VisitMut>::visit_mut_media_condition_without_or_types(&mut self.visitor, node)
44842 } else {
44843 }
44844 }
44845
44846 #[inline]
44847 fn visit_mut_media_feature(&mut self, node: &mut MediaFeature) {
44848 if self.enabled {
44849 <V as VisitMut>::visit_mut_media_feature(&mut self.visitor, node)
44850 } else {
44851 }
44852 }
44853
44854 #[inline]
44855 fn visit_mut_media_feature_boolean(&mut self, node: &mut MediaFeatureBoolean) {
44856 if self.enabled {
44857 <V as VisitMut>::visit_mut_media_feature_boolean(&mut self.visitor, node)
44858 } else {
44859 }
44860 }
44861
44862 #[inline]
44863 fn visit_mut_media_feature_name(&mut self, node: &mut MediaFeatureName) {
44864 if self.enabled {
44865 <V as VisitMut>::visit_mut_media_feature_name(&mut self.visitor, node)
44866 } else {
44867 }
44868 }
44869
44870 #[inline]
44871 fn visit_mut_media_feature_plain(&mut self, node: &mut MediaFeaturePlain) {
44872 if self.enabled {
44873 <V as VisitMut>::visit_mut_media_feature_plain(&mut self.visitor, node)
44874 } else {
44875 }
44876 }
44877
44878 #[inline]
44879 fn visit_mut_media_feature_range(&mut self, node: &mut MediaFeatureRange) {
44880 if self.enabled {
44881 <V as VisitMut>::visit_mut_media_feature_range(&mut self.visitor, node)
44882 } else {
44883 }
44884 }
44885
44886 #[inline]
44887 fn visit_mut_media_feature_range_comparison(&mut self, node: &mut MediaFeatureRangeComparison) {
44888 if self.enabled {
44889 <V as VisitMut>::visit_mut_media_feature_range_comparison(&mut self.visitor, node)
44890 } else {
44891 }
44892 }
44893
44894 #[inline]
44895 fn visit_mut_media_feature_range_interval(&mut self, node: &mut MediaFeatureRangeInterval) {
44896 if self.enabled {
44897 <V as VisitMut>::visit_mut_media_feature_range_interval(&mut self.visitor, node)
44898 } else {
44899 }
44900 }
44901
44902 #[inline]
44903 fn visit_mut_media_feature_value(&mut self, node: &mut MediaFeatureValue) {
44904 if self.enabled {
44905 <V as VisitMut>::visit_mut_media_feature_value(&mut self.visitor, node)
44906 } else {
44907 }
44908 }
44909
44910 #[inline]
44911 fn visit_mut_media_in_parens(&mut self, node: &mut MediaInParens) {
44912 if self.enabled {
44913 <V as VisitMut>::visit_mut_media_in_parens(&mut self.visitor, node)
44914 } else {
44915 }
44916 }
44917
44918 #[inline]
44919 fn visit_mut_media_not(&mut self, node: &mut MediaNot) {
44920 if self.enabled {
44921 <V as VisitMut>::visit_mut_media_not(&mut self.visitor, node)
44922 } else {
44923 }
44924 }
44925
44926 #[inline]
44927 fn visit_mut_media_or(&mut self, node: &mut MediaOr) {
44928 if self.enabled {
44929 <V as VisitMut>::visit_mut_media_or(&mut self.visitor, node)
44930 } else {
44931 }
44932 }
44933
44934 #[inline]
44935 fn visit_mut_media_query(&mut self, node: &mut MediaQuery) {
44936 if self.enabled {
44937 <V as VisitMut>::visit_mut_media_query(&mut self.visitor, node)
44938 } else {
44939 }
44940 }
44941
44942 #[inline]
44943 fn visit_mut_media_query_list(&mut self, node: &mut MediaQueryList) {
44944 if self.enabled {
44945 <V as VisitMut>::visit_mut_media_query_list(&mut self.visitor, node)
44946 } else {
44947 }
44948 }
44949
44950 #[inline]
44951 fn visit_mut_media_querys(&mut self, node: &mut Vec<MediaQuery>) {
44952 if self.enabled {
44953 <V as VisitMut>::visit_mut_media_querys(&mut self.visitor, node)
44954 } else {
44955 }
44956 }
44957
44958 #[inline]
44959 fn visit_mut_media_type(&mut self, node: &mut MediaType) {
44960 if self.enabled {
44961 <V as VisitMut>::visit_mut_media_type(&mut self.visitor, node)
44962 } else {
44963 }
44964 }
44965
44966 #[inline]
44967 fn visit_mut_named_namespace(&mut self, node: &mut NamedNamespace) {
44968 if self.enabled {
44969 <V as VisitMut>::visit_mut_named_namespace(&mut self.visitor, node)
44970 } else {
44971 }
44972 }
44973
44974 #[inline]
44975 fn visit_mut_namespace(&mut self, node: &mut Namespace) {
44976 if self.enabled {
44977 <V as VisitMut>::visit_mut_namespace(&mut self.visitor, node)
44978 } else {
44979 }
44980 }
44981
44982 #[inline]
44983 fn visit_mut_namespace_prefix(&mut self, node: &mut NamespacePrefix) {
44984 if self.enabled {
44985 <V as VisitMut>::visit_mut_namespace_prefix(&mut self.visitor, node)
44986 } else {
44987 }
44988 }
44989
44990 #[inline]
44991 fn visit_mut_namespace_prelude(&mut self, node: &mut NamespacePrelude) {
44992 if self.enabled {
44993 <V as VisitMut>::visit_mut_namespace_prelude(&mut self.visitor, node)
44994 } else {
44995 }
44996 }
44997
44998 #[inline]
44999 fn visit_mut_namespace_prelude_uri(&mut self, node: &mut NamespacePreludeUri) {
45000 if self.enabled {
45001 <V as VisitMut>::visit_mut_namespace_prelude_uri(&mut self.visitor, node)
45002 } else {
45003 }
45004 }
45005
45006 #[inline]
45007 fn visit_mut_nesting_selector(&mut self, node: &mut NestingSelector) {
45008 if self.enabled {
45009 <V as VisitMut>::visit_mut_nesting_selector(&mut self.visitor, node)
45010 } else {
45011 }
45012 }
45013
45014 #[inline]
45015 fn visit_mut_number(&mut self, node: &mut Number) {
45016 if self.enabled {
45017 <V as VisitMut>::visit_mut_number(&mut self.visitor, node)
45018 } else {
45019 }
45020 }
45021
45022 #[inline]
45023 fn visit_mut_number_type(&mut self, node: &mut NumberType) {
45024 if self.enabled {
45025 <V as VisitMut>::visit_mut_number_type(&mut self.visitor, node)
45026 } else {
45027 }
45028 }
45029
45030 #[inline]
45031 fn visit_mut_opt_at_rule_prelude(&mut self, node: &mut Option<Box<AtRulePrelude>>) {
45032 if self.enabled {
45033 <V as VisitMut>::visit_mut_opt_at_rule_prelude(&mut self.visitor, node)
45034 } else {
45035 }
45036 }
45037
45038 #[inline]
45039 fn visit_mut_opt_atom(&mut self, node: &mut Option<swc_atoms::Atom>) {
45040 if self.enabled {
45041 <V as VisitMut>::visit_mut_opt_atom(&mut self.visitor, node)
45042 } else {
45043 }
45044 }
45045
45046 #[inline]
45047 fn visit_mut_opt_attribute_selector_matcher(
45048 &mut self,
45049 node: &mut Option<AttributeSelectorMatcher>,
45050 ) {
45051 if self.enabled {
45052 <V as VisitMut>::visit_mut_opt_attribute_selector_matcher(&mut self.visitor, node)
45053 } else {
45054 }
45055 }
45056
45057 #[inline]
45058 fn visit_mut_opt_attribute_selector_modifier(
45059 &mut self,
45060 node: &mut Option<AttributeSelectorModifier>,
45061 ) {
45062 if self.enabled {
45063 <V as VisitMut>::visit_mut_opt_attribute_selector_modifier(&mut self.visitor, node)
45064 } else {
45065 }
45066 }
45067
45068 #[inline]
45069 fn visit_mut_opt_attribute_selector_value(
45070 &mut self,
45071 node: &mut Option<AttributeSelectorValue>,
45072 ) {
45073 if self.enabled {
45074 <V as VisitMut>::visit_mut_opt_attribute_selector_value(&mut self.visitor, node)
45075 } else {
45076 }
45077 }
45078
45079 #[inline]
45080 fn visit_mut_opt_combinator(&mut self, node: &mut Option<Combinator>) {
45081 if self.enabled {
45082 <V as VisitMut>::visit_mut_opt_combinator(&mut self.visitor, node)
45083 } else {
45084 }
<