 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
- func WriteArchive(a *Archive, w io.Writer) error
- func WritePkgCode(pkg *Archive, dceSelection map[*Decl]struct{}, minify bool, w *SourceMapFilter) error
- func WriteProgramCode(pkgs []*Archive, w *SourceMapFilter) error
- type Archive
- func Compile(importPath string, files []*ast.File, fileSet *token.FileSet, ...) (*Archive, error)
- func ImportDependencies(archive *Archive, importPkg func(string) (*Archive, error)) ([]*Archive, error)
- func ReadArchive(filename, path string, r io.Reader, packages map[string]*types.Package) (*Archive, error)
 
- type Decl
- type Dependency
- type ErrorList
- type ImportContext
- type LinkName
- type SourceMapFilter
Constants ¶
      View Source
      
  const Version = "1.16"
    Version is the GopherJS compiler version string.
Variables ¶
This section is empty.
Functions ¶
func WritePkgCode ¶
func WritePkgCode(pkg *Archive, dceSelection map[*Decl]struct{}, minify bool, w *SourceMapFilter) error
func WriteProgramCode ¶
func WriteProgramCode(pkgs []*Archive, w *SourceMapFilter) error
Types ¶
type Archive ¶
type Archive struct {
	ImportPath   string
	Name         string
	Imports      []string
	ExportData   []byte
	Declarations []*Decl
	IncJSCode    []byte
	FileSet      []byte
	Minified     bool
}
    func ImportDependencies ¶
type Dependency ¶
type ImportContext ¶
       Source Files
      ¶
      Source Files
      ¶
    
  
       Directories
      ¶
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| Package gopherjspkg provides core GopherJS packages via a virtual filesystem. | Package gopherjspkg provides core GopherJS packages via a virtual filesystem. | 
| Package natives provides native packages via a virtual filesystem. | Package natives provides native packages via a virtual filesystem. | 
 Click to show internal directories. 
   Click to hide internal directories.