codegen/

directory
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT

Directories

Path Synopsis
emit
idiomatic/frameworks
Package idiomatic emits fluent Go wrapper types for ObjC frameworks.
Package idiomatic emits fluent Go wrapper types for ObjC frameworks.
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.
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.
idiomatic/libraries/render
Package render executes the idiomatic CGo library templates.
Package render executes the idiomatic CGo library templates.
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).
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.
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.
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.
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.
raw/libraries/render
Package render executes the raw CGo library templates.
Package render executes the raw CGo library templates.
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).
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.
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/codegen/frameworks/meta).
Package overrides applies the shared declarative override schema (internal/overrides) to the purego generator's metadata model (internal/codegen/frameworks/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.
libraries
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.
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.

Jump to

Keyboard shortcuts

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