Documentation ¶ Index ¶ type Compiler func NewCompiler() *Compiler func (c *Compiler) CompileFunc(ctx *Context, fn *ast.FuncDecl) (compiled *qruntime.Func, err error) type Context type TestingContext Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Compiler ¶ type Compiler struct { // contains filtered or unexported fields } func NewCompiler ¶ func NewCompiler() *Compiler func (*Compiler) CompileFunc ¶ func (c *Compiler) CompileFunc(ctx *Context, fn *ast.FuncDecl) (compiled *qruntime.Func, err error) type Context ¶ type Context struct { Env *qruntime.Env Optimize bool Static bool Package *types.Package Types *types.Info Sizes types.Sizes Fset *token.FileSet TestingContext TestingContext } type TestingContext ¶ type TestingContext interface { FuncIR(fn *ir.Func) } Source Files ¶ View all Source files assemble.go fcompile_expr.go fcompile_stmt.go fcompile_switch.go fcompiler.go inline.go pattern_compiler.go qcompile.go scope.go utils.go Click to show internal directories. Click to hide internal directories.