Descriptiongo/ast, go/doc, godoc: consider struct fields and interface methods when filtering ASTs
So far, only top-level names where considered when trimming ASTs
using a filter function. For instance, "godoc reflect Implements"
didn't show the "Implements" method of the type Interface because
the local method name was not considered (on the other hand, "top-
level" declared methods associated with types were considered).
With this CL, AST filter functions look also at struct fields
and interface methods.
Patch Set 1 #Patch Set 2 : diff -r ae920b31c0d9 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r ae920b31c0d9 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r ae920b31c0d9 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r ae920b31c0d9 https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 6cfeb24159e0 https://go.googlecode.com/hg/ #
MessagesTotal messages: 4
|
||||||||||||||||||||||||||||