Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompilePackage ¶
func CompilePackage(ctx *CompileCtx, pack *ast.Package) *apast.Package
func CompileStmt ¶
func CompileStmt(ctx *CompileCtx, stmt ast.Stmt) apast.Stmt
Types ¶
type CompileCtx ¶
type CompileCtx struct { NativePackages map[string]*apruntime.NativePackage ActiveVars map[string]bool StructDefs map[string]*ast.StructType }
Click to show internal directories.
Click to hide internal directories.