astutil

package
v0.0.0-...-65f6afe Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dup

func Dup(n ast.Node) ast.Node

func DupBasicLit

func DupBasicLit(l *ast.BasicLit) *ast.BasicLit

func DupBlockStmt

func DupBlockStmt(b *ast.BlockStmt) *ast.BlockStmt

func DupCallExpr

func DupCallExpr(t *ast.CallExpr) *ast.CallExpr

func DupCompositeLit

func DupCompositeLit(l *ast.CompositeLit) *ast.CompositeLit

func DupDecl

func DupDecl(d ast.Decl) ast.Decl

func DupDeclList

func DupDeclList(ll []ast.Decl) []ast.Decl

func DupExpr

func DupExpr(l ast.Expr) ast.Expr

func DupExprList

func DupExprList(ee []ast.Expr) []ast.Expr

func DupField

func DupField(f *ast.Field) *ast.Field

func DupFieldList

func DupFieldList(t *ast.FieldList) *ast.FieldList

func DupFieldSlice

func DupFieldSlice(ff []*ast.Field) []*ast.Field

func DupFile

func DupFile(f *ast.File) *ast.File

func DupFuncDecl

func DupFuncDecl(f *ast.FuncDecl) *ast.FuncDecl

func DupFuncType

func DupFuncType(t *ast.FuncType) *ast.FuncType

func DupGenDecl

func DupGenDecl(g *ast.GenDecl) *ast.GenDecl

func DupIdent

func DupIdent(id *ast.Ident) *ast.Ident

func DupIdentList

func DupIdentList(l []*ast.Ident) []*ast.Ident

func DupImportSpecs

func DupImportSpecs(imps []*ast.ImportSpec) []*ast.ImportSpec

func DupSpec

func DupSpec(s ast.Spec) ast.Spec

func DupStmt

func DupStmt(l ast.Stmt) ast.Stmt

func DupStmtList

func DupStmtList(l []ast.Stmt) []ast.Stmt

func String

func String(n ast.Node) string

func StringSlice

func StringSlice(s interface{}) string

func Wrap

func Wrap(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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