@@ -27,7 +27,6 @@ public enum ConditionalSyntax: Sendable {
2727 case `if`( [ ParameterDeclaration ] )
2828 case `elseif`( [ ParameterDeclaration ] )
2929 case `else`
30-
3130 func imports( ) -> Set < String > {
3231 switch self {
3332 case . if( let pDA) , . elseif( let pDA) :
@@ -715,17 +714,18 @@ extension Syntax: CustomStringConvertible {
715714 print ( depth: 0 )
716715 }
717716
717+ // swift-format-ignore
718718 func print( depth: Int ) -> String {
719719 switch self {
720720 case . expression( let exp) : return indent ( depth) + " expression \( exp. description) "
721- // case .variable(let v): return v.print(depth: depth)
722- case . custom( let custom) : return custom. print ( depth: depth)
723- case . conditional( let c) : return c. print ( depth: depth)
724- case . loop( let loop) : return loop. print ( depth: depth)
725- case . import( let imp) : return imp. print ( depth: depth)
726- case . extend( let ext) : return ext. print ( depth: depth)
727- case . export( let export) : return export. print ( depth: depth)
728- case . with( let with) : return with. print ( depth: depth)
721+ // case .variable(let v): return v.print(depth: depth)
722+ case . custom( let custom) : return custom. print ( depth: depth)
723+ case . conditional( let c) : return c. print ( depth: depth)
724+ case . loop( let loop) : return loop. print ( depth: depth)
725+ case . import( let imp) : return imp. print ( depth: depth)
726+ case . extend( let ext) : return ext. print ( depth: depth)
727+ case . export( let export) : return export. print ( depth: depth)
728+ case . with( let with) : return with. print ( depth: depth)
729729 case . raw( var bB) :
730730 let string = bB. readString ( length: bB. readableBytes) ?? " "
731731 return indent ( depth) + " raw( \( string. debugDescription) ) "
0 commit comments