Documentation ¶
Index ¶
- func CreateNoopOfStatement(pkg *types.Package, info *types.Info, stmt ast.Stmt) ast.Stmt
- func CreateNoopOfStatements(pkg *types.Package, info *types.Info, stmts []ast.Stmt) ast.Stmt
- func Functions(n ast.Node) []*ast.FuncDecl
- func IdentifiersInStatement(pkg *types.Package, info *types.Info, stmt ast.Stmt) []ast.Expr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNoopOfStatement ¶
CreateNoopOfStatement creates a syntactically safe noop statement out of a given statement.
func CreateNoopOfStatements ¶
CreateNoopOfStatements creates a syntactically safe noop statement out of a given statement.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.