Documentation ¶
Index ¶
- func Assign(lhs, rhs interface{}) *ast.AssignStmt
- func Binary(left ast.Expr, op token.Token, right ast.Expr) ast.Expr
- func Call(rcvr interface{}, method interface{}, args ...ast.Expr) *ast.CallExpr
- func Declare(kind token.Token, name *ast.Ident, goType ast.Expr) ast.Decl
- func Define(lhs, rhs interface{}) *ast.AssignStmt
- func Dot(obj, member interface{}) *ast.SelectorExpr
- func Int(i interface{}) *ast.BasicLit
- func String(s string) *ast.BasicLit
- type AssignFunc
- type IdentTracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Assign ¶
func Assign(lhs, rhs interface{}) *ast.AssignStmt
func Define ¶
func Define(lhs, rhs interface{}) *ast.AssignStmt
func Dot ¶
func Dot(obj, member interface{}) *ast.SelectorExpr
Types ¶
type AssignFunc ¶
type AssignFunc func(interface{}, interface{}) *ast.AssignStmt
func OpAssign ¶
func OpAssign(op string) AssignFunc
Click to show internal directories.
Click to hide internal directories.