Documentation
¶
Index ¶
Constants ¶
View Source
const Version string = "v0.3.21"
Weblang version string
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VM ¶
type VM struct {
// contains filtered or unexported fields
}
Main VM struct
func (*VM) DefineFunc ¶ added in v0.2.4
func (vm *VM) DefineFunc(className string, methodName string, handler base.FunctionHandler)
Set handler to specific class method (works with external methods only)
func (*VM) InitVM ¶
Initialize VM with given context and arguments. Please provide correct sourceDir (directory of Web language source files) and byteCodeDir (direcotry for bytecode files)
func (*VM) StartServer ¶ added in v0.3.16
Starts server process in VM environment
Click to show internal directories.
Click to hide internal directories.
