go/ast.Object.Decl (field)
10 uses
go/ast (current package)
resolve.go#L145: obj.Decl = spec
scope.go#L79: Decl interface{} // corresponding Field, XxxSpec, FuncDecl, LabeledStmt, AssignStmt, Scope; or nil
scope.go#L94: switch d := obj.Decl.(type) {
go/parser
parser.go#L125: obj.Decl = decl
parser.go#L150: obj.Decl = decl
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3661: if x.Decl != nil {
encode_ast.gen.go#L3663: e.EncodeAny(x.Decl)
encode_ast.gen.go#L3698: x.Decl = d.DecodeAny()
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L675: if spec, _ := obj.Decl.(*ast.ImportSpec); spec != nil {
linkify.go#L689: } else if node.Obj != nil && idr.topLevelDecls[node.Obj.Decl] {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |