go/ast.GenDecl.TokPos (field)
8 uses
go/ast (current package)
ast.go#L967: TokPos token.Pos // position of Tok
ast.go#L987: func (d *GenDecl) Pos() token.Pos { return d.TokPos }
go/doc
reader.go#L551: TokPos: s.Pos(),
go/parser
parser.go#L2424: TokPos: pos,
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1678: if x.TokPos != 0 {
encode_ast.gen.go#L1680: e.EncodeInt(int64(x.TokPos))
encode_ast.gen.go#L1721: x.TokPos = token.Pos(d.DecodeInt())
golang.org/x/pkgsite/internal/godoc/internal/doc
reader.go#L555: TokPos: s.Pos(),
![]() |
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. |