1
0
mirror of https://github.com/golang/go synced 2024-11-22 18:34:51 -07:00

go/ast: document use of Data field for method objects

R=iant
CC=golang-dev
https://golang.org/cl/6775093
This commit is contained in:
Robert Griesemer 2012-11-01 16:27:43 -07:00
parent 159302f36f
commit 048323aa12

View File

@ -76,6 +76,7 @@ func (s *Scope) String() string {
// Pkg *Scope package scope
// Con int iota for the respective declaration
// Con != nil constant value
// Typ *Scope method scope; nil if no methods
//
type Object struct {
Kind ObjKind