Documentation ¶
Index ¶
Constants ¶
View Source
const LanguageRef = "python"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct { PathPrefix string `yaml:"path_prefix"` // SkipRuntime disables runtime-related code generation when enabled. // Note: builders can NOT be generated with this flag turned on, as they // rely on the runtime to function. SkipRuntime bool `yaml:"skip_runtime"` // BuilderTemplatesDirectories holds a list of directories containing templates // to be used to override parts of builders. BuilderTemplatesDirectories []string `yaml:"builder_templates"` }
func (*Config) InterpolateParameters ¶
type ImportStmt ¶
type Language ¶
type Language struct {
// contains filtered or unexported fields
}
func (*Language) CompilerPasses ¶
func (*Language) NullableKinds ¶
func (language *Language) NullableKinds() languages.NullableConfig
type ModuleImportMap ¶
type ModuleImportMap struct { // alias → ImportStmt Imports *orderedmap.Map[string, ImportStmt] // contains filtered or unexported fields }
func NewImportMap ¶
func NewImportMap() *ModuleImportMap
func NewModuleImportMap ¶
func NewModuleImportMap(opts ...common.ImportMapOption[ModuleImportMap]) *ModuleImportMap
func (ModuleImportMap) AddModule ¶
func (im ModuleImportMap) AddModule(alias string, pkg string, module string) string
func (ModuleImportMap) AddPackage ¶
func (im ModuleImportMap) AddPackage(alias string, pkg string) string
func (ModuleImportMap) Sort ¶
func (im ModuleImportMap) Sort()
func (ModuleImportMap) String ¶
func (im ModuleImportMap) String() string
type ModuleInit ¶
type ModuleInit struct { }
func (ModuleInit) JennyName ¶
func (jenny ModuleInit) JennyName() string
Click to show internal directories.
Click to hide internal directories.