apcompiler

package
v0.0.0-...-8c29c1c Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2016 License: MIT Imports: 8 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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