File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ public struct ImportedProtocol: ImportedDecl {
2828public struct ImportedClass : ImportedDecl {
2929 public var name : ImportedTypeName
3030
31- public var implementedInterfaces : Set < ImportedTypeName > = [ ]
32-
3331 public var initializers : [ ImportedFunc ] = [ ]
3432 public var methods : [ ImportedFunc ] = [ ]
3533
@@ -126,6 +124,8 @@ public struct ImportedFunc: ImportedDecl, CustomStringConvertible {
126124 /// This is a full name such as init(cap:name:).
127125 public var identifier : String
128126
127+ /// This is the base identifier for the function, e.g., "init" for an
128+ /// initializer or "f" for "f(a:b:)".
129129 public var baseIdentifier : String {
130130 guard let idx = identifier. firstIndex ( of: " ( " ) else {
131131 return identifier
@@ -134,7 +134,7 @@ public struct ImportedFunc: ImportedDecl, CustomStringConvertible {
134134 }
135135
136136 /// A display name to use to refer to the Swift declaration with its
137- /// enclosing type.
137+ /// enclosing type, if there is one .
138138 public var displayName : String {
139139 if let parentName {
140140 return " \( parentName. swiftTypeName) . \( identifier) "
You can’t perform that action at this time.
0 commit comments