Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDKind ¶
type CDKind uint8
const ( // This context descriptor represents a module. Module CDKind = 0 /// This context descriptor represents an extension. Extension CDKind = 1 /// This context descriptor represents an anonymous possibly-generic context /// such as a function body. Anonymous CDKind = 2 /// This context descriptor represents a protocol context. Protocol CDKind = 3 /// This context descriptor represents an opaque type alias. OpaqueType CDKind = 4 /// First kind that represents a type of any sort. TypeFirst = 16 /// This context descriptor represents a class. Class CDKind = TypeFirst /// This context descriptor represents a struct. Struct CDKind = TypeFirst + 1 /// This context descriptor represents an enum. Enum CDKind = TypeFirst + 2 /// Last kind that represents a type of any sort. TypeLast = 31 )
type ClassDescriptor ¶
type EnumDescriptor ¶
type EnumDescriptor struct { TypeDescriptor NumPayloadCasesAndPayloadSizeOffset uint32 NumEmptyCases uint32 }
type StructDescriptor ¶
type StructDescriptor struct { TypeDescriptor NumFields uint32 FieldOffsetVectorOffset uint32 }
type TypeDescFlag ¶
type TypeDescFlag uint32
func (TypeDescFlag) IsGeneric ¶
func (f TypeDescFlag) IsGeneric() bool
func (TypeDescFlag) IsUnique ¶
func (f TypeDescFlag) IsUnique() bool
func (TypeDescFlag) Kind ¶
func (f TypeDescFlag) Kind() CDKind
func (TypeDescFlag) KindSpecificFlags ¶
func (f TypeDescFlag) KindSpecificFlags() uint16
func (TypeDescFlag) String ¶
func (f TypeDescFlag) String() string
func (TypeDescFlag) Version ¶
func (f TypeDescFlag) Version() uint8
type TypeDescriptor ¶
type TypeDescriptor struct { Flags TypeDescFlag Parent int32 Name int32 AccessFunction int32 FieldDescriptor int32 }
Click to show internal directories.
Click to hide internal directories.