Documentation ¶
Index ¶
- type Compiler
- func (c *Compiler) AddFuncRegistry(reg vm.ExportRegistry)
- func (c *Compiler) CompilePackage(packageReader mod.PackageReader, errLogger errlogger.ErrLogger) (*vm.CompiledPackage, error)
- func (c *Compiler) CompileSimple(filename string, scriptData []byte, errLogger errlogger.ErrLogger) (*vm.CompiledPackage, error)
- func (c *Compiler) SetDiag(diag bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compiler ¶
type Compiler struct {
// contains filtered or unexported fields
}
func NewCompiler ¶
func NewCompiler() *Compiler
func (*Compiler) AddFuncRegistry ¶
func (c *Compiler) AddFuncRegistry(reg vm.ExportRegistry)
func (*Compiler) CompilePackage ¶
func (c *Compiler) CompilePackage( packageReader mod.PackageReader, errLogger errlogger.ErrLogger, ) (*vm.CompiledPackage, error)
func (*Compiler) CompileSimple ¶
Click to show internal directories.
Click to hide internal directories.