go/ast: generalize ast.FilterFile
ast.FilterFile(src, ast.IsExported) has the same effect as ast.FileExports(src) with this change. 1st step towards removing FileExports - it is just a special case of FilterFile with this CL. Added corresponding test. R=r CC=golang-dev https://golang.org/cl/4938041
Showing
Please
register
or
sign in
to comment