bst

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: BSD-3-Clause-Clear Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assign

func Assign(lhs, rhs interface{}) *ast.AssignStmt

func Binary

func Binary(left ast.Expr, op token.Token, right ast.Expr) ast.Expr

func Call

func Call(rcvr interface{}, method interface{}, args ...ast.Expr) *ast.CallExpr

func Declare

func Declare(kind token.Token, name *ast.Ident, goType ast.Expr) ast.Decl

func Define

func Define(lhs, rhs interface{}) *ast.AssignStmt

func Dot

func Dot(obj, member interface{}) *ast.SelectorExpr

func Int

func Int(i interface{}) *ast.BasicLit

func String

func String(s string) *ast.BasicLit

Types

type AssignFunc

type AssignFunc func(interface{}, interface{}) *ast.AssignStmt

func OpAssign

func OpAssign(op string) AssignFunc

type IdentTracker

type IdentTracker map[string][]*ast.Ident

func (IdentTracker) Get

func (it IdentTracker) Get(name string) *ast.Ident

func (IdentTracker) New

func (it IdentTracker) New(name string) *ast.Ident

Jump to

Keyboard shortcuts

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