Documentation
¶
Index ¶
Constants ¶
View Source
const LanguageRef = "php"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddTypehintsComments ¶
type AddTypehintsComments struct {
// contains filtered or unexported fields
}
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct {
NamespaceRoot string `yaml:"namespace_root"`
// GenerateJSONMarshaller controls the generation of `fromArray()` and
// `jsonSerialize()` methods on types.
GenerateJSONMarshaller bool `yaml:"generate_json_marshaller"`
// OverridesTemplatesDirectories holds a list of directories containing templates
// defining blocks used to override parts of builders/types/....
OverridesTemplatesDirectories []string `yaml:"overrides_templates"`
// ExtraFilesTemplatesDirectories holds a list of directories containing
// templates describing files to be added to the generated output.
ExtraFilesTemplatesDirectories []string `yaml:"extra_files_templates"`
// ExtraFilesTemplatesData holds additional data to be injected into the
// templates described in ExtraFilesTemplatesDirectories.
ExtraFilesTemplatesData map[string]string `yaml:"-"`
// BuilderFactoriesClassMap allows to choose the name of the class that
// will be generated to hold "builder factories".
// By default, this class name is equal to the package name in which
// factories are defined.
// BuilderFactoriesClassMap associates these package names with a class
// name.
BuilderFactoriesClassMap map[string]string `yaml:"builder_factories_class_map"`
// contains filtered or unexported fields
}
func (*Config) InterpolateParameters ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
type Factory ¶ added in v0.0.25
type Factory struct {
// contains filtered or unexported fields
}
type Language ¶
type Language struct {
// contains filtered or unexported fields
}
func (*Language) CompilerPasses ¶
func (*Language) NullableKinds ¶
func (language *Language) NullableKinds() languages.NullableConfig
Click to show internal directories.
Click to hide internal directories.