@@ -1428,10 +1428,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
1428
1428
return . visitChildren
1429
1429
}
1430
1430
1431
- override func visit( _ node: AccessLevelModifierSyntax ) -> SyntaxVisitorContinueKind {
1432
- return . visitChildren
1433
- }
1434
-
1435
1431
override func visit( _ node: CodeBlockSyntax ) -> SyntaxVisitorContinueKind {
1436
1432
return . visitChildren
1437
1433
}
@@ -1969,10 +1965,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
1969
1965
return . visitChildren
1970
1966
}
1971
1967
1972
- override func visit( _ node: AsTypePatternSyntax ) -> SyntaxVisitorContinueKind {
1973
- return . visitChildren
1974
- }
1975
-
1976
1968
override func visit( _ node: InheritedTypeSyntax ) -> SyntaxVisitorContinueKind {
1977
1969
after ( node. trailingComma, tokens: . break( . same) )
1978
1970
return . visitChildren
@@ -2009,10 +2001,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
2009
2001
return . visitChildren
2010
2002
}
2011
2003
2012
- override func visit( _ node: ExpressionStmtSyntax ) -> SyntaxVisitorContinueKind {
2013
- return . visitChildren
2014
- }
2015
-
2016
2004
override func visit( _ node: IdentifierExprSyntax ) -> SyntaxVisitorContinueKind {
2017
2005
return . visitChildren
2018
2006
}
@@ -2040,14 +2028,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
2040
2028
return . visitChildren
2041
2029
}
2042
2030
2043
- override func visit( _ node: DeclarationStmtSyntax ) -> SyntaxVisitorContinueKind {
2044
- return . visitChildren
2045
- }
2046
-
2047
- override func visit( _ node: EnumCasePatternSyntax ) -> SyntaxVisitorContinueKind {
2048
- return . visitChildren
2049
- }
2050
-
2051
2031
override func visit( _ node: FallthroughStmtSyntax ) -> SyntaxVisitorContinueKind {
2052
2032
return . visitChildren
2053
2033
}
@@ -2066,10 +2046,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
2066
2046
return . visitChildren
2067
2047
}
2068
2048
2069
- override func visit( _ node: OptionalPatternSyntax ) -> SyntaxVisitorContinueKind {
2070
- return . visitChildren
2071
- }
2072
-
2073
2049
override func visit( _ node: WildcardPatternSyntax ) -> SyntaxVisitorContinueKind {
2074
2050
return . visitChildren
2075
2051
}
@@ -2249,10 +2225,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
2249
2225
return . visitChildren
2250
2226
}
2251
2227
2252
- override func visit( _ node: SymbolicReferenceExprSyntax ) -> SyntaxVisitorContinueKind {
2253
- return . visitChildren
2254
- }
2255
-
2256
2228
override func visit( _ node: TypeInheritanceClauseSyntax ) -> SyntaxVisitorContinueKind {
2257
2229
// Normally, the open-break is placed before the open token. In this case, it's intentionally
2258
2230
// ordered differently so that the inheritance list can start on the current line and only
@@ -2364,11 +2336,6 @@ fileprivate final class TokenStreamCreator: SyntaxVisitor {
2364
2336
return . skipChildren
2365
2337
}
2366
2338
2367
- override func visit( _ node: NonEmptyTokenListSyntax ) -> SyntaxVisitorContinueKind {
2368
- verbatimToken ( Syntax ( node) )
2369
- return . skipChildren
2370
- }
2371
-
2372
2339
// MARK: - Token handling
2373
2340
2374
2341
override func visit( _ token: TokenSyntax ) -> SyntaxVisitorContinueKind {
0 commit comments