Documentation ¶
Index ¶
Constants ¶
View Source
const EXTERNAL_PKGS_ARG_PATTERN = "%s=%s"
The pattern of the external package argument.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
Compiler is a wrapper of kcl compiler.
func DefaultCompiler ¶
func DefaultCompiler() *Compiler
DefaultCompiler will create a default compiler.
func NewCompilerWithOpts ¶
func NewCompilerWithOpts(opts *opt.CompileOptions) *Compiler
func (*Compiler) AddDepPath ¶
AddDep will add a file path to the dependency list.
func (*Compiler) AddKclOption ¶
AddKclOption will add a kcl option to the compiler.
Click to show internal directories.
Click to hide internal directories.