@@ -2162,16 +2162,16 @@ open class SyntaxVisitor {
21622162 /// The function called after visiting `OptionalTypeSyntax` and its descendents.
21632163 /// - node: the node we just finished visiting.
21642164 open func visitPost( _ node: OptionalTypeSyntax ) { }
2165- /// Visiting `SomeTypeSyntax ` specifically.
2165+ /// Visiting `ConstrainedSugarTypeSyntax ` specifically.
21662166 /// - Parameter node: the node we are visiting.
21672167 /// - Returns: how should we continue visiting.
2168- open func visit( _ node: SomeTypeSyntax ) -> SyntaxVisitorContinueKind {
2168+ open func visit( _ node: ConstrainedSugarTypeSyntax ) -> SyntaxVisitorContinueKind {
21692169 return . visitChildren
21702170 }
21712171
2172- /// The function called after visiting `SomeTypeSyntax ` and its descendents.
2172+ /// The function called after visiting `ConstrainedSugarTypeSyntax ` and its descendents.
21732173 /// - node: the node we just finished visiting.
2174- open func visitPost( _ node: SomeTypeSyntax ) { }
2174+ open func visitPost( _ node: ConstrainedSugarTypeSyntax ) { }
21752175 /// Visiting `ImplicitlyUnwrappedOptionalTypeSyntax` specifically.
21762176 /// - Parameter node: the node we are visiting.
21772177 /// - Returns: how should we continue visiting.
@@ -4884,8 +4884,8 @@ open class SyntaxVisitor {
48844884 }
48854885
48864886 /// Implementation detail of doVisit(_:_:). Do not call directly.
4887- private func visitImplSomeTypeSyntax ( _ data: SyntaxData ) {
4888- let node = SomeTypeSyntax ( data)
4887+ private func visitImplConstrainedSugarTypeSyntax ( _ data: SyntaxData ) {
4888+ let node = ConstrainedSugarTypeSyntax ( data)
48894889 let needsChildren = ( visit ( node) == . visitChildren)
48904890 // Avoid calling into visitChildren if possible.
48914891 if needsChildren && node. raw. numberOfChildren > 0 {
@@ -5669,8 +5669,8 @@ open class SyntaxVisitor {
56695669 visitImplMetatypeTypeSyntax ( data)
56705670 case . optionalType:
56715671 visitImplOptionalTypeSyntax ( data)
5672- case . someType :
5673- visitImplSomeTypeSyntax ( data)
5672+ case . constrainedSugarType :
5673+ visitImplConstrainedSugarTypeSyntax ( data)
56745674 case . implicitlyUnwrappedOptionalType:
56755675 visitImplImplicitlyUnwrappedOptionalTypeSyntax ( data)
56765676 case . compositionTypeElement:
0 commit comments