package
0.0.0-20200201092036-a048d374ae49
Repository: https://github.com/bedreamcoder/uwavm.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Array simulates Array function.
Date simulates Date function.
ExceptionRefNotFound is the Exception throwed when Ref is not found by VM.
NewException instances a Exception.
NewGlobal instances a global object.
NewMemory instance a Memory.
NewVM instance a VM object.
RegisterBuiltins register js builtins to Global object.
Throw uses a fmt like style to throw an exception.
ThrowException throw an exception.
Uint8Array simulates Uint8Array function.

# Constants

ValueFalse is the ref of False.
ValueGlobal is the ref of global.
ValueGo is the ref of Go object.
ValueMemory is the ref of wasm Memory object.
ValueNaN is the ref of Nan.
ValueNull is the ref of Null.
ValueTrue is the ref of True.
ValueUndefined is the ref of Undefined.
ValueZero is the ref of number 0.

# Variables

ExceptionInvalidArgument wraps the EINVAL errno.
ExceptionNoSys wraps the ENOSYS errno.
ExceptionNotfound wraps the EEXIS errno.
ExceptionUndefined wraps the EINVAL errno.

# Structs

Exception simulates js Exception.
Global simulates js'global object.
Memory simulates the Memory object in wasm_exec.js.
Value is the internal representing of a js object.
VM simulates the js runtime.
VMConfig is the config of VM object.

# Interfaces

A PropertyGetter can get property from GetProperty method.

# Type aliases

Ref represents the unique id of a js object.