Definition
public protocol Definition : AnyObject
Describes that the object is defined in a context of some Type
-
Reference to type name where the object is defined, nil if defined outside of any
enum,struct,classetcDeclaration
Swift
var definedInTypeName: TypeName? { get } -
Reference to actual type where the object is defined, nil if defined outside of any
enum,struct,classetc or type is unknownDeclaration
Swift
var definedInType: Type? { get } -
Reference to actual type name where the method is defined if declaration uses typealias, otherwise just a
definedInTypeNameDeclaration
Swift
var actualDefinedInTypeName: TypeName? { get }
View on GitHub
Definition Protocol Reference