go/ast.DeclStmt.Decl (field)
8 uses
go/ast (current package)
ast.go#L618: Decl Decl // *GenDecl with CONST, TYPE, or VAR token
ast.go#L772: func (s *DeclStmt) Pos() token.Pos { return s.Decl.Pos() }
ast.go#L794: func (s *DeclStmt) End() token.Pos { return s.Decl.End() }
walk.go#L197: Walk(v, n.Decl)
go/parser
parser.go#L2435: s = &ast.DeclStmt{Decl: p.parseDecl(stmtStart)}
go/printer
nodes.go#L1302: p.decl(s.Decl)
go/types
labels.go#L131: if d, _ := s.Decl.(*ast.GenDecl); d != nil && d.Tok == token.VAR {
stmt.go#L384: check.declStmt(s.Decl)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)