go/ast.RangeStmt.TokPos (field)
6 uses
go/ast (current package)
ast.go#L746: TokPos token.Pos // position of Tok; invalid if Key == nil
go/parser
parser.go#L2199: TokPos: as.TokPos,
go/printer
nodes.go#L1406: p.print(blank, s.TokPos, s.Tok, blank)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2460: if x.TokPos != 0 {
encode_ast.gen.go#L2462: e.EncodeInt(int64(x.TokPos))
encode_ast.gen.go#L2503: x.TokPos = 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. |