Documentation ¶
Index ¶
- type JsCompiler
- func (j *JsCompiler) Build(paths ...string)
- func (j *JsCompiler) BuildMain(path string, source []byte)
- func (j *JsCompiler) Get(path string) *compiler.Archive
- func (j *JsCompiler) Hint(paths ...string) (*loader.Program, error)
- func (j *JsCompiler) Main(path string, source []byte) (*loader.Program, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsCompiler ¶
type JsCompiler struct {
// contains filtered or unexported fields
}
func New ¶
func New(env vos.Env) *JsCompiler
func (*JsCompiler) Build ¶
func (j *JsCompiler) Build(paths ...string)
func (*JsCompiler) BuildMain ¶
func (j *JsCompiler) BuildMain(path string, source []byte)
func (*JsCompiler) Get ¶
func (j *JsCompiler) Get(path string) *compiler.Archive
Get requests a package. This will block until the package is ready.
Click to show internal directories.
Click to hide internal directories.