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, keepIntermediateFiles bool, ) (_ *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) DebugCopyGeneratedFile ¶
func (compilerConfig *CompilerConfig) DebugCopyGeneratedFile( code string, suffix string, )
Click to show internal directories.
Click to hide internal directories.