type go/ast.DeclStmt
14 uses
go/ast (current package)
ast.go#L601: DeclStmt struct {
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() }
ast.go#L843: func (*DeclStmt) stmtNode() {}
walk.go#L185: case *DeclStmt:
go/parser
parser.go#L2223: s = &ast.DeclStmt{Decl: p.parseDecl(stmtStart)}
go/printer
nodes.go#L1240: case *ast.DeclStmt:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1011: func encode_ast_DeclStmt(e *codec.Encoder, x *ast.DeclStmt) {
encode_ast.gen.go#L1022: func decode_ast_DeclStmt(d *codec.Decoder, p **ast.DeclStmt) {
encode_ast.gen.go#L1028: *p = ref.(*ast.DeclStmt)
encode_ast.gen.go#L1031: var x ast.DeclStmt
encode_ast.gen.go#L1049: codec.Register(&ast.DeclStmt{},
encode_ast.gen.go#L1050: func(e *codec.Encoder, x interface{}) { encode_ast_DeclStmt(e, x.(*ast.DeclStmt)) },
encode_ast.gen.go#L1052: var x *ast.DeclStmt
![]() |
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. |