Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposableLatestMajorsOrXJenny ¶
func ComposableLatestMajorsOrXJenny(parentdir string, inner codejen.OneToOne[codegen.SchemaForGen]) codejen.OneToMany[kindsys.Composable]
TODO remove this once there's a standard jenny for this...somewhere in core
func Prefixer ¶
func Prefixer(prefix string) codejen.FileMapper
Prefixer returns a FileMapper that injects the provided path prefix to files passed through it.
func SlashHeaderMapper ¶
func SlashHeaderMapper(maingen string) codejen.FileMapper
SlashHeaderMapper produces a FileMapper that injects a comment header onto a codejen.File indicating the main generator that produced it (via the provided maingen, which should be a path) and the jenny or jennies that constructed the file.
Types ¶
type TargetJennies ¶
type TargetJennies struct { Core *codejen.JennyList[kindsys.Kind] Composable *codejen.JennyList[kindsys.Composable] }
TargetJennies is a set of jennies for a particular target language or tool that perform all necessary code generation steps.
func NewTargetJennies ¶
func NewTargetJennies() TargetJennies
NewTargetJennies initializes a new TargetJennies with appropriate namers for each JennyList.
Click to show internal directories.
Click to hide internal directories.