v.io: v.io/x/ref/lib/vdl/codegen/javascript Index | Files

package javascript

import "v.io/x/ref/lib/vdl/codegen/javascript"

Package javascript implements Javascript code generation from compiled VDL packages.

Index

Package Files

errors.go gen.go gen_type_def.go import.go pkg_types.go

func Generate Uses

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.

Package javascript imports 11 packages (graph) and is imported by 1 packages. Updated 2020-10-24. Refresh now. Tools for package owners.