go/ast.DeclStmt.Decl (field)
9 uses
go/ast (current package)
ast.go#L602: Decl Decl // *GenDecl with CONST, TYPE, or VAR token
ast.go#L756: func (s *DeclStmt) Pos() token.Pos { return s.Decl.Pos() }
ast.go#L778: func (s *DeclStmt) End() token.Pos { return s.Decl.End() }
walk.go#L186: Walk(v, n.Decl)
go/parser
parser.go#L2223: s = &ast.DeclStmt{Decl: p.parseDecl(stmtStart)}
go/printer
nodes.go#L1241: p.decl(s.Decl)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1015: if x.Decl != nil {
encode_ast.gen.go#L1017: e.EncodeAny(x.Decl)
encode_ast.gen.go#L1040: x.Decl = d.DecodeAny().(ast.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. |