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 {
28
28
public struct ImportedClass : ImportedDecl {
29
29
public var name : ImportedTypeName
30
30
31
- public var implementedInterfaces : Set < ImportedTypeName > = [ ]
32
-
33
31
public var initializers : [ ImportedFunc ] = [ ]
34
32
public var methods : [ ImportedFunc ] = [ ]
35
33
@@ -126,6 +124,8 @@ public struct ImportedFunc: ImportedDecl, CustomStringConvertible {
126
124
/// This is a full name such as init(cap:name:).
127
125
public var identifier : String
128
126
127
+ /// This is the base identifier for the function, e.g., "init" for an
128
+ /// initializer or "f" for "f(a:b:)".
129
129
public var baseIdentifier : String {
130
130
guard let idx = identifier. firstIndex ( of: " ( " ) else {
131
131
return identifier
@@ -134,7 +134,7 @@ public struct ImportedFunc: ImportedDecl, CustomStringConvertible {
134
134
}
135
135
136
136
/// A display name to use to refer to the Swift declaration with its
137
- /// enclosing type.
137
+ /// enclosing type, if there is one .
138
138
public var displayName : String {
139
139
if let parentName {
140
140
return " \( parentName. swiftTypeName) . \( identifier) "
You can’t perform that action at this time.
0 commit comments