commit | deb954772d08d27b7d261aa7214be98ccd58e5cc | [log] [tgz] |
---|---|---|
author | Robert Griesemer <gri@golang.org> | Mon Jul 06 10:37:33 2009 -0700 |
committer | Robert Griesemer <gri@golang.org> | Mon Jul 06 10:37:33 2009 -0700 |
tree | 48a258fee1d014e8a586ca205459a12a9505d1fa | |
parent | cd4aab62e3f11e7872796b7f6c8f8700d7719a8e [diff] |
- ast.FilterExports: strips all non-exported nodes from an AST - use FilterExports instead of the various predicates in printer.go and doc.go which simplifies a lot of code and makes it easier to deal with complex cases R=rsc DELTA=445 (197 added, 190 deleted, 58 changed) OCL=31110 CL=31196