type go/ast.BadDecl
14 uses
go/ast (current package)
ast.go#L950: BadDecl struct {
ast.go#L986: func (d *BadDecl) Pos() token.Pos { return d.From }
ast.go#L990: func (d *BadDecl) End() token.Pos { return d.To }
ast.go#L1007: func (*BadDecl) declNode() {}
walk.go#L323: case *BadDecl:
go/parser
parser.go#L2512: return &ast.BadDecl{From: pos, To: p.pos}
go/printer
nodes.go#L1786: case *ast.BadDecl:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L145: func encode_ast_BadDecl(e *codec.Encoder, x *ast.BadDecl) {
encode_ast.gen.go#L160: func decode_ast_BadDecl(d *codec.Decoder, p **ast.BadDecl) {
encode_ast.gen.go#L166: *p = ref.(*ast.BadDecl)
encode_ast.gen.go#L169: var x ast.BadDecl
encode_ast.gen.go#L189: codec.Register(&ast.BadDecl{},
encode_ast.gen.go#L190: func(e *codec.Encoder, x interface{}) { encode_ast_BadDecl(e, x.(*ast.BadDecl)) },
encode_ast.gen.go#L192: var x *ast.BadDecl
![]() |
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. |