FilterDecl trims the AST for a Go declaration in place by removing all names (including struct field and interface method names, but not from parameter lists) that don't pass through the filter f.
FilterDecl reports whether there are any declared names left after filtering.
FilterDecl is referenced in 3 repositoriesbitbucket.org/jatone/genieql
- 1 reference in astutil.go
- 1 reference in repl_imports.go
- 1 reference in goapi/full/wrap.go