internal/

directory
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT

Directories

Path Synopsis
Package appledocs applies Apple Developer documentation to scanned metadata at load time, mirroring the overrides package.
Package appledocs applies Apple Developer documentation to scanned metadata at load time, mirroring the overrides package.
codegen
emit/idiomatic/frameworks
Package idiomatic emits fluent Go wrapper types for ObjC frameworks.
Package idiomatic emits fluent Go wrapper types for ObjC frameworks.
emit/idiomatic/frameworks/render
Package render: name-based execution for the construct emitters that render an ad-hoc view by template name rather than through a typed Render* function.
Package render: name-based execution for the construct emitters that render an ad-hoc view by template name rather than through a typed Render* function.
emit/idiomatic/frameworks/view
Package view is the intermediate representation (IR) of a fully-resolved idiomatic framework package.
Package view is the intermediate representation (IR) of a fully-resolved idiomatic framework package.
emit/idiomatic/libraries/render
Package render executes the idiomatic CGo library templates.
Package render executes the idiomatic CGo library templates.
emit/idiomatic/libraries/view
Package view holds the pure-data IR structs for the idiomatic CGo library emitter (idiolib).
Package view holds the pure-data IR structs for the idiomatic CGo library emitter (idiolib).
emit/layouttest
Package layouttest generates the per-package ABI layout regression test both frameworks emitters (raw and idiomatic) write: a reflect-based check that every emitted value/byte-array struct reproduces the authoritative C ABI size clang reported.
Package layouttest generates the per-package ABI layout regression test both frameworks emitters (raw and idiomatic) write: a reflect-based check that every emitted value/byte-array struct reproduces the authoritative C ABI size clang reported.
emit/raw/frameworks
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/raw/frameworks/render
Package render turns the raw purego emitter's resolved view (package view) into Go source through templates only.
Package render turns the raw purego emitter's resolved view (package view) into Go source through templates only.
emit/raw/frameworks/view
Package view holds the pure-data intermediate representation for the raw purego framework emitter.
Package view holds the pure-data intermediate representation for the raw purego framework emitter.
emit/raw/libraries
Package rawlib contains the per-construct emitters that convert [meta] structures into the raw CGo library Go source files and bridge files.
Package rawlib contains the per-construct emitters that convert [meta] structures into the raw CGo library Go source files and bridge files.
emit/raw/libraries/render
Package render executes the raw CGo library templates.
Package render executes the raw CGo library templates.
emit/structlayout
Package structlayout holds the pure, pipeline-agnostic helpers for deciding whether a C struct can be surfaced as a plain Go value struct that reproduces the C ABI, and for width-correcting struct field Go types.
Package structlayout holds the pure, pipeline-agnostic helpers for deciding whether a C struct can be surfaced as a plain Go value struct that reproduces the C ABI, and for width-correcting struct field Go types.
emitmanifest
Package emitmanifest records, per generated construct, which metadata symbol a code emitter turned into Go source and under what Go name.
Package emitmanifest records, per generated construct, which metadata symbol a code emitter turned into Go source and under what Go name.
frameworks/appledocs
Package appledocs applies the shared Apple-documentation sidecar schema (internal/appledocs) to the purego generator's metadata model (internal/codegen/frameworks/meta).
Package appledocs applies the shared Apple-documentation sidecar schema (internal/appledocs) to the purego generator's metadata model (internal/codegen/frameworks/meta).
frameworks/idioconf
Package idioconf loads the per-framework idiomatic.json sidecar — the declarative configuration surface of the idiomatic emitter.
Package idioconf loads the per-framework idiomatic.json sidecar — the declarative configuration surface of the idiomatic emitter.
frameworks/mainactor
Package mainactor applies the @MainActor isolation sidecar (internal/mainactor) to the purego generator's metadata model so the idiomatic emitter can wrap main-thread-bound calls in purego.Main.
Package mainactor applies the @MainActor isolation sidecar (internal/mainactor) to the purego generator's metadata model so the idiomatic emitter can wrap main-thread-bound calls in purego.Main.
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.
frameworks/overrides
Package overrides applies the shared declarative override schema (internal/overrides) to the purego generator's metadata model (internal/codegen/frameworks/meta).
Package overrides applies the shared declarative override schema (internal/overrides) to the purego generator's metadata model (internal/codegen/frameworks/meta).
frameworks/typemap
Package typemap resolves ObjC qualType strings to Go type strings for the FRAMEWORKS pipeline (purego/ObjC) only.
Package typemap resolves ObjC qualType strings to Go type strings for the FRAMEWORKS pipeline (purego/ObjC) only.
libraries/naming
Package naming converts ObjC identifiers to idiomatic Go names.
Package naming converts ObjC identifiers to idiomatic Go names.
libraries/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.
libraries/typemap
Package typemap resolves ObjC qualType strings to their Go equivalents for the LIBRARIES pipeline (bindings/libraries) only.
Package typemap resolves ObjC qualType strings to their Go equivalents for the LIBRARIES pipeline (bindings/libraries) only.
naming/core
Package core holds the naming helpers that are identical across the frameworks (purego) and libraries (cgo) pipelines, so both pipeline-specific naming packages re-export them from a single source instead of keeping divergent copies.
Package core holds the naming helpers that are identical across the frameworks (purego) and libraries (cgo) pipelines, so both pipeline-specific naming packages re-export them from a single source instead of keeping divergent copies.
pipeline/structindex
Package structindex builds the struct-name → owning-framework registry shared by the frameworks (purego) and libraries (cgo) pipeline loaders.
Package structindex builds the struct-name → owning-framework registry shared by the frameworks (purego) and libraries (cgo) pipeline loaders.
shared/fileasm
Package fileasm assembles a complete generated Go source file — the DO-NOT-EDIT header, the build constraint, the package clause, the import block, and the rendered body — through a single template.
Package fileasm assembles a complete generated Go source file — the DO-NOT-EDIT header, the build constraint, the package clause, the import block, and the rendered body — through a single template.
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.
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 mainactor defines the shared schema for the per-framework "main actor isolation" sidecar (mainactor.json) committed next to each .gometa.json metadata file.
Package mainactor defines the shared schema for the per-framework "main actor isolation" sidecar (mainactor.json) committed next to each .gometa.json metadata file.
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 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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL