Documentation
¶
Overview ¶
Package model allowing to load different data models
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryModel ¶
type BinaryModel struct { CompilerConfig CompilerConfig `yaml:"compilerConfig"` Vars structures.Dictionary `yaml:"vars"` BinData any `yaml:"binData"` }
type BinaryModelLoader ¶
type BinaryModelLoader struct{}
func NewBinaryModelLoader ¶
func NewBinaryModelLoader() *BinaryModelLoader
func (*BinaryModelLoader) Load ¶
func (binaryModelContext *BinaryModelLoader) Load( targetDir string, binaryModelFilePath string, binaryModelBaseName string, referenceDir string, intermediateFileCallback func( targetDir string, basename string, suffix string, tempYamlFile string, ) (err error), intermediateFileContentCallback func( targetDir string, basename string, suffix string, content string, ) (err error), ) (_ *BinaryModel, err error)
type CompilerConfig ¶
type CompilerConfig struct { AnnotationsConfig structures.Dictionary `yaml:"annotationsConfig"` TargetFile string `yaml:"targetFile"` RelativeRootDirBasedOnTargetDir string `yaml:"relativeRootDirBasedOnTargetDir"` CommandDefinitionFiles []string `yaml:"commandDefinitionFiles"` TemplateFile string `yaml:"templateFile"` TemplateDirs []string `yaml:"templateDirs"` FunctionsIgnoreRegexpList []string `yaml:"functionsIgnoreRegexpList"` SrcDirs []string `yaml:"srcDirs"` SrcDirsExpanded []string `yaml:"-"` TargetDir string `yaml:"-"` KeepIntermediateFiles bool `yaml:"-"` BinaryModelFilePath string `yaml:"-"` BinaryModelBaseName string `yaml:"-"` IntermediateFilesCount int `yaml:"-"` }
func (*CompilerConfig) DebugSaveIntermediateFile ¶ added in v1.0.0
func (compilerConfig *CompilerConfig) DebugSaveIntermediateFile( code string, suffix string, )
Click to show internal directories.
Click to hide internal directories.