Documentation

Overview

    Package javascript implements Javascript code generation from compiled VDL packages.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Generate

    func Generate(pkg *compile.Package, env *compile.Env, genImport func(string) string, pathToCoreJS string) []byte

      Generate takes a populated compile.Package and produces a byte slice containing the generated Javascript code.

      Types

      This section is empty.