Descriptiongo/doc: steps towards collecting methods of embedded types
No visible external changes yet. The current approach is
a stop-gap approach: For methods of anonymous fields to be
seen, the anonymous field's types must be exported.
Missing: computing the actual MethodDocs and displaying them.
(Depending on the operation mode of godoc, the input to go/doc
is a pre-filtered AST with all non-exported nodes removed. Non-
exported anonymous fields are not even seen by go/doc in this
case, and it is impossible to collect associated (even exported)
methods. A correct fix will require some more significant re-
engineering; AST filtering will have to happen later, possibly
inside go/doc.)
Patch Set 1 #Patch Set 2 : diff -r 6bd78dcec1cd https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 6bd78dcec1cd https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 6bd78dcec1cd https://go.googlecode.com/hg/ #Patch Set 5 : diff -r cd38da6f62fb https://go.googlecode.com/hg/ #MessagesTotal messages: 3
|