Directories
¶
| Path | Synopsis |
|---|---|
|
Package blocks manages the CGo trampolines that allow ObjC block callbacks to invoke Go functions.
|
Package blocks manages the CGo trampolines that allow ObjC block callbacks to invoke Go functions. |
|
Package callbacks manages the CGo trampolines that allow ObjC method calls on generated subclasses and protocol-conformance objects to invoke Go functions.
|
Package callbacks manages the CGo trampolines that allow ObjC method calls on generated subclasses and protocol-conformance objects to invoke Go functions. |
|
codegen
|
|
|
emit
Package emit contains the per-construct emitters that convert [meta] structures into Go source files and CGo bridge files.
|
Package emit contains the per-construct emitters that convert [meta] structures into Go source files and CGo bridge files. |
|
naming
Package naming converts ObjC identifiers to idiomatic Go names.
|
Package naming converts ObjC identifiers to idiomatic Go names. |
|
pipeline
Package pipeline orchestrates the load and generate phases of the code-generation pipeline.
|
Package pipeline orchestrates the load and generate phases of the code-generation pipeline. |
|
typemap
Package typemap resolves ObjC qualType strings to their Go equivalents.
|
Package typemap resolves ObjC qualType strings to their Go equivalents. |
|
Package diagnostics persists generator type-degradation diagnostics and enforces a committed baseline over them.
|
Package diagnostics persists generator type-degradation diagnostics and enforces a committed baseline over them. |
|
ergonomic
|
|
|
delegates
Package delegates provides a handle-based registry that maps uint64 tokens to Go delegate implementations.
|
Package delegates provides a handle-based registry that maps uint64 tokens to Go delegate implementations. |
|
Package meta defines the data model that connects the scanner and the code generator.
|
Package meta defines the data model that connects the scanner and the code generator. |
|
Package metadiff compares two metadata trees and produces a semantic API change report.
|
Package metadiff compares two metadata trees and produces a semantic API change report. |
|
Package objc provides the CGo runtime layer shared by all generated framework packages.
|
Package objc provides the CGo runtime layer shared by all generated framework packages. |
|
Package overrides applies declarative, per-framework corrections to scanned metadata at load time.
|
Package overrides applies declarative, per-framework corrections to scanned metadata at load time. |
|
purecg
|
|
|
emit
Package emit contains the per-construct emitters for the purego code generator.
|
Package emit contains the per-construct emitters for the purego code generator. |
|
emit/idiomatic
Package idiomatic emits fluent Go wrapper types for ObjC frameworks.
|
Package idiomatic emits fluent Go wrapper types for ObjC frameworks. |
|
meta
Package meta defines the data model consumed by the purego code generator.
|
Package meta defines the data model consumed by the purego code generator. |
|
overrides
Package overrides applies the shared declarative override schema (internal/overrides) to the purego generator's metadata model (internal/purecg/meta).
|
Package overrides applies the shared declarative override schema (internal/overrides) to the purego generator's metadata model (internal/purecg/meta). |
|
typemap
Package typemap resolves ObjC qualType strings to Go type strings for the purego code generator.
|
Package typemap resolves ObjC qualType strings to Go type strings for the purego code generator. |
|
Package pureobjc provides the runtime support layer for purego-based macOS framework bindings.
|
Package pureobjc provides the runtime support layer for purego-based macOS framework bindings. |
|
objcerrors
Package objcerrors provides ObjCError, a structured Go error that preserves the full diagnostic payload of an Objective-C NSError: domain, code, localized strings, and any chain of underlying errors.
|
Package objcerrors provides ObjCError, a structured Go error that preserves the full diagnostic payload of an Objective-C NSError: domain, code, localized strings, and any chain of underlying errors. |
|
Package scanner drives the first phase of the code-generation pipeline.
|
Package scanner drives the first phase of the code-generation pipeline. |
|
swift
|
|
|
emit
Package emit generates Go source files from parsed Swift framework metadata.
|
Package emit generates Go source files from parsed Swift framework metadata. |
|
parser
Package parser parses Swift .swiftinterface module definition files and extracts type declarations (enums, error structs, value structs) into internal/swift/meta.FrameworkMeta.
|
Package parser parses Swift .swiftinterface module definition files and extracts type declarations (enums, error structs, value structs) into internal/swift/meta.FrameworkMeta. |
|
typemap
Package typemap maps Swift type strings (from .swiftinterface) to Go type strings.
|
Package typemap maps Swift type strings (from .swiftinterface) to Go type strings. |
|
Package validate runs structural integrity checks over a set of loaded .gometa.json metadata files.
|
Package validate runs structural integrity checks over a set of loaded .gometa.json metadata files. |
Click to show internal directories.
Click to hide internal directories.