Versions in this module Expand all Collapse all v0 v0.1.0 Jan 25, 2024 Changes in this version + func FuncName(n *ast.FuncDecl) string + func IdentValue(n *ast.Ident) string + func Inspect(f *ast.File, v Visitor) + func Is[T ast.Node](n ast.Node) (T, bool) + func Parse(p string) (*ast.File, error) + func ValueName(n *ast.ValueSpec) []string + func Walk(d string, w func(*Inspector)) error + type Inspector struct + File *ast.File + Node ast.Node + Path string + type Visitor func(ast.Node) + func When[T ast.Node](fn func(T)) Visitor