From ae65f27c1057c61e3e813a34ee18024fdcc59d7a Mon Sep 17 00:00:00 2001 From: unvalley Date: Sat, 16 Sep 2023 01:26:05 +0900 Subject: [PATCH] chore: codegen and resolve conflicts --- CHANGELOG.md | 5 + .../src/categories.rs | 1 + .../biome_js_analyze/src/analyzers/nursery.rs | 2 + .../nursery/no_misleading_instantiator.rs | 10 +- crates/biome_js_formatter/src/generated.rs | 2300 +++++++++-------- crates/biome_js_unicode_table/src/tables.rs | 8 +- crates/biome_json_formatter/src/generated.rs | 92 +- .../src/configuration/linter/rules.rs | 76 +- .../src/configuration/parse/json/rules.rs | 24 + editors/vscode/configuration_schema.json | 7 + .../@biomejs/backend-jsonrpc/src/workspace.ts | 19 +- .../@biomejs/biome/configuration_schema.json | 116 - .../src/content/docs/internals/changelog.mdx | 28 + .../src/content/docs/linter/rules/index.mdx | 2 + .../rules/no-misleading-instantiator.md | 54 +- 15 files changed, 1389 insertions(+), 1355 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1605e6867d4f..7fd0f23d66ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,11 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom ### Formatter ### JavaScript APIs ### Linter + +#### New features + +- Add [noMisleadingInstantiator](https://biomejs.dev/linter/rules/no-mileading-instantiator) rule. The rule reports the misleading use of the `new` and `constructor` methods. Contributed by [@unvalley](https://github.com/unvalley) + ### Parser ### VSCode diff --git a/crates/biome_diagnostics_categories/src/categories.rs b/crates/biome_diagnostics_categories/src/categories.rs index c1c93f0719d0..a2ef48c296e2 100644 --- a/crates/biome_diagnostics_categories/src/categories.rs +++ b/crates/biome_diagnostics_categories/src/categories.rs @@ -95,6 +95,7 @@ define_categories! { "lint/nursery/noFallthroughSwitchClause": "https://biomejs.dev/linter/rules/no-fallthrough-switch-clause", "lint/nursery/noGlobalIsFinite": "https://biomejs.dev/linter/rules/no-global-is-finite", "lint/nursery/noGlobalIsNan": "https://biomejs.dev/linter/rules/no-global-is-nan", + "lint/nursery/noMisleadingInstantiator": "https://biomejs.dev/linter/rules/no-misleading-instantiator", "lint/nursery/noVoid": "https://biomejs.dev/linter/rules/no-void", "lint/nursery/useArrowFunction": "https://biomejs.dev/linter/rules/use-arrow-function", "lint/nursery/useBiomeSuppressionComment": "https://biomejs.dev/lint/rules/use-biome-suppression-comment", diff --git a/crates/biome_js_analyze/src/analyzers/nursery.rs b/crates/biome_js_analyze/src/analyzers/nursery.rs index aab35cd1c787..63dbe9e17163 100644 --- a/crates/biome_js_analyze/src/analyzers/nursery.rs +++ b/crates/biome_js_analyze/src/analyzers/nursery.rs @@ -5,6 +5,7 @@ use biome_analyze::declare_group; pub(crate) mod no_confusing_void_type; pub(crate) mod no_excessive_complexity; pub(crate) mod no_fallthrough_switch_clause; +pub(crate) mod no_misleading_instantiator; pub(crate) mod no_void; pub(crate) mod use_arrow_function; pub(crate) mod use_collapsed_else_if; @@ -18,6 +19,7 @@ declare_group! { self :: no_confusing_void_type :: NoConfusingVoidType , self :: no_excessive_complexity :: NoExcessiveComplexity , self :: no_fallthrough_switch_clause :: NoFallthroughSwitchClause , + self :: no_misleading_instantiator :: NoMisleadingInstantiator , self :: no_void :: NoVoid , self :: use_arrow_function :: UseArrowFunction , self :: use_collapsed_else_if :: UseCollapsedElseIf , diff --git a/crates/biome_js_analyze/src/analyzers/nursery/no_misleading_instantiator.rs b/crates/biome_js_analyze/src/analyzers/nursery/no_misleading_instantiator.rs index 15ce4bb6a615..4a9ec0c7c29b 100644 --- a/crates/biome_js_analyze/src/analyzers/nursery/no_misleading_instantiator.rs +++ b/crates/biome_js_analyze/src/analyzers/nursery/no_misleading_instantiator.rs @@ -24,15 +24,15 @@ declare_rule! { /// ### Invalid /// /// ```ts,expect_diagnostic - /// declare class C { - /// new(): C; + /// interface I { + /// new (): I; + /// constructor(): void; /// } /// ``` /// /// ```ts,expect_diagnostic - /// interface I { - /// new (): I; - /// constructor(): void; + /// class C { + /// new(): C; /// } /// ``` /// diff --git a/crates/biome_js_formatter/src/generated.rs b/crates/biome_js_formatter/src/generated.rs index 8601c3adf3b3..a793dbe21d42 100644 --- a/crates/biome_js_formatter/src/generated.rs +++ b/crates/biome_js_formatter/src/generated.rs @@ -18,7 +18,10 @@ impl AsFormat for biome_js_syntax::JsScript { crate::js::auxiliary::script::FormatJsScript, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::script::FormatJsScript) + FormatRefWithRule::new( + self, + crate::js::auxiliary::script::FormatJsScript::default(), + ) } } impl IntoFormat for biome_js_syntax::JsScript { @@ -27,7 +30,10 @@ impl IntoFormat for biome_js_syntax::JsScript { crate::js::auxiliary::script::FormatJsScript, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::script::FormatJsScript) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::script::FormatJsScript::default(), + ) } } impl FormatRule for crate::js::auxiliary::module::FormatJsModule { @@ -44,7 +50,10 @@ impl AsFormat for biome_js_syntax::JsModule { crate::js::auxiliary::module::FormatJsModule, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::module::FormatJsModule) + FormatRefWithRule::new( + self, + crate::js::auxiliary::module::FormatJsModule::default(), + ) } } impl IntoFormat for biome_js_syntax::JsModule { @@ -53,7 +62,10 @@ impl IntoFormat for biome_js_syntax::JsModule { crate::js::auxiliary::module::FormatJsModule, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::module::FormatJsModule) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::module::FormatJsModule::default(), + ) } } impl FormatRule @@ -78,7 +90,7 @@ impl AsFormat for biome_js_syntax::JsExpressionSnipped { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::expression_snipped::FormatJsExpressionSnipped, + crate::js::auxiliary::expression_snipped::FormatJsExpressionSnipped::default(), ) } } @@ -90,7 +102,7 @@ impl IntoFormat for biome_js_syntax::JsExpressionSnipped { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::expression_snipped::FormatJsExpressionSnipped, + crate::js::auxiliary::expression_snipped::FormatJsExpressionSnipped::default(), ) } } @@ -110,7 +122,10 @@ impl AsFormat for biome_js_syntax::JsDirective { crate::js::auxiliary::directive::FormatJsDirective, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::directive::FormatJsDirective) + FormatRefWithRule::new( + self, + crate::js::auxiliary::directive::FormatJsDirective::default(), + ) } } impl IntoFormat for biome_js_syntax::JsDirective { @@ -119,7 +134,10 @@ impl IntoFormat for biome_js_syntax::JsDirective { crate::js::auxiliary::directive::FormatJsDirective, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::directive::FormatJsDirective) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::directive::FormatJsDirective::default(), + ) } } impl FormatRule @@ -144,7 +162,7 @@ impl AsFormat for biome_js_syntax::JsBlockStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::block_statement::FormatJsBlockStatement, + crate::js::statements::block_statement::FormatJsBlockStatement::default(), ) } } @@ -156,7 +174,7 @@ impl IntoFormat for biome_js_syntax::JsBlockStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::block_statement::FormatJsBlockStatement, + crate::js::statements::block_statement::FormatJsBlockStatement::default(), ) } } @@ -182,7 +200,7 @@ impl AsFormat for biome_js_syntax::JsBreakStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::break_statement::FormatJsBreakStatement, + crate::js::statements::break_statement::FormatJsBreakStatement::default(), ) } } @@ -194,7 +212,7 @@ impl IntoFormat for biome_js_syntax::JsBreakStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::break_statement::FormatJsBreakStatement, + crate::js::statements::break_statement::FormatJsBreakStatement::default(), ) } } @@ -220,7 +238,7 @@ impl AsFormat for biome_js_syntax::JsClassDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::declarations::class_declaration::FormatJsClassDeclaration, + crate::js::declarations::class_declaration::FormatJsClassDeclaration::default(), ) } } @@ -232,7 +250,7 @@ impl IntoFormat for biome_js_syntax::JsClassDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::declarations::class_declaration::FormatJsClassDeclaration, + crate::js::declarations::class_declaration::FormatJsClassDeclaration::default(), ) } } @@ -258,7 +276,7 @@ impl AsFormat for biome_js_syntax::JsContinueStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::continue_statement::FormatJsContinueStatement, + crate::js::statements::continue_statement::FormatJsContinueStatement::default(), ) } } @@ -270,7 +288,7 @@ impl IntoFormat for biome_js_syntax::JsContinueStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::continue_statement::FormatJsContinueStatement, + crate::js::statements::continue_statement::FormatJsContinueStatement::default(), ) } } @@ -296,7 +314,7 @@ impl AsFormat for biome_js_syntax::JsDebuggerStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::debugger_statement::FormatJsDebuggerStatement, + crate::js::statements::debugger_statement::FormatJsDebuggerStatement::default(), ) } } @@ -308,7 +326,7 @@ impl IntoFormat for biome_js_syntax::JsDebuggerStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::debugger_statement::FormatJsDebuggerStatement, + crate::js::statements::debugger_statement::FormatJsDebuggerStatement::default(), ) } } @@ -334,7 +352,7 @@ impl AsFormat for biome_js_syntax::JsDoWhileStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::do_while_statement::FormatJsDoWhileStatement, + crate::js::statements::do_while_statement::FormatJsDoWhileStatement::default(), ) } } @@ -346,7 +364,7 @@ impl IntoFormat for biome_js_syntax::JsDoWhileStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::do_while_statement::FormatJsDoWhileStatement, + crate::js::statements::do_while_statement::FormatJsDoWhileStatement::default(), ) } } @@ -372,7 +390,7 @@ impl AsFormat for biome_js_syntax::JsEmptyStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::empty_statement::FormatJsEmptyStatement, + crate::js::statements::empty_statement::FormatJsEmptyStatement::default(), ) } } @@ -384,7 +402,7 @@ impl IntoFormat for biome_js_syntax::JsEmptyStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::empty_statement::FormatJsEmptyStatement, + crate::js::statements::empty_statement::FormatJsEmptyStatement::default(), ) } } @@ -410,7 +428,7 @@ impl AsFormat for biome_js_syntax::JsExpressionStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::expression_statement::FormatJsExpressionStatement, + crate::js::statements::expression_statement::FormatJsExpressionStatement::default(), ) } } @@ -422,7 +440,7 @@ impl IntoFormat for biome_js_syntax::JsExpressionStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::expression_statement::FormatJsExpressionStatement, + crate::js::statements::expression_statement::FormatJsExpressionStatement::default(), ) } } @@ -448,7 +466,7 @@ impl AsFormat for biome_js_syntax::JsForInStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::for_in_statement::FormatJsForInStatement, + crate::js::statements::for_in_statement::FormatJsForInStatement::default(), ) } } @@ -460,7 +478,7 @@ impl IntoFormat for biome_js_syntax::JsForInStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::for_in_statement::FormatJsForInStatement, + crate::js::statements::for_in_statement::FormatJsForInStatement::default(), ) } } @@ -486,7 +504,7 @@ impl AsFormat for biome_js_syntax::JsForOfStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::for_of_statement::FormatJsForOfStatement, + crate::js::statements::for_of_statement::FormatJsForOfStatement::default(), ) } } @@ -498,7 +516,7 @@ impl IntoFormat for biome_js_syntax::JsForOfStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::for_of_statement::FormatJsForOfStatement, + crate::js::statements::for_of_statement::FormatJsForOfStatement::default(), ) } } @@ -520,7 +538,7 @@ impl AsFormat for biome_js_syntax::JsForStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::for_statement::FormatJsForStatement, + crate::js::statements::for_statement::FormatJsForStatement::default(), ) } } @@ -532,7 +550,7 @@ impl IntoFormat for biome_js_syntax::JsForStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::for_statement::FormatJsForStatement, + crate::js::statements::for_statement::FormatJsForStatement::default(), ) } } @@ -554,7 +572,7 @@ impl AsFormat for biome_js_syntax::JsIfStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::if_statement::FormatJsIfStatement, + crate::js::statements::if_statement::FormatJsIfStatement::default(), ) } } @@ -566,7 +584,7 @@ impl IntoFormat for biome_js_syntax::JsIfStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::if_statement::FormatJsIfStatement, + crate::js::statements::if_statement::FormatJsIfStatement::default(), ) } } @@ -592,7 +610,7 @@ impl AsFormat for biome_js_syntax::JsLabeledStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::labeled_statement::FormatJsLabeledStatement, + crate::js::statements::labeled_statement::FormatJsLabeledStatement::default(), ) } } @@ -604,7 +622,7 @@ impl IntoFormat for biome_js_syntax::JsLabeledStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::labeled_statement::FormatJsLabeledStatement, + crate::js::statements::labeled_statement::FormatJsLabeledStatement::default(), ) } } @@ -630,7 +648,7 @@ impl AsFormat for biome_js_syntax::JsReturnStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::return_statement::FormatJsReturnStatement, + crate::js::statements::return_statement::FormatJsReturnStatement::default(), ) } } @@ -642,7 +660,7 @@ impl IntoFormat for biome_js_syntax::JsReturnStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::return_statement::FormatJsReturnStatement, + crate::js::statements::return_statement::FormatJsReturnStatement::default(), ) } } @@ -668,7 +686,7 @@ impl AsFormat for biome_js_syntax::JsSwitchStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::switch_statement::FormatJsSwitchStatement, + crate::js::statements::switch_statement::FormatJsSwitchStatement::default(), ) } } @@ -680,7 +698,7 @@ impl IntoFormat for biome_js_syntax::JsSwitchStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::switch_statement::FormatJsSwitchStatement, + crate::js::statements::switch_statement::FormatJsSwitchStatement::default(), ) } } @@ -706,7 +724,7 @@ impl AsFormat for biome_js_syntax::JsThrowStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::throw_statement::FormatJsThrowStatement, + crate::js::statements::throw_statement::FormatJsThrowStatement::default(), ) } } @@ -718,7 +736,7 @@ impl IntoFormat for biome_js_syntax::JsThrowStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::throw_statement::FormatJsThrowStatement, + crate::js::statements::throw_statement::FormatJsThrowStatement::default(), ) } } @@ -744,7 +762,7 @@ impl AsFormat for biome_js_syntax::JsTryFinallyStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::try_finally_statement::FormatJsTryFinallyStatement, + crate::js::statements::try_finally_statement::FormatJsTryFinallyStatement::default(), ) } } @@ -756,7 +774,7 @@ impl IntoFormat for biome_js_syntax::JsTryFinallyStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::try_finally_statement::FormatJsTryFinallyStatement, + crate::js::statements::try_finally_statement::FormatJsTryFinallyStatement::default(), ) } } @@ -778,7 +796,7 @@ impl AsFormat for biome_js_syntax::JsTryStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::try_statement::FormatJsTryStatement, + crate::js::statements::try_statement::FormatJsTryStatement::default(), ) } } @@ -790,7 +808,7 @@ impl IntoFormat for biome_js_syntax::JsTryStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::try_statement::FormatJsTryStatement, + crate::js::statements::try_statement::FormatJsTryStatement::default(), ) } } @@ -816,7 +834,7 @@ impl AsFormat for biome_js_syntax::JsVariableStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::variable_statement::FormatJsVariableStatement, + crate::js::statements::variable_statement::FormatJsVariableStatement::default(), ) } } @@ -828,7 +846,7 @@ impl IntoFormat for biome_js_syntax::JsVariableStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::variable_statement::FormatJsVariableStatement, + crate::js::statements::variable_statement::FormatJsVariableStatement::default(), ) } } @@ -854,7 +872,7 @@ impl AsFormat for biome_js_syntax::JsWhileStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::while_statement::FormatJsWhileStatement, + crate::js::statements::while_statement::FormatJsWhileStatement::default(), ) } } @@ -866,7 +884,7 @@ impl IntoFormat for biome_js_syntax::JsWhileStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::while_statement::FormatJsWhileStatement, + crate::js::statements::while_statement::FormatJsWhileStatement::default(), ) } } @@ -892,7 +910,7 @@ impl AsFormat for biome_js_syntax::JsWithStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::statements::with_statement::FormatJsWithStatement, + crate::js::statements::with_statement::FormatJsWithStatement::default(), ) } } @@ -904,7 +922,7 @@ impl IntoFormat for biome_js_syntax::JsWithStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::statements::with_statement::FormatJsWithStatement, + crate::js::statements::with_statement::FormatJsWithStatement::default(), ) } } @@ -930,7 +948,7 @@ impl AsFormat for biome_js_syntax::JsFunctionDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::declarations::function_declaration::FormatJsFunctionDeclaration, + crate::js::declarations::function_declaration::FormatJsFunctionDeclaration::default(), ) } } @@ -942,7 +960,7 @@ impl IntoFormat for biome_js_syntax::JsFunctionDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::declarations::function_declaration::FormatJsFunctionDeclaration, + crate::js::declarations::function_declaration::FormatJsFunctionDeclaration::default(), ) } } @@ -968,7 +986,7 @@ impl AsFormat for biome_js_syntax::TsEnumDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::declarations::enum_declaration::FormatTsEnumDeclaration, + crate::ts::declarations::enum_declaration::FormatTsEnumDeclaration::default(), ) } } @@ -980,7 +998,7 @@ impl IntoFormat for biome_js_syntax::TsEnumDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::declarations::enum_declaration::FormatTsEnumDeclaration, + crate::ts::declarations::enum_declaration::FormatTsEnumDeclaration::default(), ) } } @@ -1006,7 +1024,8 @@ impl AsFormat for biome_js_syntax::TsTypeAliasDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::declarations::type_alias_declaration::FormatTsTypeAliasDeclaration, + crate::ts::declarations::type_alias_declaration::FormatTsTypeAliasDeclaration::default( + ), ) } } @@ -1018,7 +1037,8 @@ impl IntoFormat for biome_js_syntax::TsTypeAliasDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::declarations::type_alias_declaration::FormatTsTypeAliasDeclaration, + crate::ts::declarations::type_alias_declaration::FormatTsTypeAliasDeclaration::default( + ), ) } } @@ -1044,7 +1064,7 @@ impl AsFormat for biome_js_syntax::TsInterfaceDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::declarations::interface_declaration::FormatTsInterfaceDeclaration, + crate::ts::declarations::interface_declaration::FormatTsInterfaceDeclaration::default(), ) } } @@ -1056,7 +1076,7 @@ impl IntoFormat for biome_js_syntax::TsInterfaceDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::declarations::interface_declaration::FormatTsInterfaceDeclaration, + crate::ts::declarations::interface_declaration::FormatTsInterfaceDeclaration::default(), ) } } @@ -1080,7 +1100,7 @@ impl AsFormat for biome_js_syntax::TsDeclareFunctionDeclaration crate::ts::declarations::declare_function_declaration::FormatTsDeclareFunctionDeclaration, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: declarations :: declare_function_declaration :: FormatTsDeclareFunctionDeclaration) + FormatRefWithRule :: new (self , crate :: ts :: declarations :: declare_function_declaration :: FormatTsDeclareFunctionDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::TsDeclareFunctionDeclaration { @@ -1089,7 +1109,7 @@ impl IntoFormat for biome_js_syntax::TsDeclareFunctionDeclarati crate::ts::declarations::declare_function_declaration::FormatTsDeclareFunctionDeclaration, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: declarations :: declare_function_declaration :: FormatTsDeclareFunctionDeclaration) + FormatOwnedWithRule :: new (self , crate :: ts :: declarations :: declare_function_declaration :: FormatTsDeclareFunctionDeclaration :: default ()) } } impl FormatRule @@ -1114,7 +1134,7 @@ impl AsFormat for biome_js_syntax::TsDeclareStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::statements::declare_statement::FormatTsDeclareStatement, + crate::ts::statements::declare_statement::FormatTsDeclareStatement::default(), ) } } @@ -1126,7 +1146,7 @@ impl IntoFormat for biome_js_syntax::TsDeclareStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::statements::declare_statement::FormatTsDeclareStatement, + crate::ts::statements::declare_statement::FormatTsDeclareStatement::default(), ) } } @@ -1152,7 +1172,7 @@ impl AsFormat for biome_js_syntax::TsModuleDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::declarations::module_declaration::FormatTsModuleDeclaration, + crate::ts::declarations::module_declaration::FormatTsModuleDeclaration::default(), ) } } @@ -1164,7 +1184,7 @@ impl IntoFormat for biome_js_syntax::TsModuleDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::declarations::module_declaration::FormatTsModuleDeclaration, + crate::ts::declarations::module_declaration::FormatTsModuleDeclaration::default(), ) } } @@ -1188,10 +1208,7 @@ impl AsFormat for biome_js_syntax::TsExternalModuleDeclaration crate::ts::declarations::external_module_declaration::FormatTsExternalModuleDeclaration, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::declarations::external_module_declaration::FormatTsExternalModuleDeclaration, - ) + FormatRefWithRule :: new (self , crate :: ts :: declarations :: external_module_declaration :: FormatTsExternalModuleDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::TsExternalModuleDeclaration { @@ -1200,10 +1217,7 @@ impl IntoFormat for biome_js_syntax::TsExternalModuleDeclaratio crate::ts::declarations::external_module_declaration::FormatTsExternalModuleDeclaration, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::declarations::external_module_declaration::FormatTsExternalModuleDeclaration, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: declarations :: external_module_declaration :: FormatTsExternalModuleDeclaration :: default ()) } } impl FormatRule @@ -1228,7 +1242,7 @@ impl AsFormat for biome_js_syntax::TsGlobalDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::declarations::global_declaration::FormatTsGlobalDeclaration, + crate::ts::declarations::global_declaration::FormatTsGlobalDeclaration::default(), ) } } @@ -1240,7 +1254,7 @@ impl IntoFormat for biome_js_syntax::TsGlobalDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::declarations::global_declaration::FormatTsGlobalDeclaration, + crate::ts::declarations::global_declaration::FormatTsGlobalDeclaration::default(), ) } } @@ -1264,10 +1278,7 @@ impl AsFormat for biome_js_syntax::TsImportEqualsDeclaration { crate::ts::declarations::import_equals_declaration::FormatTsImportEqualsDeclaration, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::declarations::import_equals_declaration::FormatTsImportEqualsDeclaration, - ) + FormatRefWithRule :: new (self , crate :: ts :: declarations :: import_equals_declaration :: FormatTsImportEqualsDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::TsImportEqualsDeclaration { @@ -1276,10 +1287,7 @@ impl IntoFormat for biome_js_syntax::TsImportEqualsDeclaration crate::ts::declarations::import_equals_declaration::FormatTsImportEqualsDeclaration, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::declarations::import_equals_declaration::FormatTsImportEqualsDeclaration, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: declarations :: import_equals_declaration :: FormatTsImportEqualsDeclaration :: default ()) } } impl FormatRule @@ -1298,7 +1306,10 @@ impl AsFormat for biome_js_syntax::JsElseClause { crate::js::auxiliary::else_clause::FormatJsElseClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::else_clause::FormatJsElseClause) + FormatRefWithRule::new( + self, + crate::js::auxiliary::else_clause::FormatJsElseClause::default(), + ) } } impl IntoFormat for biome_js_syntax::JsElseClause { @@ -1307,7 +1318,10 @@ impl IntoFormat for biome_js_syntax::JsElseClause { crate::js::auxiliary::else_clause::FormatJsElseClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::else_clause::FormatJsElseClause) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::else_clause::FormatJsElseClause::default(), + ) } } impl FormatRule @@ -1332,7 +1346,7 @@ impl AsFormat for biome_js_syntax::JsVariableDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::declarations::variable_declaration::FormatJsVariableDeclaration, + crate::js::declarations::variable_declaration::FormatJsVariableDeclaration::default(), ) } } @@ -1344,7 +1358,7 @@ impl IntoFormat for biome_js_syntax::JsVariableDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::declarations::variable_declaration::FormatJsVariableDeclaration, + crate::js::declarations::variable_declaration::FormatJsVariableDeclaration::default(), ) } } @@ -1368,10 +1382,7 @@ impl AsFormat for biome_js_syntax::JsForVariableDeclaration { crate::js::declarations::for_variable_declaration::FormatJsForVariableDeclaration, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::declarations::for_variable_declaration::FormatJsForVariableDeclaration, - ) + FormatRefWithRule :: new (self , crate :: js :: declarations :: for_variable_declaration :: FormatJsForVariableDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::JsForVariableDeclaration { @@ -1380,10 +1391,7 @@ impl IntoFormat for biome_js_syntax::JsForVariableDeclaration { crate::js::declarations::for_variable_declaration::FormatJsForVariableDeclaration, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::declarations::for_variable_declaration::FormatJsForVariableDeclaration, - ) + FormatOwnedWithRule :: new (self , crate :: js :: declarations :: for_variable_declaration :: FormatJsForVariableDeclaration :: default ()) } } impl FormatRule @@ -1408,7 +1416,7 @@ impl AsFormat for biome_js_syntax::JsVariableDeclarator { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::variable_declarator::FormatJsVariableDeclarator, + crate::js::auxiliary::variable_declarator::FormatJsVariableDeclarator::default(), ) } } @@ -1420,7 +1428,7 @@ impl IntoFormat for biome_js_syntax::JsVariableDeclarator { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::variable_declarator::FormatJsVariableDeclarator, + crate::js::auxiliary::variable_declarator::FormatJsVariableDeclarator::default(), ) } } @@ -1440,7 +1448,10 @@ impl AsFormat for biome_js_syntax::JsCaseClause { crate::js::auxiliary::case_clause::FormatJsCaseClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::case_clause::FormatJsCaseClause) + FormatRefWithRule::new( + self, + crate::js::auxiliary::case_clause::FormatJsCaseClause::default(), + ) } } impl IntoFormat for biome_js_syntax::JsCaseClause { @@ -1449,7 +1460,10 @@ impl IntoFormat for biome_js_syntax::JsCaseClause { crate::js::auxiliary::case_clause::FormatJsCaseClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::case_clause::FormatJsCaseClause) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::case_clause::FormatJsCaseClause::default(), + ) } } impl FormatRule @@ -1474,7 +1488,7 @@ impl AsFormat for biome_js_syntax::JsDefaultClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::default_clause::FormatJsDefaultClause, + crate::js::auxiliary::default_clause::FormatJsDefaultClause::default(), ) } } @@ -1486,7 +1500,7 @@ impl IntoFormat for biome_js_syntax::JsDefaultClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::default_clause::FormatJsDefaultClause, + crate::js::auxiliary::default_clause::FormatJsDefaultClause::default(), ) } } @@ -1508,7 +1522,7 @@ impl AsFormat for biome_js_syntax::JsCatchClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::catch_clause::FormatJsCatchClause, + crate::js::auxiliary::catch_clause::FormatJsCatchClause::default(), ) } } @@ -1520,7 +1534,7 @@ impl IntoFormat for biome_js_syntax::JsCatchClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::catch_clause::FormatJsCatchClause, + crate::js::auxiliary::catch_clause::FormatJsCatchClause::default(), ) } } @@ -1546,7 +1560,7 @@ impl AsFormat for biome_js_syntax::JsFinallyClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::finally_clause::FormatJsFinallyClause, + crate::js::auxiliary::finally_clause::FormatJsFinallyClause::default(), ) } } @@ -1558,7 +1572,7 @@ impl IntoFormat for biome_js_syntax::JsFinallyClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::finally_clause::FormatJsFinallyClause, + crate::js::auxiliary::finally_clause::FormatJsFinallyClause::default(), ) } } @@ -1584,7 +1598,7 @@ impl AsFormat for biome_js_syntax::JsCatchDeclaration { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::declarations::catch_declaration::FormatJsCatchDeclaration, + crate::js::declarations::catch_declaration::FormatJsCatchDeclaration::default(), ) } } @@ -1596,7 +1610,7 @@ impl IntoFormat for biome_js_syntax::JsCatchDeclaration { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::declarations::catch_declaration::FormatJsCatchDeclaration, + crate::js::declarations::catch_declaration::FormatJsCatchDeclaration::default(), ) } } @@ -1622,7 +1636,7 @@ impl AsFormat for biome_js_syntax::TsTypeAnnotation { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::type_annotation::FormatTsTypeAnnotation, + crate::ts::auxiliary::type_annotation::FormatTsTypeAnnotation::default(), ) } } @@ -1634,7 +1648,7 @@ impl IntoFormat for biome_js_syntax::TsTypeAnnotation { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::type_annotation::FormatTsTypeAnnotation, + crate::ts::auxiliary::type_annotation::FormatTsTypeAnnotation::default(), ) } } @@ -1660,7 +1674,7 @@ impl AsFormat for biome_js_syntax::JsImportMetaExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::import_meta_expression::FormatJsImportMetaExpression, + crate::js::expressions::import_meta_expression::FormatJsImportMetaExpression::default(), ) } } @@ -1672,7 +1686,7 @@ impl IntoFormat for biome_js_syntax::JsImportMetaExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::import_meta_expression::FormatJsImportMetaExpression, + crate::js::expressions::import_meta_expression::FormatJsImportMetaExpression::default(), ) } } @@ -1768,7 +1782,7 @@ impl AsFormat for biome_js_syntax::JsAssignmentExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::assignment_expression::FormatJsAssignmentExpression, + crate::js::expressions::assignment_expression::FormatJsAssignmentExpression::default(), ) } } @@ -1780,7 +1794,7 @@ impl IntoFormat for biome_js_syntax::JsAssignmentExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::assignment_expression::FormatJsAssignmentExpression, + crate::js::expressions::assignment_expression::FormatJsAssignmentExpression::default(), ) } } @@ -1806,7 +1820,7 @@ impl AsFormat for biome_js_syntax::JsAwaitExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::await_expression::FormatJsAwaitExpression, + crate::js::expressions::await_expression::FormatJsAwaitExpression::default(), ) } } @@ -1818,7 +1832,7 @@ impl IntoFormat for biome_js_syntax::JsAwaitExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::await_expression::FormatJsAwaitExpression, + crate::js::expressions::await_expression::FormatJsAwaitExpression::default(), ) } } @@ -1844,7 +1858,7 @@ impl AsFormat for biome_js_syntax::JsBinaryExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::binary_expression::FormatJsBinaryExpression, + crate::js::expressions::binary_expression::FormatJsBinaryExpression::default(), ) } } @@ -1856,7 +1870,7 @@ impl IntoFormat for biome_js_syntax::JsBinaryExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::binary_expression::FormatJsBinaryExpression, + crate::js::expressions::binary_expression::FormatJsBinaryExpression::default(), ) } } @@ -1882,7 +1896,7 @@ impl AsFormat for biome_js_syntax::JsCallExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::call_expression::FormatJsCallExpression, + crate::js::expressions::call_expression::FormatJsCallExpression::default(), ) } } @@ -1894,7 +1908,7 @@ impl IntoFormat for biome_js_syntax::JsCallExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::call_expression::FormatJsCallExpression, + crate::js::expressions::call_expression::FormatJsCallExpression::default(), ) } } @@ -1920,7 +1934,7 @@ impl AsFormat for biome_js_syntax::JsClassExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::class_expression::FormatJsClassExpression, + crate::js::expressions::class_expression::FormatJsClassExpression::default(), ) } } @@ -1932,7 +1946,7 @@ impl IntoFormat for biome_js_syntax::JsClassExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::class_expression::FormatJsClassExpression, + crate::js::expressions::class_expression::FormatJsClassExpression::default(), ) } } @@ -1956,10 +1970,7 @@ impl AsFormat for biome_js_syntax::JsComputedMemberExpression { crate::js::expressions::computed_member_expression::FormatJsComputedMemberExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::computed_member_expression::FormatJsComputedMemberExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: computed_member_expression :: FormatJsComputedMemberExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsComputedMemberExpression { @@ -1968,10 +1979,7 @@ impl IntoFormat for biome_js_syntax::JsComputedMemberExpression crate::js::expressions::computed_member_expression::FormatJsComputedMemberExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::computed_member_expression::FormatJsComputedMemberExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: computed_member_expression :: FormatJsComputedMemberExpression :: default ()) } } impl FormatRule @@ -2074,7 +2082,7 @@ impl AsFormat for biome_js_syntax::JsIdentifierExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::identifier_expression::FormatJsIdentifierExpression, + crate::js::expressions::identifier_expression::FormatJsIdentifierExpression::default(), ) } } @@ -2086,7 +2094,7 @@ impl IntoFormat for biome_js_syntax::JsIdentifierExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::identifier_expression::FormatJsIdentifierExpression, + crate::js::expressions::identifier_expression::FormatJsIdentifierExpression::default(), ) } } @@ -2112,7 +2120,7 @@ impl AsFormat for biome_js_syntax::JsImportCallExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::import_call_expression::FormatJsImportCallExpression, + crate::js::expressions::import_call_expression::FormatJsImportCallExpression::default(), ) } } @@ -2124,7 +2132,7 @@ impl IntoFormat for biome_js_syntax::JsImportCallExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::import_call_expression::FormatJsImportCallExpression, + crate::js::expressions::import_call_expression::FormatJsImportCallExpression::default(), ) } } @@ -2146,7 +2154,7 @@ impl AsFormat for biome_js_syntax::JsInExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::in_expression::FormatJsInExpression, + crate::js::expressions::in_expression::FormatJsInExpression::default(), ) } } @@ -2158,7 +2166,7 @@ impl IntoFormat for biome_js_syntax::JsInExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::in_expression::FormatJsInExpression, + crate::js::expressions::in_expression::FormatJsInExpression::default(), ) } } @@ -2184,7 +2192,7 @@ impl AsFormat for biome_js_syntax::JsInstanceofExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::instanceof_expression::FormatJsInstanceofExpression, + crate::js::expressions::instanceof_expression::FormatJsInstanceofExpression::default(), ) } } @@ -2196,7 +2204,7 @@ impl IntoFormat for biome_js_syntax::JsInstanceofExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::instanceof_expression::FormatJsInstanceofExpression, + crate::js::expressions::instanceof_expression::FormatJsInstanceofExpression::default(), ) } } @@ -2222,7 +2230,7 @@ impl AsFormat for biome_js_syntax::JsLogicalExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::logical_expression::FormatJsLogicalExpression, + crate::js::expressions::logical_expression::FormatJsLogicalExpression::default(), ) } } @@ -2234,7 +2242,7 @@ impl IntoFormat for biome_js_syntax::JsLogicalExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::logical_expression::FormatJsLogicalExpression, + crate::js::expressions::logical_expression::FormatJsLogicalExpression::default(), ) } } @@ -2260,7 +2268,7 @@ impl AsFormat for biome_js_syntax::JsNewExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::new_expression::FormatJsNewExpression, + crate::js::expressions::new_expression::FormatJsNewExpression::default(), ) } } @@ -2272,7 +2280,7 @@ impl IntoFormat for biome_js_syntax::JsNewExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::new_expression::FormatJsNewExpression, + crate::js::expressions::new_expression::FormatJsNewExpression::default(), ) } } @@ -2298,7 +2306,7 @@ impl AsFormat for biome_js_syntax::JsObjectExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::object_expression::FormatJsObjectExpression, + crate::js::expressions::object_expression::FormatJsObjectExpression::default(), ) } } @@ -2310,7 +2318,7 @@ impl IntoFormat for biome_js_syntax::JsObjectExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::object_expression::FormatJsObjectExpression, + crate::js::expressions::object_expression::FormatJsObjectExpression::default(), ) } } @@ -2334,10 +2342,7 @@ impl AsFormat for biome_js_syntax::JsParenthesizedExpression { crate::js::expressions::parenthesized_expression::FormatJsParenthesizedExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::parenthesized_expression::FormatJsParenthesizedExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: parenthesized_expression :: FormatJsParenthesizedExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsParenthesizedExpression { @@ -2346,10 +2351,7 @@ impl IntoFormat for biome_js_syntax::JsParenthesizedExpression crate::js::expressions::parenthesized_expression::FormatJsParenthesizedExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::parenthesized_expression::FormatJsParenthesizedExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: parenthesized_expression :: FormatJsParenthesizedExpression :: default ()) } } impl FormatRule @@ -2374,7 +2376,7 @@ impl AsFormat for biome_js_syntax::JsPostUpdateExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::post_update_expression::FormatJsPostUpdateExpression, + crate::js::expressions::post_update_expression::FormatJsPostUpdateExpression::default(), ) } } @@ -2386,7 +2388,7 @@ impl IntoFormat for biome_js_syntax::JsPostUpdateExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::post_update_expression::FormatJsPostUpdateExpression, + crate::js::expressions::post_update_expression::FormatJsPostUpdateExpression::default(), ) } } @@ -2412,7 +2414,7 @@ impl AsFormat for biome_js_syntax::JsPreUpdateExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::pre_update_expression::FormatJsPreUpdateExpression, + crate::js::expressions::pre_update_expression::FormatJsPreUpdateExpression::default(), ) } } @@ -2424,7 +2426,7 @@ impl IntoFormat for biome_js_syntax::JsPreUpdateExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::pre_update_expression::FormatJsPreUpdateExpression, + crate::js::expressions::pre_update_expression::FormatJsPreUpdateExpression::default(), ) } } @@ -2450,7 +2452,7 @@ impl AsFormat for biome_js_syntax::JsSequenceExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::sequence_expression::FormatJsSequenceExpression, + crate::js::expressions::sequence_expression::FormatJsSequenceExpression::default(), ) } } @@ -2462,7 +2464,7 @@ impl IntoFormat for biome_js_syntax::JsSequenceExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::sequence_expression::FormatJsSequenceExpression, + crate::js::expressions::sequence_expression::FormatJsSequenceExpression::default(), ) } } @@ -2486,10 +2488,7 @@ impl AsFormat for biome_js_syntax::JsStaticMemberExpression { crate::js::expressions::static_member_expression::FormatJsStaticMemberExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::static_member_expression::FormatJsStaticMemberExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: static_member_expression :: FormatJsStaticMemberExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsStaticMemberExpression { @@ -2498,10 +2497,7 @@ impl IntoFormat for biome_js_syntax::JsStaticMemberExpression { crate::js::expressions::static_member_expression::FormatJsStaticMemberExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::static_member_expression::FormatJsStaticMemberExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: static_member_expression :: FormatJsStaticMemberExpression :: default ()) } } impl FormatRule @@ -2526,7 +2522,7 @@ impl AsFormat for biome_js_syntax::JsSuperExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::super_expression::FormatJsSuperExpression, + crate::js::expressions::super_expression::FormatJsSuperExpression::default(), ) } } @@ -2538,7 +2534,7 @@ impl IntoFormat for biome_js_syntax::JsSuperExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::super_expression::FormatJsSuperExpression, + crate::js::expressions::super_expression::FormatJsSuperExpression::default(), ) } } @@ -2564,7 +2560,7 @@ impl AsFormat for biome_js_syntax::JsThisExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::this_expression::FormatJsThisExpression, + crate::js::expressions::this_expression::FormatJsThisExpression::default(), ) } } @@ -2576,7 +2572,7 @@ impl IntoFormat for biome_js_syntax::JsThisExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::this_expression::FormatJsThisExpression, + crate::js::expressions::this_expression::FormatJsThisExpression::default(), ) } } @@ -2602,7 +2598,7 @@ impl AsFormat for biome_js_syntax::JsUnaryExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::unary_expression::FormatJsUnaryExpression, + crate::js::expressions::unary_expression::FormatJsUnaryExpression::default(), ) } } @@ -2614,7 +2610,7 @@ impl IntoFormat for biome_js_syntax::JsUnaryExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::unary_expression::FormatJsUnaryExpression, + crate::js::expressions::unary_expression::FormatJsUnaryExpression::default(), ) } } @@ -2640,7 +2636,7 @@ impl AsFormat for biome_js_syntax::JsYieldExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::yield_expression::FormatJsYieldExpression, + crate::js::expressions::yield_expression::FormatJsYieldExpression::default(), ) } } @@ -2652,7 +2648,7 @@ impl IntoFormat for biome_js_syntax::JsYieldExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::yield_expression::FormatJsYieldExpression, + crate::js::expressions::yield_expression::FormatJsYieldExpression::default(), ) } } @@ -2678,7 +2674,7 @@ impl AsFormat for biome_js_syntax::JsNewTargetExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::new_target_expression::FormatJsNewTargetExpression, + crate::js::expressions::new_target_expression::FormatJsNewTargetExpression::default(), ) } } @@ -2690,7 +2686,7 @@ impl IntoFormat for biome_js_syntax::JsNewTargetExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::new_target_expression::FormatJsNewTargetExpression, + crate::js::expressions::new_target_expression::FormatJsNewTargetExpression::default(), ) } } @@ -2716,7 +2712,7 @@ impl AsFormat for biome_js_syntax::JsTemplateExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::template_expression::FormatJsTemplateExpression, + crate::js::expressions::template_expression::FormatJsTemplateExpression::default(), ) } } @@ -2728,7 +2724,7 @@ impl IntoFormat for biome_js_syntax::JsTemplateExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::template_expression::FormatJsTemplateExpression, + crate::js::expressions::template_expression::FormatJsTemplateExpression::default(), ) } } @@ -2752,10 +2748,7 @@ impl AsFormat for biome_js_syntax::TsTypeAssertionExpression { crate::ts::expressions::type_assertion_expression::FormatTsTypeAssertionExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::expressions::type_assertion_expression::FormatTsTypeAssertionExpression, - ) + FormatRefWithRule :: new (self , crate :: ts :: expressions :: type_assertion_expression :: FormatTsTypeAssertionExpression :: default ()) } } impl IntoFormat for biome_js_syntax::TsTypeAssertionExpression { @@ -2764,10 +2757,7 @@ impl IntoFormat for biome_js_syntax::TsTypeAssertionExpression crate::ts::expressions::type_assertion_expression::FormatTsTypeAssertionExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::expressions::type_assertion_expression::FormatTsTypeAssertionExpression, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: expressions :: type_assertion_expression :: FormatTsTypeAssertionExpression :: default ()) } } impl FormatRule @@ -2788,7 +2778,7 @@ impl AsFormat for biome_js_syntax::TsAsExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::expressions::as_expression::FormatTsAsExpression, + crate::ts::expressions::as_expression::FormatTsAsExpression::default(), ) } } @@ -2800,7 +2790,7 @@ impl IntoFormat for biome_js_syntax::TsAsExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::expressions::as_expression::FormatTsAsExpression, + crate::ts::expressions::as_expression::FormatTsAsExpression::default(), ) } } @@ -2826,7 +2816,7 @@ impl AsFormat for biome_js_syntax::TsSatisfiesExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::expressions::satisfies_expression::FormatTsSatisfiesExpression, + crate::ts::expressions::satisfies_expression::FormatTsSatisfiesExpression::default(), ) } } @@ -2838,7 +2828,7 @@ impl IntoFormat for biome_js_syntax::TsSatisfiesExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::expressions::satisfies_expression::FormatTsSatisfiesExpression, + crate::ts::expressions::satisfies_expression::FormatTsSatisfiesExpression::default(), ) } } @@ -2862,7 +2852,7 @@ impl AsFormat for biome_js_syntax::TsNonNullAssertionExpression crate::ts::expressions::non_null_assertion_expression::FormatTsNonNullAssertionExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: expressions :: non_null_assertion_expression :: FormatTsNonNullAssertionExpression) + FormatRefWithRule :: new (self , crate :: ts :: expressions :: non_null_assertion_expression :: FormatTsNonNullAssertionExpression :: default ()) } } impl IntoFormat for biome_js_syntax::TsNonNullAssertionExpression { @@ -2871,7 +2861,7 @@ impl IntoFormat for biome_js_syntax::TsNonNullAssertionExpressi crate::ts::expressions::non_null_assertion_expression::FormatTsNonNullAssertionExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: expressions :: non_null_assertion_expression :: FormatTsNonNullAssertionExpression) + FormatOwnedWithRule :: new (self , crate :: ts :: expressions :: non_null_assertion_expression :: FormatTsNonNullAssertionExpression :: default ()) } } impl FormatRule @@ -2894,10 +2884,7 @@ impl AsFormat for biome_js_syntax::TsInstantiationExpression { crate::ts::expressions::instantiation_expression::FormatTsInstantiationExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::expressions::instantiation_expression::FormatTsInstantiationExpression, - ) + FormatRefWithRule :: new (self , crate :: ts :: expressions :: instantiation_expression :: FormatTsInstantiationExpression :: default ()) } } impl IntoFormat for biome_js_syntax::TsInstantiationExpression { @@ -2906,10 +2893,7 @@ impl IntoFormat for biome_js_syntax::TsInstantiationExpression crate::ts::expressions::instantiation_expression::FormatTsInstantiationExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::expressions::instantiation_expression::FormatTsInstantiationExpression, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: expressions :: instantiation_expression :: FormatTsInstantiationExpression :: default ()) } } impl FormatRule @@ -2934,7 +2918,7 @@ impl AsFormat for biome_js_syntax::JsxTagExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::expressions::tag_expression::FormatJsxTagExpression, + crate::jsx::expressions::tag_expression::FormatJsxTagExpression::default(), ) } } @@ -2946,7 +2930,7 @@ impl IntoFormat for biome_js_syntax::JsxTagExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::expressions::tag_expression::FormatJsxTagExpression, + crate::jsx::expressions::tag_expression::FormatJsxTagExpression::default(), ) } } @@ -2972,7 +2956,7 @@ impl AsFormat for biome_js_syntax::TsTypeArguments { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::expressions::type_arguments::FormatTsTypeArguments, + crate::ts::expressions::type_arguments::FormatTsTypeArguments::default(), ) } } @@ -2984,7 +2968,7 @@ impl IntoFormat for biome_js_syntax::TsTypeArguments { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::expressions::type_arguments::FormatTsTypeArguments, + crate::ts::expressions::type_arguments::FormatTsTypeArguments::default(), ) } } @@ -3010,7 +2994,7 @@ impl AsFormat for biome_js_syntax::JsTemplateChunkElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::template_chunk_element::FormatJsTemplateChunkElement, + crate::js::auxiliary::template_chunk_element::FormatJsTemplateChunkElement::default(), ) } } @@ -3022,7 +3006,7 @@ impl IntoFormat for biome_js_syntax::JsTemplateChunkElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::template_chunk_element::FormatJsTemplateChunkElement, + crate::js::auxiliary::template_chunk_element::FormatJsTemplateChunkElement::default(), ) } } @@ -3086,7 +3070,7 @@ impl AsFormat for biome_js_syntax::JsCallArguments { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::call_arguments::FormatJsCallArguments, + crate::js::expressions::call_arguments::FormatJsCallArguments::default(), ) } } @@ -3098,7 +3082,7 @@ impl IntoFormat for biome_js_syntax::JsCallArguments { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::call_arguments::FormatJsCallArguments, + crate::js::expressions::call_arguments::FormatJsCallArguments::default(), ) } } @@ -3124,7 +3108,7 @@ impl AsFormat for biome_js_syntax::JsYieldArgument { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::yield_argument::FormatJsYieldArgument, + crate::js::expressions::yield_argument::FormatJsYieldArgument::default(), ) } } @@ -3136,7 +3120,7 @@ impl IntoFormat for biome_js_syntax::JsYieldArgument { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::yield_argument::FormatJsYieldArgument, + crate::js::expressions::yield_argument::FormatJsYieldArgument::default(), ) } } @@ -3194,7 +3178,10 @@ impl AsFormat for biome_js_syntax::JsParameters { crate::js::bindings::parameters::FormatJsParameters, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::bindings::parameters::FormatJsParameters) + FormatRefWithRule::new( + self, + crate::js::bindings::parameters::FormatJsParameters::default(), + ) } } impl IntoFormat for biome_js_syntax::JsParameters { @@ -3203,7 +3190,10 @@ impl IntoFormat for biome_js_syntax::JsParameters { crate::js::bindings::parameters::FormatJsParameters, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::bindings::parameters::FormatJsParameters) + FormatOwnedWithRule::new( + self, + crate::js::bindings::parameters::FormatJsParameters::default(), + ) } } impl FormatRule @@ -3228,7 +3218,7 @@ impl AsFormat for biome_js_syntax::TsReturnTypeAnnotation { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::return_type_annotation::FormatTsReturnTypeAnnotation, + crate::ts::auxiliary::return_type_annotation::FormatTsReturnTypeAnnotation::default(), ) } } @@ -3240,7 +3230,7 @@ impl IntoFormat for biome_js_syntax::TsReturnTypeAnnotation { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::return_type_annotation::FormatTsReturnTypeAnnotation, + crate::ts::auxiliary::return_type_annotation::FormatTsReturnTypeAnnotation::default(), ) } } @@ -3262,7 +3252,7 @@ impl AsFormat for biome_js_syntax::JsFunctionBody { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::function_body::FormatJsFunctionBody, + crate::js::auxiliary::function_body::FormatJsFunctionBody::default(), ) } } @@ -3274,7 +3264,7 @@ impl IntoFormat for biome_js_syntax::JsFunctionBody { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::function_body::FormatJsFunctionBody, + crate::js::auxiliary::function_body::FormatJsFunctionBody::default(), ) } } @@ -3292,7 +3282,10 @@ impl AsFormat for biome_js_syntax::JsSpread { crate::js::auxiliary::spread::FormatJsSpread, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::spread::FormatJsSpread) + FormatRefWithRule::new( + self, + crate::js::auxiliary::spread::FormatJsSpread::default(), + ) } } impl IntoFormat for biome_js_syntax::JsSpread { @@ -3301,7 +3294,10 @@ impl IntoFormat for biome_js_syntax::JsSpread { crate::js::auxiliary::spread::FormatJsSpread, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::spread::FormatJsSpread) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::spread::FormatJsSpread::default(), + ) } } impl FormatRule @@ -3320,7 +3316,10 @@ impl AsFormat for biome_js_syntax::JsArrayHole { crate::js::auxiliary::array_hole::FormatJsArrayHole, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::array_hole::FormatJsArrayHole) + FormatRefWithRule::new( + self, + crate::js::auxiliary::array_hole::FormatJsArrayHole::default(), + ) } } impl IntoFormat for biome_js_syntax::JsArrayHole { @@ -3329,7 +3328,10 @@ impl IntoFormat for biome_js_syntax::JsArrayHole { crate::js::auxiliary::array_hole::FormatJsArrayHole, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::array_hole::FormatJsArrayHole) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::array_hole::FormatJsArrayHole::default(), + ) } } impl FormatRule @@ -3354,7 +3356,7 @@ impl AsFormat for biome_js_syntax::JsReferenceIdentifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::reference_identifier::FormatJsReferenceIdentifier, + crate::js::auxiliary::reference_identifier::FormatJsReferenceIdentifier::default(), ) } } @@ -3366,7 +3368,7 @@ impl IntoFormat for biome_js_syntax::JsReferenceIdentifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::reference_identifier::FormatJsReferenceIdentifier, + crate::js::auxiliary::reference_identifier::FormatJsReferenceIdentifier::default(), ) } } @@ -3388,7 +3390,7 @@ impl AsFormat for biome_js_syntax::JsPrivateName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::private_name::FormatJsPrivateName, + crate::js::auxiliary::private_name::FormatJsPrivateName::default(), ) } } @@ -3400,7 +3402,7 @@ impl IntoFormat for biome_js_syntax::JsPrivateName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::private_name::FormatJsPrivateName, + crate::js::auxiliary::private_name::FormatJsPrivateName::default(), ) } } @@ -3426,7 +3428,7 @@ impl AsFormat for biome_js_syntax::JsLiteralMemberName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::objects::literal_member_name::FormatJsLiteralMemberName, + crate::js::objects::literal_member_name::FormatJsLiteralMemberName::default(), ) } } @@ -3438,7 +3440,7 @@ impl IntoFormat for biome_js_syntax::JsLiteralMemberName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::objects::literal_member_name::FormatJsLiteralMemberName, + crate::js::objects::literal_member_name::FormatJsLiteralMemberName::default(), ) } } @@ -3464,7 +3466,7 @@ impl AsFormat for biome_js_syntax::JsComputedMemberName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::objects::computed_member_name::FormatJsComputedMemberName, + crate::js::objects::computed_member_name::FormatJsComputedMemberName::default(), ) } } @@ -3476,7 +3478,7 @@ impl IntoFormat for biome_js_syntax::JsComputedMemberName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::objects::computed_member_name::FormatJsComputedMemberName, + crate::js::objects::computed_member_name::FormatJsComputedMemberName::default(), ) } } @@ -3502,7 +3504,7 @@ impl AsFormat for biome_js_syntax::JsPropertyObjectMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::objects::property_object_member::FormatJsPropertyObjectMember, + crate::js::objects::property_object_member::FormatJsPropertyObjectMember::default(), ) } } @@ -3514,7 +3516,7 @@ impl IntoFormat for biome_js_syntax::JsPropertyObjectMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::objects::property_object_member::FormatJsPropertyObjectMember, + crate::js::objects::property_object_member::FormatJsPropertyObjectMember::default(), ) } } @@ -3540,7 +3542,7 @@ impl AsFormat for biome_js_syntax::JsMethodObjectMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::objects::method_object_member::FormatJsMethodObjectMember, + crate::js::objects::method_object_member::FormatJsMethodObjectMember::default(), ) } } @@ -3552,7 +3554,7 @@ impl IntoFormat for biome_js_syntax::JsMethodObjectMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::objects::method_object_member::FormatJsMethodObjectMember, + crate::js::objects::method_object_member::FormatJsMethodObjectMember::default(), ) } } @@ -3578,7 +3580,7 @@ impl AsFormat for biome_js_syntax::JsGetterObjectMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::objects::getter_object_member::FormatJsGetterObjectMember, + crate::js::objects::getter_object_member::FormatJsGetterObjectMember::default(), ) } } @@ -3590,7 +3592,7 @@ impl IntoFormat for biome_js_syntax::JsGetterObjectMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::objects::getter_object_member::FormatJsGetterObjectMember, + crate::js::objects::getter_object_member::FormatJsGetterObjectMember::default(), ) } } @@ -3616,7 +3618,7 @@ impl AsFormat for biome_js_syntax::JsSetterObjectMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::objects::setter_object_member::FormatJsSetterObjectMember, + crate::js::objects::setter_object_member::FormatJsSetterObjectMember::default(), ) } } @@ -3628,7 +3630,7 @@ impl IntoFormat for biome_js_syntax::JsSetterObjectMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::objects::setter_object_member::FormatJsSetterObjectMember, + crate::js::objects::setter_object_member::FormatJsSetterObjectMember::default(), ) } } @@ -3652,7 +3654,7 @@ impl AsFormat for biome_js_syntax::JsShorthandPropertyObjectMem crate::js::objects::shorthand_property_object_member::FormatJsShorthandPropertyObjectMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: objects :: shorthand_property_object_member :: FormatJsShorthandPropertyObjectMember) + FormatRefWithRule :: new (self , crate :: js :: objects :: shorthand_property_object_member :: FormatJsShorthandPropertyObjectMember :: default ()) } } impl IntoFormat for biome_js_syntax::JsShorthandPropertyObjectMember { @@ -3661,7 +3663,7 @@ impl IntoFormat for biome_js_syntax::JsShorthandPropertyObjectM crate::js::objects::shorthand_property_object_member::FormatJsShorthandPropertyObjectMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: objects :: shorthand_property_object_member :: FormatJsShorthandPropertyObjectMember) + FormatOwnedWithRule :: new (self , crate :: js :: objects :: shorthand_property_object_member :: FormatJsShorthandPropertyObjectMember :: default ()) } } impl FormatRule @@ -3686,7 +3688,7 @@ impl AsFormat for biome_js_syntax::JsExtendsClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::classes::extends_clause::FormatJsExtendsClause, + crate::js::classes::extends_clause::FormatJsExtendsClause::default(), ) } } @@ -3698,7 +3700,7 @@ impl IntoFormat for biome_js_syntax::JsExtendsClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::classes::extends_clause::FormatJsExtendsClause, + crate::js::classes::extends_clause::FormatJsExtendsClause::default(), ) } } @@ -3724,7 +3726,7 @@ impl AsFormat for biome_js_syntax::TsImplementsClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::implements_clause::FormatTsImplementsClause, + crate::ts::auxiliary::implements_clause::FormatTsImplementsClause::default(), ) } } @@ -3736,7 +3738,7 @@ impl IntoFormat for biome_js_syntax::TsImplementsClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::implements_clause::FormatTsImplementsClause, + crate::ts::auxiliary::implements_clause::FormatTsImplementsClause::default(), ) } } @@ -3744,13 +3746,13 @@ impl FormatRule < biome_js_syntax :: JsClassExportDefaultDeclaration > for crate impl AsFormat for biome_js_syntax::JsClassExportDefaultDeclaration { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsClassExportDefaultDeclaration , crate :: js :: declarations :: class_export_default_declaration :: FormatJsClassExportDefaultDeclaration > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: declarations :: class_export_default_declaration :: FormatJsClassExportDefaultDeclaration) + FormatRefWithRule :: new (self , crate :: js :: declarations :: class_export_default_declaration :: FormatJsClassExportDefaultDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::JsClassExportDefaultDeclaration { type Format = FormatOwnedWithRule < biome_js_syntax :: JsClassExportDefaultDeclaration , crate :: js :: declarations :: class_export_default_declaration :: FormatJsClassExportDefaultDeclaration > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: declarations :: class_export_default_declaration :: FormatJsClassExportDefaultDeclaration) + FormatOwnedWithRule :: new (self , crate :: js :: declarations :: class_export_default_declaration :: FormatJsClassExportDefaultDeclaration :: default ()) } } impl FormatRule @@ -3775,7 +3777,8 @@ impl AsFormat for biome_js_syntax::JsPrivateClassMemberName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::objects::private_class_member_name::FormatJsPrivateClassMemberName, + crate::js::objects::private_class_member_name::FormatJsPrivateClassMemberName::default( + ), ) } } @@ -3787,7 +3790,8 @@ impl IntoFormat for biome_js_syntax::JsPrivateClassMemberName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::objects::private_class_member_name::FormatJsPrivateClassMemberName, + crate::js::objects::private_class_member_name::FormatJsPrivateClassMemberName::default( + ), ) } } @@ -3813,7 +3817,7 @@ impl AsFormat for biome_js_syntax::JsConstructorClassMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::classes::constructor_class_member::FormatJsConstructorClassMember, + crate::js::classes::constructor_class_member::FormatJsConstructorClassMember::default(), ) } } @@ -3825,7 +3829,7 @@ impl IntoFormat for biome_js_syntax::JsConstructorClassMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::classes::constructor_class_member::FormatJsConstructorClassMember, + crate::js::classes::constructor_class_member::FormatJsConstructorClassMember::default(), ) } } @@ -3833,13 +3837,13 @@ impl FormatRule < biome_js_syntax :: JsStaticInitializationBlockClassMember > fo impl AsFormat for biome_js_syntax::JsStaticInitializationBlockClassMember { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsStaticInitializationBlockClassMember , crate :: js :: classes :: static_initialization_block_class_member :: FormatJsStaticInitializationBlockClassMember > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: classes :: static_initialization_block_class_member :: FormatJsStaticInitializationBlockClassMember) + FormatRefWithRule :: new (self , crate :: js :: classes :: static_initialization_block_class_member :: FormatJsStaticInitializationBlockClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::JsStaticInitializationBlockClassMember { type Format = FormatOwnedWithRule < biome_js_syntax :: JsStaticInitializationBlockClassMember , crate :: js :: classes :: static_initialization_block_class_member :: FormatJsStaticInitializationBlockClassMember > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: classes :: static_initialization_block_class_member :: FormatJsStaticInitializationBlockClassMember) + FormatOwnedWithRule :: new (self , crate :: js :: classes :: static_initialization_block_class_member :: FormatJsStaticInitializationBlockClassMember :: default ()) } } impl FormatRule @@ -3864,7 +3868,7 @@ impl AsFormat for biome_js_syntax::JsPropertyClassMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::classes::property_class_member::FormatJsPropertyClassMember, + crate::js::classes::property_class_member::FormatJsPropertyClassMember::default(), ) } } @@ -3876,7 +3880,7 @@ impl IntoFormat for biome_js_syntax::JsPropertyClassMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::classes::property_class_member::FormatJsPropertyClassMember, + crate::js::classes::property_class_member::FormatJsPropertyClassMember::default(), ) } } @@ -3902,7 +3906,7 @@ impl AsFormat for biome_js_syntax::JsMethodClassMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::classes::method_class_member::FormatJsMethodClassMember, + crate::js::classes::method_class_member::FormatJsMethodClassMember::default(), ) } } @@ -3914,7 +3918,7 @@ impl IntoFormat for biome_js_syntax::JsMethodClassMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::classes::method_class_member::FormatJsMethodClassMember, + crate::js::classes::method_class_member::FormatJsMethodClassMember::default(), ) } } @@ -3940,7 +3944,7 @@ impl AsFormat for biome_js_syntax::JsGetterClassMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::classes::getter_class_member::FormatJsGetterClassMember, + crate::js::classes::getter_class_member::FormatJsGetterClassMember::default(), ) } } @@ -3952,7 +3956,7 @@ impl IntoFormat for biome_js_syntax::JsGetterClassMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::classes::getter_class_member::FormatJsGetterClassMember, + crate::js::classes::getter_class_member::FormatJsGetterClassMember::default(), ) } } @@ -3978,7 +3982,7 @@ impl AsFormat for biome_js_syntax::JsSetterClassMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::classes::setter_class_member::FormatJsSetterClassMember, + crate::js::classes::setter_class_member::FormatJsSetterClassMember::default(), ) } } @@ -3990,7 +3994,7 @@ impl IntoFormat for biome_js_syntax::JsSetterClassMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::classes::setter_class_member::FormatJsSetterClassMember, + crate::js::classes::setter_class_member::FormatJsSetterClassMember::default(), ) } } @@ -3998,13 +4002,13 @@ impl FormatRule < biome_js_syntax :: TsConstructorSignatureClassMember > for cra impl AsFormat for biome_js_syntax::TsConstructorSignatureClassMember { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: TsConstructorSignatureClassMember , crate :: ts :: classes :: constructor_signature_class_member :: FormatTsConstructorSignatureClassMember > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: classes :: constructor_signature_class_member :: FormatTsConstructorSignatureClassMember) + FormatRefWithRule :: new (self , crate :: ts :: classes :: constructor_signature_class_member :: FormatTsConstructorSignatureClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsConstructorSignatureClassMember { type Format = FormatOwnedWithRule < biome_js_syntax :: TsConstructorSignatureClassMember , crate :: ts :: classes :: constructor_signature_class_member :: FormatTsConstructorSignatureClassMember > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: classes :: constructor_signature_class_member :: FormatTsConstructorSignatureClassMember) + FormatOwnedWithRule :: new (self , crate :: ts :: classes :: constructor_signature_class_member :: FormatTsConstructorSignatureClassMember :: default ()) } } impl FormatRule @@ -4027,7 +4031,7 @@ impl AsFormat for biome_js_syntax::TsPropertySignatureClassMemb crate::ts::classes::property_signature_class_member::FormatTsPropertySignatureClassMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: classes :: property_signature_class_member :: FormatTsPropertySignatureClassMember) + FormatRefWithRule :: new (self , crate :: ts :: classes :: property_signature_class_member :: FormatTsPropertySignatureClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsPropertySignatureClassMember { @@ -4036,20 +4040,20 @@ impl IntoFormat for biome_js_syntax::TsPropertySignatureClassMe crate::ts::classes::property_signature_class_member::FormatTsPropertySignatureClassMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: classes :: property_signature_class_member :: FormatTsPropertySignatureClassMember) + FormatOwnedWithRule :: new (self , crate :: ts :: classes :: property_signature_class_member :: FormatTsPropertySignatureClassMember :: default ()) } } impl FormatRule < biome_js_syntax :: TsInitializedPropertySignatureClassMember > for crate :: ts :: classes :: initialized_property_signature_class_member :: FormatTsInitializedPropertySignatureClassMember { type Context = JsFormatContext ; # [inline (always)] fn fmt (& self , node : & biome_js_syntax :: TsInitializedPropertySignatureClassMember , f : & mut JsFormatter) -> FormatResult < () > { FormatNodeRule :: < biome_js_syntax :: TsInitializedPropertySignatureClassMember > :: fmt (self , node , f) } } impl AsFormat for biome_js_syntax::TsInitializedPropertySignatureClassMember { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: TsInitializedPropertySignatureClassMember , crate :: ts :: classes :: initialized_property_signature_class_member :: FormatTsInitializedPropertySignatureClassMember > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: classes :: initialized_property_signature_class_member :: FormatTsInitializedPropertySignatureClassMember) + FormatRefWithRule :: new (self , crate :: ts :: classes :: initialized_property_signature_class_member :: FormatTsInitializedPropertySignatureClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsInitializedPropertySignatureClassMember { type Format = FormatOwnedWithRule < biome_js_syntax :: TsInitializedPropertySignatureClassMember , crate :: ts :: classes :: initialized_property_signature_class_member :: FormatTsInitializedPropertySignatureClassMember > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: classes :: initialized_property_signature_class_member :: FormatTsInitializedPropertySignatureClassMember) + FormatOwnedWithRule :: new (self , crate :: ts :: classes :: initialized_property_signature_class_member :: FormatTsInitializedPropertySignatureClassMember :: default ()) } } impl FormatRule @@ -4072,10 +4076,7 @@ impl AsFormat for biome_js_syntax::TsMethodSignatureClassMember crate::ts::classes::method_signature_class_member::FormatTsMethodSignatureClassMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::classes::method_signature_class_member::FormatTsMethodSignatureClassMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: classes :: method_signature_class_member :: FormatTsMethodSignatureClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsMethodSignatureClassMember { @@ -4084,10 +4085,7 @@ impl IntoFormat for biome_js_syntax::TsMethodSignatureClassMemb crate::ts::classes::method_signature_class_member::FormatTsMethodSignatureClassMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::classes::method_signature_class_member::FormatTsMethodSignatureClassMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: classes :: method_signature_class_member :: FormatTsMethodSignatureClassMember :: default ()) } } impl FormatRule @@ -4110,10 +4108,7 @@ impl AsFormat for biome_js_syntax::TsGetterSignatureClassMember crate::ts::classes::getter_signature_class_member::FormatTsGetterSignatureClassMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::classes::getter_signature_class_member::FormatTsGetterSignatureClassMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: classes :: getter_signature_class_member :: FormatTsGetterSignatureClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsGetterSignatureClassMember { @@ -4122,10 +4117,7 @@ impl IntoFormat for biome_js_syntax::TsGetterSignatureClassMemb crate::ts::classes::getter_signature_class_member::FormatTsGetterSignatureClassMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::classes::getter_signature_class_member::FormatTsGetterSignatureClassMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: classes :: getter_signature_class_member :: FormatTsGetterSignatureClassMember :: default ()) } } impl FormatRule @@ -4148,10 +4140,7 @@ impl AsFormat for biome_js_syntax::TsSetterSignatureClassMember crate::ts::classes::setter_signature_class_member::FormatTsSetterSignatureClassMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::classes::setter_signature_class_member::FormatTsSetterSignatureClassMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: classes :: setter_signature_class_member :: FormatTsSetterSignatureClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsSetterSignatureClassMember { @@ -4160,10 +4149,7 @@ impl IntoFormat for biome_js_syntax::TsSetterSignatureClassMemb crate::ts::classes::setter_signature_class_member::FormatTsSetterSignatureClassMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::classes::setter_signature_class_member::FormatTsSetterSignatureClassMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: classes :: setter_signature_class_member :: FormatTsSetterSignatureClassMember :: default ()) } } impl FormatRule @@ -4186,10 +4172,7 @@ impl AsFormat for biome_js_syntax::TsIndexSignatureClassMember crate::ts::classes::index_signature_class_member::FormatTsIndexSignatureClassMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::classes::index_signature_class_member::FormatTsIndexSignatureClassMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: classes :: index_signature_class_member :: FormatTsIndexSignatureClassMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsIndexSignatureClassMember { @@ -4198,10 +4181,7 @@ impl IntoFormat for biome_js_syntax::TsIndexSignatureClassMembe crate::ts::classes::index_signature_class_member::FormatTsIndexSignatureClassMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::classes::index_signature_class_member::FormatTsIndexSignatureClassMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: classes :: index_signature_class_member :: FormatTsIndexSignatureClassMember :: default ()) } } impl FormatRule @@ -4226,7 +4206,7 @@ impl AsFormat for biome_js_syntax::JsEmptyClassMember { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::classes::empty_class_member::FormatJsEmptyClassMember, + crate::js::classes::empty_class_member::FormatJsEmptyClassMember::default(), ) } } @@ -4238,7 +4218,7 @@ impl IntoFormat for biome_js_syntax::JsEmptyClassMember { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::classes::empty_class_member::FormatJsEmptyClassMember, + crate::js::classes::empty_class_member::FormatJsEmptyClassMember::default(), ) } } @@ -4264,7 +4244,7 @@ impl AsFormat for biome_js_syntax::JsStaticModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::static_modifier::FormatJsStaticModifier, + crate::js::auxiliary::static_modifier::FormatJsStaticModifier::default(), ) } } @@ -4276,7 +4256,7 @@ impl IntoFormat for biome_js_syntax::JsStaticModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::static_modifier::FormatJsStaticModifier, + crate::js::auxiliary::static_modifier::FormatJsStaticModifier::default(), ) } } @@ -4302,7 +4282,7 @@ impl AsFormat for biome_js_syntax::JsAccessorModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::auxiliary::accessor_modifier::FormatJsAccessorModifier, + crate::js::auxiliary::accessor_modifier::FormatJsAccessorModifier::default(), ) } } @@ -4314,7 +4294,7 @@ impl IntoFormat for biome_js_syntax::JsAccessorModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::auxiliary::accessor_modifier::FormatJsAccessorModifier, + crate::js::auxiliary::accessor_modifier::FormatJsAccessorModifier::default(), ) } } @@ -4340,7 +4320,7 @@ impl AsFormat for biome_js_syntax::TsDeclareModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::declare_modifier::FormatTsDeclareModifier, + crate::ts::auxiliary::declare_modifier::FormatTsDeclareModifier::default(), ) } } @@ -4352,7 +4332,7 @@ impl IntoFormat for biome_js_syntax::TsDeclareModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::declare_modifier::FormatTsDeclareModifier, + crate::ts::auxiliary::declare_modifier::FormatTsDeclareModifier::default(), ) } } @@ -4378,7 +4358,7 @@ impl AsFormat for biome_js_syntax::TsReadonlyModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::readonly_modifier::FormatTsReadonlyModifier, + crate::ts::auxiliary::readonly_modifier::FormatTsReadonlyModifier::default(), ) } } @@ -4390,7 +4370,7 @@ impl IntoFormat for biome_js_syntax::TsReadonlyModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::readonly_modifier::FormatTsReadonlyModifier, + crate::ts::auxiliary::readonly_modifier::FormatTsReadonlyModifier::default(), ) } } @@ -4416,7 +4396,7 @@ impl AsFormat for biome_js_syntax::TsAbstractModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::abstract_modifier::FormatTsAbstractModifier, + crate::ts::auxiliary::abstract_modifier::FormatTsAbstractModifier::default(), ) } } @@ -4428,7 +4408,7 @@ impl IntoFormat for biome_js_syntax::TsAbstractModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::abstract_modifier::FormatTsAbstractModifier, + crate::ts::auxiliary::abstract_modifier::FormatTsAbstractModifier::default(), ) } } @@ -4454,7 +4434,7 @@ impl AsFormat for biome_js_syntax::TsOverrideModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::override_modifier::FormatTsOverrideModifier, + crate::ts::auxiliary::override_modifier::FormatTsOverrideModifier::default(), ) } } @@ -4466,7 +4446,7 @@ impl IntoFormat for biome_js_syntax::TsOverrideModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::override_modifier::FormatTsOverrideModifier, + crate::ts::auxiliary::override_modifier::FormatTsOverrideModifier::default(), ) } } @@ -4492,7 +4472,7 @@ impl AsFormat for biome_js_syntax::TsAccessibilityModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::accessibility_modifier::FormatTsAccessibilityModifier, + crate::ts::auxiliary::accessibility_modifier::FormatTsAccessibilityModifier::default(), ) } } @@ -4504,7 +4484,7 @@ impl IntoFormat for biome_js_syntax::TsAccessibilityModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::accessibility_modifier::FormatTsAccessibilityModifier, + crate::ts::auxiliary::accessibility_modifier::FormatTsAccessibilityModifier::default(), ) } } @@ -4530,7 +4510,7 @@ impl AsFormat for biome_js_syntax::TsConstModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::const_modifier::FormatTsConstModifier, + crate::ts::auxiliary::const_modifier::FormatTsConstModifier::default(), ) } } @@ -4542,7 +4522,7 @@ impl IntoFormat for biome_js_syntax::TsConstModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::const_modifier::FormatTsConstModifier, + crate::ts::auxiliary::const_modifier::FormatTsConstModifier::default(), ) } } @@ -4562,7 +4542,10 @@ impl AsFormat for biome_js_syntax::TsInModifier { crate::ts::auxiliary::in_modifier::FormatTsInModifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::auxiliary::in_modifier::FormatTsInModifier) + FormatRefWithRule::new( + self, + crate::ts::auxiliary::in_modifier::FormatTsInModifier::default(), + ) } } impl IntoFormat for biome_js_syntax::TsInModifier { @@ -4571,7 +4554,10 @@ impl IntoFormat for biome_js_syntax::TsInModifier { crate::ts::auxiliary::in_modifier::FormatTsInModifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::auxiliary::in_modifier::FormatTsInModifier) + FormatOwnedWithRule::new( + self, + crate::ts::auxiliary::in_modifier::FormatTsInModifier::default(), + ) } } impl FormatRule @@ -4592,7 +4578,7 @@ impl AsFormat for biome_js_syntax::TsOutModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::out_modifier::FormatTsOutModifier, + crate::ts::auxiliary::out_modifier::FormatTsOutModifier::default(), ) } } @@ -4604,7 +4590,7 @@ impl IntoFormat for biome_js_syntax::TsOutModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::out_modifier::FormatTsOutModifier, + crate::ts::auxiliary::out_modifier::FormatTsOutModifier::default(), ) } } @@ -4630,7 +4616,7 @@ impl AsFormat for biome_js_syntax::JsConstructorParameters { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bindings::constructor_parameters::FormatJsConstructorParameters, + crate::js::bindings::constructor_parameters::FormatJsConstructorParameters::default(), ) } } @@ -4642,7 +4628,7 @@ impl IntoFormat for biome_js_syntax::JsConstructorParameters { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bindings::constructor_parameters::FormatJsConstructorParameters, + crate::js::bindings::constructor_parameters::FormatJsConstructorParameters::default(), ) } } @@ -4668,7 +4654,7 @@ impl AsFormat for biome_js_syntax::JsRestParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bindings::rest_parameter::FormatJsRestParameter, + crate::js::bindings::rest_parameter::FormatJsRestParameter::default(), ) } } @@ -4680,7 +4666,7 @@ impl IntoFormat for biome_js_syntax::JsRestParameter { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bindings::rest_parameter::FormatJsRestParameter, + crate::js::bindings::rest_parameter::FormatJsRestParameter::default(), ) } } @@ -4706,7 +4692,7 @@ impl AsFormat for biome_js_syntax::TsPropertyParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::bindings::property_parameter::FormatTsPropertyParameter, + crate::ts::bindings::property_parameter::FormatTsPropertyParameter::default(), ) } } @@ -4718,7 +4704,7 @@ impl IntoFormat for biome_js_syntax::TsPropertyParameter { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::bindings::property_parameter::FormatTsPropertyParameter, + crate::ts::bindings::property_parameter::FormatTsPropertyParameter::default(), ) } } @@ -4776,7 +4762,10 @@ impl AsFormat for biome_js_syntax::JsDecorator { crate::js::auxiliary::decorator::FormatJsDecorator, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::decorator::FormatJsDecorator) + FormatRefWithRule::new( + self, + crate::js::auxiliary::decorator::FormatJsDecorator::default(), + ) } } impl IntoFormat for biome_js_syntax::JsDecorator { @@ -4785,7 +4774,10 @@ impl IntoFormat for biome_js_syntax::JsDecorator { crate::js::auxiliary::decorator::FormatJsDecorator, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::decorator::FormatJsDecorator) + FormatOwnedWithRule::new( + self, + crate::js::auxiliary::decorator::FormatJsDecorator::default(), + ) } } impl FormatRule @@ -4808,10 +4800,7 @@ impl AsFormat for biome_js_syntax::TsOptionalPropertyAnnotation crate::ts::auxiliary::optional_property_annotation::FormatTsOptionalPropertyAnnotation, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::optional_property_annotation::FormatTsOptionalPropertyAnnotation, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: optional_property_annotation :: FormatTsOptionalPropertyAnnotation :: default ()) } } impl IntoFormat for biome_js_syntax::TsOptionalPropertyAnnotation { @@ -4820,10 +4809,7 @@ impl IntoFormat for biome_js_syntax::TsOptionalPropertyAnnotati crate::ts::auxiliary::optional_property_annotation::FormatTsOptionalPropertyAnnotation, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::optional_property_annotation::FormatTsOptionalPropertyAnnotation, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: optional_property_annotation :: FormatTsOptionalPropertyAnnotation :: default ()) } } impl FormatRule @@ -4846,10 +4832,7 @@ impl AsFormat for biome_js_syntax::TsDefinitePropertyAnnotation crate::ts::auxiliary::definite_property_annotation::FormatTsDefinitePropertyAnnotation, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::definite_property_annotation::FormatTsDefinitePropertyAnnotation, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: definite_property_annotation :: FormatTsDefinitePropertyAnnotation :: default ()) } } impl IntoFormat for biome_js_syntax::TsDefinitePropertyAnnotation { @@ -4858,10 +4841,7 @@ impl IntoFormat for biome_js_syntax::TsDefinitePropertyAnnotati crate::ts::auxiliary::definite_property_annotation::FormatTsDefinitePropertyAnnotation, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::definite_property_annotation::FormatTsDefinitePropertyAnnotation, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: definite_property_annotation :: FormatTsDefinitePropertyAnnotation :: default ()) } } impl FormatRule @@ -4884,10 +4864,7 @@ impl AsFormat for biome_js_syntax::TsIndexSignatureParameter { crate::ts::bindings::index_signature_parameter::FormatTsIndexSignatureParameter, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::bindings::index_signature_parameter::FormatTsIndexSignatureParameter, - ) + FormatRefWithRule :: new (self , crate :: ts :: bindings :: index_signature_parameter :: FormatTsIndexSignatureParameter :: default ()) } } impl IntoFormat for biome_js_syntax::TsIndexSignatureParameter { @@ -4896,10 +4873,7 @@ impl IntoFormat for biome_js_syntax::TsIndexSignatureParameter crate::ts::bindings::index_signature_parameter::FormatTsIndexSignatureParameter, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::bindings::index_signature_parameter::FormatTsIndexSignatureParameter, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: bindings :: index_signature_parameter :: FormatTsIndexSignatureParameter :: default ()) } } impl FormatRule @@ -4924,7 +4898,7 @@ impl AsFormat for biome_js_syntax::JsIdentifierAssignment { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::assignments::identifier_assignment::FormatJsIdentifierAssignment, + crate::js::assignments::identifier_assignment::FormatJsIdentifierAssignment::default(), ) } } @@ -4936,7 +4910,7 @@ impl IntoFormat for biome_js_syntax::JsIdentifierAssignment { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::assignments::identifier_assignment::FormatJsIdentifierAssignment, + crate::js::assignments::identifier_assignment::FormatJsIdentifierAssignment::default(), ) } } @@ -4960,10 +4934,7 @@ impl AsFormat for biome_js_syntax::JsStaticMemberAssignment { crate::js::assignments::static_member_assignment::FormatJsStaticMemberAssignment, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::assignments::static_member_assignment::FormatJsStaticMemberAssignment, - ) + FormatRefWithRule :: new (self , crate :: js :: assignments :: static_member_assignment :: FormatJsStaticMemberAssignment :: default ()) } } impl IntoFormat for biome_js_syntax::JsStaticMemberAssignment { @@ -4972,10 +4943,7 @@ impl IntoFormat for biome_js_syntax::JsStaticMemberAssignment { crate::js::assignments::static_member_assignment::FormatJsStaticMemberAssignment, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::assignments::static_member_assignment::FormatJsStaticMemberAssignment, - ) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: static_member_assignment :: FormatJsStaticMemberAssignment :: default ()) } } impl FormatRule @@ -4998,10 +4966,7 @@ impl AsFormat for biome_js_syntax::JsComputedMemberAssignment { crate::js::assignments::computed_member_assignment::FormatJsComputedMemberAssignment, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::assignments::computed_member_assignment::FormatJsComputedMemberAssignment, - ) + FormatRefWithRule :: new (self , crate :: js :: assignments :: computed_member_assignment :: FormatJsComputedMemberAssignment :: default ()) } } impl IntoFormat for biome_js_syntax::JsComputedMemberAssignment { @@ -5010,10 +4975,7 @@ impl IntoFormat for biome_js_syntax::JsComputedMemberAssignment crate::js::assignments::computed_member_assignment::FormatJsComputedMemberAssignment, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::assignments::computed_member_assignment::FormatJsComputedMemberAssignment, - ) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: computed_member_assignment :: FormatJsComputedMemberAssignment :: default ()) } } impl FormatRule @@ -5036,10 +4998,7 @@ impl AsFormat for biome_js_syntax::JsParenthesizedAssignment { crate::js::assignments::parenthesized_assignment::FormatJsParenthesizedAssignment, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::assignments::parenthesized_assignment::FormatJsParenthesizedAssignment, - ) + FormatRefWithRule :: new (self , crate :: js :: assignments :: parenthesized_assignment :: FormatJsParenthesizedAssignment :: default ()) } } impl IntoFormat for biome_js_syntax::JsParenthesizedAssignment { @@ -5048,10 +5007,7 @@ impl IntoFormat for biome_js_syntax::JsParenthesizedAssignment crate::js::assignments::parenthesized_assignment::FormatJsParenthesizedAssignment, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::assignments::parenthesized_assignment::FormatJsParenthesizedAssignment, - ) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: parenthesized_assignment :: FormatJsParenthesizedAssignment :: default ()) } } impl FormatRule @@ -5074,7 +5030,7 @@ impl AsFormat for biome_js_syntax::TsNonNullAssertionAssignment crate::ts::assignments::non_null_assertion_assignment::FormatTsNonNullAssertionAssignment, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: assignments :: non_null_assertion_assignment :: FormatTsNonNullAssertionAssignment) + FormatRefWithRule :: new (self , crate :: ts :: assignments :: non_null_assertion_assignment :: FormatTsNonNullAssertionAssignment :: default ()) } } impl IntoFormat for biome_js_syntax::TsNonNullAssertionAssignment { @@ -5083,7 +5039,7 @@ impl IntoFormat for biome_js_syntax::TsNonNullAssertionAssignme crate::ts::assignments::non_null_assertion_assignment::FormatTsNonNullAssertionAssignment, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: assignments :: non_null_assertion_assignment :: FormatTsNonNullAssertionAssignment) + FormatOwnedWithRule :: new (self , crate :: ts :: assignments :: non_null_assertion_assignment :: FormatTsNonNullAssertionAssignment :: default ()) } } impl FormatRule @@ -5104,7 +5060,7 @@ impl AsFormat for biome_js_syntax::TsAsAssignment { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::assignments::as_assignment::FormatTsAsAssignment, + crate::ts::assignments::as_assignment::FormatTsAsAssignment::default(), ) } } @@ -5116,7 +5072,7 @@ impl IntoFormat for biome_js_syntax::TsAsAssignment { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::assignments::as_assignment::FormatTsAsAssignment, + crate::ts::assignments::as_assignment::FormatTsAsAssignment::default(), ) } } @@ -5142,7 +5098,7 @@ impl AsFormat for biome_js_syntax::TsSatisfiesAssignment { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::assignments::satisfies_assignment::FormatTsSatisfiesAssignment, + crate::ts::assignments::satisfies_assignment::FormatTsSatisfiesAssignment::default(), ) } } @@ -5154,7 +5110,7 @@ impl IntoFormat for biome_js_syntax::TsSatisfiesAssignment { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::assignments::satisfies_assignment::FormatTsSatisfiesAssignment, + crate::ts::assignments::satisfies_assignment::FormatTsSatisfiesAssignment::default(), ) } } @@ -5178,10 +5134,7 @@ impl AsFormat for biome_js_syntax::TsTypeAssertionAssignment { crate::ts::assignments::type_assertion_assignment::FormatTsTypeAssertionAssignment, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::assignments::type_assertion_assignment::FormatTsTypeAssertionAssignment, - ) + FormatRefWithRule :: new (self , crate :: ts :: assignments :: type_assertion_assignment :: FormatTsTypeAssertionAssignment :: default ()) } } impl IntoFormat for biome_js_syntax::TsTypeAssertionAssignment { @@ -5190,10 +5143,7 @@ impl IntoFormat for biome_js_syntax::TsTypeAssertionAssignment crate::ts::assignments::type_assertion_assignment::FormatTsTypeAssertionAssignment, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::assignments::type_assertion_assignment::FormatTsTypeAssertionAssignment, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: assignments :: type_assertion_assignment :: FormatTsTypeAssertionAssignment :: default ()) } } impl FormatRule @@ -5218,7 +5168,8 @@ impl AsFormat for biome_js_syntax::JsAssignmentWithDefault { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::assignments::assignment_with_default::FormatJsAssignmentWithDefault, + crate::js::assignments::assignment_with_default::FormatJsAssignmentWithDefault::default( + ), ) } } @@ -5230,7 +5181,8 @@ impl IntoFormat for biome_js_syntax::JsAssignmentWithDefault { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::assignments::assignment_with_default::FormatJsAssignmentWithDefault, + crate::js::assignments::assignment_with_default::FormatJsAssignmentWithDefault::default( + ), ) } } @@ -5254,10 +5206,7 @@ impl AsFormat for biome_js_syntax::JsArrayAssignmentPattern { crate::js::assignments::array_assignment_pattern::FormatJsArrayAssignmentPattern, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::assignments::array_assignment_pattern::FormatJsArrayAssignmentPattern, - ) + FormatRefWithRule :: new (self , crate :: js :: assignments :: array_assignment_pattern :: FormatJsArrayAssignmentPattern :: default ()) } } impl IntoFormat for biome_js_syntax::JsArrayAssignmentPattern { @@ -5266,10 +5215,7 @@ impl IntoFormat for biome_js_syntax::JsArrayAssignmentPattern { crate::js::assignments::array_assignment_pattern::FormatJsArrayAssignmentPattern, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::assignments::array_assignment_pattern::FormatJsArrayAssignmentPattern, - ) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: array_assignment_pattern :: FormatJsArrayAssignmentPattern :: default ()) } } impl FormatRule @@ -5292,10 +5238,7 @@ impl AsFormat for biome_js_syntax::JsObjectAssignmentPattern { crate::js::assignments::object_assignment_pattern::FormatJsObjectAssignmentPattern, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::assignments::object_assignment_pattern::FormatJsObjectAssignmentPattern, - ) + FormatRefWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern :: FormatJsObjectAssignmentPattern :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectAssignmentPattern { @@ -5304,49 +5247,46 @@ impl IntoFormat for biome_js_syntax::JsObjectAssignmentPattern crate::js::assignments::object_assignment_pattern::FormatJsObjectAssignmentPattern, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::assignments::object_assignment_pattern::FormatJsObjectAssignmentPattern, - ) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern :: FormatJsObjectAssignmentPattern :: default ()) } } impl FormatRule < biome_js_syntax :: JsArrayAssignmentPatternRestElement > for crate :: js :: assignments :: array_assignment_pattern_rest_element :: FormatJsArrayAssignmentPatternRestElement { type Context = JsFormatContext ; # [inline (always)] fn fmt (& self , node : & biome_js_syntax :: JsArrayAssignmentPatternRestElement , f : & mut JsFormatter) -> FormatResult < () > { FormatNodeRule :: < biome_js_syntax :: JsArrayAssignmentPatternRestElement > :: fmt (self , node , f) } } impl AsFormat for biome_js_syntax::JsArrayAssignmentPatternRestElement { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsArrayAssignmentPatternRestElement , crate :: js :: assignments :: array_assignment_pattern_rest_element :: FormatJsArrayAssignmentPatternRestElement > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: assignments :: array_assignment_pattern_rest_element :: FormatJsArrayAssignmentPatternRestElement) + FormatRefWithRule :: new (self , crate :: js :: assignments :: array_assignment_pattern_rest_element :: FormatJsArrayAssignmentPatternRestElement :: default ()) } } impl IntoFormat for biome_js_syntax::JsArrayAssignmentPatternRestElement { type Format = FormatOwnedWithRule < biome_js_syntax :: JsArrayAssignmentPatternRestElement , crate :: js :: assignments :: array_assignment_pattern_rest_element :: FormatJsArrayAssignmentPatternRestElement > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: assignments :: array_assignment_pattern_rest_element :: FormatJsArrayAssignmentPatternRestElement) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: array_assignment_pattern_rest_element :: FormatJsArrayAssignmentPatternRestElement :: default ()) } } impl FormatRule < biome_js_syntax :: JsObjectAssignmentPatternShorthandProperty > for crate :: js :: assignments :: object_assignment_pattern_shorthand_property :: FormatJsObjectAssignmentPatternShorthandProperty { type Context = JsFormatContext ; # [inline (always)] fn fmt (& self , node : & biome_js_syntax :: JsObjectAssignmentPatternShorthandProperty , f : & mut JsFormatter) -> FormatResult < () > { FormatNodeRule :: < biome_js_syntax :: JsObjectAssignmentPatternShorthandProperty > :: fmt (self , node , f) } } impl AsFormat for biome_js_syntax::JsObjectAssignmentPatternShorthandProperty { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsObjectAssignmentPatternShorthandProperty , crate :: js :: assignments :: object_assignment_pattern_shorthand_property :: FormatJsObjectAssignmentPatternShorthandProperty > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_shorthand_property :: FormatJsObjectAssignmentPatternShorthandProperty) + FormatRefWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_shorthand_property :: FormatJsObjectAssignmentPatternShorthandProperty :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectAssignmentPatternShorthandProperty { type Format = FormatOwnedWithRule < biome_js_syntax :: JsObjectAssignmentPatternShorthandProperty , crate :: js :: assignments :: object_assignment_pattern_shorthand_property :: FormatJsObjectAssignmentPatternShorthandProperty > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_shorthand_property :: FormatJsObjectAssignmentPatternShorthandProperty) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_shorthand_property :: FormatJsObjectAssignmentPatternShorthandProperty :: default ()) } } impl FormatRule < biome_js_syntax :: JsObjectAssignmentPatternProperty > for crate :: js :: assignments :: object_assignment_pattern_property :: FormatJsObjectAssignmentPatternProperty { type Context = JsFormatContext ; # [inline (always)] fn fmt (& self , node : & biome_js_syntax :: JsObjectAssignmentPatternProperty , f : & mut JsFormatter) -> FormatResult < () > { FormatNodeRule :: < biome_js_syntax :: JsObjectAssignmentPatternProperty > :: fmt (self , node , f) } } impl AsFormat for biome_js_syntax::JsObjectAssignmentPatternProperty { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsObjectAssignmentPatternProperty , crate :: js :: assignments :: object_assignment_pattern_property :: FormatJsObjectAssignmentPatternProperty > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_property :: FormatJsObjectAssignmentPatternProperty) + FormatRefWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_property :: FormatJsObjectAssignmentPatternProperty :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectAssignmentPatternProperty { type Format = FormatOwnedWithRule < biome_js_syntax :: JsObjectAssignmentPatternProperty , crate :: js :: assignments :: object_assignment_pattern_property :: FormatJsObjectAssignmentPatternProperty > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_property :: FormatJsObjectAssignmentPatternProperty) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_property :: FormatJsObjectAssignmentPatternProperty :: default ()) } } impl FormatRule @@ -5369,7 +5309,7 @@ impl AsFormat for biome_js_syntax::JsObjectAssignmentPatternRes crate::js::assignments::object_assignment_pattern_rest::FormatJsObjectAssignmentPatternRest, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_rest :: FormatJsObjectAssignmentPatternRest) + FormatRefWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_rest :: FormatJsObjectAssignmentPatternRest :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectAssignmentPatternRest { @@ -5378,7 +5318,7 @@ impl IntoFormat for biome_js_syntax::JsObjectAssignmentPatternR crate::js::assignments::object_assignment_pattern_rest::FormatJsObjectAssignmentPatternRest, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_rest :: FormatJsObjectAssignmentPatternRest) + FormatOwnedWithRule :: new (self , crate :: js :: assignments :: object_assignment_pattern_rest :: FormatJsObjectAssignmentPatternRest :: default ()) } } impl FormatRule @@ -5403,7 +5343,7 @@ impl AsFormat for biome_js_syntax::JsIdentifierBinding { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bindings::identifier_binding::FormatJsIdentifierBinding, + crate::js::bindings::identifier_binding::FormatJsIdentifierBinding::default(), ) } } @@ -5415,7 +5355,7 @@ impl IntoFormat for biome_js_syntax::JsIdentifierBinding { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bindings::identifier_binding::FormatJsIdentifierBinding, + crate::js::bindings::identifier_binding::FormatJsIdentifierBinding::default(), ) } } @@ -5439,10 +5379,7 @@ impl AsFormat for biome_js_syntax::JsBindingPatternWithDefault crate::js::bindings::binding_pattern_with_default::FormatJsBindingPatternWithDefault, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::bindings::binding_pattern_with_default::FormatJsBindingPatternWithDefault, - ) + FormatRefWithRule :: new (self , crate :: js :: bindings :: binding_pattern_with_default :: FormatJsBindingPatternWithDefault :: default ()) } } impl IntoFormat for biome_js_syntax::JsBindingPatternWithDefault { @@ -5451,10 +5388,7 @@ impl IntoFormat for biome_js_syntax::JsBindingPatternWithDefaul crate::js::bindings::binding_pattern_with_default::FormatJsBindingPatternWithDefault, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::bindings::binding_pattern_with_default::FormatJsBindingPatternWithDefault, - ) + FormatOwnedWithRule :: new (self , crate :: js :: bindings :: binding_pattern_with_default :: FormatJsBindingPatternWithDefault :: default ()) } } impl FormatRule @@ -5479,7 +5413,7 @@ impl AsFormat for biome_js_syntax::JsArrayBindingPattern { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bindings::array_binding_pattern::FormatJsArrayBindingPattern, + crate::js::bindings::array_binding_pattern::FormatJsArrayBindingPattern::default(), ) } } @@ -5491,7 +5425,7 @@ impl IntoFormat for biome_js_syntax::JsArrayBindingPattern { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bindings::array_binding_pattern::FormatJsArrayBindingPattern, + crate::js::bindings::array_binding_pattern::FormatJsArrayBindingPattern::default(), ) } } @@ -5517,7 +5451,7 @@ impl AsFormat for biome_js_syntax::JsObjectBindingPattern { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bindings::object_binding_pattern::FormatJsObjectBindingPattern, + crate::js::bindings::object_binding_pattern::FormatJsObjectBindingPattern::default(), ) } } @@ -5529,7 +5463,7 @@ impl IntoFormat for biome_js_syntax::JsObjectBindingPattern { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bindings::object_binding_pattern::FormatJsObjectBindingPattern, + crate::js::bindings::object_binding_pattern::FormatJsObjectBindingPattern::default(), ) } } @@ -5537,13 +5471,13 @@ impl FormatRule < biome_js_syntax :: JsArrayBindingPatternRestElement > for crat impl AsFormat for biome_js_syntax::JsArrayBindingPatternRestElement { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsArrayBindingPatternRestElement , crate :: js :: bindings :: array_binding_pattern_rest_element :: FormatJsArrayBindingPatternRestElement > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: bindings :: array_binding_pattern_rest_element :: FormatJsArrayBindingPatternRestElement) + FormatRefWithRule :: new (self , crate :: js :: bindings :: array_binding_pattern_rest_element :: FormatJsArrayBindingPatternRestElement :: default ()) } } impl IntoFormat for biome_js_syntax::JsArrayBindingPatternRestElement { type Format = FormatOwnedWithRule < biome_js_syntax :: JsArrayBindingPatternRestElement , crate :: js :: bindings :: array_binding_pattern_rest_element :: FormatJsArrayBindingPatternRestElement > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: bindings :: array_binding_pattern_rest_element :: FormatJsArrayBindingPatternRestElement) + FormatOwnedWithRule :: new (self , crate :: js :: bindings :: array_binding_pattern_rest_element :: FormatJsArrayBindingPatternRestElement :: default ()) } } impl FormatRule @@ -5566,7 +5500,7 @@ impl AsFormat for biome_js_syntax::JsObjectBindingPatternProper crate::js::bindings::object_binding_pattern_property::FormatJsObjectBindingPatternProperty, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_property :: FormatJsObjectBindingPatternProperty) + FormatRefWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_property :: FormatJsObjectBindingPatternProperty :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectBindingPatternProperty { @@ -5575,7 +5509,7 @@ impl IntoFormat for biome_js_syntax::JsObjectBindingPatternProp crate::js::bindings::object_binding_pattern_property::FormatJsObjectBindingPatternProperty, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_property :: FormatJsObjectBindingPatternProperty) + FormatOwnedWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_property :: FormatJsObjectBindingPatternProperty :: default ()) } } impl FormatRule @@ -5598,10 +5532,7 @@ impl AsFormat for biome_js_syntax::JsObjectBindingPatternRest { crate::js::bindings::object_binding_pattern_rest::FormatJsObjectBindingPatternRest, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::bindings::object_binding_pattern_rest::FormatJsObjectBindingPatternRest, - ) + FormatRefWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_rest :: FormatJsObjectBindingPatternRest :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectBindingPatternRest { @@ -5610,23 +5541,20 @@ impl IntoFormat for biome_js_syntax::JsObjectBindingPatternRest crate::js::bindings::object_binding_pattern_rest::FormatJsObjectBindingPatternRest, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::bindings::object_binding_pattern_rest::FormatJsObjectBindingPatternRest, - ) + FormatOwnedWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_rest :: FormatJsObjectBindingPatternRest :: default ()) } } impl FormatRule < biome_js_syntax :: JsObjectBindingPatternShorthandProperty > for crate :: js :: bindings :: object_binding_pattern_shorthand_property :: FormatJsObjectBindingPatternShorthandProperty { type Context = JsFormatContext ; # [inline (always)] fn fmt (& self , node : & biome_js_syntax :: JsObjectBindingPatternShorthandProperty , f : & mut JsFormatter) -> FormatResult < () > { FormatNodeRule :: < biome_js_syntax :: JsObjectBindingPatternShorthandProperty > :: fmt (self , node , f) } } impl AsFormat for biome_js_syntax::JsObjectBindingPatternShorthandProperty { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsObjectBindingPatternShorthandProperty , crate :: js :: bindings :: object_binding_pattern_shorthand_property :: FormatJsObjectBindingPatternShorthandProperty > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_shorthand_property :: FormatJsObjectBindingPatternShorthandProperty) + FormatRefWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_shorthand_property :: FormatJsObjectBindingPatternShorthandProperty :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectBindingPatternShorthandProperty { type Format = FormatOwnedWithRule < biome_js_syntax :: JsObjectBindingPatternShorthandProperty , crate :: js :: bindings :: object_binding_pattern_shorthand_property :: FormatJsObjectBindingPatternShorthandProperty > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_shorthand_property :: FormatJsObjectBindingPatternShorthandProperty) + FormatOwnedWithRule :: new (self , crate :: js :: bindings :: object_binding_pattern_shorthand_property :: FormatJsObjectBindingPatternShorthandProperty :: default ()) } } impl FormatRule @@ -5649,10 +5577,7 @@ impl AsFormat for biome_js_syntax::JsStringLiteralExpression { crate::js::expressions::string_literal_expression::FormatJsStringLiteralExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::string_literal_expression::FormatJsStringLiteralExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: string_literal_expression :: FormatJsStringLiteralExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsStringLiteralExpression { @@ -5661,10 +5586,7 @@ impl IntoFormat for biome_js_syntax::JsStringLiteralExpression crate::js::expressions::string_literal_expression::FormatJsStringLiteralExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::string_literal_expression::FormatJsStringLiteralExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: string_literal_expression :: FormatJsStringLiteralExpression :: default ()) } } impl FormatRule @@ -5687,10 +5609,7 @@ impl AsFormat for biome_js_syntax::JsNumberLiteralExpression { crate::js::expressions::number_literal_expression::FormatJsNumberLiteralExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::number_literal_expression::FormatJsNumberLiteralExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: number_literal_expression :: FormatJsNumberLiteralExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsNumberLiteralExpression { @@ -5699,10 +5618,7 @@ impl IntoFormat for biome_js_syntax::JsNumberLiteralExpression crate::js::expressions::number_literal_expression::FormatJsNumberLiteralExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::number_literal_expression::FormatJsNumberLiteralExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: number_literal_expression :: FormatJsNumberLiteralExpression :: default ()) } } impl FormatRule @@ -5725,10 +5641,7 @@ impl AsFormat for biome_js_syntax::JsBigintLiteralExpression { crate::js::expressions::bigint_literal_expression::FormatJsBigintLiteralExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::bigint_literal_expression::FormatJsBigintLiteralExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: bigint_literal_expression :: FormatJsBigintLiteralExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsBigintLiteralExpression { @@ -5737,10 +5650,7 @@ impl IntoFormat for biome_js_syntax::JsBigintLiteralExpression crate::js::expressions::bigint_literal_expression::FormatJsBigintLiteralExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::bigint_literal_expression::FormatJsBigintLiteralExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: bigint_literal_expression :: FormatJsBigintLiteralExpression :: default ()) } } impl FormatRule @@ -5763,10 +5673,7 @@ impl AsFormat for biome_js_syntax::JsBooleanLiteralExpression { crate::js::expressions::boolean_literal_expression::FormatJsBooleanLiteralExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::boolean_literal_expression::FormatJsBooleanLiteralExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: boolean_literal_expression :: FormatJsBooleanLiteralExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsBooleanLiteralExpression { @@ -5775,10 +5682,7 @@ impl IntoFormat for biome_js_syntax::JsBooleanLiteralExpression crate::js::expressions::boolean_literal_expression::FormatJsBooleanLiteralExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::boolean_literal_expression::FormatJsBooleanLiteralExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: boolean_literal_expression :: FormatJsBooleanLiteralExpression :: default ()) } } impl FormatRule @@ -5803,7 +5707,8 @@ impl AsFormat for biome_js_syntax::JsNullLiteralExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::expressions::null_literal_expression::FormatJsNullLiteralExpression, + crate::js::expressions::null_literal_expression::FormatJsNullLiteralExpression::default( + ), ) } } @@ -5815,7 +5720,8 @@ impl IntoFormat for biome_js_syntax::JsNullLiteralExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::expressions::null_literal_expression::FormatJsNullLiteralExpression, + crate::js::expressions::null_literal_expression::FormatJsNullLiteralExpression::default( + ), ) } } @@ -5839,10 +5745,7 @@ impl AsFormat for biome_js_syntax::JsRegexLiteralExpression { crate::js::expressions::regex_literal_expression::FormatJsRegexLiteralExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::expressions::regex_literal_expression::FormatJsRegexLiteralExpression, - ) + FormatRefWithRule :: new (self , crate :: js :: expressions :: regex_literal_expression :: FormatJsRegexLiteralExpression :: default ()) } } impl IntoFormat for biome_js_syntax::JsRegexLiteralExpression { @@ -5851,10 +5754,7 @@ impl IntoFormat for biome_js_syntax::JsRegexLiteralExpression { crate::js::expressions::regex_literal_expression::FormatJsRegexLiteralExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::expressions::regex_literal_expression::FormatJsRegexLiteralExpression, - ) + FormatOwnedWithRule :: new (self , crate :: js :: expressions :: regex_literal_expression :: FormatJsRegexLiteralExpression :: default ()) } } impl FormatRule @@ -5877,10 +5777,7 @@ impl AsFormat for biome_js_syntax::JsVariableDeclarationClause crate::js::auxiliary::variable_declaration_clause::FormatJsVariableDeclarationClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::auxiliary::variable_declaration_clause::FormatJsVariableDeclarationClause, - ) + FormatRefWithRule :: new (self , crate :: js :: auxiliary :: variable_declaration_clause :: FormatJsVariableDeclarationClause :: default ()) } } impl IntoFormat for biome_js_syntax::JsVariableDeclarationClause { @@ -5889,10 +5786,7 @@ impl IntoFormat for biome_js_syntax::JsVariableDeclarationClaus crate::js::auxiliary::variable_declaration_clause::FormatJsVariableDeclarationClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::auxiliary::variable_declaration_clause::FormatJsVariableDeclarationClause, - ) + FormatOwnedWithRule :: new (self , crate :: js :: auxiliary :: variable_declaration_clause :: FormatJsVariableDeclarationClause :: default ()) } } impl FormatRule @@ -5915,10 +5809,7 @@ impl AsFormat for biome_js_syntax::TsDefiniteVariableAnnotation crate::ts::auxiliary::definite_variable_annotation::FormatTsDefiniteVariableAnnotation, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::definite_variable_annotation::FormatTsDefiniteVariableAnnotation, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: definite_variable_annotation :: FormatTsDefiniteVariableAnnotation :: default ()) } } impl IntoFormat for biome_js_syntax::TsDefiniteVariableAnnotation { @@ -5927,10 +5818,7 @@ impl IntoFormat for biome_js_syntax::TsDefiniteVariableAnnotati crate::ts::auxiliary::definite_variable_annotation::FormatTsDefiniteVariableAnnotation, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::definite_variable_annotation::FormatTsDefiniteVariableAnnotation, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: definite_variable_annotation :: FormatTsDefiniteVariableAnnotation :: default ()) } } impl FormatRule for crate::js::module::export::FormatJsExport { @@ -5944,14 +5832,14 @@ impl AsFormat for biome_js_syntax::JsExport { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::JsExport, crate::js::module::export::FormatJsExport>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::module::export::FormatJsExport) + FormatRefWithRule::new(self, crate::js::module::export::FormatJsExport::default()) } } impl IntoFormat for biome_js_syntax::JsExport { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::module::export::FormatJsExport) + FormatOwnedWithRule::new(self, crate::js::module::export::FormatJsExport::default()) } } impl FormatRule for crate::js::module::import::FormatJsImport { @@ -5965,14 +5853,14 @@ impl AsFormat for biome_js_syntax::JsImport { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::JsImport, crate::js::module::import::FormatJsImport>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::module::import::FormatJsImport) + FormatRefWithRule::new(self, crate::js::module::import::FormatJsImport::default()) } } impl IntoFormat for biome_js_syntax::JsImport { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::module::import::FormatJsImport) + FormatOwnedWithRule::new(self, crate::js::module::import::FormatJsImport::default()) } } impl FormatRule @@ -5997,7 +5885,7 @@ impl AsFormat for biome_js_syntax::JsImportBareClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::import_bare_clause::FormatJsImportBareClause, + crate::js::module::import_bare_clause::FormatJsImportBareClause::default(), ) } } @@ -6009,7 +5897,7 @@ impl IntoFormat for biome_js_syntax::JsImportBareClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::import_bare_clause::FormatJsImportBareClause, + crate::js::module::import_bare_clause::FormatJsImportBareClause::default(), ) } } @@ -6035,7 +5923,7 @@ impl AsFormat for biome_js_syntax::JsImportNamedClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::import_named_clause::FormatJsImportNamedClause, + crate::js::module::import_named_clause::FormatJsImportNamedClause::default(), ) } } @@ -6047,7 +5935,7 @@ impl IntoFormat for biome_js_syntax::JsImportNamedClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::import_named_clause::FormatJsImportNamedClause, + crate::js::module::import_named_clause::FormatJsImportNamedClause::default(), ) } } @@ -6073,7 +5961,7 @@ impl AsFormat for biome_js_syntax::JsImportDefaultClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::import_default_clause::FormatJsImportDefaultClause, + crate::js::module::import_default_clause::FormatJsImportDefaultClause::default(), ) } } @@ -6085,7 +5973,7 @@ impl IntoFormat for biome_js_syntax::JsImportDefaultClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::import_default_clause::FormatJsImportDefaultClause, + crate::js::module::import_default_clause::FormatJsImportDefaultClause::default(), ) } } @@ -6111,7 +5999,7 @@ impl AsFormat for biome_js_syntax::JsImportNamespaceClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::import_namespace_clause::FormatJsImportNamespaceClause, + crate::js::module::import_namespace_clause::FormatJsImportNamespaceClause::default(), ) } } @@ -6123,7 +6011,7 @@ impl IntoFormat for biome_js_syntax::JsImportNamespaceClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::import_namespace_clause::FormatJsImportNamespaceClause, + crate::js::module::import_namespace_clause::FormatJsImportNamespaceClause::default(), ) } } @@ -6143,7 +6031,10 @@ impl AsFormat for biome_js_syntax::JsModuleSource { crate::js::module::module_source::FormatJsModuleSource, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::module::module_source::FormatJsModuleSource) + FormatRefWithRule::new( + self, + crate::js::module::module_source::FormatJsModuleSource::default(), + ) } } impl IntoFormat for biome_js_syntax::JsModuleSource { @@ -6152,7 +6043,10 @@ impl IntoFormat for biome_js_syntax::JsModuleSource { crate::js::module::module_source::FormatJsModuleSource, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::module::module_source::FormatJsModuleSource) + FormatOwnedWithRule::new( + self, + crate::js::module::module_source::FormatJsModuleSource::default(), + ) } } impl FormatRule @@ -6177,7 +6071,7 @@ impl AsFormat for biome_js_syntax::JsImportAssertion { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::import_assertion::FormatJsImportAssertion, + crate::js::module::import_assertion::FormatJsImportAssertion::default(), ) } } @@ -6189,7 +6083,7 @@ impl IntoFormat for biome_js_syntax::JsImportAssertion { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::import_assertion::FormatJsImportAssertion, + crate::js::module::import_assertion::FormatJsImportAssertion::default(), ) } } @@ -6215,7 +6109,7 @@ impl AsFormat for biome_js_syntax::JsDefaultImportSpecifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::default_import_specifier::FormatJsDefaultImportSpecifier, + crate::js::module::default_import_specifier::FormatJsDefaultImportSpecifier::default(), ) } } @@ -6227,7 +6121,7 @@ impl IntoFormat for biome_js_syntax::JsDefaultImportSpecifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::default_import_specifier::FormatJsDefaultImportSpecifier, + crate::js::module::default_import_specifier::FormatJsDefaultImportSpecifier::default(), ) } } @@ -6253,7 +6147,7 @@ impl AsFormat for biome_js_syntax::JsNamedImportSpecifiers { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::named_import_specifiers::FormatJsNamedImportSpecifiers, + crate::js::module::named_import_specifiers::FormatJsNamedImportSpecifiers::default(), ) } } @@ -6265,7 +6159,7 @@ impl IntoFormat for biome_js_syntax::JsNamedImportSpecifiers { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::named_import_specifiers::FormatJsNamedImportSpecifiers, + crate::js::module::named_import_specifiers::FormatJsNamedImportSpecifiers::default(), ) } } @@ -6289,10 +6183,7 @@ impl AsFormat for biome_js_syntax::JsNamespaceImportSpecifier { crate::js::module::namespace_import_specifier::FormatJsNamespaceImportSpecifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::module::namespace_import_specifier::FormatJsNamespaceImportSpecifier, - ) + FormatRefWithRule :: new (self , crate :: js :: module :: namespace_import_specifier :: FormatJsNamespaceImportSpecifier :: default ()) } } impl IntoFormat for biome_js_syntax::JsNamespaceImportSpecifier { @@ -6301,10 +6192,7 @@ impl IntoFormat for biome_js_syntax::JsNamespaceImportSpecifier crate::js::module::namespace_import_specifier::FormatJsNamespaceImportSpecifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::module::namespace_import_specifier::FormatJsNamespaceImportSpecifier, - ) + FormatOwnedWithRule :: new (self , crate :: js :: module :: namespace_import_specifier :: FormatJsNamespaceImportSpecifier :: default ()) } } impl FormatRule @@ -6327,7 +6215,7 @@ impl AsFormat for biome_js_syntax::JsShorthandNamedImportSpecif crate::js::module::shorthand_named_import_specifier::FormatJsShorthandNamedImportSpecifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: module :: shorthand_named_import_specifier :: FormatJsShorthandNamedImportSpecifier) + FormatRefWithRule :: new (self , crate :: js :: module :: shorthand_named_import_specifier :: FormatJsShorthandNamedImportSpecifier :: default ()) } } impl IntoFormat for biome_js_syntax::JsShorthandNamedImportSpecifier { @@ -6336,7 +6224,7 @@ impl IntoFormat for biome_js_syntax::JsShorthandNamedImportSpec crate::js::module::shorthand_named_import_specifier::FormatJsShorthandNamedImportSpecifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: module :: shorthand_named_import_specifier :: FormatJsShorthandNamedImportSpecifier) + FormatOwnedWithRule :: new (self , crate :: js :: module :: shorthand_named_import_specifier :: FormatJsShorthandNamedImportSpecifier :: default ()) } } impl FormatRule @@ -6361,7 +6249,7 @@ impl AsFormat for biome_js_syntax::JsNamedImportSpecifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::named_import_specifier::FormatJsNamedImportSpecifier, + crate::js::module::named_import_specifier::FormatJsNamedImportSpecifier::default(), ) } } @@ -6373,7 +6261,7 @@ impl IntoFormat for biome_js_syntax::JsNamedImportSpecifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::named_import_specifier::FormatJsNamedImportSpecifier, + crate::js::module::named_import_specifier::FormatJsNamedImportSpecifier::default(), ) } } @@ -6399,7 +6287,7 @@ impl AsFormat for biome_js_syntax::JsLiteralExportName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::literal_export_name::FormatJsLiteralExportName, + crate::js::module::literal_export_name::FormatJsLiteralExportName::default(), ) } } @@ -6411,7 +6299,7 @@ impl IntoFormat for biome_js_syntax::JsLiteralExportName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::literal_export_name::FormatJsLiteralExportName, + crate::js::module::literal_export_name::FormatJsLiteralExportName::default(), ) } } @@ -6437,7 +6325,7 @@ impl AsFormat for biome_js_syntax::JsImportAssertionEntry { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::import_assertion_entry::FormatJsImportAssertionEntry, + crate::js::module::import_assertion_entry::FormatJsImportAssertionEntry::default(), ) } } @@ -6449,7 +6337,7 @@ impl IntoFormat for biome_js_syntax::JsImportAssertionEntry { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::import_assertion_entry::FormatJsImportAssertionEntry, + crate::js::module::import_assertion_entry::FormatJsImportAssertionEntry::default(), ) } } @@ -6469,13 +6357,13 @@ impl FormatRule impl AsFormat for biome_js_syntax::JsExportDefaultDeclarationClause { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsExportDefaultDeclarationClause , crate :: js :: module :: export_default_declaration_clause :: FormatJsExportDefaultDeclarationClause > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: module :: export_default_declaration_clause :: FormatJsExportDefaultDeclarationClause) + FormatRefWithRule :: new (self , crate :: js :: module :: export_default_declaration_clause :: FormatJsExportDefaultDeclarationClause :: default ()) } } impl IntoFormat for biome_js_syntax::JsExportDefaultDeclarationClause { type Format = FormatOwnedWithRule < biome_js_syntax :: JsExportDefaultDeclarationClause , crate :: js :: module :: export_default_declaration_clause :: FormatJsExportDefaultDeclarationClause > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: module :: export_default_declaration_clause :: FormatJsExportDefaultDeclarationClause) + FormatOwnedWithRule :: new (self , crate :: js :: module :: export_default_declaration_clause :: FormatJsExportDefaultDeclarationClause :: default ()) } } impl FormatRule @@ -6498,7 +6386,7 @@ impl AsFormat for biome_js_syntax::JsExportDefaultExpressionCla crate::js::module::export_default_expression_clause::FormatJsExportDefaultExpressionClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: module :: export_default_expression_clause :: FormatJsExportDefaultExpressionClause) + FormatRefWithRule :: new (self , crate :: js :: module :: export_default_expression_clause :: FormatJsExportDefaultExpressionClause :: default ()) } } impl IntoFormat for biome_js_syntax::JsExportDefaultExpressionClause { @@ -6507,7 +6395,7 @@ impl IntoFormat for biome_js_syntax::JsExportDefaultExpressionC crate::js::module::export_default_expression_clause::FormatJsExportDefaultExpressionClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: module :: export_default_expression_clause :: FormatJsExportDefaultExpressionClause) + FormatOwnedWithRule :: new (self , crate :: js :: module :: export_default_expression_clause :: FormatJsExportDefaultExpressionClause :: default ()) } } impl FormatRule @@ -6532,7 +6420,7 @@ impl AsFormat for biome_js_syntax::JsExportNamedClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::export_named_clause::FormatJsExportNamedClause, + crate::js::module::export_named_clause::FormatJsExportNamedClause::default(), ) } } @@ -6544,7 +6432,7 @@ impl IntoFormat for biome_js_syntax::JsExportNamedClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::export_named_clause::FormatJsExportNamedClause, + crate::js::module::export_named_clause::FormatJsExportNamedClause::default(), ) } } @@ -6570,7 +6458,7 @@ impl AsFormat for biome_js_syntax::JsExportFromClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::export_from_clause::FormatJsExportFromClause, + crate::js::module::export_from_clause::FormatJsExportFromClause::default(), ) } } @@ -6582,7 +6470,7 @@ impl IntoFormat for biome_js_syntax::JsExportFromClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::export_from_clause::FormatJsExportFromClause, + crate::js::module::export_from_clause::FormatJsExportFromClause::default(), ) } } @@ -6608,7 +6496,7 @@ impl AsFormat for biome_js_syntax::JsExportNamedFromClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::export_named_from_clause::FormatJsExportNamedFromClause, + crate::js::module::export_named_from_clause::FormatJsExportNamedFromClause::default(), ) } } @@ -6620,7 +6508,7 @@ impl IntoFormat for biome_js_syntax::JsExportNamedFromClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::export_named_from_clause::FormatJsExportNamedFromClause, + crate::js::module::export_named_from_clause::FormatJsExportNamedFromClause::default(), ) } } @@ -6646,7 +6534,8 @@ impl AsFormat for biome_js_syntax::TsExportAsNamespaceClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::module::export_as_namespace_clause::FormatTsExportAsNamespaceClause, + crate::ts::module::export_as_namespace_clause::FormatTsExportAsNamespaceClause::default( + ), ) } } @@ -6658,7 +6547,8 @@ impl IntoFormat for biome_js_syntax::TsExportAsNamespaceClause fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::module::export_as_namespace_clause::FormatTsExportAsNamespaceClause, + crate::ts::module::export_as_namespace_clause::FormatTsExportAsNamespaceClause::default( + ), ) } } @@ -6684,7 +6574,7 @@ impl AsFormat for biome_js_syntax::TsExportAssignmentClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::module::export_assignment_clause::FormatTsExportAssignmentClause, + crate::ts::module::export_assignment_clause::FormatTsExportAssignmentClause::default(), ) } } @@ -6696,7 +6586,7 @@ impl IntoFormat for biome_js_syntax::TsExportAssignmentClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::module::export_assignment_clause::FormatTsExportAssignmentClause, + crate::ts::module::export_assignment_clause::FormatTsExportAssignmentClause::default(), ) } } @@ -6722,7 +6612,7 @@ impl AsFormat for biome_js_syntax::TsExportDeclareClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::module::export_declare_clause::FormatTsExportDeclareClause, + crate::ts::module::export_declare_clause::FormatTsExportDeclareClause::default(), ) } } @@ -6734,7 +6624,7 @@ impl IntoFormat for biome_js_syntax::TsExportDeclareClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::module::export_declare_clause::FormatTsExportDeclareClause, + crate::ts::module::export_declare_clause::FormatTsExportDeclareClause::default(), ) } } @@ -6742,26 +6632,26 @@ impl FormatRule < biome_js_syntax :: JsFunctionExportDefaultDeclaration > for cr impl AsFormat for biome_js_syntax::JsFunctionExportDefaultDeclaration { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsFunctionExportDefaultDeclaration , crate :: js :: declarations :: function_export_default_declaration :: FormatJsFunctionExportDefaultDeclaration > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: declarations :: function_export_default_declaration :: FormatJsFunctionExportDefaultDeclaration) + FormatRefWithRule :: new (self , crate :: js :: declarations :: function_export_default_declaration :: FormatJsFunctionExportDefaultDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::JsFunctionExportDefaultDeclaration { type Format = FormatOwnedWithRule < biome_js_syntax :: JsFunctionExportDefaultDeclaration , crate :: js :: declarations :: function_export_default_declaration :: FormatJsFunctionExportDefaultDeclaration > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: declarations :: function_export_default_declaration :: FormatJsFunctionExportDefaultDeclaration) + FormatOwnedWithRule :: new (self , crate :: js :: declarations :: function_export_default_declaration :: FormatJsFunctionExportDefaultDeclaration :: default ()) } } impl FormatRule < biome_js_syntax :: TsDeclareFunctionExportDefaultDeclaration > for crate :: ts :: declarations :: declare_function_export_default_declaration :: FormatTsDeclareFunctionExportDefaultDeclaration { type Context = JsFormatContext ; # [inline (always)] fn fmt (& self , node : & biome_js_syntax :: TsDeclareFunctionExportDefaultDeclaration , f : & mut JsFormatter) -> FormatResult < () > { FormatNodeRule :: < biome_js_syntax :: TsDeclareFunctionExportDefaultDeclaration > :: fmt (self , node , f) } } impl AsFormat for biome_js_syntax::TsDeclareFunctionExportDefaultDeclaration { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: TsDeclareFunctionExportDefaultDeclaration , crate :: ts :: declarations :: declare_function_export_default_declaration :: FormatTsDeclareFunctionExportDefaultDeclaration > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: declarations :: declare_function_export_default_declaration :: FormatTsDeclareFunctionExportDefaultDeclaration) + FormatRefWithRule :: new (self , crate :: ts :: declarations :: declare_function_export_default_declaration :: FormatTsDeclareFunctionExportDefaultDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::TsDeclareFunctionExportDefaultDeclaration { type Format = FormatOwnedWithRule < biome_js_syntax :: TsDeclareFunctionExportDefaultDeclaration , crate :: ts :: declarations :: declare_function_export_default_declaration :: FormatTsDeclareFunctionExportDefaultDeclaration > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: declarations :: declare_function_export_default_declaration :: FormatTsDeclareFunctionExportDefaultDeclaration) + FormatOwnedWithRule :: new (self , crate :: ts :: declarations :: declare_function_export_default_declaration :: FormatTsDeclareFunctionExportDefaultDeclaration :: default ()) } } impl FormatRule @@ -6784,7 +6674,7 @@ impl AsFormat for biome_js_syntax::JsExportNamedShorthandSpecif crate::js::module::export_named_shorthand_specifier::FormatJsExportNamedShorthandSpecifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: module :: export_named_shorthand_specifier :: FormatJsExportNamedShorthandSpecifier) + FormatRefWithRule :: new (self , crate :: js :: module :: export_named_shorthand_specifier :: FormatJsExportNamedShorthandSpecifier :: default ()) } } impl IntoFormat for biome_js_syntax::JsExportNamedShorthandSpecifier { @@ -6793,7 +6683,7 @@ impl IntoFormat for biome_js_syntax::JsExportNamedShorthandSpec crate::js::module::export_named_shorthand_specifier::FormatJsExportNamedShorthandSpecifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: module :: export_named_shorthand_specifier :: FormatJsExportNamedShorthandSpecifier) + FormatOwnedWithRule :: new (self , crate :: js :: module :: export_named_shorthand_specifier :: FormatJsExportNamedShorthandSpecifier :: default ()) } } impl FormatRule @@ -6818,7 +6708,7 @@ impl AsFormat for biome_js_syntax::JsExportNamedSpecifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::export_named_specifier::FormatJsExportNamedSpecifier, + crate::js::module::export_named_specifier::FormatJsExportNamedSpecifier::default(), ) } } @@ -6830,7 +6720,7 @@ impl IntoFormat for biome_js_syntax::JsExportNamedSpecifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::export_named_specifier::FormatJsExportNamedSpecifier, + crate::js::module::export_named_specifier::FormatJsExportNamedSpecifier::default(), ) } } @@ -6856,7 +6746,7 @@ impl AsFormat for biome_js_syntax::JsExportAsClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::module::export_as_clause::FormatJsExportAsClause, + crate::js::module::export_as_clause::FormatJsExportAsClause::default(), ) } } @@ -6868,7 +6758,7 @@ impl IntoFormat for biome_js_syntax::JsExportAsClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::module::export_as_clause::FormatJsExportAsClause, + crate::js::module::export_as_clause::FormatJsExportAsClause::default(), ) } } @@ -6892,10 +6782,7 @@ impl AsFormat for biome_js_syntax::JsExportNamedFromSpecifier { crate::js::module::export_named_from_specifier::FormatJsExportNamedFromSpecifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::module::export_named_from_specifier::FormatJsExportNamedFromSpecifier, - ) + FormatRefWithRule :: new (self , crate :: js :: module :: export_named_from_specifier :: FormatJsExportNamedFromSpecifier :: default ()) } } impl IntoFormat for biome_js_syntax::JsExportNamedFromSpecifier { @@ -6904,10 +6791,7 @@ impl IntoFormat for biome_js_syntax::JsExportNamedFromSpecifier crate::js::module::export_named_from_specifier::FormatJsExportNamedFromSpecifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::module::export_named_from_specifier::FormatJsExportNamedFromSpecifier, - ) + FormatOwnedWithRule :: new (self , crate :: js :: module :: export_named_from_specifier :: FormatJsExportNamedFromSpecifier :: default ()) } } impl FormatRule for crate::js::auxiliary::name::FormatJsName { @@ -6921,14 +6805,14 @@ impl AsFormat for biome_js_syntax::JsName { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::JsName, crate::js::auxiliary::name::FormatJsName>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::auxiliary::name::FormatJsName) + FormatRefWithRule::new(self, crate::js::auxiliary::name::FormatJsName::default()) } } impl IntoFormat for biome_js_syntax::JsName { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::auxiliary::name::FormatJsName) + FormatOwnedWithRule::new(self, crate::js::auxiliary::name::FormatJsName::default()) } } impl FormatRule @@ -6953,7 +6837,7 @@ impl AsFormat for biome_js_syntax::JsFormalParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bindings::formal_parameter::FormatJsFormalParameter, + crate::js::bindings::formal_parameter::FormatJsFormalParameter::default(), ) } } @@ -6965,7 +6849,7 @@ impl IntoFormat for biome_js_syntax::JsFormalParameter { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bindings::formal_parameter::FormatJsFormalParameter, + crate::js::bindings::formal_parameter::FormatJsFormalParameter::default(), ) } } @@ -6991,7 +6875,7 @@ impl AsFormat for biome_js_syntax::TsThisParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::bindings::this_parameter::FormatTsThisParameter, + crate::ts::bindings::this_parameter::FormatTsThisParameter::default(), ) } } @@ -7003,7 +6887,7 @@ impl IntoFormat for biome_js_syntax::TsThisParameter { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::bindings::this_parameter::FormatTsThisParameter, + crate::ts::bindings::this_parameter::FormatTsThisParameter::default(), ) } } @@ -7021,7 +6905,7 @@ impl AsFormat for biome_js_syntax::TsAnyType { crate::ts::types::any_type::FormatTsAnyType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::any_type::FormatTsAnyType) + FormatRefWithRule::new(self, crate::ts::types::any_type::FormatTsAnyType::default()) } } impl IntoFormat for biome_js_syntax::TsAnyType { @@ -7030,7 +6914,7 @@ impl IntoFormat for biome_js_syntax::TsAnyType { crate::ts::types::any_type::FormatTsAnyType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::any_type::FormatTsAnyType) + FormatOwnedWithRule::new(self, crate::ts::types::any_type::FormatTsAnyType::default()) } } impl FormatRule @@ -7049,7 +6933,10 @@ impl AsFormat for biome_js_syntax::TsUnknownType { crate::ts::types::unknown_type::FormatTsUnknownType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::unknown_type::FormatTsUnknownType) + FormatRefWithRule::new( + self, + crate::ts::types::unknown_type::FormatTsUnknownType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsUnknownType { @@ -7058,7 +6945,10 @@ impl IntoFormat for biome_js_syntax::TsUnknownType { crate::ts::types::unknown_type::FormatTsUnknownType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::unknown_type::FormatTsUnknownType) + FormatOwnedWithRule::new( + self, + crate::ts::types::unknown_type::FormatTsUnknownType::default(), + ) } } impl FormatRule @@ -7077,7 +6967,10 @@ impl AsFormat for biome_js_syntax::TsNumberType { crate::ts::types::number_type::FormatTsNumberType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::number_type::FormatTsNumberType) + FormatRefWithRule::new( + self, + crate::ts::types::number_type::FormatTsNumberType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsNumberType { @@ -7086,7 +6979,10 @@ impl IntoFormat for biome_js_syntax::TsNumberType { crate::ts::types::number_type::FormatTsNumberType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::number_type::FormatTsNumberType) + FormatOwnedWithRule::new( + self, + crate::ts::types::number_type::FormatTsNumberType::default(), + ) } } impl FormatRule @@ -7105,7 +7001,10 @@ impl AsFormat for biome_js_syntax::TsBooleanType { crate::ts::types::boolean_type::FormatTsBooleanType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::boolean_type::FormatTsBooleanType) + FormatRefWithRule::new( + self, + crate::ts::types::boolean_type::FormatTsBooleanType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsBooleanType { @@ -7114,7 +7013,10 @@ impl IntoFormat for biome_js_syntax::TsBooleanType { crate::ts::types::boolean_type::FormatTsBooleanType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::boolean_type::FormatTsBooleanType) + FormatOwnedWithRule::new( + self, + crate::ts::types::boolean_type::FormatTsBooleanType::default(), + ) } } impl FormatRule @@ -7133,7 +7035,10 @@ impl AsFormat for biome_js_syntax::TsBigintType { crate::ts::types::bigint_type::FormatTsBigintType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::bigint_type::FormatTsBigintType) + FormatRefWithRule::new( + self, + crate::ts::types::bigint_type::FormatTsBigintType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsBigintType { @@ -7142,7 +7047,10 @@ impl IntoFormat for biome_js_syntax::TsBigintType { crate::ts::types::bigint_type::FormatTsBigintType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::bigint_type::FormatTsBigintType) + FormatOwnedWithRule::new( + self, + crate::ts::types::bigint_type::FormatTsBigintType::default(), + ) } } impl FormatRule @@ -7161,7 +7069,10 @@ impl AsFormat for biome_js_syntax::TsStringType { crate::ts::types::string_type::FormatTsStringType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::string_type::FormatTsStringType) + FormatRefWithRule::new( + self, + crate::ts::types::string_type::FormatTsStringType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsStringType { @@ -7170,7 +7081,10 @@ impl IntoFormat for biome_js_syntax::TsStringType { crate::ts::types::string_type::FormatTsStringType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::string_type::FormatTsStringType) + FormatOwnedWithRule::new( + self, + crate::ts::types::string_type::FormatTsStringType::default(), + ) } } impl FormatRule @@ -7189,7 +7103,10 @@ impl AsFormat for biome_js_syntax::TsSymbolType { crate::ts::types::symbol_type::FormatTsSymbolType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::symbol_type::FormatTsSymbolType) + FormatRefWithRule::new( + self, + crate::ts::types::symbol_type::FormatTsSymbolType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsSymbolType { @@ -7198,7 +7115,10 @@ impl IntoFormat for biome_js_syntax::TsSymbolType { crate::ts::types::symbol_type::FormatTsSymbolType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::symbol_type::FormatTsSymbolType) + FormatOwnedWithRule::new( + self, + crate::ts::types::symbol_type::FormatTsSymbolType::default(), + ) } } impl FormatRule for crate::ts::types::void_type::FormatTsVoidType { @@ -7215,7 +7135,10 @@ impl AsFormat for biome_js_syntax::TsVoidType { crate::ts::types::void_type::FormatTsVoidType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::void_type::FormatTsVoidType) + FormatRefWithRule::new( + self, + crate::ts::types::void_type::FormatTsVoidType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsVoidType { @@ -7224,7 +7147,10 @@ impl IntoFormat for biome_js_syntax::TsVoidType { crate::ts::types::void_type::FormatTsVoidType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::void_type::FormatTsVoidType) + FormatOwnedWithRule::new( + self, + crate::ts::types::void_type::FormatTsVoidType::default(), + ) } } impl FormatRule @@ -7249,7 +7175,7 @@ impl AsFormat for biome_js_syntax::TsUndefinedType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::undefined_type::FormatTsUndefinedType, + crate::ts::types::undefined_type::FormatTsUndefinedType::default(), ) } } @@ -7261,7 +7187,7 @@ impl IntoFormat for biome_js_syntax::TsUndefinedType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::undefined_type::FormatTsUndefinedType, + crate::ts::types::undefined_type::FormatTsUndefinedType::default(), ) } } @@ -7279,7 +7205,10 @@ impl AsFormat for biome_js_syntax::TsNeverType { crate::ts::types::never_type::FormatTsNeverType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::never_type::FormatTsNeverType) + FormatRefWithRule::new( + self, + crate::ts::types::never_type::FormatTsNeverType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsNeverType { @@ -7288,7 +7217,10 @@ impl IntoFormat for biome_js_syntax::TsNeverType { crate::ts::types::never_type::FormatTsNeverType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::never_type::FormatTsNeverType) + FormatOwnedWithRule::new( + self, + crate::ts::types::never_type::FormatTsNeverType::default(), + ) } } impl FormatRule @@ -7313,7 +7245,7 @@ impl AsFormat for biome_js_syntax::TsParenthesizedType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::parenthesized_type::FormatTsParenthesizedType, + crate::ts::types::parenthesized_type::FormatTsParenthesizedType::default(), ) } } @@ -7325,7 +7257,7 @@ impl IntoFormat for biome_js_syntax::TsParenthesizedType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::parenthesized_type::FormatTsParenthesizedType, + crate::ts::types::parenthesized_type::FormatTsParenthesizedType::default(), ) } } @@ -7351,7 +7283,7 @@ impl AsFormat for biome_js_syntax::TsReferenceType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::reference_type::FormatTsReferenceType, + crate::ts::types::reference_type::FormatTsReferenceType::default(), ) } } @@ -7363,7 +7295,7 @@ impl IntoFormat for biome_js_syntax::TsReferenceType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::reference_type::FormatTsReferenceType, + crate::ts::types::reference_type::FormatTsReferenceType::default(), ) } } @@ -7381,7 +7313,10 @@ impl AsFormat for biome_js_syntax::TsArrayType { crate::ts::types::array_type::FormatTsArrayType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::array_type::FormatTsArrayType) + FormatRefWithRule::new( + self, + crate::ts::types::array_type::FormatTsArrayType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsArrayType { @@ -7390,7 +7325,10 @@ impl IntoFormat for biome_js_syntax::TsArrayType { crate::ts::types::array_type::FormatTsArrayType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::array_type::FormatTsArrayType) + FormatOwnedWithRule::new( + self, + crate::ts::types::array_type::FormatTsArrayType::default(), + ) } } impl FormatRule for crate::ts::types::tuple_type::FormatTsTupleType { @@ -7407,7 +7345,10 @@ impl AsFormat for biome_js_syntax::TsTupleType { crate::ts::types::tuple_type::FormatTsTupleType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::tuple_type::FormatTsTupleType) + FormatRefWithRule::new( + self, + crate::ts::types::tuple_type::FormatTsTupleType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsTupleType { @@ -7416,7 +7357,10 @@ impl IntoFormat for biome_js_syntax::TsTupleType { crate::ts::types::tuple_type::FormatTsTupleType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::tuple_type::FormatTsTupleType) + FormatOwnedWithRule::new( + self, + crate::ts::types::tuple_type::FormatTsTupleType::default(), + ) } } impl FormatRule @@ -7435,7 +7379,10 @@ impl AsFormat for biome_js_syntax::TsTypeofType { crate::ts::types::typeof_type::FormatTsTypeofType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::typeof_type::FormatTsTypeofType) + FormatRefWithRule::new( + self, + crate::ts::types::typeof_type::FormatTsTypeofType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsTypeofType { @@ -7444,7 +7391,10 @@ impl IntoFormat for biome_js_syntax::TsTypeofType { crate::ts::types::typeof_type::FormatTsTypeofType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::typeof_type::FormatTsTypeofType) + FormatOwnedWithRule::new( + self, + crate::ts::types::typeof_type::FormatTsTypeofType::default(), + ) } } impl FormatRule @@ -7463,7 +7413,10 @@ impl AsFormat for biome_js_syntax::TsImportType { crate::ts::module::import_type::FormatTsImportType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::module::import_type::FormatTsImportType) + FormatRefWithRule::new( + self, + crate::ts::module::import_type::FormatTsImportType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsImportType { @@ -7472,7 +7425,10 @@ impl IntoFormat for biome_js_syntax::TsImportType { crate::ts::module::import_type::FormatTsImportType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::module::import_type::FormatTsImportType) + FormatOwnedWithRule::new( + self, + crate::ts::module::import_type::FormatTsImportType::default(), + ) } } impl FormatRule @@ -7497,7 +7453,7 @@ impl AsFormat for biome_js_syntax::TsTypeOperatorType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::type_operator_type::FormatTsTypeOperatorType, + crate::ts::types::type_operator_type::FormatTsTypeOperatorType::default(), ) } } @@ -7509,7 +7465,7 @@ impl IntoFormat for biome_js_syntax::TsTypeOperatorType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::type_operator_type::FormatTsTypeOperatorType, + crate::ts::types::type_operator_type::FormatTsTypeOperatorType::default(), ) } } @@ -7535,7 +7491,7 @@ impl AsFormat for biome_js_syntax::TsIndexedAccessType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::indexed_access_type::FormatTsIndexedAccessType, + crate::ts::types::indexed_access_type::FormatTsIndexedAccessType::default(), ) } } @@ -7547,7 +7503,7 @@ impl IntoFormat for biome_js_syntax::TsIndexedAccessType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::indexed_access_type::FormatTsIndexedAccessType, + crate::ts::types::indexed_access_type::FormatTsIndexedAccessType::default(), ) } } @@ -7567,7 +7523,10 @@ impl AsFormat for biome_js_syntax::TsMappedType { crate::ts::types::mapped_type::FormatTsMappedType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::mapped_type::FormatTsMappedType) + FormatRefWithRule::new( + self, + crate::ts::types::mapped_type::FormatTsMappedType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsMappedType { @@ -7576,7 +7535,10 @@ impl IntoFormat for biome_js_syntax::TsMappedType { crate::ts::types::mapped_type::FormatTsMappedType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::mapped_type::FormatTsMappedType) + FormatOwnedWithRule::new( + self, + crate::ts::types::mapped_type::FormatTsMappedType::default(), + ) } } impl FormatRule @@ -7595,7 +7557,10 @@ impl AsFormat for biome_js_syntax::TsObjectType { crate::ts::types::object_type::FormatTsObjectType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::object_type::FormatTsObjectType) + FormatRefWithRule::new( + self, + crate::ts::types::object_type::FormatTsObjectType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsObjectType { @@ -7604,7 +7569,10 @@ impl IntoFormat for biome_js_syntax::TsObjectType { crate::ts::types::object_type::FormatTsObjectType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::object_type::FormatTsObjectType) + FormatOwnedWithRule::new( + self, + crate::ts::types::object_type::FormatTsObjectType::default(), + ) } } impl FormatRule @@ -7629,7 +7597,7 @@ impl AsFormat for biome_js_syntax::TsNonPrimitiveType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::non_primitive_type::FormatTsNonPrimitiveType, + crate::ts::types::non_primitive_type::FormatTsNonPrimitiveType::default(), ) } } @@ -7641,7 +7609,7 @@ impl IntoFormat for biome_js_syntax::TsNonPrimitiveType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::non_primitive_type::FormatTsNonPrimitiveType, + crate::ts::types::non_primitive_type::FormatTsNonPrimitiveType::default(), ) } } @@ -7659,7 +7627,10 @@ impl AsFormat for biome_js_syntax::TsThisType { crate::ts::types::this_type::FormatTsThisType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::this_type::FormatTsThisType) + FormatRefWithRule::new( + self, + crate::ts::types::this_type::FormatTsThisType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsThisType { @@ -7668,7 +7639,10 @@ impl IntoFormat for biome_js_syntax::TsThisType { crate::ts::types::this_type::FormatTsThisType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::this_type::FormatTsThisType) + FormatOwnedWithRule::new( + self, + crate::ts::types::this_type::FormatTsThisType::default(), + ) } } impl FormatRule @@ -7693,7 +7667,7 @@ impl AsFormat for biome_js_syntax::TsNumberLiteralType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::number_literal_type::FormatTsNumberLiteralType, + crate::ts::types::number_literal_type::FormatTsNumberLiteralType::default(), ) } } @@ -7705,7 +7679,7 @@ impl IntoFormat for biome_js_syntax::TsNumberLiteralType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::number_literal_type::FormatTsNumberLiteralType, + crate::ts::types::number_literal_type::FormatTsNumberLiteralType::default(), ) } } @@ -7731,7 +7705,7 @@ impl AsFormat for biome_js_syntax::TsBigintLiteralType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::bigint_literal_type::FormatTsBigintLiteralType, + crate::ts::types::bigint_literal_type::FormatTsBigintLiteralType::default(), ) } } @@ -7743,7 +7717,7 @@ impl IntoFormat for biome_js_syntax::TsBigintLiteralType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::bigint_literal_type::FormatTsBigintLiteralType, + crate::ts::types::bigint_literal_type::FormatTsBigintLiteralType::default(), ) } } @@ -7769,7 +7743,7 @@ impl AsFormat for biome_js_syntax::TsStringLiteralType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::string_literal_type::FormatTsStringLiteralType, + crate::ts::types::string_literal_type::FormatTsStringLiteralType::default(), ) } } @@ -7781,7 +7755,7 @@ impl IntoFormat for biome_js_syntax::TsStringLiteralType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::string_literal_type::FormatTsStringLiteralType, + crate::ts::types::string_literal_type::FormatTsStringLiteralType::default(), ) } } @@ -7807,7 +7781,7 @@ impl AsFormat for biome_js_syntax::TsNullLiteralType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::null_literal_type::FormatTsNullLiteralType, + crate::ts::types::null_literal_type::FormatTsNullLiteralType::default(), ) } } @@ -7819,7 +7793,7 @@ impl IntoFormat for biome_js_syntax::TsNullLiteralType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::null_literal_type::FormatTsNullLiteralType, + crate::ts::types::null_literal_type::FormatTsNullLiteralType::default(), ) } } @@ -7845,7 +7819,7 @@ impl AsFormat for biome_js_syntax::TsBooleanLiteralType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::boolean_literal_type::FormatTsBooleanLiteralType, + crate::ts::types::boolean_literal_type::FormatTsBooleanLiteralType::default(), ) } } @@ -7857,7 +7831,7 @@ impl IntoFormat for biome_js_syntax::TsBooleanLiteralType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::boolean_literal_type::FormatTsBooleanLiteralType, + crate::ts::types::boolean_literal_type::FormatTsBooleanLiteralType::default(), ) } } @@ -7883,7 +7857,7 @@ impl AsFormat for biome_js_syntax::TsTemplateLiteralType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::template_literal_type::FormatTsTemplateLiteralType, + crate::ts::types::template_literal_type::FormatTsTemplateLiteralType::default(), ) } } @@ -7895,7 +7869,7 @@ impl IntoFormat for biome_js_syntax::TsTemplateLiteralType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::template_literal_type::FormatTsTemplateLiteralType, + crate::ts::types::template_literal_type::FormatTsTemplateLiteralType::default(), ) } } @@ -7913,7 +7887,10 @@ impl AsFormat for biome_js_syntax::TsInferType { crate::ts::types::infer_type::FormatTsInferType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::infer_type::FormatTsInferType) + FormatRefWithRule::new( + self, + crate::ts::types::infer_type::FormatTsInferType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsInferType { @@ -7922,7 +7899,10 @@ impl IntoFormat for biome_js_syntax::TsInferType { crate::ts::types::infer_type::FormatTsInferType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::infer_type::FormatTsInferType) + FormatOwnedWithRule::new( + self, + crate::ts::types::infer_type::FormatTsInferType::default(), + ) } } impl FormatRule @@ -7947,7 +7927,7 @@ impl AsFormat for biome_js_syntax::TsIntersectionType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::intersection_type::FormatTsIntersectionType, + crate::ts::types::intersection_type::FormatTsIntersectionType::default(), ) } } @@ -7959,7 +7939,7 @@ impl IntoFormat for biome_js_syntax::TsIntersectionType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::intersection_type::FormatTsIntersectionType, + crate::ts::types::intersection_type::FormatTsIntersectionType::default(), ) } } @@ -7977,7 +7957,10 @@ impl AsFormat for biome_js_syntax::TsUnionType { crate::ts::types::union_type::FormatTsUnionType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::union_type::FormatTsUnionType) + FormatRefWithRule::new( + self, + crate::ts::types::union_type::FormatTsUnionType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsUnionType { @@ -7986,7 +7969,10 @@ impl IntoFormat for biome_js_syntax::TsUnionType { crate::ts::types::union_type::FormatTsUnionType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::union_type::FormatTsUnionType) + FormatOwnedWithRule::new( + self, + crate::ts::types::union_type::FormatTsUnionType::default(), + ) } } impl FormatRule @@ -8005,7 +7991,10 @@ impl AsFormat for biome_js_syntax::TsFunctionType { crate::ts::types::function_type::FormatTsFunctionType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::types::function_type::FormatTsFunctionType) + FormatRefWithRule::new( + self, + crate::ts::types::function_type::FormatTsFunctionType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsFunctionType { @@ -8014,7 +8003,10 @@ impl IntoFormat for biome_js_syntax::TsFunctionType { crate::ts::types::function_type::FormatTsFunctionType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::types::function_type::FormatTsFunctionType) + FormatOwnedWithRule::new( + self, + crate::ts::types::function_type::FormatTsFunctionType::default(), + ) } } impl FormatRule @@ -8039,7 +8031,7 @@ impl AsFormat for biome_js_syntax::TsConstructorType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::constructor_type::FormatTsConstructorType, + crate::ts::types::constructor_type::FormatTsConstructorType::default(), ) } } @@ -8051,7 +8043,7 @@ impl IntoFormat for biome_js_syntax::TsConstructorType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::constructor_type::FormatTsConstructorType, + crate::ts::types::constructor_type::FormatTsConstructorType::default(), ) } } @@ -8077,7 +8069,7 @@ impl AsFormat for biome_js_syntax::TsConditionalType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::conditional_type::FormatTsConditionalType, + crate::ts::types::conditional_type::FormatTsConditionalType::default(), ) } } @@ -8089,7 +8081,7 @@ impl IntoFormat for biome_js_syntax::TsConditionalType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::conditional_type::FormatTsConditionalType, + crate::ts::types::conditional_type::FormatTsConditionalType::default(), ) } } @@ -8115,7 +8107,7 @@ impl AsFormat for biome_js_syntax::TsIdentifierBinding { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::bindings::identifier_binding::FormatTsIdentifierBinding, + crate::ts::bindings::identifier_binding::FormatTsIdentifierBinding::default(), ) } } @@ -8127,7 +8119,7 @@ impl IntoFormat for biome_js_syntax::TsIdentifierBinding { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::bindings::identifier_binding::FormatTsIdentifierBinding, + crate::ts::bindings::identifier_binding::FormatTsIdentifierBinding::default(), ) } } @@ -8147,7 +8139,10 @@ impl AsFormat for biome_js_syntax::TsEnumMember { crate::ts::auxiliary::enum_member::FormatTsEnumMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::auxiliary::enum_member::FormatTsEnumMember) + FormatRefWithRule::new( + self, + crate::ts::auxiliary::enum_member::FormatTsEnumMember::default(), + ) } } impl IntoFormat for biome_js_syntax::TsEnumMember { @@ -8156,7 +8151,10 @@ impl IntoFormat for biome_js_syntax::TsEnumMember { crate::ts::auxiliary::enum_member::FormatTsEnumMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::auxiliary::enum_member::FormatTsEnumMember) + FormatOwnedWithRule::new( + self, + crate::ts::auxiliary::enum_member::FormatTsEnumMember::default(), + ) } } impl FormatRule @@ -8179,10 +8177,7 @@ impl AsFormat for biome_js_syntax::TsExternalModuleReference { crate::ts::auxiliary::external_module_reference::FormatTsExternalModuleReference, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::external_module_reference::FormatTsExternalModuleReference, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: external_module_reference :: FormatTsExternalModuleReference :: default ()) } } impl IntoFormat for biome_js_syntax::TsExternalModuleReference { @@ -8191,10 +8186,7 @@ impl IntoFormat for biome_js_syntax::TsExternalModuleReference crate::ts::auxiliary::external_module_reference::FormatTsExternalModuleReference, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::external_module_reference::FormatTsExternalModuleReference, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: external_module_reference :: FormatTsExternalModuleReference :: default ()) } } impl FormatRule @@ -8215,7 +8207,7 @@ impl AsFormat for biome_js_syntax::TsModuleBlock { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::module_block::FormatTsModuleBlock, + crate::ts::auxiliary::module_block::FormatTsModuleBlock::default(), ) } } @@ -8227,7 +8219,7 @@ impl IntoFormat for biome_js_syntax::TsModuleBlock { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::module_block::FormatTsModuleBlock, + crate::ts::auxiliary::module_block::FormatTsModuleBlock::default(), ) } } @@ -8253,7 +8245,7 @@ impl AsFormat for biome_js_syntax::TsQualifiedModuleName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::qualified_module_name::FormatTsQualifiedModuleName, + crate::ts::auxiliary::qualified_module_name::FormatTsQualifiedModuleName::default(), ) } } @@ -8265,7 +8257,7 @@ impl IntoFormat for biome_js_syntax::TsQualifiedModuleName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::qualified_module_name::FormatTsQualifiedModuleName, + crate::ts::auxiliary::qualified_module_name::FormatTsQualifiedModuleName::default(), ) } } @@ -8273,13 +8265,13 @@ impl FormatRule < biome_js_syntax :: TsEmptyExternalModuleDeclarationBody > for impl AsFormat for biome_js_syntax::TsEmptyExternalModuleDeclarationBody { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: TsEmptyExternalModuleDeclarationBody , crate :: ts :: auxiliary :: empty_external_module_declaration_body :: FormatTsEmptyExternalModuleDeclarationBody > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: empty_external_module_declaration_body :: FormatTsEmptyExternalModuleDeclarationBody) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: empty_external_module_declaration_body :: FormatTsEmptyExternalModuleDeclarationBody :: default ()) } } impl IntoFormat for biome_js_syntax::TsEmptyExternalModuleDeclarationBody { type Format = FormatOwnedWithRule < biome_js_syntax :: TsEmptyExternalModuleDeclarationBody , crate :: ts :: auxiliary :: empty_external_module_declaration_body :: FormatTsEmptyExternalModuleDeclarationBody > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: empty_external_module_declaration_body :: FormatTsEmptyExternalModuleDeclarationBody) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: empty_external_module_declaration_body :: FormatTsEmptyExternalModuleDeclarationBody :: default ()) } } impl FormatRule @@ -8304,7 +8296,7 @@ impl AsFormat for biome_js_syntax::TsTypeParameterName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::type_parameter_name::FormatTsTypeParameterName, + crate::ts::auxiliary::type_parameter_name::FormatTsTypeParameterName::default(), ) } } @@ -8316,7 +8308,7 @@ impl IntoFormat for biome_js_syntax::TsTypeParameterName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::type_parameter_name::FormatTsTypeParameterName, + crate::ts::auxiliary::type_parameter_name::FormatTsTypeParameterName::default(), ) } } @@ -8342,7 +8334,7 @@ impl AsFormat for biome_js_syntax::TsTypeConstraintClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::type_constraint_clause::FormatTsTypeConstraintClause, + crate::ts::auxiliary::type_constraint_clause::FormatTsTypeConstraintClause::default(), ) } } @@ -8354,7 +8346,7 @@ impl IntoFormat for biome_js_syntax::TsTypeConstraintClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::type_constraint_clause::FormatTsTypeConstraintClause, + crate::ts::auxiliary::type_constraint_clause::FormatTsTypeConstraintClause::default(), ) } } @@ -8380,7 +8372,7 @@ impl AsFormat for biome_js_syntax::TsPredicateReturnType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::predicate_return_type::FormatTsPredicateReturnType, + crate::ts::types::predicate_return_type::FormatTsPredicateReturnType::default(), ) } } @@ -8392,7 +8384,7 @@ impl IntoFormat for biome_js_syntax::TsPredicateReturnType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::predicate_return_type::FormatTsPredicateReturnType, + crate::ts::types::predicate_return_type::FormatTsPredicateReturnType::default(), ) } } @@ -8418,7 +8410,7 @@ impl AsFormat for biome_js_syntax::TsAssertsReturnType { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::types::asserts_return_type::FormatTsAssertsReturnType, + crate::ts::types::asserts_return_type::FormatTsAssertsReturnType::default(), ) } } @@ -8430,7 +8422,7 @@ impl IntoFormat for biome_js_syntax::TsAssertsReturnType { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::types::asserts_return_type::FormatTsAssertsReturnType, + crate::ts::types::asserts_return_type::FormatTsAssertsReturnType::default(), ) } } @@ -8456,7 +8448,7 @@ impl AsFormat for biome_js_syntax::TsAssertsCondition { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::asserts_condition::FormatTsAssertsCondition, + crate::ts::auxiliary::asserts_condition::FormatTsAssertsCondition::default(), ) } } @@ -8468,7 +8460,7 @@ impl IntoFormat for biome_js_syntax::TsAssertsCondition { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::asserts_condition::FormatTsAssertsCondition, + crate::ts::auxiliary::asserts_condition::FormatTsAssertsCondition::default(), ) } } @@ -8494,7 +8486,7 @@ impl AsFormat for biome_js_syntax::TsTypeParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::bindings::type_parameter::FormatTsTypeParameter, + crate::ts::bindings::type_parameter::FormatTsTypeParameter::default(), ) } } @@ -8506,7 +8498,7 @@ impl IntoFormat for biome_js_syntax::TsTypeParameter { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::bindings::type_parameter::FormatTsTypeParameter, + crate::ts::bindings::type_parameter::FormatTsTypeParameter::default(), ) } } @@ -8532,7 +8524,7 @@ impl AsFormat for biome_js_syntax::TsDefaultTypeClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::default_type_clause::FormatTsDefaultTypeClause, + crate::ts::auxiliary::default_type_clause::FormatTsDefaultTypeClause::default(), ) } } @@ -8544,7 +8536,7 @@ impl IntoFormat for biome_js_syntax::TsDefaultTypeClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::default_type_clause::FormatTsDefaultTypeClause, + crate::ts::auxiliary::default_type_clause::FormatTsDefaultTypeClause::default(), ) } } @@ -8570,7 +8562,7 @@ impl AsFormat for biome_js_syntax::TsExtendsClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::classes::extends_clause::FormatTsExtendsClause, + crate::ts::classes::extends_clause::FormatTsExtendsClause::default(), ) } } @@ -8582,7 +8574,7 @@ impl IntoFormat for biome_js_syntax::TsExtendsClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::classes::extends_clause::FormatTsExtendsClause, + crate::ts::classes::extends_clause::FormatTsExtendsClause::default(), ) } } @@ -8606,10 +8598,7 @@ impl AsFormat for biome_js_syntax::TsNameWithTypeArguments { crate::ts::expressions::name_with_type_arguments::FormatTsNameWithTypeArguments, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::expressions::name_with_type_arguments::FormatTsNameWithTypeArguments, - ) + FormatRefWithRule :: new (self , crate :: ts :: expressions :: name_with_type_arguments :: FormatTsNameWithTypeArguments :: default ()) } } impl IntoFormat for biome_js_syntax::TsNameWithTypeArguments { @@ -8618,10 +8607,7 @@ impl IntoFormat for biome_js_syntax::TsNameWithTypeArguments { crate::ts::expressions::name_with_type_arguments::FormatTsNameWithTypeArguments, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::expressions::name_with_type_arguments::FormatTsNameWithTypeArguments, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: expressions :: name_with_type_arguments :: FormatTsNameWithTypeArguments :: default ()) } } impl FormatRule @@ -8644,10 +8630,7 @@ impl AsFormat for biome_js_syntax::TsCallSignatureTypeMember { crate::ts::auxiliary::call_signature_type_member::FormatTsCallSignatureTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::call_signature_type_member::FormatTsCallSignatureTypeMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: call_signature_type_member :: FormatTsCallSignatureTypeMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsCallSignatureTypeMember { @@ -8656,10 +8639,7 @@ impl IntoFormat for biome_js_syntax::TsCallSignatureTypeMember crate::ts::auxiliary::call_signature_type_member::FormatTsCallSignatureTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::call_signature_type_member::FormatTsCallSignatureTypeMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: call_signature_type_member :: FormatTsCallSignatureTypeMember :: default ()) } } impl FormatRule @@ -8682,7 +8662,7 @@ impl AsFormat for biome_js_syntax::TsPropertySignatureTypeMembe crate::ts::auxiliary::property_signature_type_member::FormatTsPropertySignatureTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: property_signature_type_member :: FormatTsPropertySignatureTypeMember) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: property_signature_type_member :: FormatTsPropertySignatureTypeMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsPropertySignatureTypeMember { @@ -8691,7 +8671,7 @@ impl IntoFormat for biome_js_syntax::TsPropertySignatureTypeMem crate::ts::auxiliary::property_signature_type_member::FormatTsPropertySignatureTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: property_signature_type_member :: FormatTsPropertySignatureTypeMember) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: property_signature_type_member :: FormatTsPropertySignatureTypeMember :: default ()) } } impl FormatRule @@ -8714,7 +8694,7 @@ impl AsFormat for biome_js_syntax::TsConstructSignatureTypeMemb crate::ts::auxiliary::construct_signature_type_member::FormatTsConstructSignatureTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: construct_signature_type_member :: FormatTsConstructSignatureTypeMember) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: construct_signature_type_member :: FormatTsConstructSignatureTypeMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsConstructSignatureTypeMember { @@ -8723,7 +8703,7 @@ impl IntoFormat for biome_js_syntax::TsConstructSignatureTypeMe crate::ts::auxiliary::construct_signature_type_member::FormatTsConstructSignatureTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: construct_signature_type_member :: FormatTsConstructSignatureTypeMember) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: construct_signature_type_member :: FormatTsConstructSignatureTypeMember :: default ()) } } impl FormatRule @@ -8746,10 +8726,7 @@ impl AsFormat for biome_js_syntax::TsMethodSignatureTypeMember crate::ts::auxiliary::method_signature_type_member::FormatTsMethodSignatureTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::method_signature_type_member::FormatTsMethodSignatureTypeMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: method_signature_type_member :: FormatTsMethodSignatureTypeMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsMethodSignatureTypeMember { @@ -8758,10 +8735,7 @@ impl IntoFormat for biome_js_syntax::TsMethodSignatureTypeMembe crate::ts::auxiliary::method_signature_type_member::FormatTsMethodSignatureTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::method_signature_type_member::FormatTsMethodSignatureTypeMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: method_signature_type_member :: FormatTsMethodSignatureTypeMember :: default ()) } } impl FormatRule @@ -8784,10 +8758,7 @@ impl AsFormat for biome_js_syntax::TsGetterSignatureTypeMember crate::ts::auxiliary::getter_signature_type_member::FormatTsGetterSignatureTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::getter_signature_type_member::FormatTsGetterSignatureTypeMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: getter_signature_type_member :: FormatTsGetterSignatureTypeMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsGetterSignatureTypeMember { @@ -8796,10 +8767,7 @@ impl IntoFormat for biome_js_syntax::TsGetterSignatureTypeMembe crate::ts::auxiliary::getter_signature_type_member::FormatTsGetterSignatureTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::getter_signature_type_member::FormatTsGetterSignatureTypeMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: getter_signature_type_member :: FormatTsGetterSignatureTypeMember :: default ()) } } impl FormatRule @@ -8822,10 +8790,7 @@ impl AsFormat for biome_js_syntax::TsSetterSignatureTypeMember crate::ts::auxiliary::setter_signature_type_member::FormatTsSetterSignatureTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::setter_signature_type_member::FormatTsSetterSignatureTypeMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: setter_signature_type_member :: FormatTsSetterSignatureTypeMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsSetterSignatureTypeMember { @@ -8834,10 +8799,7 @@ impl IntoFormat for biome_js_syntax::TsSetterSignatureTypeMembe crate::ts::auxiliary::setter_signature_type_member::FormatTsSetterSignatureTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::setter_signature_type_member::FormatTsSetterSignatureTypeMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: setter_signature_type_member :: FormatTsSetterSignatureTypeMember :: default ()) } } impl FormatRule @@ -8860,10 +8822,7 @@ impl AsFormat for biome_js_syntax::TsIndexSignatureTypeMember { crate::ts::auxiliary::index_signature_type_member::FormatTsIndexSignatureTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::index_signature_type_member::FormatTsIndexSignatureTypeMember, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: index_signature_type_member :: FormatTsIndexSignatureTypeMember :: default ()) } } impl IntoFormat for biome_js_syntax::TsIndexSignatureTypeMember { @@ -8872,23 +8831,20 @@ impl IntoFormat for biome_js_syntax::TsIndexSignatureTypeMember crate::ts::auxiliary::index_signature_type_member::FormatTsIndexSignatureTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::index_signature_type_member::FormatTsIndexSignatureTypeMember, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: index_signature_type_member :: FormatTsIndexSignatureTypeMember :: default ()) } } impl FormatRule < biome_js_syntax :: TsMappedTypeReadonlyModifierClause > for crate :: ts :: auxiliary :: mapped_type_readonly_modifier_clause :: FormatTsMappedTypeReadonlyModifierClause { type Context = JsFormatContext ; # [inline (always)] fn fmt (& self , node : & biome_js_syntax :: TsMappedTypeReadonlyModifierClause , f : & mut JsFormatter) -> FormatResult < () > { FormatNodeRule :: < biome_js_syntax :: TsMappedTypeReadonlyModifierClause > :: fmt (self , node , f) } } impl AsFormat for biome_js_syntax::TsMappedTypeReadonlyModifierClause { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: TsMappedTypeReadonlyModifierClause , crate :: ts :: auxiliary :: mapped_type_readonly_modifier_clause :: FormatTsMappedTypeReadonlyModifierClause > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_readonly_modifier_clause :: FormatTsMappedTypeReadonlyModifierClause) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_readonly_modifier_clause :: FormatTsMappedTypeReadonlyModifierClause :: default ()) } } impl IntoFormat for biome_js_syntax::TsMappedTypeReadonlyModifierClause { type Format = FormatOwnedWithRule < biome_js_syntax :: TsMappedTypeReadonlyModifierClause , crate :: ts :: auxiliary :: mapped_type_readonly_modifier_clause :: FormatTsMappedTypeReadonlyModifierClause > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_readonly_modifier_clause :: FormatTsMappedTypeReadonlyModifierClause) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_readonly_modifier_clause :: FormatTsMappedTypeReadonlyModifierClause :: default ()) } } impl FormatRule @@ -8913,7 +8869,7 @@ impl AsFormat for biome_js_syntax::TsMappedTypeAsClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::mapped_type_as_clause::FormatTsMappedTypeAsClause, + crate::ts::auxiliary::mapped_type_as_clause::FormatTsMappedTypeAsClause::default(), ) } } @@ -8925,7 +8881,7 @@ impl IntoFormat for biome_js_syntax::TsMappedTypeAsClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::mapped_type_as_clause::FormatTsMappedTypeAsClause, + crate::ts::auxiliary::mapped_type_as_clause::FormatTsMappedTypeAsClause::default(), ) } } @@ -8933,13 +8889,13 @@ impl FormatRule < biome_js_syntax :: TsMappedTypeOptionalModifierClause > for cr impl AsFormat for biome_js_syntax::TsMappedTypeOptionalModifierClause { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: TsMappedTypeOptionalModifierClause , crate :: ts :: auxiliary :: mapped_type_optional_modifier_clause :: FormatTsMappedTypeOptionalModifierClause > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_optional_modifier_clause :: FormatTsMappedTypeOptionalModifierClause) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_optional_modifier_clause :: FormatTsMappedTypeOptionalModifierClause :: default ()) } } impl IntoFormat for biome_js_syntax::TsMappedTypeOptionalModifierClause { type Format = FormatOwnedWithRule < biome_js_syntax :: TsMappedTypeOptionalModifierClause , crate :: ts :: auxiliary :: mapped_type_optional_modifier_clause :: FormatTsMappedTypeOptionalModifierClause > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_optional_modifier_clause :: FormatTsMappedTypeOptionalModifierClause) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: mapped_type_optional_modifier_clause :: FormatTsMappedTypeOptionalModifierClause :: default ()) } } impl FormatRule @@ -8964,7 +8920,7 @@ impl AsFormat for biome_js_syntax::TsImportTypeQualifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::module::import_type_qualifier::FormatTsImportTypeQualifier, + crate::ts::module::import_type_qualifier::FormatTsImportTypeQualifier::default(), ) } } @@ -8976,7 +8932,7 @@ impl IntoFormat for biome_js_syntax::TsImportTypeQualifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::module::import_type_qualifier::FormatTsImportTypeQualifier, + crate::ts::module::import_type_qualifier::FormatTsImportTypeQualifier::default(), ) } } @@ -9002,7 +8958,8 @@ impl AsFormat for biome_js_syntax::TsNamedTupleTypeElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::named_tuple_type_element::FormatTsNamedTupleTypeElement, + crate::ts::auxiliary::named_tuple_type_element::FormatTsNamedTupleTypeElement::default( + ), ) } } @@ -9014,7 +8971,8 @@ impl IntoFormat for biome_js_syntax::TsNamedTupleTypeElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::named_tuple_type_element::FormatTsNamedTupleTypeElement, + crate::ts::auxiliary::named_tuple_type_element::FormatTsNamedTupleTypeElement::default( + ), ) } } @@ -9040,7 +8998,7 @@ impl AsFormat for biome_js_syntax::TsRestTupleTypeElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::rest_tuple_type_element::FormatTsRestTupleTypeElement, + crate::ts::auxiliary::rest_tuple_type_element::FormatTsRestTupleTypeElement::default(), ) } } @@ -9052,7 +9010,7 @@ impl IntoFormat for biome_js_syntax::TsRestTupleTypeElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::rest_tuple_type_element::FormatTsRestTupleTypeElement, + crate::ts::auxiliary::rest_tuple_type_element::FormatTsRestTupleTypeElement::default(), ) } } @@ -9076,10 +9034,7 @@ impl AsFormat for biome_js_syntax::TsOptionalTupleTypeElement { crate::ts::auxiliary::optional_tuple_type_element::FormatTsOptionalTupleTypeElement, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::auxiliary::optional_tuple_type_element::FormatTsOptionalTupleTypeElement, - ) + FormatRefWithRule :: new (self , crate :: ts :: auxiliary :: optional_tuple_type_element :: FormatTsOptionalTupleTypeElement :: default ()) } } impl IntoFormat for biome_js_syntax::TsOptionalTupleTypeElement { @@ -9088,10 +9043,7 @@ impl IntoFormat for biome_js_syntax::TsOptionalTupleTypeElement crate::ts::auxiliary::optional_tuple_type_element::FormatTsOptionalTupleTypeElement, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::auxiliary::optional_tuple_type_element::FormatTsOptionalTupleTypeElement, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: auxiliary :: optional_tuple_type_element :: FormatTsOptionalTupleTypeElement :: default ()) } } impl FormatRule @@ -9116,7 +9068,7 @@ impl AsFormat for biome_js_syntax::TsTemplateChunkElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::template_chunk_element::FormatTsTemplateChunkElement, + crate::ts::auxiliary::template_chunk_element::FormatTsTemplateChunkElement::default(), ) } } @@ -9128,7 +9080,7 @@ impl IntoFormat for biome_js_syntax::TsTemplateChunkElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::template_chunk_element::FormatTsTemplateChunkElement, + crate::ts::auxiliary::template_chunk_element::FormatTsTemplateChunkElement::default(), ) } } @@ -9192,7 +9144,7 @@ impl AsFormat for biome_js_syntax::TsQualifiedName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::auxiliary::qualified_name::FormatTsQualifiedName, + crate::ts::auxiliary::qualified_name::FormatTsQualifiedName::default(), ) } } @@ -9204,7 +9156,7 @@ impl IntoFormat for biome_js_syntax::TsQualifiedName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::auxiliary::qualified_name::FormatTsQualifiedName, + crate::ts::auxiliary::qualified_name::FormatTsQualifiedName::default(), ) } } @@ -9222,7 +9174,7 @@ impl AsFormat for biome_js_syntax::JsxElement { crate::jsx::tag::element::FormatJsxElement, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::tag::element::FormatJsxElement) + FormatRefWithRule::new(self, crate::jsx::tag::element::FormatJsxElement::default()) } } impl IntoFormat for biome_js_syntax::JsxElement { @@ -9231,7 +9183,7 @@ impl IntoFormat for biome_js_syntax::JsxElement { crate::jsx::tag::element::FormatJsxElement, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::tag::element::FormatJsxElement) + FormatOwnedWithRule::new(self, crate::jsx::tag::element::FormatJsxElement::default()) } } impl FormatRule @@ -9256,7 +9208,7 @@ impl AsFormat for biome_js_syntax::JsxSelfClosingElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::tag::self_closing_element::FormatJsxSelfClosingElement, + crate::jsx::tag::self_closing_element::FormatJsxSelfClosingElement::default(), ) } } @@ -9268,7 +9220,7 @@ impl IntoFormat for biome_js_syntax::JsxSelfClosingElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::tag::self_closing_element::FormatJsxSelfClosingElement, + crate::jsx::tag::self_closing_element::FormatJsxSelfClosingElement::default(), ) } } @@ -9286,7 +9238,10 @@ impl AsFormat for biome_js_syntax::JsxFragment { crate::jsx::tag::fragment::FormatJsxFragment, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::tag::fragment::FormatJsxFragment) + FormatRefWithRule::new( + self, + crate::jsx::tag::fragment::FormatJsxFragment::default(), + ) } } impl IntoFormat for biome_js_syntax::JsxFragment { @@ -9295,7 +9250,10 @@ impl IntoFormat for biome_js_syntax::JsxFragment { crate::jsx::tag::fragment::FormatJsxFragment, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::tag::fragment::FormatJsxFragment) + FormatOwnedWithRule::new( + self, + crate::jsx::tag::fragment::FormatJsxFragment::default(), + ) } } impl FormatRule @@ -9320,7 +9278,7 @@ impl AsFormat for biome_js_syntax::JsxOpeningElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::tag::opening_element::FormatJsxOpeningElement, + crate::jsx::tag::opening_element::FormatJsxOpeningElement::default(), ) } } @@ -9332,7 +9290,7 @@ impl IntoFormat for biome_js_syntax::JsxOpeningElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::tag::opening_element::FormatJsxOpeningElement, + crate::jsx::tag::opening_element::FormatJsxOpeningElement::default(), ) } } @@ -9358,7 +9316,7 @@ impl AsFormat for biome_js_syntax::JsxClosingElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::tag::closing_element::FormatJsxClosingElement, + crate::jsx::tag::closing_element::FormatJsxClosingElement::default(), ) } } @@ -9370,7 +9328,7 @@ impl IntoFormat for biome_js_syntax::JsxClosingElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::tag::closing_element::FormatJsxClosingElement, + crate::jsx::tag::closing_element::FormatJsxClosingElement::default(), ) } } @@ -9396,7 +9354,7 @@ impl AsFormat for biome_js_syntax::JsxOpeningFragment { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::tag::opening_fragment::FormatJsxOpeningFragment, + crate::jsx::tag::opening_fragment::FormatJsxOpeningFragment::default(), ) } } @@ -9408,7 +9366,7 @@ impl IntoFormat for biome_js_syntax::JsxOpeningFragment { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::tag::opening_fragment::FormatJsxOpeningFragment, + crate::jsx::tag::opening_fragment::FormatJsxOpeningFragment::default(), ) } } @@ -9434,7 +9392,7 @@ impl AsFormat for biome_js_syntax::JsxClosingFragment { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::tag::closing_fragment::FormatJsxClosingFragment, + crate::jsx::tag::closing_fragment::FormatJsxClosingFragment::default(), ) } } @@ -9446,7 +9404,7 @@ impl IntoFormat for biome_js_syntax::JsxClosingFragment { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::tag::closing_fragment::FormatJsxClosingFragment, + crate::jsx::tag::closing_fragment::FormatJsxClosingFragment::default(), ) } } @@ -9461,14 +9419,14 @@ impl AsFormat for biome_js_syntax::JsxName { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::JsxName, crate::jsx::auxiliary::name::FormatJsxName>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::auxiliary::name::FormatJsxName) + FormatRefWithRule::new(self, crate::jsx::auxiliary::name::FormatJsxName::default()) } } impl IntoFormat for biome_js_syntax::JsxName { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::auxiliary::name::FormatJsxName) + FormatOwnedWithRule::new(self, crate::jsx::auxiliary::name::FormatJsxName::default()) } } impl FormatRule @@ -9493,7 +9451,7 @@ impl AsFormat for biome_js_syntax::JsxReferenceIdentifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::auxiliary::reference_identifier::FormatJsxReferenceIdentifier, + crate::jsx::auxiliary::reference_identifier::FormatJsxReferenceIdentifier::default(), ) } } @@ -9505,7 +9463,7 @@ impl IntoFormat for biome_js_syntax::JsxReferenceIdentifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::auxiliary::reference_identifier::FormatJsxReferenceIdentifier, + crate::jsx::auxiliary::reference_identifier::FormatJsxReferenceIdentifier::default(), ) } } @@ -9531,7 +9489,7 @@ impl AsFormat for biome_js_syntax::JsxNamespaceName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::auxiliary::namespace_name::FormatJsxNamespaceName, + crate::jsx::auxiliary::namespace_name::FormatJsxNamespaceName::default(), ) } } @@ -9543,7 +9501,7 @@ impl IntoFormat for biome_js_syntax::JsxNamespaceName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::auxiliary::namespace_name::FormatJsxNamespaceName, + crate::jsx::auxiliary::namespace_name::FormatJsxNamespaceName::default(), ) } } @@ -9563,7 +9521,10 @@ impl AsFormat for biome_js_syntax::JsxMemberName { crate::jsx::objects::member_name::FormatJsxMemberName, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::objects::member_name::FormatJsxMemberName) + FormatRefWithRule::new( + self, + crate::jsx::objects::member_name::FormatJsxMemberName::default(), + ) } } impl IntoFormat for biome_js_syntax::JsxMemberName { @@ -9572,7 +9533,10 @@ impl IntoFormat for biome_js_syntax::JsxMemberName { crate::jsx::objects::member_name::FormatJsxMemberName, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::objects::member_name::FormatJsxMemberName) + FormatOwnedWithRule::new( + self, + crate::jsx::objects::member_name::FormatJsxMemberName::default(), + ) } } impl FormatRule @@ -9591,7 +9555,10 @@ impl AsFormat for biome_js_syntax::JsxAttribute { crate::jsx::attribute::attribute::FormatJsxAttribute, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::attribute::attribute::FormatJsxAttribute) + FormatRefWithRule::new( + self, + crate::jsx::attribute::attribute::FormatJsxAttribute::default(), + ) } } impl IntoFormat for biome_js_syntax::JsxAttribute { @@ -9600,7 +9567,10 @@ impl IntoFormat for biome_js_syntax::JsxAttribute { crate::jsx::attribute::attribute::FormatJsxAttribute, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::attribute::attribute::FormatJsxAttribute) + FormatOwnedWithRule::new( + self, + crate::jsx::attribute::attribute::FormatJsxAttribute::default(), + ) } } impl FormatRule @@ -9625,7 +9595,7 @@ impl AsFormat for biome_js_syntax::JsxSpreadAttribute { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::attribute::spread_attribute::FormatJsxSpreadAttribute, + crate::jsx::attribute::spread_attribute::FormatJsxSpreadAttribute::default(), ) } } @@ -9637,7 +9607,7 @@ impl IntoFormat for biome_js_syntax::JsxSpreadAttribute { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::attribute::spread_attribute::FormatJsxSpreadAttribute, + crate::jsx::attribute::spread_attribute::FormatJsxSpreadAttribute::default(), ) } } @@ -9661,7 +9631,7 @@ impl AsFormat for biome_js_syntax::JsxAttributeInitializerClaus crate::jsx::attribute::attribute_initializer_clause::FormatJsxAttributeInitializerClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: jsx :: attribute :: attribute_initializer_clause :: FormatJsxAttributeInitializerClause) + FormatRefWithRule :: new (self , crate :: jsx :: attribute :: attribute_initializer_clause :: FormatJsxAttributeInitializerClause :: default ()) } } impl IntoFormat for biome_js_syntax::JsxAttributeInitializerClause { @@ -9670,7 +9640,7 @@ impl IntoFormat for biome_js_syntax::JsxAttributeInitializerCla crate::jsx::attribute::attribute_initializer_clause::FormatJsxAttributeInitializerClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: jsx :: attribute :: attribute_initializer_clause :: FormatJsxAttributeInitializerClause) + FormatOwnedWithRule :: new (self , crate :: jsx :: attribute :: attribute_initializer_clause :: FormatJsxAttributeInitializerClause :: default ()) } } impl FormatRule for crate::jsx::auxiliary::string::FormatJsxString { @@ -9687,7 +9657,10 @@ impl AsFormat for biome_js_syntax::JsxString { crate::jsx::auxiliary::string::FormatJsxString, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::auxiliary::string::FormatJsxString) + FormatRefWithRule::new( + self, + crate::jsx::auxiliary::string::FormatJsxString::default(), + ) } } impl IntoFormat for biome_js_syntax::JsxString { @@ -9696,7 +9669,10 @@ impl IntoFormat for biome_js_syntax::JsxString { crate::jsx::auxiliary::string::FormatJsxString, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::auxiliary::string::FormatJsxString) + FormatOwnedWithRule::new( + self, + crate::jsx::auxiliary::string::FormatJsxString::default(), + ) } } impl FormatRule @@ -9719,10 +9695,7 @@ impl AsFormat for biome_js_syntax::JsxExpressionAttributeValue crate::jsx::attribute::expression_attribute_value::FormatJsxExpressionAttributeValue, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::jsx::attribute::expression_attribute_value::FormatJsxExpressionAttributeValue, - ) + FormatRefWithRule :: new (self , crate :: jsx :: attribute :: expression_attribute_value :: FormatJsxExpressionAttributeValue :: default ()) } } impl IntoFormat for biome_js_syntax::JsxExpressionAttributeValue { @@ -9731,10 +9704,7 @@ impl IntoFormat for biome_js_syntax::JsxExpressionAttributeValu crate::jsx::attribute::expression_attribute_value::FormatJsxExpressionAttributeValue, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::jsx::attribute::expression_attribute_value::FormatJsxExpressionAttributeValue, - ) + FormatOwnedWithRule :: new (self , crate :: jsx :: attribute :: expression_attribute_value :: FormatJsxExpressionAttributeValue :: default ()) } } impl FormatRule for crate::jsx::auxiliary::text::FormatJsxText { @@ -9748,14 +9718,14 @@ impl AsFormat for biome_js_syntax::JsxText { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::JsxText, crate::jsx::auxiliary::text::FormatJsxText>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::auxiliary::text::FormatJsxText) + FormatRefWithRule::new(self, crate::jsx::auxiliary::text::FormatJsxText::default()) } } impl IntoFormat for biome_js_syntax::JsxText { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::auxiliary::text::FormatJsxText) + FormatOwnedWithRule::new(self, crate::jsx::auxiliary::text::FormatJsxText::default()) } } impl FormatRule @@ -9780,7 +9750,7 @@ impl AsFormat for biome_js_syntax::JsxExpressionChild { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::auxiliary::expression_child::FormatJsxExpressionChild, + crate::jsx::auxiliary::expression_child::FormatJsxExpressionChild::default(), ) } } @@ -9792,7 +9762,7 @@ impl IntoFormat for biome_js_syntax::JsxExpressionChild { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::auxiliary::expression_child::FormatJsxExpressionChild, + crate::jsx::auxiliary::expression_child::FormatJsxExpressionChild::default(), ) } } @@ -9814,7 +9784,7 @@ impl AsFormat for biome_js_syntax::JsxSpreadChild { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::auxiliary::spread_child::FormatJsxSpreadChild, + crate::jsx::auxiliary::spread_child::FormatJsxSpreadChild::default(), ) } } @@ -9826,32 +9796,32 @@ impl IntoFormat for biome_js_syntax::JsxSpreadChild { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::auxiliary::spread_child::FormatJsxSpreadChild, + crate::jsx::auxiliary::spread_child::FormatJsxSpreadChild::default(), ) } } impl AsFormat for biome_js_syntax::JsArrayAssignmentPatternElementList { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsArrayAssignmentPatternElementList , crate :: js :: lists :: array_assignment_pattern_element_list :: FormatJsArrayAssignmentPatternElementList > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: lists :: array_assignment_pattern_element_list :: FormatJsArrayAssignmentPatternElementList) + FormatRefWithRule :: new (self , crate :: js :: lists :: array_assignment_pattern_element_list :: FormatJsArrayAssignmentPatternElementList :: default ()) } } impl IntoFormat for biome_js_syntax::JsArrayAssignmentPatternElementList { type Format = FormatOwnedWithRule < biome_js_syntax :: JsArrayAssignmentPatternElementList , crate :: js :: lists :: array_assignment_pattern_element_list :: FormatJsArrayAssignmentPatternElementList > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: lists :: array_assignment_pattern_element_list :: FormatJsArrayAssignmentPatternElementList) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: array_assignment_pattern_element_list :: FormatJsArrayAssignmentPatternElementList :: default ()) } } impl AsFormat for biome_js_syntax::JsArrayBindingPatternElementList { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsArrayBindingPatternElementList , crate :: js :: lists :: array_binding_pattern_element_list :: FormatJsArrayBindingPatternElementList > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: lists :: array_binding_pattern_element_list :: FormatJsArrayBindingPatternElementList) + FormatRefWithRule :: new (self , crate :: js :: lists :: array_binding_pattern_element_list :: FormatJsArrayBindingPatternElementList :: default ()) } } impl IntoFormat for biome_js_syntax::JsArrayBindingPatternElementList { type Format = FormatOwnedWithRule < biome_js_syntax :: JsArrayBindingPatternElementList , crate :: js :: lists :: array_binding_pattern_element_list :: FormatJsArrayBindingPatternElementList > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: lists :: array_binding_pattern_element_list :: FormatJsArrayBindingPatternElementList) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: array_binding_pattern_element_list :: FormatJsArrayBindingPatternElementList :: default ()) } } impl AsFormat for biome_js_syntax::JsArrayElementList { @@ -9888,7 +9858,7 @@ impl AsFormat for biome_js_syntax::JsCallArgumentList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::call_argument_list::FormatJsCallArgumentList, + crate::js::lists::call_argument_list::FormatJsCallArgumentList::default(), ) } } @@ -9900,7 +9870,7 @@ impl IntoFormat for biome_js_syntax::JsCallArgumentList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::call_argument_list::FormatJsCallArgumentList, + crate::js::lists::call_argument_list::FormatJsCallArgumentList::default(), ) } } @@ -9913,7 +9883,7 @@ impl AsFormat for biome_js_syntax::JsClassMemberList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::class_member_list::FormatJsClassMemberList, + crate::js::lists::class_member_list::FormatJsClassMemberList::default(), ) } } @@ -9925,7 +9895,7 @@ impl IntoFormat for biome_js_syntax::JsClassMemberList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::class_member_list::FormatJsClassMemberList, + crate::js::lists::class_member_list::FormatJsClassMemberList::default(), ) } } @@ -9938,7 +9908,7 @@ impl AsFormat for biome_js_syntax::JsConstructorModifierList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::constructor_modifier_list::FormatJsConstructorModifierList, + crate::js::lists::constructor_modifier_list::FormatJsConstructorModifierList::default(), ) } } @@ -9950,7 +9920,7 @@ impl IntoFormat for biome_js_syntax::JsConstructorModifierList fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::constructor_modifier_list::FormatJsConstructorModifierList, + crate::js::lists::constructor_modifier_list::FormatJsConstructorModifierList::default(), ) } } @@ -9963,7 +9933,8 @@ impl AsFormat for biome_js_syntax::JsConstructorParameterList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::constructor_parameter_list::FormatJsConstructorParameterList, + crate::js::lists::constructor_parameter_list::FormatJsConstructorParameterList::default( + ), ) } } @@ -9975,7 +9946,8 @@ impl IntoFormat for biome_js_syntax::JsConstructorParameterList fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::constructor_parameter_list::FormatJsConstructorParameterList, + crate::js::lists::constructor_parameter_list::FormatJsConstructorParameterList::default( + ), ) } } @@ -9988,7 +9960,7 @@ impl AsFormat for biome_js_syntax::JsDecoratorList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::decorator_list::FormatJsDecoratorList, + crate::js::lists::decorator_list::FormatJsDecoratorList::default(), ) } } @@ -10000,7 +9972,7 @@ impl IntoFormat for biome_js_syntax::JsDecoratorList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::decorator_list::FormatJsDecoratorList, + crate::js::lists::decorator_list::FormatJsDecoratorList::default(), ) } } @@ -10013,7 +9985,7 @@ impl AsFormat for biome_js_syntax::JsDirectiveList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::directive_list::FormatJsDirectiveList, + crate::js::lists::directive_list::FormatJsDirectiveList::default(), ) } } @@ -10025,7 +9997,7 @@ impl IntoFormat for biome_js_syntax::JsDirectiveList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::directive_list::FormatJsDirectiveList, + crate::js::lists::directive_list::FormatJsDirectiveList::default(), ) } } @@ -10036,7 +10008,7 @@ impl AsFormat for biome_js_syntax::JsExportNamedFromSpecifierLi crate::js::lists::export_named_from_specifier_list::FormatJsExportNamedFromSpecifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: lists :: export_named_from_specifier_list :: FormatJsExportNamedFromSpecifierList) + FormatRefWithRule :: new (self , crate :: js :: lists :: export_named_from_specifier_list :: FormatJsExportNamedFromSpecifierList :: default ()) } } impl IntoFormat for biome_js_syntax::JsExportNamedFromSpecifierList { @@ -10045,7 +10017,7 @@ impl IntoFormat for biome_js_syntax::JsExportNamedFromSpecifier crate::js::lists::export_named_from_specifier_list::FormatJsExportNamedFromSpecifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: lists :: export_named_from_specifier_list :: FormatJsExportNamedFromSpecifierList) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: export_named_from_specifier_list :: FormatJsExportNamedFromSpecifierList :: default ()) } } impl AsFormat for biome_js_syntax::JsExportNamedSpecifierList { @@ -10055,10 +10027,7 @@ impl AsFormat for biome_js_syntax::JsExportNamedSpecifierList { crate::js::lists::export_named_specifier_list::FormatJsExportNamedSpecifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::lists::export_named_specifier_list::FormatJsExportNamedSpecifierList, - ) + FormatRefWithRule :: new (self , crate :: js :: lists :: export_named_specifier_list :: FormatJsExportNamedSpecifierList :: default ()) } } impl IntoFormat for biome_js_syntax::JsExportNamedSpecifierList { @@ -10067,10 +10036,7 @@ impl IntoFormat for biome_js_syntax::JsExportNamedSpecifierList crate::js::lists::export_named_specifier_list::FormatJsExportNamedSpecifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::lists::export_named_specifier_list::FormatJsExportNamedSpecifierList, - ) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: export_named_specifier_list :: FormatJsExportNamedSpecifierList :: default ()) } } impl AsFormat for biome_js_syntax::JsImportAssertionEntryList { @@ -10080,10 +10046,7 @@ impl AsFormat for biome_js_syntax::JsImportAssertionEntryList { crate::js::lists::import_assertion_entry_list::FormatJsImportAssertionEntryList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::lists::import_assertion_entry_list::FormatJsImportAssertionEntryList, - ) + FormatRefWithRule :: new (self , crate :: js :: lists :: import_assertion_entry_list :: FormatJsImportAssertionEntryList :: default ()) } } impl IntoFormat for biome_js_syntax::JsImportAssertionEntryList { @@ -10092,10 +10055,7 @@ impl IntoFormat for biome_js_syntax::JsImportAssertionEntryList crate::js::lists::import_assertion_entry_list::FormatJsImportAssertionEntryList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::lists::import_assertion_entry_list::FormatJsImportAssertionEntryList, - ) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: import_assertion_entry_list :: FormatJsImportAssertionEntryList :: default ()) } } impl AsFormat for biome_js_syntax::JsMethodModifierList { @@ -10107,7 +10067,7 @@ impl AsFormat for biome_js_syntax::JsMethodModifierList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::method_modifier_list::FormatJsMethodModifierList, + crate::js::lists::method_modifier_list::FormatJsMethodModifierList::default(), ) } } @@ -10119,7 +10079,7 @@ impl IntoFormat for biome_js_syntax::JsMethodModifierList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::method_modifier_list::FormatJsMethodModifierList, + crate::js::lists::method_modifier_list::FormatJsMethodModifierList::default(), ) } } @@ -10132,7 +10092,7 @@ impl AsFormat for biome_js_syntax::JsModuleItemList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::module_item_list::FormatJsModuleItemList, + crate::js::lists::module_item_list::FormatJsModuleItemList::default(), ) } } @@ -10144,7 +10104,7 @@ impl IntoFormat for biome_js_syntax::JsModuleItemList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::module_item_list::FormatJsModuleItemList, + crate::js::lists::module_item_list::FormatJsModuleItemList::default(), ) } } @@ -10155,10 +10115,7 @@ impl AsFormat for biome_js_syntax::JsNamedImportSpecifierList { crate::js::lists::named_import_specifier_list::FormatJsNamedImportSpecifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::lists::named_import_specifier_list::FormatJsNamedImportSpecifierList, - ) + FormatRefWithRule :: new (self , crate :: js :: lists :: named_import_specifier_list :: FormatJsNamedImportSpecifierList :: default ()) } } impl IntoFormat for biome_js_syntax::JsNamedImportSpecifierList { @@ -10167,34 +10124,31 @@ impl IntoFormat for biome_js_syntax::JsNamedImportSpecifierList crate::js::lists::named_import_specifier_list::FormatJsNamedImportSpecifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::lists::named_import_specifier_list::FormatJsNamedImportSpecifierList, - ) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: named_import_specifier_list :: FormatJsNamedImportSpecifierList :: default ()) } } impl AsFormat for biome_js_syntax::JsObjectAssignmentPatternPropertyList { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsObjectAssignmentPatternPropertyList , crate :: js :: lists :: object_assignment_pattern_property_list :: FormatJsObjectAssignmentPatternPropertyList > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: lists :: object_assignment_pattern_property_list :: FormatJsObjectAssignmentPatternPropertyList) + FormatRefWithRule :: new (self , crate :: js :: lists :: object_assignment_pattern_property_list :: FormatJsObjectAssignmentPatternPropertyList :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectAssignmentPatternPropertyList { type Format = FormatOwnedWithRule < biome_js_syntax :: JsObjectAssignmentPatternPropertyList , crate :: js :: lists :: object_assignment_pattern_property_list :: FormatJsObjectAssignmentPatternPropertyList > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: lists :: object_assignment_pattern_property_list :: FormatJsObjectAssignmentPatternPropertyList) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: object_assignment_pattern_property_list :: FormatJsObjectAssignmentPatternPropertyList :: default ()) } } impl AsFormat for biome_js_syntax::JsObjectBindingPatternPropertyList { type Format < 'a > = FormatRefWithRule < 'a , biome_js_syntax :: JsObjectBindingPatternPropertyList , crate :: js :: lists :: object_binding_pattern_property_list :: FormatJsObjectBindingPatternPropertyList > ; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: lists :: object_binding_pattern_property_list :: FormatJsObjectBindingPatternPropertyList) + FormatRefWithRule :: new (self , crate :: js :: lists :: object_binding_pattern_property_list :: FormatJsObjectBindingPatternPropertyList :: default ()) } } impl IntoFormat for biome_js_syntax::JsObjectBindingPatternPropertyList { type Format = FormatOwnedWithRule < biome_js_syntax :: JsObjectBindingPatternPropertyList , crate :: js :: lists :: object_binding_pattern_property_list :: FormatJsObjectBindingPatternPropertyList > ; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: lists :: object_binding_pattern_property_list :: FormatJsObjectBindingPatternPropertyList) + FormatOwnedWithRule :: new (self , crate :: js :: lists :: object_binding_pattern_property_list :: FormatJsObjectBindingPatternPropertyList :: default ()) } } impl AsFormat for biome_js_syntax::JsObjectMemberList { @@ -10206,7 +10160,7 @@ impl AsFormat for biome_js_syntax::JsObjectMemberList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::object_member_list::FormatJsObjectMemberList, + crate::js::lists::object_member_list::FormatJsObjectMemberList::default(), ) } } @@ -10218,7 +10172,7 @@ impl IntoFormat for biome_js_syntax::JsObjectMemberList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::object_member_list::FormatJsObjectMemberList, + crate::js::lists::object_member_list::FormatJsObjectMemberList::default(), ) } } @@ -10231,7 +10185,7 @@ impl AsFormat for biome_js_syntax::JsParameterList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::parameter_list::FormatJsParameterList, + crate::js::lists::parameter_list::FormatJsParameterList::default(), ) } } @@ -10243,7 +10197,7 @@ impl IntoFormat for biome_js_syntax::JsParameterList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::parameter_list::FormatJsParameterList, + crate::js::lists::parameter_list::FormatJsParameterList::default(), ) } } @@ -10256,7 +10210,7 @@ impl AsFormat for biome_js_syntax::JsPropertyModifierList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::property_modifier_list::FormatJsPropertyModifierList, + crate::js::lists::property_modifier_list::FormatJsPropertyModifierList::default(), ) } } @@ -10268,7 +10222,7 @@ impl IntoFormat for biome_js_syntax::JsPropertyModifierList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::property_modifier_list::FormatJsPropertyModifierList, + crate::js::lists::property_modifier_list::FormatJsPropertyModifierList::default(), ) } } @@ -10281,7 +10235,7 @@ impl AsFormat for biome_js_syntax::JsStatementList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::statement_list::FormatJsStatementList, + crate::js::lists::statement_list::FormatJsStatementList::default(), ) } } @@ -10293,7 +10247,7 @@ impl IntoFormat for biome_js_syntax::JsStatementList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::statement_list::FormatJsStatementList, + crate::js::lists::statement_list::FormatJsStatementList::default(), ) } } @@ -10306,7 +10260,7 @@ impl AsFormat for biome_js_syntax::JsSwitchCaseList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::switch_case_list::FormatJsSwitchCaseList, + crate::js::lists::switch_case_list::FormatJsSwitchCaseList::default(), ) } } @@ -10318,7 +10272,7 @@ impl IntoFormat for biome_js_syntax::JsSwitchCaseList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::switch_case_list::FormatJsSwitchCaseList, + crate::js::lists::switch_case_list::FormatJsSwitchCaseList::default(), ) } } @@ -10356,7 +10310,7 @@ impl AsFormat for biome_js_syntax::JsVariableDeclaratorList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::lists::variable_declarator_list::FormatJsVariableDeclaratorList, + crate::js::lists::variable_declarator_list::FormatJsVariableDeclaratorList::default(), ) } } @@ -10368,7 +10322,7 @@ impl IntoFormat for biome_js_syntax::JsVariableDeclaratorList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::lists::variable_declarator_list::FormatJsVariableDeclaratorList, + crate::js::lists::variable_declarator_list::FormatJsVariableDeclaratorList::default(), ) } } @@ -10381,7 +10335,7 @@ impl AsFormat for biome_js_syntax::JsxAttributeList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::lists::attribute_list::FormatJsxAttributeList, + crate::jsx::lists::attribute_list::FormatJsxAttributeList::default(), ) } } @@ -10393,7 +10347,7 @@ impl IntoFormat for biome_js_syntax::JsxAttributeList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::lists::attribute_list::FormatJsxAttributeList, + crate::jsx::lists::attribute_list::FormatJsxAttributeList::default(), ) } } @@ -10431,7 +10385,7 @@ impl AsFormat for biome_js_syntax::TsEnumMemberList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::lists::enum_member_list::FormatTsEnumMemberList, + crate::ts::lists::enum_member_list::FormatTsEnumMemberList::default(), ) } } @@ -10443,7 +10397,7 @@ impl IntoFormat for biome_js_syntax::TsEnumMemberList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::lists::enum_member_list::FormatTsEnumMemberList, + crate::ts::lists::enum_member_list::FormatTsEnumMemberList::default(), ) } } @@ -10454,10 +10408,7 @@ impl AsFormat for biome_js_syntax::TsIndexSignatureModifierList crate::ts::lists::index_signature_modifier_list::FormatTsIndexSignatureModifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::lists::index_signature_modifier_list::FormatTsIndexSignatureModifierList, - ) + FormatRefWithRule :: new (self , crate :: ts :: lists :: index_signature_modifier_list :: FormatTsIndexSignatureModifierList :: default ()) } } impl IntoFormat for biome_js_syntax::TsIndexSignatureModifierList { @@ -10466,10 +10417,7 @@ impl IntoFormat for biome_js_syntax::TsIndexSignatureModifierLi crate::ts::lists::index_signature_modifier_list::FormatTsIndexSignatureModifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::lists::index_signature_modifier_list::FormatTsIndexSignatureModifierList, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: lists :: index_signature_modifier_list :: FormatTsIndexSignatureModifierList :: default ()) } } impl AsFormat for biome_js_syntax::TsIntersectionTypeElementList { @@ -10479,10 +10427,7 @@ impl AsFormat for biome_js_syntax::TsIntersectionTypeElementLis crate::ts::lists::intersection_type_element_list::FormatTsIntersectionTypeElementList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::lists::intersection_type_element_list::FormatTsIntersectionTypeElementList, - ) + FormatRefWithRule :: new (self , crate :: ts :: lists :: intersection_type_element_list :: FormatTsIntersectionTypeElementList :: default ()) } } impl IntoFormat for biome_js_syntax::TsIntersectionTypeElementList { @@ -10491,10 +10436,7 @@ impl IntoFormat for biome_js_syntax::TsIntersectionTypeElementL crate::ts::lists::intersection_type_element_list::FormatTsIntersectionTypeElementList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::lists::intersection_type_element_list::FormatTsIntersectionTypeElementList, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: lists :: intersection_type_element_list :: FormatTsIntersectionTypeElementList :: default ()) } } impl AsFormat for biome_js_syntax::TsMethodSignatureModifierList { @@ -10504,10 +10446,7 @@ impl AsFormat for biome_js_syntax::TsMethodSignatureModifierLis crate::ts::lists::method_signature_modifier_list::FormatTsMethodSignatureModifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::lists::method_signature_modifier_list::FormatTsMethodSignatureModifierList, - ) + FormatRefWithRule :: new (self , crate :: ts :: lists :: method_signature_modifier_list :: FormatTsMethodSignatureModifierList :: default ()) } } impl IntoFormat for biome_js_syntax::TsMethodSignatureModifierList { @@ -10516,10 +10455,7 @@ impl IntoFormat for biome_js_syntax::TsMethodSignatureModifierL crate::ts::lists::method_signature_modifier_list::FormatTsMethodSignatureModifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::lists::method_signature_modifier_list::FormatTsMethodSignatureModifierList, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: lists :: method_signature_modifier_list :: FormatTsMethodSignatureModifierList :: default ()) } } impl AsFormat for biome_js_syntax::TsPropertyParameterModifierList { @@ -10529,7 +10465,7 @@ impl AsFormat for biome_js_syntax::TsPropertyParameterModifierL crate::ts::lists::property_parameter_modifier_list::FormatTsPropertyParameterModifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: lists :: property_parameter_modifier_list :: FormatTsPropertyParameterModifierList) + FormatRefWithRule :: new (self , crate :: ts :: lists :: property_parameter_modifier_list :: FormatTsPropertyParameterModifierList :: default ()) } } impl IntoFormat for biome_js_syntax::TsPropertyParameterModifierList { @@ -10538,7 +10474,7 @@ impl IntoFormat for biome_js_syntax::TsPropertyParameterModifie crate::ts::lists::property_parameter_modifier_list::FormatTsPropertyParameterModifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: lists :: property_parameter_modifier_list :: FormatTsPropertyParameterModifierList) + FormatOwnedWithRule :: new (self , crate :: ts :: lists :: property_parameter_modifier_list :: FormatTsPropertyParameterModifierList :: default ()) } } impl AsFormat for biome_js_syntax::TsPropertySignatureModifierList { @@ -10548,7 +10484,7 @@ impl AsFormat for biome_js_syntax::TsPropertySignatureModifierL crate::ts::lists::property_signature_modifier_list::FormatTsPropertySignatureModifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: lists :: property_signature_modifier_list :: FormatTsPropertySignatureModifierList) + FormatRefWithRule :: new (self , crate :: ts :: lists :: property_signature_modifier_list :: FormatTsPropertySignatureModifierList :: default ()) } } impl IntoFormat for biome_js_syntax::TsPropertySignatureModifierList { @@ -10557,7 +10493,7 @@ impl IntoFormat for biome_js_syntax::TsPropertySignatureModifie crate::ts::lists::property_signature_modifier_list::FormatTsPropertySignatureModifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: lists :: property_signature_modifier_list :: FormatTsPropertySignatureModifierList) + FormatOwnedWithRule :: new (self , crate :: ts :: lists :: property_signature_modifier_list :: FormatTsPropertySignatureModifierList :: default ()) } } impl AsFormat for biome_js_syntax::TsTemplateElementList { @@ -10569,7 +10505,7 @@ impl AsFormat for biome_js_syntax::TsTemplateElementList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::lists::template_element_list::FormatTsTemplateElementList, + crate::ts::lists::template_element_list::FormatTsTemplateElementList::default(), ) } } @@ -10581,7 +10517,7 @@ impl IntoFormat for biome_js_syntax::TsTemplateElementList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::lists::template_element_list::FormatTsTemplateElementList, + crate::ts::lists::template_element_list::FormatTsTemplateElementList::default(), ) } } @@ -10594,7 +10530,7 @@ impl AsFormat for biome_js_syntax::TsTupleTypeElementList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::lists::tuple_type_element_list::FormatTsTupleTypeElementList, + crate::ts::lists::tuple_type_element_list::FormatTsTupleTypeElementList::default(), ) } } @@ -10606,7 +10542,7 @@ impl IntoFormat for biome_js_syntax::TsTupleTypeElementList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::lists::tuple_type_element_list::FormatTsTupleTypeElementList, + crate::ts::lists::tuple_type_element_list::FormatTsTupleTypeElementList::default(), ) } } @@ -10619,7 +10555,7 @@ impl AsFormat for biome_js_syntax::TsTypeArgumentList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::lists::type_argument_list::FormatTsTypeArgumentList, + crate::ts::lists::type_argument_list::FormatTsTypeArgumentList::default(), ) } } @@ -10631,7 +10567,7 @@ impl IntoFormat for biome_js_syntax::TsTypeArgumentList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::lists::type_argument_list::FormatTsTypeArgumentList, + crate::ts::lists::type_argument_list::FormatTsTypeArgumentList::default(), ) } } @@ -10642,7 +10578,10 @@ impl AsFormat for biome_js_syntax::TsTypeList { crate::ts::lists::type_list::FormatTsTypeList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::lists::type_list::FormatTsTypeList) + FormatRefWithRule::new( + self, + crate::ts::lists::type_list::FormatTsTypeList::default(), + ) } } impl IntoFormat for biome_js_syntax::TsTypeList { @@ -10651,7 +10590,10 @@ impl IntoFormat for biome_js_syntax::TsTypeList { crate::ts::lists::type_list::FormatTsTypeList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::lists::type_list::FormatTsTypeList) + FormatOwnedWithRule::new( + self, + crate::ts::lists::type_list::FormatTsTypeList::default(), + ) } } impl AsFormat for biome_js_syntax::TsTypeMemberList { @@ -10663,7 +10605,7 @@ impl AsFormat for biome_js_syntax::TsTypeMemberList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::lists::type_member_list::FormatTsTypeMemberList, + crate::ts::lists::type_member_list::FormatTsTypeMemberList::default(), ) } } @@ -10675,7 +10617,7 @@ impl IntoFormat for biome_js_syntax::TsTypeMemberList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::lists::type_member_list::FormatTsTypeMemberList, + crate::ts::lists::type_member_list::FormatTsTypeMemberList::default(), ) } } @@ -10688,7 +10630,7 @@ impl AsFormat for biome_js_syntax::TsTypeParameterList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::lists::type_parameter_list::FormatTsTypeParameterList, + crate::ts::lists::type_parameter_list::FormatTsTypeParameterList::default(), ) } } @@ -10700,7 +10642,7 @@ impl IntoFormat for biome_js_syntax::TsTypeParameterList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::lists::type_parameter_list::FormatTsTypeParameterList, + crate::ts::lists::type_parameter_list::FormatTsTypeParameterList::default(), ) } } @@ -10711,10 +10653,7 @@ impl AsFormat for biome_js_syntax::TsTypeParameterModifierList crate::ts::lists::type_parameter_modifier_list::FormatTsTypeParameterModifierList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::lists::type_parameter_modifier_list::FormatTsTypeParameterModifierList, - ) + FormatRefWithRule :: new (self , crate :: ts :: lists :: type_parameter_modifier_list :: FormatTsTypeParameterModifierList :: default ()) } } impl IntoFormat for biome_js_syntax::TsTypeParameterModifierList { @@ -10723,10 +10662,7 @@ impl IntoFormat for biome_js_syntax::TsTypeParameterModifierLis crate::ts::lists::type_parameter_modifier_list::FormatTsTypeParameterModifierList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::lists::type_parameter_modifier_list::FormatTsTypeParameterModifierList, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: lists :: type_parameter_modifier_list :: FormatTsTypeParameterModifierList :: default ()) } } impl AsFormat for biome_js_syntax::TsUnionTypeVariantList { @@ -10765,14 +10701,14 @@ impl AsFormat for biome_js_syntax::JsBogus { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::JsBogus, crate::js::bogus::bogus::FormatJsBogus>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::bogus::bogus::FormatJsBogus) + FormatRefWithRule::new(self, crate::js::bogus::bogus::FormatJsBogus::default()) } } impl IntoFormat for biome_js_syntax::JsBogus { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::bogus::bogus::FormatJsBogus) + FormatOwnedWithRule::new(self, crate::js::bogus::bogus::FormatJsBogus::default()) } } impl FormatRule @@ -10797,7 +10733,7 @@ impl AsFormat for biome_js_syntax::JsBogusStatement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bogus::bogus_statement::FormatJsBogusStatement, + crate::js::bogus::bogus_statement::FormatJsBogusStatement::default(), ) } } @@ -10809,7 +10745,7 @@ impl IntoFormat for biome_js_syntax::JsBogusStatement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bogus::bogus_statement::FormatJsBogusStatement, + crate::js::bogus::bogus_statement::FormatJsBogusStatement::default(), ) } } @@ -10835,7 +10771,7 @@ impl AsFormat for biome_js_syntax::JsBogusExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bogus::bogus_expression::FormatJsBogusExpression, + crate::js::bogus::bogus_expression::FormatJsBogusExpression::default(), ) } } @@ -10847,7 +10783,7 @@ impl IntoFormat for biome_js_syntax::JsBogusExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bogus::bogus_expression::FormatJsBogusExpression, + crate::js::bogus::bogus_expression::FormatJsBogusExpression::default(), ) } } @@ -10867,7 +10803,10 @@ impl AsFormat for biome_js_syntax::JsBogusMember { crate::js::bogus::bogus_member::FormatJsBogusMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::bogus::bogus_member::FormatJsBogusMember) + FormatRefWithRule::new( + self, + crate::js::bogus::bogus_member::FormatJsBogusMember::default(), + ) } } impl IntoFormat for biome_js_syntax::JsBogusMember { @@ -10876,7 +10815,10 @@ impl IntoFormat for biome_js_syntax::JsBogusMember { crate::js::bogus::bogus_member::FormatJsBogusMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::bogus::bogus_member::FormatJsBogusMember) + FormatOwnedWithRule::new( + self, + crate::js::bogus::bogus_member::FormatJsBogusMember::default(), + ) } } impl FormatRule @@ -10895,7 +10837,10 @@ impl AsFormat for biome_js_syntax::JsBogusBinding { crate::js::bogus::bogus_binding::FormatJsBogusBinding, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::bogus::bogus_binding::FormatJsBogusBinding) + FormatRefWithRule::new( + self, + crate::js::bogus::bogus_binding::FormatJsBogusBinding::default(), + ) } } impl IntoFormat for biome_js_syntax::JsBogusBinding { @@ -10904,7 +10849,10 @@ impl IntoFormat for biome_js_syntax::JsBogusBinding { crate::js::bogus::bogus_binding::FormatJsBogusBinding, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::bogus::bogus_binding::FormatJsBogusBinding) + FormatOwnedWithRule::new( + self, + crate::js::bogus::bogus_binding::FormatJsBogusBinding::default(), + ) } } impl FormatRule @@ -10929,7 +10877,7 @@ impl AsFormat for biome_js_syntax::JsBogusAssignment { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bogus::bogus_assignment::FormatJsBogusAssignment, + crate::js::bogus::bogus_assignment::FormatJsBogusAssignment::default(), ) } } @@ -10941,7 +10889,7 @@ impl IntoFormat for biome_js_syntax::JsBogusAssignment { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bogus::bogus_assignment::FormatJsBogusAssignment, + crate::js::bogus::bogus_assignment::FormatJsBogusAssignment::default(), ) } } @@ -10967,7 +10915,7 @@ impl AsFormat for biome_js_syntax::JsBogusParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::bogus::bogus_parameter::FormatJsBogusParameter, + crate::js::bogus::bogus_parameter::FormatJsBogusParameter::default(), ) } } @@ -10979,7 +10927,7 @@ impl IntoFormat for biome_js_syntax::JsBogusParameter { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::bogus::bogus_parameter::FormatJsBogusParameter, + crate::js::bogus::bogus_parameter::FormatJsBogusParameter::default(), ) } } @@ -11003,10 +10951,7 @@ impl AsFormat for biome_js_syntax::JsBogusImportAssertionEntry crate::js::bogus::bogus_import_assertion_entry::FormatJsBogusImportAssertionEntry, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::bogus::bogus_import_assertion_entry::FormatJsBogusImportAssertionEntry, - ) + FormatRefWithRule :: new (self , crate :: js :: bogus :: bogus_import_assertion_entry :: FormatJsBogusImportAssertionEntry :: default ()) } } impl IntoFormat for biome_js_syntax::JsBogusImportAssertionEntry { @@ -11015,10 +10960,7 @@ impl IntoFormat for biome_js_syntax::JsBogusImportAssertionEntr crate::js::bogus::bogus_import_assertion_entry::FormatJsBogusImportAssertionEntry, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::bogus::bogus_import_assertion_entry::FormatJsBogusImportAssertionEntry, - ) + FormatOwnedWithRule :: new (self , crate :: js :: bogus :: bogus_import_assertion_entry :: FormatJsBogusImportAssertionEntry :: default ()) } } impl FormatRule @@ -11041,10 +10983,7 @@ impl AsFormat for biome_js_syntax::JsBogusNamedImportSpecifier crate::js::bogus::bogus_named_import_specifier::FormatJsBogusNamedImportSpecifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::bogus::bogus_named_import_specifier::FormatJsBogusNamedImportSpecifier, - ) + FormatRefWithRule :: new (self , crate :: js :: bogus :: bogus_named_import_specifier :: FormatJsBogusNamedImportSpecifier :: default ()) } } impl IntoFormat for biome_js_syntax::JsBogusNamedImportSpecifier { @@ -11053,10 +10992,7 @@ impl IntoFormat for biome_js_syntax::JsBogusNamedImportSpecifie crate::js::bogus::bogus_named_import_specifier::FormatJsBogusNamedImportSpecifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::bogus::bogus_named_import_specifier::FormatJsBogusNamedImportSpecifier, - ) + FormatOwnedWithRule :: new (self , crate :: js :: bogus :: bogus_named_import_specifier :: FormatJsBogusNamedImportSpecifier :: default ()) } } impl FormatRule for crate::ts::bogus::bogus_type::FormatTsBogusType { @@ -11073,7 +11009,10 @@ impl AsFormat for biome_js_syntax::TsBogusType { crate::ts::bogus::bogus_type::FormatTsBogusType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::bogus::bogus_type::FormatTsBogusType) + FormatRefWithRule::new( + self, + crate::ts::bogus::bogus_type::FormatTsBogusType::default(), + ) } } impl IntoFormat for biome_js_syntax::TsBogusType { @@ -11082,21 +11021,24 @@ impl IntoFormat for biome_js_syntax::TsBogusType { crate::ts::bogus::bogus_type::FormatTsBogusType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::bogus::bogus_type::FormatTsBogusType) + FormatOwnedWithRule::new( + self, + crate::ts::bogus::bogus_type::FormatTsBogusType::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsRoot { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::AnyJsRoot, crate::js::any::root::FormatAnyJsRoot>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::root::FormatAnyJsRoot) + FormatRefWithRule::new(self, crate::js::any::root::FormatAnyJsRoot::default()) } } impl IntoFormat for biome_js_syntax::AnyJsRoot { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::root::FormatAnyJsRoot) + FormatOwnedWithRule::new(self, crate::js::any::root::FormatAnyJsRoot::default()) } } impl AsFormat for biome_js_syntax::AnyJsExpression { @@ -11106,7 +11048,10 @@ impl AsFormat for biome_js_syntax::AnyJsExpression { crate::js::any::expression::FormatAnyJsExpression, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::expression::FormatAnyJsExpression) + FormatRefWithRule::new( + self, + crate::js::any::expression::FormatAnyJsExpression::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsExpression { @@ -11115,7 +11060,10 @@ impl IntoFormat for biome_js_syntax::AnyJsExpression { crate::js::any::expression::FormatAnyJsExpression, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::expression::FormatAnyJsExpression) + FormatOwnedWithRule::new( + self, + crate::js::any::expression::FormatAnyJsExpression::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsStatement { @@ -11125,7 +11073,10 @@ impl AsFormat for biome_js_syntax::AnyJsStatement { crate::js::any::statement::FormatAnyJsStatement, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::statement::FormatAnyJsStatement) + FormatRefWithRule::new( + self, + crate::js::any::statement::FormatAnyJsStatement::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsStatement { @@ -11134,7 +11085,10 @@ impl IntoFormat for biome_js_syntax::AnyJsStatement { crate::js::any::statement::FormatAnyJsStatement, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::statement::FormatAnyJsStatement) + FormatOwnedWithRule::new( + self, + crate::js::any::statement::FormatAnyJsStatement::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsForInitializer { @@ -11146,7 +11100,7 @@ impl AsFormat for biome_js_syntax::AnyJsForInitializer { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::for_initializer::FormatAnyJsForInitializer, + crate::js::any::for_initializer::FormatAnyJsForInitializer::default(), ) } } @@ -11158,7 +11112,7 @@ impl IntoFormat for biome_js_syntax::AnyJsForInitializer { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::for_initializer::FormatAnyJsForInitializer, + crate::js::any::for_initializer::FormatAnyJsForInitializer::default(), ) } } @@ -11171,7 +11125,7 @@ impl AsFormat for biome_js_syntax::AnyJsForInOrOfInitializer { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::for_in_or_of_initializer::FormatAnyJsForInOrOfInitializer, + crate::js::any::for_in_or_of_initializer::FormatAnyJsForInOrOfInitializer::default(), ) } } @@ -11183,7 +11137,7 @@ impl IntoFormat for biome_js_syntax::AnyJsForInOrOfInitializer fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::for_in_or_of_initializer::FormatAnyJsForInOrOfInitializer, + crate::js::any::for_in_or_of_initializer::FormatAnyJsForInOrOfInitializer::default(), ) } } @@ -11196,7 +11150,7 @@ impl AsFormat for biome_js_syntax::AnyJsAssignmentPattern { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::assignment_pattern::FormatAnyJsAssignmentPattern, + crate::js::any::assignment_pattern::FormatAnyJsAssignmentPattern::default(), ) } } @@ -11208,7 +11162,7 @@ impl IntoFormat for biome_js_syntax::AnyJsAssignmentPattern { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::assignment_pattern::FormatAnyJsAssignmentPattern, + crate::js::any::assignment_pattern::FormatAnyJsAssignmentPattern::default(), ) } } @@ -11219,7 +11173,10 @@ impl AsFormat for biome_js_syntax::AnyJsSwitchClause { crate::js::any::switch_clause::FormatAnyJsSwitchClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::switch_clause::FormatAnyJsSwitchClause) + FormatRefWithRule::new( + self, + crate::js::any::switch_clause::FormatAnyJsSwitchClause::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsSwitchClause { @@ -11228,7 +11185,10 @@ impl IntoFormat for biome_js_syntax::AnyJsSwitchClause { crate::js::any::switch_clause::FormatAnyJsSwitchClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::switch_clause::FormatAnyJsSwitchClause) + FormatOwnedWithRule::new( + self, + crate::js::any::switch_clause::FormatAnyJsSwitchClause::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsBindingPattern { @@ -11240,7 +11200,7 @@ impl AsFormat for biome_js_syntax::AnyJsBindingPattern { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::binding_pattern::FormatAnyJsBindingPattern, + crate::js::any::binding_pattern::FormatAnyJsBindingPattern::default(), ) } } @@ -11252,7 +11212,7 @@ impl IntoFormat for biome_js_syntax::AnyJsBindingPattern { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::binding_pattern::FormatAnyJsBindingPattern, + crate::js::any::binding_pattern::FormatAnyJsBindingPattern::default(), ) } } @@ -11265,7 +11225,7 @@ impl AsFormat for biome_js_syntax::AnyJsDeclarationClause { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::declaration_clause::FormatAnyJsDeclarationClause, + crate::js::any::declaration_clause::FormatAnyJsDeclarationClause::default(), ) } } @@ -11277,7 +11237,7 @@ impl IntoFormat for biome_js_syntax::AnyJsDeclarationClause { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::declaration_clause::FormatAnyJsDeclarationClause, + crate::js::any::declaration_clause::FormatAnyJsDeclarationClause::default(), ) } } @@ -11290,7 +11250,7 @@ impl AsFormat for biome_js_syntax::AnyJsLiteralExpression { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::literal_expression::FormatAnyJsLiteralExpression, + crate::js::any::literal_expression::FormatAnyJsLiteralExpression::default(), ) } } @@ -11302,7 +11262,7 @@ impl IntoFormat for biome_js_syntax::AnyJsLiteralExpression { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::literal_expression::FormatAnyJsLiteralExpression, + crate::js::any::literal_expression::FormatAnyJsLiteralExpression::default(), ) } } @@ -11315,7 +11275,7 @@ impl AsFormat for biome_js_syntax::AnyJsTemplateElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::template_element::FormatAnyJsTemplateElement, + crate::js::any::template_element::FormatAnyJsTemplateElement::default(), ) } } @@ -11327,7 +11287,7 @@ impl IntoFormat for biome_js_syntax::AnyJsTemplateElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::template_element::FormatAnyJsTemplateElement, + crate::js::any::template_element::FormatAnyJsTemplateElement::default(), ) } } @@ -11338,7 +11298,7 @@ impl AsFormat for biome_js_syntax::AnyJsBinding { crate::js::any::binding::FormatAnyJsBinding, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::binding::FormatAnyJsBinding) + FormatRefWithRule::new(self, crate::js::any::binding::FormatAnyJsBinding::default()) } } impl IntoFormat for biome_js_syntax::AnyJsBinding { @@ -11347,7 +11307,7 @@ impl IntoFormat for biome_js_syntax::AnyJsBinding { crate::js::any::binding::FormatAnyJsBinding, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::binding::FormatAnyJsBinding) + FormatOwnedWithRule::new(self, crate::js::any::binding::FormatAnyJsBinding::default()) } } impl AsFormat for biome_js_syntax::AnyJsArrowFunctionParameters { @@ -11359,7 +11319,8 @@ impl AsFormat for biome_js_syntax::AnyJsArrowFunctionParameters fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::arrow_function_parameters::FormatAnyJsArrowFunctionParameters, + crate::js::any::arrow_function_parameters::FormatAnyJsArrowFunctionParameters::default( + ), ) } } @@ -11371,7 +11332,8 @@ impl IntoFormat for biome_js_syntax::AnyJsArrowFunctionParamete fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::arrow_function_parameters::FormatAnyJsArrowFunctionParameters, + crate::js::any::arrow_function_parameters::FormatAnyJsArrowFunctionParameters::default( + ), ) } } @@ -11382,7 +11344,10 @@ impl AsFormat for biome_js_syntax::AnyJsFunctionBody { crate::js::any::function_body::FormatAnyJsFunctionBody, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::function_body::FormatAnyJsFunctionBody) + FormatRefWithRule::new( + self, + crate::js::any::function_body::FormatAnyJsFunctionBody::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsFunctionBody { @@ -11391,7 +11356,10 @@ impl IntoFormat for biome_js_syntax::AnyJsFunctionBody { crate::js::any::function_body::FormatAnyJsFunctionBody, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::function_body::FormatAnyJsFunctionBody) + FormatOwnedWithRule::new( + self, + crate::js::any::function_body::FormatAnyJsFunctionBody::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsArrayElement { @@ -11401,7 +11369,10 @@ impl AsFormat for biome_js_syntax::AnyJsArrayElement { crate::js::any::array_element::FormatAnyJsArrayElement, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::array_element::FormatAnyJsArrayElement) + FormatRefWithRule::new( + self, + crate::js::any::array_element::FormatAnyJsArrayElement::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsArrayElement { @@ -11410,21 +11381,24 @@ impl IntoFormat for biome_js_syntax::AnyJsArrayElement { crate::js::any::array_element::FormatAnyJsArrayElement, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::array_element::FormatAnyJsArrayElement) + FormatOwnedWithRule::new( + self, + crate::js::any::array_element::FormatAnyJsArrayElement::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsName { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::AnyJsName, crate::js::any::name::FormatAnyJsName>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::name::FormatAnyJsName) + FormatRefWithRule::new(self, crate::js::any::name::FormatAnyJsName::default()) } } impl IntoFormat for biome_js_syntax::AnyJsName { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::name::FormatAnyJsName) + FormatOwnedWithRule::new(self, crate::js::any::name::FormatAnyJsName::default()) } } impl AsFormat for biome_js_syntax::AnyJsInProperty { @@ -11434,7 +11408,10 @@ impl AsFormat for biome_js_syntax::AnyJsInProperty { crate::js::any::in_property::FormatAnyJsInProperty, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::in_property::FormatAnyJsInProperty) + FormatRefWithRule::new( + self, + crate::js::any::in_property::FormatAnyJsInProperty::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsInProperty { @@ -11443,7 +11420,10 @@ impl IntoFormat for biome_js_syntax::AnyJsInProperty { crate::js::any::in_property::FormatAnyJsInProperty, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::in_property::FormatAnyJsInProperty) + FormatOwnedWithRule::new( + self, + crate::js::any::in_property::FormatAnyJsInProperty::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsAssignment { @@ -11453,7 +11433,10 @@ impl AsFormat for biome_js_syntax::AnyJsAssignment { crate::js::any::assignment::FormatAnyJsAssignment, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::assignment::FormatAnyJsAssignment) + FormatRefWithRule::new( + self, + crate::js::any::assignment::FormatAnyJsAssignment::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsAssignment { @@ -11462,7 +11445,10 @@ impl IntoFormat for biome_js_syntax::AnyJsAssignment { crate::js::any::assignment::FormatAnyJsAssignment, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::assignment::FormatAnyJsAssignment) + FormatOwnedWithRule::new( + self, + crate::js::any::assignment::FormatAnyJsAssignment::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsObjectMemberName { @@ -11474,7 +11460,7 @@ impl AsFormat for biome_js_syntax::AnyJsObjectMemberName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::object_member_name::FormatAnyJsObjectMemberName, + crate::js::any::object_member_name::FormatAnyJsObjectMemberName::default(), ) } } @@ -11486,7 +11472,7 @@ impl IntoFormat for biome_js_syntax::AnyJsObjectMemberName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::object_member_name::FormatAnyJsObjectMemberName, + crate::js::any::object_member_name::FormatAnyJsObjectMemberName::default(), ) } } @@ -11497,7 +11483,10 @@ impl AsFormat for biome_js_syntax::AnyJsObjectMember { crate::js::any::object_member::FormatAnyJsObjectMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::object_member::FormatAnyJsObjectMember) + FormatRefWithRule::new( + self, + crate::js::any::object_member::FormatAnyJsObjectMember::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsObjectMember { @@ -11506,7 +11495,10 @@ impl IntoFormat for biome_js_syntax::AnyJsObjectMember { crate::js::any::object_member::FormatAnyJsObjectMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::object_member::FormatAnyJsObjectMember) + FormatOwnedWithRule::new( + self, + crate::js::any::object_member::FormatAnyJsObjectMember::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsFormalParameter { @@ -11518,7 +11510,7 @@ impl AsFormat for biome_js_syntax::AnyJsFormalParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::formal_parameter::FormatAnyJsFormalParameter, + crate::js::any::formal_parameter::FormatAnyJsFormalParameter::default(), ) } } @@ -11530,7 +11522,7 @@ impl IntoFormat for biome_js_syntax::AnyJsFormalParameter { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::formal_parameter::FormatAnyJsFormalParameter, + crate::js::any::formal_parameter::FormatAnyJsFormalParameter::default(), ) } } @@ -11541,7 +11533,10 @@ impl AsFormat for biome_js_syntax::AnyJsClassMember { crate::js::any::class_member::FormatAnyJsClassMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::class_member::FormatAnyJsClassMember) + FormatRefWithRule::new( + self, + crate::js::any::class_member::FormatAnyJsClassMember::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsClassMember { @@ -11550,21 +11545,24 @@ impl IntoFormat for biome_js_syntax::AnyJsClassMember { crate::js::any::class_member::FormatAnyJsClassMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::class_member::FormatAnyJsClassMember) + FormatOwnedWithRule::new( + self, + crate::js::any::class_member::FormatAnyJsClassMember::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsClass { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::AnyJsClass, crate::js::any::class::FormatAnyJsClass>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::class::FormatAnyJsClass) + FormatRefWithRule::new(self, crate::js::any::class::FormatAnyJsClass::default()) } } impl IntoFormat for biome_js_syntax::AnyJsClass { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::class::FormatAnyJsClass) + FormatOwnedWithRule::new(self, crate::js::any::class::FormatAnyJsClass::default()) } } impl AsFormat for biome_js_syntax::AnyJsClassMemberName { @@ -11576,7 +11574,7 @@ impl AsFormat for biome_js_syntax::AnyJsClassMemberName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::class_member_name::FormatAnyJsClassMemberName, + crate::js::any::class_member_name::FormatAnyJsClassMemberName::default(), ) } } @@ -11588,7 +11586,7 @@ impl IntoFormat for biome_js_syntax::AnyJsClassMemberName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::class_member_name::FormatAnyJsClassMemberName, + crate::js::any::class_member_name::FormatAnyJsClassMemberName::default(), ) } } @@ -11601,7 +11599,7 @@ impl AsFormat for biome_js_syntax::AnyJsConstructorParameter { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::constructor_parameter::FormatAnyJsConstructorParameter, + crate::js::any::constructor_parameter::FormatAnyJsConstructorParameter::default(), ) } } @@ -11613,7 +11611,7 @@ impl IntoFormat for biome_js_syntax::AnyJsConstructorParameter fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::constructor_parameter::FormatAnyJsConstructorParameter, + crate::js::any::constructor_parameter::FormatAnyJsConstructorParameter::default(), ) } } @@ -11624,10 +11622,7 @@ impl AsFormat for biome_js_syntax::AnyTsPropertyParameterModifi crate::ts::any::property_parameter_modifier::FormatAnyTsPropertyParameterModifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::any::property_parameter_modifier::FormatAnyTsPropertyParameterModifier, - ) + FormatRefWithRule :: new (self , crate :: ts :: any :: property_parameter_modifier :: FormatAnyTsPropertyParameterModifier :: default ()) } } impl IntoFormat for biome_js_syntax::AnyTsPropertyParameterModifier { @@ -11636,10 +11631,7 @@ impl IntoFormat for biome_js_syntax::AnyTsPropertyParameterModi crate::ts::any::property_parameter_modifier::FormatAnyTsPropertyParameterModifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::any::property_parameter_modifier::FormatAnyTsPropertyParameterModifier, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: any :: property_parameter_modifier :: FormatAnyTsPropertyParameterModifier :: default ()) } } impl AsFormat for biome_js_syntax::AnyTsPropertyAnnotation { @@ -11651,7 +11643,7 @@ impl AsFormat for biome_js_syntax::AnyTsPropertyAnnotation { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::property_annotation::FormatAnyTsPropertyAnnotation, + crate::ts::any::property_annotation::FormatAnyTsPropertyAnnotation::default(), ) } } @@ -11663,7 +11655,7 @@ impl IntoFormat for biome_js_syntax::AnyTsPropertyAnnotation { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::property_annotation::FormatAnyTsPropertyAnnotation, + crate::ts::any::property_annotation::FormatAnyTsPropertyAnnotation::default(), ) } } @@ -11676,7 +11668,7 @@ impl AsFormat for biome_js_syntax::AnyJsPropertyModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::property_modifier::FormatAnyJsPropertyModifier, + crate::js::any::property_modifier::FormatAnyJsPropertyModifier::default(), ) } } @@ -11688,7 +11680,7 @@ impl IntoFormat for biome_js_syntax::AnyJsPropertyModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::property_modifier::FormatAnyJsPropertyModifier, + crate::js::any::property_modifier::FormatAnyJsPropertyModifier::default(), ) } } @@ -11699,10 +11691,7 @@ impl AsFormat for biome_js_syntax::AnyTsPropertySignatureAnnota crate::ts::any::property_signature_annotation::FormatAnyTsPropertySignatureAnnotation, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::any::property_signature_annotation::FormatAnyTsPropertySignatureAnnotation, - ) + FormatRefWithRule :: new (self , crate :: ts :: any :: property_signature_annotation :: FormatAnyTsPropertySignatureAnnotation :: default ()) } } impl IntoFormat for biome_js_syntax::AnyTsPropertySignatureAnnotation { @@ -11711,10 +11700,7 @@ impl IntoFormat for biome_js_syntax::AnyTsPropertySignatureAnno crate::ts::any::property_signature_annotation::FormatAnyTsPropertySignatureAnnotation, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::any::property_signature_annotation::FormatAnyTsPropertySignatureAnnotation, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: any :: property_signature_annotation :: FormatAnyTsPropertySignatureAnnotation :: default ()) } } impl AsFormat for biome_js_syntax::AnyTsPropertySignatureModifier { @@ -11724,10 +11710,7 @@ impl AsFormat for biome_js_syntax::AnyTsPropertySignatureModifi crate::ts::any::property_signature_modifier::FormatAnyTsPropertySignatureModifier, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::any::property_signature_modifier::FormatAnyTsPropertySignatureModifier, - ) + FormatRefWithRule :: new (self , crate :: ts :: any :: property_signature_modifier :: FormatAnyTsPropertySignatureModifier :: default ()) } } impl IntoFormat for biome_js_syntax::AnyTsPropertySignatureModifier { @@ -11736,10 +11719,7 @@ impl IntoFormat for biome_js_syntax::AnyTsPropertySignatureModi crate::ts::any::property_signature_modifier::FormatAnyTsPropertySignatureModifier, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::any::property_signature_modifier::FormatAnyTsPropertySignatureModifier, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: any :: property_signature_modifier :: FormatAnyTsPropertySignatureModifier :: default ()) } } impl AsFormat for biome_js_syntax::AnyJsMethodModifier { @@ -11751,7 +11731,7 @@ impl AsFormat for biome_js_syntax::AnyJsMethodModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::method_modifier::FormatAnyJsMethodModifier, + crate::js::any::method_modifier::FormatAnyJsMethodModifier::default(), ) } } @@ -11763,7 +11743,7 @@ impl IntoFormat for biome_js_syntax::AnyJsMethodModifier { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::method_modifier::FormatAnyJsMethodModifier, + crate::js::any::method_modifier::FormatAnyJsMethodModifier::default(), ) } } @@ -11776,7 +11756,8 @@ impl AsFormat for biome_js_syntax::AnyTsMethodSignatureModifier fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::method_signature_modifier::FormatAnyTsMethodSignatureModifier, + crate::ts::any::method_signature_modifier::FormatAnyTsMethodSignatureModifier::default( + ), ) } } @@ -11788,7 +11769,8 @@ impl IntoFormat for biome_js_syntax::AnyTsMethodSignatureModifi fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::method_signature_modifier::FormatAnyTsMethodSignatureModifier, + crate::ts::any::method_signature_modifier::FormatAnyTsMethodSignatureModifier::default( + ), ) } } @@ -11801,7 +11783,7 @@ impl AsFormat for biome_js_syntax::AnyTsIndexSignatureModifier fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::index_signature_modifier::FormatAnyTsIndexSignatureModifier, + crate::ts::any::index_signature_modifier::FormatAnyTsIndexSignatureModifier::default(), ) } } @@ -11813,7 +11795,7 @@ impl IntoFormat for biome_js_syntax::AnyTsIndexSignatureModifie fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::index_signature_modifier::FormatAnyTsIndexSignatureModifier, + crate::ts::any::index_signature_modifier::FormatAnyTsIndexSignatureModifier::default(), ) } } @@ -11821,14 +11803,14 @@ impl AsFormat for biome_js_syntax::AnyTsType { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::AnyTsType, crate::ts::any::ts_type::FormatAnyTsType>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::any::ts_type::FormatAnyTsType) + FormatRefWithRule::new(self, crate::ts::any::ts_type::FormatAnyTsType::default()) } } impl IntoFormat for biome_js_syntax::AnyTsType { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::any::ts_type::FormatAnyTsType) + FormatOwnedWithRule::new(self, crate::ts::any::ts_type::FormatAnyTsType::default()) } } impl AsFormat for biome_js_syntax::AnyJsArrayAssignmentPatternElement { @@ -11838,7 +11820,7 @@ impl AsFormat for biome_js_syntax::AnyJsArrayAssignmentPatternE crate::js::any::array_assignment_pattern_element::FormatAnyJsArrayAssignmentPatternElement, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: any :: array_assignment_pattern_element :: FormatAnyJsArrayAssignmentPatternElement) + FormatRefWithRule :: new (self , crate :: js :: any :: array_assignment_pattern_element :: FormatAnyJsArrayAssignmentPatternElement :: default ()) } } impl IntoFormat for biome_js_syntax::AnyJsArrayAssignmentPatternElement { @@ -11847,7 +11829,7 @@ impl IntoFormat for biome_js_syntax::AnyJsArrayAssignmentPatter crate::js::any::array_assignment_pattern_element::FormatAnyJsArrayAssignmentPatternElement, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: any :: array_assignment_pattern_element :: FormatAnyJsArrayAssignmentPatternElement) + FormatOwnedWithRule :: new (self , crate :: js :: any :: array_assignment_pattern_element :: FormatAnyJsArrayAssignmentPatternElement :: default ()) } } impl AsFormat for biome_js_syntax::AnyJsObjectAssignmentPatternMember { @@ -11857,7 +11839,7 @@ impl AsFormat for biome_js_syntax::AnyJsObjectAssignmentPattern crate::js::any::object_assignment_pattern_member::FormatAnyJsObjectAssignmentPatternMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: js :: any :: object_assignment_pattern_member :: FormatAnyJsObjectAssignmentPatternMember) + FormatRefWithRule :: new (self , crate :: js :: any :: object_assignment_pattern_member :: FormatAnyJsObjectAssignmentPatternMember :: default ()) } } impl IntoFormat for biome_js_syntax::AnyJsObjectAssignmentPatternMember { @@ -11866,7 +11848,7 @@ impl IntoFormat for biome_js_syntax::AnyJsObjectAssignmentPatte crate::js::any::object_assignment_pattern_member::FormatAnyJsObjectAssignmentPatternMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: js :: any :: object_assignment_pattern_member :: FormatAnyJsObjectAssignmentPatternMember) + FormatOwnedWithRule :: new (self , crate :: js :: any :: object_assignment_pattern_member :: FormatAnyJsObjectAssignmentPatternMember :: default ()) } } impl AsFormat for biome_js_syntax::AnyJsArrayBindingPatternElement { @@ -11876,10 +11858,7 @@ impl AsFormat for biome_js_syntax::AnyJsArrayBindingPatternElem crate::js::any::array_binding_pattern_element::FormatAnyJsArrayBindingPatternElement, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::any::array_binding_pattern_element::FormatAnyJsArrayBindingPatternElement, - ) + FormatRefWithRule :: new (self , crate :: js :: any :: array_binding_pattern_element :: FormatAnyJsArrayBindingPatternElement :: default ()) } } impl IntoFormat for biome_js_syntax::AnyJsArrayBindingPatternElement { @@ -11888,10 +11867,7 @@ impl IntoFormat for biome_js_syntax::AnyJsArrayBindingPatternEl crate::js::any::array_binding_pattern_element::FormatAnyJsArrayBindingPatternElement, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::any::array_binding_pattern_element::FormatAnyJsArrayBindingPatternElement, - ) + FormatOwnedWithRule :: new (self , crate :: js :: any :: array_binding_pattern_element :: FormatAnyJsArrayBindingPatternElement :: default ()) } } impl AsFormat for biome_js_syntax::AnyJsObjectBindingPatternMember { @@ -11901,10 +11877,7 @@ impl AsFormat for biome_js_syntax::AnyJsObjectBindingPatternMem crate::js::any::object_binding_pattern_member::FormatAnyJsObjectBindingPatternMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::any::object_binding_pattern_member::FormatAnyJsObjectBindingPatternMember, - ) + FormatRefWithRule :: new (self , crate :: js :: any :: object_binding_pattern_member :: FormatAnyJsObjectBindingPatternMember :: default ()) } } impl IntoFormat for biome_js_syntax::AnyJsObjectBindingPatternMember { @@ -11913,10 +11886,7 @@ impl IntoFormat for biome_js_syntax::AnyJsObjectBindingPatternM crate::js::any::object_binding_pattern_member::FormatAnyJsObjectBindingPatternMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::any::object_binding_pattern_member::FormatAnyJsObjectBindingPatternMember, - ) + FormatOwnedWithRule :: new (self , crate :: js :: any :: object_binding_pattern_member :: FormatAnyJsObjectBindingPatternMember :: default ()) } } impl AsFormat for biome_js_syntax::AnyJsDeclaration { @@ -11926,7 +11896,10 @@ impl AsFormat for biome_js_syntax::AnyJsDeclaration { crate::js::any::declaration::FormatAnyJsDeclaration, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::declaration::FormatAnyJsDeclaration) + FormatRefWithRule::new( + self, + crate::js::any::declaration::FormatAnyJsDeclaration::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsDeclaration { @@ -11935,7 +11908,10 @@ impl IntoFormat for biome_js_syntax::AnyJsDeclaration { crate::js::any::declaration::FormatAnyJsDeclaration, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::declaration::FormatAnyJsDeclaration) + FormatOwnedWithRule::new( + self, + crate::js::any::declaration::FormatAnyJsDeclaration::default(), + ) } } impl AsFormat for biome_js_syntax::AnyTsReturnType { @@ -11945,7 +11921,10 @@ impl AsFormat for biome_js_syntax::AnyTsReturnType { crate::ts::any::return_type::FormatAnyTsReturnType, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::any::return_type::FormatAnyTsReturnType) + FormatRefWithRule::new( + self, + crate::ts::any::return_type::FormatAnyTsReturnType::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyTsReturnType { @@ -11954,7 +11933,10 @@ impl IntoFormat for biome_js_syntax::AnyTsReturnType { crate::ts::any::return_type::FormatAnyTsReturnType, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::any::return_type::FormatAnyTsReturnType) + FormatOwnedWithRule::new( + self, + crate::ts::any::return_type::FormatAnyTsReturnType::default(), + ) } } impl AsFormat for biome_js_syntax::AnyTsVariableAnnotation { @@ -11966,7 +11948,7 @@ impl AsFormat for biome_js_syntax::AnyTsVariableAnnotation { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::variable_annotation::FormatAnyTsVariableAnnotation, + crate::ts::any::variable_annotation::FormatAnyTsVariableAnnotation::default(), ) } } @@ -11978,7 +11960,7 @@ impl IntoFormat for biome_js_syntax::AnyTsVariableAnnotation { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::variable_annotation::FormatAnyTsVariableAnnotation, + crate::ts::any::variable_annotation::FormatAnyTsVariableAnnotation::default(), ) } } @@ -11989,7 +11971,10 @@ impl AsFormat for biome_js_syntax::AnyJsModuleItem { crate::js::any::module_item::FormatAnyJsModuleItem, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::module_item::FormatAnyJsModuleItem) + FormatRefWithRule::new( + self, + crate::js::any::module_item::FormatAnyJsModuleItem::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsModuleItem { @@ -11998,7 +11983,10 @@ impl IntoFormat for biome_js_syntax::AnyJsModuleItem { crate::js::any::module_item::FormatAnyJsModuleItem, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::module_item::FormatAnyJsModuleItem) + FormatOwnedWithRule::new( + self, + crate::js::any::module_item::FormatAnyJsModuleItem::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsImportClause { @@ -12008,7 +11996,10 @@ impl AsFormat for biome_js_syntax::AnyJsImportClause { crate::js::any::import_clause::FormatAnyJsImportClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::import_clause::FormatAnyJsImportClause) + FormatRefWithRule::new( + self, + crate::js::any::import_clause::FormatAnyJsImportClause::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsImportClause { @@ -12017,7 +12008,10 @@ impl IntoFormat for biome_js_syntax::AnyJsImportClause { crate::js::any::import_clause::FormatAnyJsImportClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::import_clause::FormatAnyJsImportClause) + FormatOwnedWithRule::new( + self, + crate::js::any::import_clause::FormatAnyJsImportClause::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsNamedImport { @@ -12027,7 +12021,10 @@ impl AsFormat for biome_js_syntax::AnyJsNamedImport { crate::js::any::named_import::FormatAnyJsNamedImport, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::named_import::FormatAnyJsNamedImport) + FormatRefWithRule::new( + self, + crate::js::any::named_import::FormatAnyJsNamedImport::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsNamedImport { @@ -12036,7 +12033,10 @@ impl IntoFormat for biome_js_syntax::AnyJsNamedImport { crate::js::any::named_import::FormatAnyJsNamedImport, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::named_import::FormatAnyJsNamedImport) + FormatOwnedWithRule::new( + self, + crate::js::any::named_import::FormatAnyJsNamedImport::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsNamedImportSpecifier { @@ -12048,7 +12048,7 @@ impl AsFormat for biome_js_syntax::AnyJsNamedImportSpecifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::named_import_specifier::FormatAnyJsNamedImportSpecifier, + crate::js::any::named_import_specifier::FormatAnyJsNamedImportSpecifier::default(), ) } } @@ -12060,7 +12060,7 @@ impl IntoFormat for biome_js_syntax::AnyJsNamedImportSpecifier fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::named_import_specifier::FormatAnyJsNamedImportSpecifier, + crate::js::any::named_import_specifier::FormatAnyJsNamedImportSpecifier::default(), ) } } @@ -12073,7 +12073,7 @@ impl AsFormat for biome_js_syntax::AnyJsImportAssertionEntry { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::import_assertion_entry::FormatAnyJsImportAssertionEntry, + crate::js::any::import_assertion_entry::FormatAnyJsImportAssertionEntry::default(), ) } } @@ -12085,7 +12085,7 @@ impl IntoFormat for biome_js_syntax::AnyJsImportAssertionEntry fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::import_assertion_entry::FormatAnyJsImportAssertionEntry, + crate::js::any::import_assertion_entry::FormatAnyJsImportAssertionEntry::default(), ) } } @@ -12096,7 +12096,10 @@ impl AsFormat for biome_js_syntax::AnyJsExportClause { crate::js::any::export_clause::FormatAnyJsExportClause, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::export_clause::FormatAnyJsExportClause) + FormatRefWithRule::new( + self, + crate::js::any::export_clause::FormatAnyJsExportClause::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsExportClause { @@ -12105,7 +12108,10 @@ impl IntoFormat for biome_js_syntax::AnyJsExportClause { crate::js::any::export_clause::FormatAnyJsExportClause, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::export_clause::FormatAnyJsExportClause) + FormatOwnedWithRule::new( + self, + crate::js::any::export_clause::FormatAnyJsExportClause::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsExportDefaultDeclaration { @@ -12115,10 +12121,7 @@ impl AsFormat for biome_js_syntax::AnyJsExportDefaultDeclaratio crate::js::any::export_default_declaration::FormatAnyJsExportDefaultDeclaration, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::js::any::export_default_declaration::FormatAnyJsExportDefaultDeclaration, - ) + FormatRefWithRule :: new (self , crate :: js :: any :: export_default_declaration :: FormatAnyJsExportDefaultDeclaration :: default ()) } } impl IntoFormat for biome_js_syntax::AnyJsExportDefaultDeclaration { @@ -12127,10 +12130,7 @@ impl IntoFormat for biome_js_syntax::AnyJsExportDefaultDeclarat crate::js::any::export_default_declaration::FormatAnyJsExportDefaultDeclaration, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::js::any::export_default_declaration::FormatAnyJsExportDefaultDeclaration, - ) + FormatOwnedWithRule :: new (self , crate :: js :: any :: export_default_declaration :: FormatAnyJsExportDefaultDeclaration :: default ()) } } impl AsFormat for biome_js_syntax::AnyJsExportNamedSpecifier { @@ -12142,7 +12142,7 @@ impl AsFormat for biome_js_syntax::AnyJsExportNamedSpecifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::js::any::export_named_specifier::FormatAnyJsExportNamedSpecifier, + crate::js::any::export_named_specifier::FormatAnyJsExportNamedSpecifier::default(), ) } } @@ -12154,7 +12154,7 @@ impl IntoFormat for biome_js_syntax::AnyJsExportNamedSpecifier fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::js::any::export_named_specifier::FormatAnyJsExportNamedSpecifier, + crate::js::any::export_named_specifier::FormatAnyJsExportNamedSpecifier::default(), ) } } @@ -12165,7 +12165,10 @@ impl AsFormat for biome_js_syntax::AnyJsFunction { crate::js::any::function::FormatAnyJsFunction, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::function::FormatAnyJsFunction) + FormatRefWithRule::new( + self, + crate::js::any::function::FormatAnyJsFunction::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsFunction { @@ -12174,7 +12177,10 @@ impl IntoFormat for biome_js_syntax::AnyJsFunction { crate::js::any::function::FormatAnyJsFunction, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::function::FormatAnyJsFunction) + FormatOwnedWithRule::new( + self, + crate::js::any::function::FormatAnyJsFunction::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsParameter { @@ -12184,7 +12190,10 @@ impl AsFormat for biome_js_syntax::AnyJsParameter { crate::js::any::parameter::FormatAnyJsParameter, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::parameter::FormatAnyJsParameter) + FormatRefWithRule::new( + self, + crate::js::any::parameter::FormatAnyJsParameter::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsParameter { @@ -12193,7 +12202,10 @@ impl IntoFormat for biome_js_syntax::AnyJsParameter { crate::js::any::parameter::FormatAnyJsParameter, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::parameter::FormatAnyJsParameter) + FormatOwnedWithRule::new( + self, + crate::js::any::parameter::FormatAnyJsParameter::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsCallArgument { @@ -12203,7 +12215,10 @@ impl AsFormat for biome_js_syntax::AnyJsCallArgument { crate::js::any::call_argument::FormatAnyJsCallArgument, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::call_argument::FormatAnyJsCallArgument) + FormatRefWithRule::new( + self, + crate::js::any::call_argument::FormatAnyJsCallArgument::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsCallArgument { @@ -12212,7 +12227,10 @@ impl IntoFormat for biome_js_syntax::AnyJsCallArgument { crate::js::any::call_argument::FormatAnyJsCallArgument, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::call_argument::FormatAnyJsCallArgument) + FormatOwnedWithRule::new( + self, + crate::js::any::call_argument::FormatAnyJsCallArgument::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsDecorator { @@ -12222,7 +12240,10 @@ impl AsFormat for biome_js_syntax::AnyJsDecorator { crate::js::any::decorator::FormatAnyJsDecorator, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::js::any::decorator::FormatAnyJsDecorator) + FormatRefWithRule::new( + self, + crate::js::any::decorator::FormatAnyJsDecorator::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsDecorator { @@ -12231,21 +12252,24 @@ impl IntoFormat for biome_js_syntax::AnyJsDecorator { crate::js::any::decorator::FormatAnyJsDecorator, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::js::any::decorator::FormatAnyJsDecorator) + FormatOwnedWithRule::new( + self, + crate::js::any::decorator::FormatAnyJsDecorator::default(), + ) } } impl AsFormat for biome_js_syntax::AnyTsName { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::AnyTsName, crate::ts::any::name::FormatAnyTsName>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::any::name::FormatAnyTsName) + FormatRefWithRule::new(self, crate::ts::any::name::FormatAnyTsName::default()) } } impl IntoFormat for biome_js_syntax::AnyTsName { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::any::name::FormatAnyTsName) + FormatOwnedWithRule::new(self, crate::ts::any::name::FormatAnyTsName::default()) } } impl AsFormat for biome_js_syntax::AnyTsModuleReference { @@ -12257,7 +12281,7 @@ impl AsFormat for biome_js_syntax::AnyTsModuleReference { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::module_reference::FormatAnyTsModuleReference, + crate::ts::any::module_reference::FormatAnyTsModuleReference::default(), ) } } @@ -12269,7 +12293,7 @@ impl IntoFormat for biome_js_syntax::AnyTsModuleReference { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::module_reference::FormatAnyTsModuleReference, + crate::ts::any::module_reference::FormatAnyTsModuleReference::default(), ) } } @@ -12280,7 +12304,10 @@ impl AsFormat for biome_js_syntax::AnyTsModuleName { crate::ts::any::module_name::FormatAnyTsModuleName, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::any::module_name::FormatAnyTsModuleName) + FormatRefWithRule::new( + self, + crate::ts::any::module_name::FormatAnyTsModuleName::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyTsModuleName { @@ -12289,7 +12316,10 @@ impl IntoFormat for biome_js_syntax::AnyTsModuleName { crate::ts::any::module_name::FormatAnyTsModuleName, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::any::module_name::FormatAnyTsModuleName) + FormatOwnedWithRule::new( + self, + crate::ts::any::module_name::FormatAnyTsModuleName::default(), + ) } } impl AsFormat for biome_js_syntax::AnyTsExternalModuleDeclarationBody { @@ -12299,7 +12329,7 @@ impl AsFormat for biome_js_syntax::AnyTsExternalModuleDeclarati crate::ts::any::external_module_declaration_body::FormatAnyTsExternalModuleDeclarationBody, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule :: new (self , crate :: ts :: any :: external_module_declaration_body :: FormatAnyTsExternalModuleDeclarationBody) + FormatRefWithRule :: new (self , crate :: ts :: any :: external_module_declaration_body :: FormatAnyTsExternalModuleDeclarationBody :: default ()) } } impl IntoFormat for biome_js_syntax::AnyTsExternalModuleDeclarationBody { @@ -12308,7 +12338,7 @@ impl IntoFormat for biome_js_syntax::AnyTsExternalModuleDeclara crate::ts::any::external_module_declaration_body::FormatAnyTsExternalModuleDeclarationBody, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule :: new (self , crate :: ts :: any :: external_module_declaration_body :: FormatAnyTsExternalModuleDeclarationBody) + FormatOwnedWithRule :: new (self , crate :: ts :: any :: external_module_declaration_body :: FormatAnyTsExternalModuleDeclarationBody :: default ()) } } impl AsFormat for biome_js_syntax::AnyTsTypePredicateParameterName { @@ -12318,10 +12348,7 @@ impl AsFormat for biome_js_syntax::AnyTsTypePredicateParameterN crate::ts::any::type_predicate_parameter_name::FormatAnyTsTypePredicateParameterName, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new( - self, - crate::ts::any::type_predicate_parameter_name::FormatAnyTsTypePredicateParameterName, - ) + FormatRefWithRule :: new (self , crate :: ts :: any :: type_predicate_parameter_name :: FormatAnyTsTypePredicateParameterName :: default ()) } } impl IntoFormat for biome_js_syntax::AnyTsTypePredicateParameterName { @@ -12330,10 +12357,7 @@ impl IntoFormat for biome_js_syntax::AnyTsTypePredicateParamete crate::ts::any::type_predicate_parameter_name::FormatAnyTsTypePredicateParameterName, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new( - self, - crate::ts::any::type_predicate_parameter_name::FormatAnyTsTypePredicateParameterName, - ) + FormatOwnedWithRule :: new (self , crate :: ts :: any :: type_predicate_parameter_name :: FormatAnyTsTypePredicateParameterName :: default ()) } } impl AsFormat for biome_js_syntax::AnyTsTypeParameterModifier { @@ -12345,7 +12369,7 @@ impl AsFormat for biome_js_syntax::AnyTsTypeParameterModifier { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::type_parameter_modifier::FormatAnyTsTypeParameterModifier, + crate::ts::any::type_parameter_modifier::FormatAnyTsTypeParameterModifier::default(), ) } } @@ -12357,7 +12381,7 @@ impl IntoFormat for biome_js_syntax::AnyTsTypeParameterModifier fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::type_parameter_modifier::FormatAnyTsTypeParameterModifier, + crate::ts::any::type_parameter_modifier::FormatAnyTsTypeParameterModifier::default(), ) } } @@ -12368,7 +12392,10 @@ impl AsFormat for biome_js_syntax::AnyTsTypeMember { crate::ts::any::type_member::FormatAnyTsTypeMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::ts::any::type_member::FormatAnyTsTypeMember) + FormatRefWithRule::new( + self, + crate::ts::any::type_member::FormatAnyTsTypeMember::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyTsTypeMember { @@ -12377,7 +12404,10 @@ impl IntoFormat for biome_js_syntax::AnyTsTypeMember { crate::ts::any::type_member::FormatAnyTsTypeMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::ts::any::type_member::FormatAnyTsTypeMember) + FormatOwnedWithRule::new( + self, + crate::ts::any::type_member::FormatAnyTsTypeMember::default(), + ) } } impl AsFormat for biome_js_syntax::AnyTsTupleTypeElement { @@ -12389,7 +12419,7 @@ impl AsFormat for biome_js_syntax::AnyTsTupleTypeElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::tuple_type_element::FormatAnyTsTupleTypeElement, + crate::ts::any::tuple_type_element::FormatAnyTsTupleTypeElement::default(), ) } } @@ -12401,7 +12431,7 @@ impl IntoFormat for biome_js_syntax::AnyTsTupleTypeElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::tuple_type_element::FormatAnyTsTupleTypeElement, + crate::ts::any::tuple_type_element::FormatAnyTsTupleTypeElement::default(), ) } } @@ -12414,7 +12444,7 @@ impl AsFormat for biome_js_syntax::AnyTsTemplateElement { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::ts::any::template_element::FormatAnyTsTemplateElement, + crate::ts::any::template_element::FormatAnyTsTemplateElement::default(), ) } } @@ -12426,7 +12456,7 @@ impl IntoFormat for biome_js_syntax::AnyTsTemplateElement { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::ts::any::template_element::FormatAnyTsTemplateElement, + crate::ts::any::template_element::FormatAnyTsTemplateElement::default(), ) } } @@ -12434,14 +12464,14 @@ impl AsFormat for biome_js_syntax::AnyJsxTag { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::AnyJsxTag, crate::jsx::any::tag::FormatAnyJsxTag>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::any::tag::FormatAnyJsxTag) + FormatRefWithRule::new(self, crate::jsx::any::tag::FormatAnyJsxTag::default()) } } impl IntoFormat for biome_js_syntax::AnyJsxTag { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::any::tag::FormatAnyJsxTag) + FormatOwnedWithRule::new(self, crate::jsx::any::tag::FormatAnyJsxTag::default()) } } impl AsFormat for biome_js_syntax::AnyJsxElementName { @@ -12451,7 +12481,10 @@ impl AsFormat for biome_js_syntax::AnyJsxElementName { crate::jsx::any::element_name::FormatAnyJsxElementName, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::any::element_name::FormatAnyJsxElementName) + FormatRefWithRule::new( + self, + crate::jsx::any::element_name::FormatAnyJsxElementName::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsxElementName { @@ -12460,7 +12493,10 @@ impl IntoFormat for biome_js_syntax::AnyJsxElementName { crate::jsx::any::element_name::FormatAnyJsxElementName, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::any::element_name::FormatAnyJsxElementName) + FormatOwnedWithRule::new( + self, + crate::jsx::any::element_name::FormatAnyJsxElementName::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsxObjectName { @@ -12470,7 +12506,10 @@ impl AsFormat for biome_js_syntax::AnyJsxObjectName { crate::jsx::any::object_name::FormatAnyJsxObjectName, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::any::object_name::FormatAnyJsxObjectName) + FormatRefWithRule::new( + self, + crate::jsx::any::object_name::FormatAnyJsxObjectName::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsxObjectName { @@ -12479,21 +12518,24 @@ impl IntoFormat for biome_js_syntax::AnyJsxObjectName { crate::jsx::any::object_name::FormatAnyJsxObjectName, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::any::object_name::FormatAnyJsxObjectName) + FormatOwnedWithRule::new( + self, + crate::jsx::any::object_name::FormatAnyJsxObjectName::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsxName { type Format<'a> = FormatRefWithRule<'a, biome_js_syntax::AnyJsxName, crate::jsx::any::name::FormatAnyJsxName>; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::any::name::FormatAnyJsxName) + FormatRefWithRule::new(self, crate::jsx::any::name::FormatAnyJsxName::default()) } } impl IntoFormat for biome_js_syntax::AnyJsxName { type Format = FormatOwnedWithRule; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::any::name::FormatAnyJsxName) + FormatOwnedWithRule::new(self, crate::jsx::any::name::FormatAnyJsxName::default()) } } impl AsFormat for biome_js_syntax::AnyJsxAttribute { @@ -12503,7 +12545,10 @@ impl AsFormat for biome_js_syntax::AnyJsxAttribute { crate::jsx::any::attribute::FormatAnyJsxAttribute, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::any::attribute::FormatAnyJsxAttribute) + FormatRefWithRule::new( + self, + crate::jsx::any::attribute::FormatAnyJsxAttribute::default(), + ) } } impl IntoFormat for biome_js_syntax::AnyJsxAttribute { @@ -12512,7 +12557,10 @@ impl IntoFormat for biome_js_syntax::AnyJsxAttribute { crate::jsx::any::attribute::FormatAnyJsxAttribute, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::any::attribute::FormatAnyJsxAttribute) + FormatOwnedWithRule::new( + self, + crate::jsx::any::attribute::FormatAnyJsxAttribute::default(), + ) } } impl AsFormat for biome_js_syntax::AnyJsxAttributeName { @@ -12524,7 +12572,7 @@ impl AsFormat for biome_js_syntax::AnyJsxAttributeName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::any::attribute_name::FormatAnyJsxAttributeName, + crate::jsx::any::attribute_name::FormatAnyJsxAttributeName::default(), ) } } @@ -12536,7 +12584,7 @@ impl IntoFormat for biome_js_syntax::AnyJsxAttributeName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::any::attribute_name::FormatAnyJsxAttributeName, + crate::jsx::any::attribute_name::FormatAnyJsxAttributeName::default(), ) } } @@ -12549,7 +12597,7 @@ impl AsFormat for biome_js_syntax::AnyJsxAttributeValue { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::jsx::any::attribute_value::FormatAnyJsxAttributeValue, + crate::jsx::any::attribute_value::FormatAnyJsxAttributeValue::default(), ) } } @@ -12561,7 +12609,7 @@ impl IntoFormat for biome_js_syntax::AnyJsxAttributeValue { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::jsx::any::attribute_value::FormatAnyJsxAttributeValue, + crate::jsx::any::attribute_value::FormatAnyJsxAttributeValue::default(), ) } } @@ -12572,7 +12620,7 @@ impl AsFormat for biome_js_syntax::AnyJsxChild { crate::jsx::any::child::FormatAnyJsxChild, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::jsx::any::child::FormatAnyJsxChild) + FormatRefWithRule::new(self, crate::jsx::any::child::FormatAnyJsxChild::default()) } } impl IntoFormat for biome_js_syntax::AnyJsxChild { @@ -12581,6 +12629,6 @@ impl IntoFormat for biome_js_syntax::AnyJsxChild { crate::jsx::any::child::FormatAnyJsxChild, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::jsx::any::child::FormatAnyJsxChild) + FormatOwnedWithRule::new(self, crate::jsx::any::child::FormatAnyJsxChild::default()) } } diff --git a/crates/biome_js_unicode_table/src/tables.rs b/crates/biome_js_unicode_table/src/tables.rs index 3ed00b032140..7700038e9f9c 100644 --- a/crates/biome_js_unicode_table/src/tables.rs +++ b/crates/biome_js_unicode_table/src/tables.rs @@ -318,6 +318,7 @@ pub mod derived_property { ('ῠ', 'Ῥ'), ('ῲ', 'ῴ'), ('ῶ', 'ῼ'), + ('\u{200c}', '\u{200d}'), ('‿', '⁀'), ('⁔', '⁔'), ('ⁱ', 'ⁱ'), @@ -362,8 +363,7 @@ pub mod derived_property { ('〸', '〼'), ('ぁ', 'ゖ'), ('\u{3099}', 'ゟ'), - ('ァ', 'ヺ'), - ('ー', 'ヿ'), + ('ァ', 'ヿ'), ('ㄅ', 'ㄯ'), ('ㄱ', 'ㆎ'), ('ㆠ', 'ㆿ'), @@ -441,7 +441,7 @@ pub mod derived_property { ('A', 'Z'), ('_', '_'), ('a', 'z'), - ('ヲ', 'ᄒ'), + ('・', 'ᄒ'), ('ᅡ', 'ᅦ'), ('ᅧ', 'ᅬ'), ('ᅭ', 'ᅲ'), @@ -782,6 +782,7 @@ pub mod derived_property { ('𫝀', '𫠝'), ('𫠠', '𬺡'), ('𬺰', '𮯠'), + ('\u{2ebf0}', '\u{2ee5d}'), ('丽', '𪘀'), ('𰀀', '𱍊'), ('𱍐', '𲎯'), @@ -1447,6 +1448,7 @@ pub mod derived_property { ('𫝀', '𫠝'), ('𫠠', '𬺡'), ('𬺰', '𮯠'), + ('\u{2ebf0}', '\u{2ee5d}'), ('丽', '𪘀'), ('𰀀', '𱍊'), ('𱍐', '𲎯'), diff --git a/crates/biome_json_formatter/src/generated.rs b/crates/biome_json_formatter/src/generated.rs index a174b0221de1..2dd6145b15e0 100644 --- a/crates/biome_json_formatter/src/generated.rs +++ b/crates/biome_json_formatter/src/generated.rs @@ -18,7 +18,10 @@ impl AsFormat for biome_json_syntax::JsonRoot { crate::json::auxiliary::root::FormatJsonRoot, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::auxiliary::root::FormatJsonRoot) + FormatRefWithRule::new( + self, + crate::json::auxiliary::root::FormatJsonRoot::default(), + ) } } impl IntoFormat for biome_json_syntax::JsonRoot { @@ -27,7 +30,10 @@ impl IntoFormat for biome_json_syntax::JsonRoot { crate::json::auxiliary::root::FormatJsonRoot, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::auxiliary::root::FormatJsonRoot) + FormatOwnedWithRule::new( + self, + crate::json::auxiliary::root::FormatJsonRoot::default(), + ) } } impl FormatRule @@ -52,7 +58,7 @@ impl AsFormat for biome_json_syntax::JsonStringValue { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::json::value::string_value::FormatJsonStringValue, + crate::json::value::string_value::FormatJsonStringValue::default(), ) } } @@ -64,7 +70,7 @@ impl IntoFormat for biome_json_syntax::JsonStringValue { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::json::value::string_value::FormatJsonStringValue, + crate::json::value::string_value::FormatJsonStringValue::default(), ) } } @@ -90,7 +96,7 @@ impl AsFormat for biome_json_syntax::JsonBooleanValue { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::json::value::boolean_value::FormatJsonBooleanValue, + crate::json::value::boolean_value::FormatJsonBooleanValue::default(), ) } } @@ -102,7 +108,7 @@ impl IntoFormat for biome_json_syntax::JsonBooleanValue { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::json::value::boolean_value::FormatJsonBooleanValue, + crate::json::value::boolean_value::FormatJsonBooleanValue::default(), ) } } @@ -126,7 +132,10 @@ impl AsFormat for biome_json_syntax::JsonNullValue { crate::json::value::null_value::FormatJsonNullValue, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::value::null_value::FormatJsonNullValue) + FormatRefWithRule::new( + self, + crate::json::value::null_value::FormatJsonNullValue::default(), + ) } } impl IntoFormat for biome_json_syntax::JsonNullValue { @@ -135,7 +144,10 @@ impl IntoFormat for biome_json_syntax::JsonNullValue { crate::json::value::null_value::FormatJsonNullValue, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::value::null_value::FormatJsonNullValue) + FormatOwnedWithRule::new( + self, + crate::json::value::null_value::FormatJsonNullValue::default(), + ) } } impl FormatRule @@ -160,7 +172,7 @@ impl AsFormat for biome_json_syntax::JsonNumberValue { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::json::value::number_value::FormatJsonNumberValue, + crate::json::value::number_value::FormatJsonNumberValue::default(), ) } } @@ -172,7 +184,7 @@ impl IntoFormat for biome_json_syntax::JsonNumberValue { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::json::value::number_value::FormatJsonNumberValue, + crate::json::value::number_value::FormatJsonNumberValue::default(), ) } } @@ -196,7 +208,10 @@ impl AsFormat for biome_json_syntax::JsonArrayValue { crate::json::value::array_value::FormatJsonArrayValue, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::value::array_value::FormatJsonArrayValue) + FormatRefWithRule::new( + self, + crate::json::value::array_value::FormatJsonArrayValue::default(), + ) } } impl IntoFormat for biome_json_syntax::JsonArrayValue { @@ -205,7 +220,10 @@ impl IntoFormat for biome_json_syntax::JsonArrayValue { crate::json::value::array_value::FormatJsonArrayValue, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::value::array_value::FormatJsonArrayValue) + FormatOwnedWithRule::new( + self, + crate::json::value::array_value::FormatJsonArrayValue::default(), + ) } } impl FormatRule @@ -230,7 +248,7 @@ impl AsFormat for biome_json_syntax::JsonObjectValue { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::json::value::object_value::FormatJsonObjectValue, + crate::json::value::object_value::FormatJsonObjectValue::default(), ) } } @@ -242,7 +260,7 @@ impl IntoFormat for biome_json_syntax::JsonObjectValue { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::json::value::object_value::FormatJsonObjectValue, + crate::json::value::object_value::FormatJsonObjectValue::default(), ) } } @@ -262,7 +280,10 @@ impl AsFormat for biome_json_syntax::JsonMember { crate::json::auxiliary::member::FormatJsonMember, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::auxiliary::member::FormatJsonMember) + FormatRefWithRule::new( + self, + crate::json::auxiliary::member::FormatJsonMember::default(), + ) } } impl IntoFormat for biome_json_syntax::JsonMember { @@ -271,7 +292,10 @@ impl IntoFormat for biome_json_syntax::JsonMember { crate::json::auxiliary::member::FormatJsonMember, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::auxiliary::member::FormatJsonMember) + FormatOwnedWithRule::new( + self, + crate::json::auxiliary::member::FormatJsonMember::default(), + ) } } impl FormatRule @@ -296,7 +320,7 @@ impl AsFormat for biome_json_syntax::JsonMemberName { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::json::auxiliary::member_name::FormatJsonMemberName, + crate::json::auxiliary::member_name::FormatJsonMemberName::default(), ) } } @@ -308,7 +332,7 @@ impl IntoFormat for biome_json_syntax::JsonMemberName { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::json::auxiliary::member_name::FormatJsonMemberName, + crate::json::auxiliary::member_name::FormatJsonMemberName::default(), ) } } @@ -321,7 +345,7 @@ impl AsFormat for biome_json_syntax::JsonArrayElementList { fn format(&self) -> Self::Format<'_> { FormatRefWithRule::new( self, - crate::json::lists::array_element_list::FormatJsonArrayElementList, + crate::json::lists::array_element_list::FormatJsonArrayElementList::default(), ) } } @@ -333,7 +357,7 @@ impl IntoFormat for biome_json_syntax::JsonArrayElementList { fn into_format(self) -> Self::Format { FormatOwnedWithRule::new( self, - crate::json::lists::array_element_list::FormatJsonArrayElementList, + crate::json::lists::array_element_list::FormatJsonArrayElementList::default(), ) } } @@ -344,7 +368,10 @@ impl AsFormat for biome_json_syntax::JsonMemberList { crate::json::lists::member_list::FormatJsonMemberList, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::lists::member_list::FormatJsonMemberList) + FormatRefWithRule::new( + self, + crate::json::lists::member_list::FormatJsonMemberList::default(), + ) } } impl IntoFormat for biome_json_syntax::JsonMemberList { @@ -353,7 +380,10 @@ impl IntoFormat for biome_json_syntax::JsonMemberList { crate::json::lists::member_list::FormatJsonMemberList, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::lists::member_list::FormatJsonMemberList) + FormatOwnedWithRule::new( + self, + crate::json::lists::member_list::FormatJsonMemberList::default(), + ) } } impl FormatRule for crate::json::bogus::bogus::FormatJsonBogus { @@ -370,7 +400,7 @@ impl AsFormat for biome_json_syntax::JsonBogus { crate::json::bogus::bogus::FormatJsonBogus, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::bogus::bogus::FormatJsonBogus) + FormatRefWithRule::new(self, crate::json::bogus::bogus::FormatJsonBogus::default()) } } impl IntoFormat for biome_json_syntax::JsonBogus { @@ -379,7 +409,7 @@ impl IntoFormat for biome_json_syntax::JsonBogus { crate::json::bogus::bogus::FormatJsonBogus, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::bogus::bogus::FormatJsonBogus) + FormatOwnedWithRule::new(self, crate::json::bogus::bogus::FormatJsonBogus::default()) } } impl FormatRule @@ -402,7 +432,10 @@ impl AsFormat for biome_json_syntax::JsonBogusValue { crate::json::bogus::bogus_value::FormatJsonBogusValue, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::bogus::bogus_value::FormatJsonBogusValue) + FormatRefWithRule::new( + self, + crate::json::bogus::bogus_value::FormatJsonBogusValue::default(), + ) } } impl IntoFormat for biome_json_syntax::JsonBogusValue { @@ -411,7 +444,10 @@ impl IntoFormat for biome_json_syntax::JsonBogusValue { crate::json::bogus::bogus_value::FormatJsonBogusValue, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::bogus::bogus_value::FormatJsonBogusValue) + FormatOwnedWithRule::new( + self, + crate::json::bogus::bogus_value::FormatJsonBogusValue::default(), + ) } } impl AsFormat for biome_json_syntax::AnyJsonValue { @@ -421,7 +457,7 @@ impl AsFormat for biome_json_syntax::AnyJsonValue { crate::json::any::value::FormatAnyJsonValue, >; fn format(&self) -> Self::Format<'_> { - FormatRefWithRule::new(self, crate::json::any::value::FormatAnyJsonValue) + FormatRefWithRule::new(self, crate::json::any::value::FormatAnyJsonValue::default()) } } impl IntoFormat for biome_json_syntax::AnyJsonValue { @@ -430,6 +466,6 @@ impl IntoFormat for biome_json_syntax::AnyJsonValue { crate::json::any::value::FormatAnyJsonValue, >; fn into_format(self) -> Self::Format { - FormatOwnedWithRule::new(self, crate::json::any::value::FormatAnyJsonValue) + FormatOwnedWithRule::new(self, crate::json::any::value::FormatAnyJsonValue::default()) } } diff --git a/crates/biome_service/src/configuration/linter/rules.rs b/crates/biome_service/src/configuration/linter/rules.rs index 36060388cdd8..3055d81b4240 100644 --- a/crates/biome_service/src/configuration/linter/rules.rs +++ b/crates/biome_service/src/configuration/linter/rules.rs @@ -2201,6 +2201,15 @@ pub struct Nursery { #[bpaf(long("no-global-is-nan"), argument("on|off|warn"), optional, hide)] #[serde(skip_serializing_if = "Option::is_none")] pub no_global_is_nan: Option, + #[doc = "Enforce proper usage of new and constructor."] + #[bpaf( + long("no-misleading-instantiator"), + argument("on|off|warn"), + optional, + hide + )] + #[serde(skip_serializing_if = "Option::is_none")] + pub no_misleading_instantiator: Option, #[doc = "Disallow the use of void operators, which is not a familiar operator."] #[bpaf(long("no-void"), argument("on|off|warn"), optional, hide)] #[serde(skip_serializing_if = "Option::is_none")] @@ -2251,7 +2260,7 @@ pub struct Nursery { } impl Nursery { const GROUP_NAME: &'static str = "nursery"; - pub(crate) const GROUP_RULES: [&'static str; 15] = [ + pub(crate) const GROUP_RULES: [&'static str; 16] = [ "noAccumulatingSpread", "noConfusingVoidType", "noDuplicateJsonKeys", @@ -2259,6 +2268,7 @@ impl Nursery { "noFallthroughSwitchClause", "noGlobalIsFinite", "noGlobalIsNan", + "noMisleadingInstantiator", "noVoid", "useArrowFunction", "useCollapsedElseIf", @@ -2281,12 +2291,12 @@ impl Nursery { RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[2]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[5]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[6]), - RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[8]), - RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[10]), - RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[13]), - RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[14]), + RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[9]), + RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[11]), + RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[12]), + RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[15]), ]; - const ALL_RULES_AS_FILTERS: [RuleFilter<'static>; 15] = [ + const ALL_RULES_AS_FILTERS: [RuleFilter<'static>; 16] = [ RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[0]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[1]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[2]), @@ -2302,6 +2312,7 @@ impl Nursery { RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[12]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[13]), RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[14]), + RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[15]), ]; #[doc = r" Retrieves the recommended rules"] pub(crate) fn is_recommended(&self) -> bool { @@ -2353,54 +2364,49 @@ impl Nursery { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[6])); } } - if let Some(rule) = self.no_void.as_ref() { + if let Some(rule) = self.no_misleading_instantiator.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[7])); } } - if let Some(rule) = self.use_arrow_function.as_ref() { + if let Some(rule) = self.no_void.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[8])); } } - if let Some(rule) = self.use_collapsed_else_if.as_ref() { + if let Some(rule) = self.use_arrow_function.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[9])); } } - if let Some(rule) = self.use_exhaustive_dependencies.as_ref() { + if let Some(rule) = self.use_collapsed_else_if.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[10])); } } - if let Some(rule) = self.use_grouped_type_import.as_ref() { + if let Some(rule) = self.use_exhaustive_dependencies.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[11])); } } - if let Some(rule) = self.use_hook_at_top_level.as_ref() { + if let Some(rule) = self.use_grouped_type_import.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[12])); } } - if let Some(rule) = self.use_import_restrictions.as_ref() { + if let Some(rule) = self.use_hook_at_top_level.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[13])); } } - if let Some(rule) = self.use_is_array.as_ref() { + if let Some(rule) = self.use_import_restrictions.as_ref() { if rule.is_enabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[14])); } } - if let Some(rule) = self.use_literal_enum_members.as_ref() { - if rule.is_enabled() { - index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[30])); - } - } - if let Some(rule) = self.use_naming_convention.as_ref() { + if let Some(rule) = self.use_is_array.as_ref() { if rule.is_enabled() { - index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[31])); + index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[15])); } } index_set @@ -2442,54 +2448,49 @@ impl Nursery { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[6])); } } - if let Some(rule) = self.no_void.as_ref() { + if let Some(rule) = self.no_misleading_instantiator.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[7])); } } - if let Some(rule) = self.use_arrow_function.as_ref() { + if let Some(rule) = self.no_void.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[8])); } } - if let Some(rule) = self.use_collapsed_else_if.as_ref() { + if let Some(rule) = self.use_arrow_function.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[9])); } } - if let Some(rule) = self.use_exhaustive_dependencies.as_ref() { + if let Some(rule) = self.use_collapsed_else_if.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[10])); } } - if let Some(rule) = self.use_grouped_type_import.as_ref() { + if let Some(rule) = self.use_exhaustive_dependencies.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[11])); } } - if let Some(rule) = self.use_hook_at_top_level.as_ref() { + if let Some(rule) = self.use_grouped_type_import.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[12])); } } - if let Some(rule) = self.use_import_restrictions.as_ref() { + if let Some(rule) = self.use_hook_at_top_level.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[13])); } } - if let Some(rule) = self.use_is_array.as_ref() { + if let Some(rule) = self.use_import_restrictions.as_ref() { if rule.is_disabled() { index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[14])); } } - if let Some(rule) = self.use_literal_enum_members.as_ref() { - if rule.is_disabled() { - index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[30])); - } - } - if let Some(rule) = self.use_naming_convention.as_ref() { + if let Some(rule) = self.use_is_array.as_ref() { if rule.is_disabled() { - index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[31])); + index_set.insert(RuleFilter::Rule(Self::GROUP_NAME, Self::GROUP_RULES[15])); } } index_set @@ -2505,7 +2506,7 @@ impl Nursery { pub(crate) fn recommended_rules_as_filters() -> [RuleFilter<'static>; 7] { Self::RECOMMENDED_RULES_AS_FILTERS } - pub(crate) fn all_rules_as_filters() -> [RuleFilter<'static>; 15] { + pub(crate) fn all_rules_as_filters() -> [RuleFilter<'static>; 16] { Self::ALL_RULES_AS_FILTERS } #[doc = r" Select preset rules"] @@ -2535,6 +2536,7 @@ impl Nursery { "noFallthroughSwitchClause" => self.no_fallthrough_switch_clause.as_ref(), "noGlobalIsFinite" => self.no_global_is_finite.as_ref(), "noGlobalIsNan" => self.no_global_is_nan.as_ref(), + "noMisleadingInstantiator" => self.no_misleading_instantiator.as_ref(), "noVoid" => self.no_void.as_ref(), "useArrowFunction" => self.use_arrow_function.as_ref(), "useCollapsedElseIf" => self.use_collapsed_else_if.as_ref(), diff --git a/crates/biome_service/src/configuration/parse/json/rules.rs b/crates/biome_service/src/configuration/parse/json/rules.rs index cca3ae97af4b..202831289098 100644 --- a/crates/biome_service/src/configuration/parse/json/rules.rs +++ b/crates/biome_service/src/configuration/parse/json/rules.rs @@ -2030,6 +2030,7 @@ impl VisitNode for Nursery { "noFallthroughSwitchClause", "noGlobalIsFinite", "noGlobalIsNan", + "noMisleadingInstantiator", "noVoid", "useArrowFunction", "useCollapsedElseIf", @@ -2218,6 +2219,29 @@ impl VisitNode for Nursery { )); } }, + "noMisleadingInstantiator" => match value { + AnyJsonValue::JsonStringValue(_) => { + let mut configuration = RuleConfiguration::default(); + self.map_to_known_string(&value, name_text, &mut configuration, diagnostics)?; + self.no_misleading_instantiator = Some(configuration); + } + AnyJsonValue::JsonObjectValue(_) => { + let mut rule_configuration = RuleConfiguration::default(); + rule_configuration.map_rule_configuration( + &value, + name_text, + "noMisleadingInstantiator", + diagnostics, + )?; + self.no_misleading_instantiator = Some(rule_configuration); + } + _ => { + diagnostics.push(DeserializationDiagnostic::new_incorrect_type( + "object or string", + value.range(), + )); + } + }, "noVoid" => match value { AnyJsonValue::JsonStringValue(_) => { let mut configuration = RuleConfiguration::default(); diff --git a/editors/vscode/configuration_schema.json b/editors/vscode/configuration_schema.json index 4b5ab4c51192..9ac33a121dbd 100644 --- a/editors/vscode/configuration_schema.json +++ b/editors/vscode/configuration_schema.json @@ -1012,6 +1012,13 @@ { "type": "null" } ] }, + "noMisleadingInstantiator": { + "description": "Enforce proper usage of new and constructor.", + "anyOf": [ + { "$ref": "#/definitions/RuleConfiguration" }, + { "type": "null" } + ] + }, "noVoid": { "description": "Disallow the use of void operators, which is not a familiar operator.", "anyOf": [ diff --git a/packages/@biomejs/backend-jsonrpc/src/workspace.ts b/packages/@biomejs/backend-jsonrpc/src/workspace.ts index ce9f9f2d0675..f6db13ea3a3b 100644 --- a/packages/@biomejs/backend-jsonrpc/src/workspace.ts +++ b/packages/@biomejs/backend-jsonrpc/src/workspace.ts @@ -115,7 +115,7 @@ export interface JavascriptConfiguration { /** * A list of global bindings that should be ignored by the analyzers -If defined here, they should not emit diagnostics. +If defined here, they should not emit diagnostics. */ globals?: StringSet; organize_imports?: JavascriptOrganizeImports; @@ -176,7 +176,7 @@ export interface VcsConfiguration { /** * The folder where Biome should check for VCS files. By default, Biome will use the same folder where `biome.json` was found. -If Biome can't find the configuration, it will attempt to use the current working directory. If no current working directory can't be found, Biome won't use the VCS integration, and a diagnostic will be emitted +If Biome can't find the configuration, it will attempt to use the current working directory. If no current working directory can't be found, Biome won't use the VCS integration, and a diagnostic will be emitted */ root?: string; /** @@ -188,7 +188,7 @@ export type PlainIndentStyle = "tab" | "space"; /** * Validated value for the `line_width` formatter options -The allowed range of values is 1..=320 +The allowed range of values is 1..=320 */ export type LineWidth = number; /** @@ -244,7 +244,7 @@ export interface JavascriptParser { /** * It enables the experimental and unsafe parsing of parameter decorators -These decorators belong to an old proposal, and they are subject to change. +These decorators belong to an old proposal, and they are subject to change. */ unsafeParameterDecoratorsEnabled?: boolean; } @@ -677,6 +677,10 @@ export interface Nursery { * Use Number.isNaN instead of global isNaN. */ noGlobalIsNan?: RuleConfiguration; + /** + * Enforce proper usage of new and constructor. + */ + noMisleadingInstantiator?: RuleConfiguration; /** * Disallow the use of void operators, which is not a familiar operator. */ @@ -1090,7 +1094,7 @@ export interface Hooks { /** * The "position" of the closure function, starting from zero. -### Example +### Example */ closureIndex?: number; /** @@ -1270,6 +1274,7 @@ export type Category = | "lint/nursery/noFallthroughSwitchClause" | "lint/nursery/noGlobalIsFinite" | "lint/nursery/noGlobalIsNan" + | "lint/nursery/noMisleadingInstantiator" | "lint/nursery/noVoid" | "lint/nursery/useArrowFunction" | "lint/nursery/useBiomeSuppressionComment" @@ -1391,7 +1396,7 @@ export type DiagnosticTags = DiagnosticTag[]; /** * Serializable representation of a [Diagnostic](super::Diagnostic) advice -See the [Visitor] trait for additional documentation on all the supported advice types. +See the [Visitor] trait for additional documentation on all the supported advice types. */ export type Advice = | { Log: [LogCategory, MarkupBuf] } @@ -1479,7 +1484,7 @@ export interface CodeAction { /** * The category of a code action, this type maps directly to the [CodeActionKind] type in the Language Server Protocol specification -[CodeActionKind]: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeActionKind +[CodeActionKind]: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeActionKind */ export type ActionCategory = | "QuickFix" diff --git a/packages/@biomejs/biome/configuration_schema.json b/packages/@biomejs/biome/configuration_schema.json index 438264f10445..9ac33a121dbd 100644 --- a/packages/@biomejs/biome/configuration_schema.json +++ b/packages/@biomejs/biome/configuration_schema.json @@ -1012,65 +1012,6 @@ { "type": "null" } ] }, -<<<<<<< HEAD -||||||| parent of 059b99ab88 (feat(lint): noMisusedNew) - "noNoninteractiveTabindex": { - "description": "Enforce that tabIndex is not assigned to non-interactive HTML elements.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noNonoctalDecimalEscape": { - "description": "Disallow \\8 and \\9 escape sequences in string literals.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noRedundantRoles": { - "description": "Enforce explicit role property is not the same as implicit/default role property on an element.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noSelfAssign": { - "description": "Disallow assignments where both sides are exactly the same.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noStaticOnlyClass": { - "description": "This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noUnsafeDeclarationMerging": { - "description": "Disallow unsafe declaration merging between interfaces and classes.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noUselessEmptyExport": { - "description": "Disallow empty exports that don't change anything in a module file.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noUselessThisAlias": { - "description": "Disallow useless this aliasing.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, -======= "noMisleadingInstantiator": { "description": "Enforce proper usage of new and constructor.", "anyOf": [ @@ -1078,63 +1019,6 @@ { "type": "null" } ] }, - "noNoninteractiveTabindex": { - "description": "Enforce that tabIndex is not assigned to non-interactive HTML elements.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noNonoctalDecimalEscape": { - "description": "Disallow \\8 and \\9 escape sequences in string literals.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noRedundantRoles": { - "description": "Enforce explicit role property is not the same as implicit/default role property on an element.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noSelfAssign": { - "description": "Disallow assignments where both sides are exactly the same.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noStaticOnlyClass": { - "description": "This rule reports when a class has no non-static members, such as for a class used exclusively as a static namespace.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noUnsafeDeclarationMerging": { - "description": "Disallow unsafe declaration merging between interfaces and classes.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noUselessEmptyExport": { - "description": "Disallow empty exports that don't change anything in a module file.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, - "noUselessThisAlias": { - "description": "Disallow useless this aliasing.", - "anyOf": [ - { "$ref": "#/definitions/RuleConfiguration" }, - { "type": "null" } - ] - }, ->>>>>>> 059b99ab88 (feat(lint): noMisusedNew) "noVoid": { "description": "Disallow the use of void operators, which is not a familiar operator.", "anyOf": [ diff --git a/website/src/content/docs/internals/changelog.mdx b/website/src/content/docs/internals/changelog.mdx index bafcbcc3e2e9..617b67304d95 100644 --- a/website/src/content/docs/internals/changelog.mdx +++ b/website/src/content/docs/internals/changelog.mdx @@ -14,6 +14,7 @@ Read our [guidelines to categorize a change](https://biomejs.dev/internals/versi New entries must be placed in a section entitled `Unreleased`. Read our [guidelines for writing a good changelog entry](https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#changelog). +<<<<<<< HEAD ## Unreleased ### Analyzer @@ -33,6 +34,33 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom - Fix an edge case where the formatter language configuration wasn't picked. - Fix the configuration schema, where `json.formatter` properties weren't transformed in camel case. +||||||| parent of e607cf7a41 (chore: codegen and resolve conflicts) +======= +## Unreleased + +### Analyzer + +### CLI + +### Configuration + +### Editors + +### Formatter + +### JavaScript APIs + +### Linter + +#### New features + +- Add [noMisleadingInstantiator](https://biomejs.dev/linter/rules/no-mileading-instantiator) rule. The rule reports the misleading use of the `new` and `constructor` methods. Contributed by [@unvalley](https://github.com/unvalley) + +### Parser + +### VSCode + +>>>>>>> e607cf7a41 (chore: codegen and resolve conflicts) ## 1.2.0 (2023-09-15) ### CLI diff --git a/website/src/content/docs/linter/rules/index.mdx b/website/src/content/docs/linter/rules/index.mdx index 9251b8599582..c6ee0c11a00b 100644 --- a/website/src/content/docs/linter/rules/index.mdx +++ b/website/src/content/docs/linter/rules/index.mdx @@ -352,6 +352,8 @@ Disallow fallthrough of switch clauses. Use Number.isFinite instead of global isFinite. ### [noGlobalIsNan](/linter/rules/no-global-is-nan) Use Number.isNaN instead of global isNaN. +### [noMisleadingInstantiator](/linter/rules/no-misleading-instantiator) +Enforce proper usage of new and constructor. ### [noVoid](/linter/rules/no-void) Disallow the use of void operators, which is not a familiar operator. ### [useArrowFunction](/linter/rules/use-arrow-function) diff --git a/website/src/content/docs/linter/rules/no-misleading-instantiator.md b/website/src/content/docs/linter/rules/no-misleading-instantiator.md index a9d8088d2b54..c76946fb3301 100644 --- a/website/src/content/docs/linter/rules/no-misleading-instantiator.md +++ b/website/src/content/docs/linter/rules/no-misleading-instantiator.md @@ -20,38 +20,6 @@ Source: https://typescript-eslint.io/rules/no-misused-new/ ### Invalid -```ts -declare class C { - new(): C; -} -``` - -
nursery/noMisleadingInstantiator.js:2:3 lint/nursery/noMisleadingInstantiator ━━━━━━━━━━━━━━━━━━━━━━
-
-   Don't use the new method in classes.
-  
-    1 │ declare class C {
-  > 2 │   new(): C;
-     ^^^^^^^^^
-    3 │ }
-    4 │ 
-  
-   new is typically used to instantiate objects. In classes, its usage can be misleading.
-  
-nursery/noMisleadingInstantiator.js:2:3 lint/nursery/noMisleadingInstantiator ━━━━━━━━━━━━━━━━━━━━━━
-
-   Don't use the new method in classes.
-  
-    1 │ declare class C {
-  > 2 │   new(): C;
-     ^^^^^^^^^
-    3 │ }
-    4 │ 
-  
-   new is typically used to instantiate objects. In classes, its usage can be misleading.
-  
-
- ```ts interface I { new (): I; @@ -59,7 +27,7 @@ interface I { } ``` -
nursery/noMisleadingInstantiator.js:2:3 lint/nursery/noMisleadingInstantiator ━━━━━━━━━━━━━━━━━━━━━━
+
nursery/noMisleadingInstantiator.js:2:3 lint/nursery/noMisleadingInstantiator ━━━━━━━━━━━━━━━━━━━━━━
 
    Don't use the new method in interfaces.
   
@@ -73,6 +41,26 @@ interface I {
   
 
+```ts +class C { + new(): C; +} +``` + +
nursery/noMisleadingInstantiator.js:2:3 lint/nursery/noMisleadingInstantiator ━━━━━━━━━━━━━━━━━━━━━━
+
+   Don't use the new method in classes.
+  
+    1 │ class C {
+  > 2 │   new(): C;
+     ^^^^^^^^^
+    3 │ }
+    4 │ 
+  
+   new is typically used to instantiate objects. In classes, its usage can be misleading.
+  
+
+ ### Valid ```ts