Skip to content

ContextDescriptorKind

Azoy edited this page May 6, 2021 · 2 revisions

ContextDescriptorKind

A discriminator to determine what type of context a descriptor is.

public enum ContextDescriptorKind: Int 

Inheritance

Int

Enumeration Cases

module

case module = 0

`extension`

case `extension` = 1

anonymous

case anonymous = 2

`protocol`

case `protocol` = 3

opaqueType

case opaqueType = 4

`class`

case `class` = 16

`struct`

case `struct` = 17

`enum`

case `enum` = 18
Types
Protocols
Global Variables
Global Functions
Clone this wiki locally