go/ast.DeferStmt.Defer (field)
6 uses
go/ast (current package)
ast.go#L660: Defer token.Pos // position of "defer" keyword
ast.go#L764: func (s *DeferStmt) Pos() token.Pos { return s.Defer }
go/parser
parser.go#L1786: return &ast.DeferStmt{Defer: pos, Call: call}
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1064: if x.Defer != 0 {
encode_ast.gen.go#L1066: e.EncodeInt(int64(x.Defer))
encode_ast.gen.go#L1093: x.Defer = token.Pos(d.DecodeInt())
![]() |
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. |