Documentation
¶
Overview ¶
Package baum contains helpers for easier construction of ASTs.
Index ¶
- func ErrNotNil() *ast.BinaryExpr
- func FieldList(fields ...*ast.Field) *ast.FieldList
- func Idents(names ...string) []*ast.Ident
- func IntLit(value string) *ast.BasicLit
- func Return(exprs ...ast.Expr) *ast.ReturnStmt
- func Selector(a, b string) *ast.SelectorExpr
- func Selectors(a, b string) []ast.Expr
- func StringLit(value string) *ast.BasicLit
- func TypeDecl(specs ...*ast.TypeSpec) *ast.GenDecl
- func VarDecl(specs ...*ast.ValueSpec) *ast.GenDecl
- func VarDeclStatement(specs ...ast.Spec) *ast.DeclStmt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrNotNil ¶
func ErrNotNil() *ast.BinaryExpr
func Selector ¶
func Selector(a, b string) *ast.SelectorExpr
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.