Back to Sourcery

Definition

docs/Protocols/Definition.html

2.3.01.1 KB
Original Source

Definition

public protocol Definition : AnyObject

Describes that the object is defined in a context of some Type

`

                definedInTypeName
                `

Reference to type name where the object is defined, nil if defined outside of any enum, struct, class etc

Declaration

Swift

var definedInTypeName: TypeName? { get }

`

                definedInType
                `

Reference to actual type where the object is defined, nil if defined outside of any enum, struct, class etc or type is unknown

Declaration

Swift

var definedInType: Type? { get }

`

                actualDefinedInTypeName
                `

Reference to actual type name where the method is defined if declaration uses typealias, otherwise just a definedInTypeName

Declaration

Swift

var actualDefinedInTypeName: TypeName? { get }

Copyright © 2016-2021 Pixle. All rights reserved.

Generated by jazzy ♪♫ v0.14.0, a Realm project.