]> Cypherpunks repositories - gostls13.git/commit
go/ast: adjustments to filter function
authorRobert Griesemer <gri@golang.org>
Tue, 23 Aug 2011 21:17:18 +0000 (14:17 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 23 Aug 2011 21:17:18 +0000 (14:17 -0700)
commitcde06f541ff65ca2e2afaebb3a0bacd39db21ca2
treed1c2933e1be52c2425054608c0e33404769c8899
parentb99d7229631160a3bf846ac77f0f701bf8b6a6c8
go/ast: adjustments to filter function

CL 4938041 made some incorrect changes to the filter
function which caused a different doc/codelab/wiki/index.html
file to be generated.

Added FilterFileExports and FilterPackageExports function.
Same as the existing FileExpors/PackageExports functions
but using shared code. The old functions will be removed
in the next CL.

R=r, rsc
CC=golang-dev
https://golang.org/cl/4932048
src/pkg/go/ast/filter.go
src/pkg/go/parser/filter_test.go