PackageExports trims the AST for a Go package in place such that only exported nodes remain. The pkg.Files list is not changed, so that file names and top-level package comments don't get lost.
PackageExports reports whether there are exported declarations; it returns false otherwise.
PackageExports is referenced in 15 repositoriesgithub.com/border/golang-china
- 1 reference in examples/godoc-zh/godoc.go
- 1 reference in scripts/generate-plugins.go
- 1 reference in some_go_test/GoSource/go/ast/commentmap_test.go