jscompiler

package
v0.0.0-...-c665954 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

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.

func (*JsCompiler) Hint

func (j *JsCompiler) Hint(paths ...string) (*loader.Program, error)

Hint provides a hint that a cascade of requests for packages is coming soon...

func (*JsCompiler) Main

func (j *JsCompiler) Main(path string, source []byte) (*loader.Program, error)

Hint provides a hint that a cascade of requests for packages is coming soon...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL