@@ -716,6 +716,78 @@ impl IntoFormat<HtmlFormatContext> for biome_html_syntax::HtmlTextExpression {
716716 )
717717 }
718718}
719+ impl FormatRule < biome_html_syntax:: SvelteDebugBlock >
720+ for crate :: svelte:: auxiliary:: debug_block:: FormatSvelteDebugBlock
721+ {
722+ type Context = HtmlFormatContext ;
723+ #[ inline( always) ]
724+ fn fmt (
725+ & self ,
726+ node : & biome_html_syntax:: SvelteDebugBlock ,
727+ f : & mut HtmlFormatter ,
728+ ) -> FormatResult < ( ) > {
729+ FormatNodeRule :: < biome_html_syntax:: SvelteDebugBlock > :: fmt ( self , node, f)
730+ }
731+ }
732+ impl AsFormat < HtmlFormatContext > for biome_html_syntax:: SvelteDebugBlock {
733+ type Format < ' a > = FormatRefWithRule <
734+ ' a ,
735+ biome_html_syntax:: SvelteDebugBlock ,
736+ crate :: svelte:: auxiliary:: debug_block:: FormatSvelteDebugBlock ,
737+ > ;
738+ fn format ( & self ) -> Self :: Format < ' _ > {
739+ FormatRefWithRule :: new (
740+ self ,
741+ crate :: svelte:: auxiliary:: debug_block:: FormatSvelteDebugBlock :: default ( ) ,
742+ )
743+ }
744+ }
745+ impl IntoFormat < HtmlFormatContext > for biome_html_syntax:: SvelteDebugBlock {
746+ type Format = FormatOwnedWithRule <
747+ biome_html_syntax:: SvelteDebugBlock ,
748+ crate :: svelte:: auxiliary:: debug_block:: FormatSvelteDebugBlock ,
749+ > ;
750+ fn into_format ( self ) -> Self :: Format {
751+ FormatOwnedWithRule :: new (
752+ self ,
753+ crate :: svelte:: auxiliary:: debug_block:: FormatSvelteDebugBlock :: default ( ) ,
754+ )
755+ }
756+ }
757+ impl FormatRule < biome_html_syntax:: SvelteName >
758+ for crate :: svelte:: auxiliary:: name:: FormatSvelteName
759+ {
760+ type Context = HtmlFormatContext ;
761+ #[ inline( always) ]
762+ fn fmt ( & self , node : & biome_html_syntax:: SvelteName , f : & mut HtmlFormatter ) -> FormatResult < ( ) > {
763+ FormatNodeRule :: < biome_html_syntax:: SvelteName > :: fmt ( self , node, f)
764+ }
765+ }
766+ impl AsFormat < HtmlFormatContext > for biome_html_syntax:: SvelteName {
767+ type Format < ' a > = FormatRefWithRule <
768+ ' a ,
769+ biome_html_syntax:: SvelteName ,
770+ crate :: svelte:: auxiliary:: name:: FormatSvelteName ,
771+ > ;
772+ fn format ( & self ) -> Self :: Format < ' _ > {
773+ FormatRefWithRule :: new (
774+ self ,
775+ crate :: svelte:: auxiliary:: name:: FormatSvelteName :: default ( ) ,
776+ )
777+ }
778+ }
779+ impl IntoFormat < HtmlFormatContext > for biome_html_syntax:: SvelteName {
780+ type Format = FormatOwnedWithRule <
781+ biome_html_syntax:: SvelteName ,
782+ crate :: svelte:: auxiliary:: name:: FormatSvelteName ,
783+ > ;
784+ fn into_format ( self ) -> Self :: Format {
785+ FormatOwnedWithRule :: new (
786+ self ,
787+ crate :: svelte:: auxiliary:: name:: FormatSvelteName :: default ( ) ,
788+ )
789+ }
790+ }
719791impl AsFormat < HtmlFormatContext > for biome_html_syntax:: HtmlAttributeList {
720792 type Format < ' a > = FormatRefWithRule <
721793 ' a ,
@@ -766,6 +838,31 @@ impl IntoFormat<HtmlFormatContext> for biome_html_syntax::HtmlElementList {
766838 )
767839 }
768840}
841+ impl AsFormat < HtmlFormatContext > for biome_html_syntax:: SvelteBindingList {
842+ type Format < ' a > = FormatRefWithRule <
843+ ' a ,
844+ biome_html_syntax:: SvelteBindingList ,
845+ crate :: svelte:: lists:: binding_list:: FormatSvelteBindingList ,
846+ > ;
847+ fn format ( & self ) -> Self :: Format < ' _ > {
848+ FormatRefWithRule :: new (
849+ self ,
850+ crate :: svelte:: lists:: binding_list:: FormatSvelteBindingList :: default ( ) ,
851+ )
852+ }
853+ }
854+ impl IntoFormat < HtmlFormatContext > for biome_html_syntax:: SvelteBindingList {
855+ type Format = FormatOwnedWithRule <
856+ biome_html_syntax:: SvelteBindingList ,
857+ crate :: svelte:: lists:: binding_list:: FormatSvelteBindingList ,
858+ > ;
859+ fn into_format ( self ) -> Self :: Format {
860+ FormatOwnedWithRule :: new (
861+ self ,
862+ crate :: svelte:: lists:: binding_list:: FormatSvelteBindingList :: default ( ) ,
863+ )
864+ }
865+ }
769866impl FormatRule < biome_html_syntax:: AstroBogusFrontmatter >
770867 for crate :: astro:: bogus:: bogus_frontmatter:: FormatAstroBogusFrontmatter
771868{
@@ -944,6 +1041,44 @@ impl IntoFormat<HtmlFormatContext> for biome_html_syntax::HtmlBogusTextExpressio
9441041 )
9451042 }
9461043}
1044+ impl FormatRule < biome_html_syntax:: SvelteBogusBlock >
1045+ for crate :: svelte:: bogus:: bogus_block:: FormatSvelteBogusBlock
1046+ {
1047+ type Context = HtmlFormatContext ;
1048+ #[ inline( always) ]
1049+ fn fmt (
1050+ & self ,
1051+ node : & biome_html_syntax:: SvelteBogusBlock ,
1052+ f : & mut HtmlFormatter ,
1053+ ) -> FormatResult < ( ) > {
1054+ FormatBogusNodeRule :: < biome_html_syntax:: SvelteBogusBlock > :: fmt ( self , node, f)
1055+ }
1056+ }
1057+ impl AsFormat < HtmlFormatContext > for biome_html_syntax:: SvelteBogusBlock {
1058+ type Format < ' a > = FormatRefWithRule <
1059+ ' a ,
1060+ biome_html_syntax:: SvelteBogusBlock ,
1061+ crate :: svelte:: bogus:: bogus_block:: FormatSvelteBogusBlock ,
1062+ > ;
1063+ fn format ( & self ) -> Self :: Format < ' _ > {
1064+ FormatRefWithRule :: new (
1065+ self ,
1066+ crate :: svelte:: bogus:: bogus_block:: FormatSvelteBogusBlock :: default ( ) ,
1067+ )
1068+ }
1069+ }
1070+ impl IntoFormat < HtmlFormatContext > for biome_html_syntax:: SvelteBogusBlock {
1071+ type Format = FormatOwnedWithRule <
1072+ biome_html_syntax:: SvelteBogusBlock ,
1073+ crate :: svelte:: bogus:: bogus_block:: FormatSvelteBogusBlock ,
1074+ > ;
1075+ fn into_format ( self ) -> Self :: Format {
1076+ FormatOwnedWithRule :: new (
1077+ self ,
1078+ crate :: svelte:: bogus:: bogus_block:: FormatSvelteBogusBlock :: default ( ) ,
1079+ )
1080+ }
1081+ }
9471082impl AsFormat < HtmlFormatContext > for biome_html_syntax:: AnyAstroFrontmatterElement {
9481083 type Format < ' a > = FormatRefWithRule <
9491084 ' a ,
@@ -1094,3 +1229,28 @@ impl IntoFormat<HtmlFormatContext> for biome_html_syntax::AnyHtmlTextExpression
10941229 )
10951230 }
10961231}
1232+ impl AsFormat < HtmlFormatContext > for biome_html_syntax:: AnySvelteBlock {
1233+ type Format < ' a > = FormatRefWithRule <
1234+ ' a ,
1235+ biome_html_syntax:: AnySvelteBlock ,
1236+ crate :: svelte:: any:: block:: FormatAnySvelteBlock ,
1237+ > ;
1238+ fn format ( & self ) -> Self :: Format < ' _ > {
1239+ FormatRefWithRule :: new (
1240+ self ,
1241+ crate :: svelte:: any:: block:: FormatAnySvelteBlock :: default ( ) ,
1242+ )
1243+ }
1244+ }
1245+ impl IntoFormat < HtmlFormatContext > for biome_html_syntax:: AnySvelteBlock {
1246+ type Format = FormatOwnedWithRule <
1247+ biome_html_syntax:: AnySvelteBlock ,
1248+ crate :: svelte:: any:: block:: FormatAnySvelteBlock ,
1249+ > ;
1250+ fn into_format ( self ) -> Self :: Format {
1251+ FormatOwnedWithRule :: new (
1252+ self ,
1253+ crate :: svelte:: any:: block:: FormatAnySvelteBlock :: default ( ) ,
1254+ )
1255+ }
1256+ }
0 commit comments