Documentation ¶
Index ¶
- func Dup(n ast.Node) ast.Node
- func DupBasicLit(l *ast.BasicLit) *ast.BasicLit
- func DupBlockStmt(b *ast.BlockStmt) *ast.BlockStmt
- func DupCallExpr(t *ast.CallExpr) *ast.CallExpr
- func DupCompositeLit(l *ast.CompositeLit) *ast.CompositeLit
- func DupDecl(d ast.Decl) ast.Decl
- func DupDeclList(ll []ast.Decl) []ast.Decl
- func DupExpr(l ast.Expr) ast.Expr
- func DupExprList(ee []ast.Expr) []ast.Expr
- func DupField(f *ast.Field) *ast.Field
- func DupFieldList(t *ast.FieldList) *ast.FieldList
- func DupFieldSlice(ff []*ast.Field) []*ast.Field
- func DupFile(f *ast.File) *ast.File
- func DupFuncDecl(f *ast.FuncDecl) *ast.FuncDecl
- func DupFuncType(t *ast.FuncType) *ast.FuncType
- func DupGenDecl(g *ast.GenDecl) *ast.GenDecl
- func DupIdent(id *ast.Ident) *ast.Ident
- func DupIdentList(l []*ast.Ident) []*ast.Ident
- func DupImportSpecs(imps []*ast.ImportSpec) []*ast.ImportSpec
- func DupSpec(s ast.Spec) ast.Spec
- func DupStmt(l ast.Stmt) ast.Stmt
- func DupStmtList(l []ast.Stmt) []ast.Stmt
- func String(n ast.Node) string
- func StringSlice(s interface{}) string
- func Wrap(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DupCompositeLit ¶
func DupCompositeLit(l *ast.CompositeLit) *ast.CompositeLit
func DupImportSpecs ¶
func DupImportSpecs(imps []*ast.ImportSpec) []*ast.ImportSpec
func StringSlice ¶
func StringSlice(s interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.