go/ast.IncDecStmt.TokPos (field)
7 uses
go/ast (current package)
ast.go#L638: TokPos token.Pos // position of Tok
ast.go#L789: return s.TokPos + 2 /* len("++") */
go/parser
parser.go#L1738: s := &ast.IncDecStmt{X: x[0], TokPos: p.pos, Tok: p.tok}
go/printer
nodes.go#L1276: p.print(s.TokPos, s.Tok)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2019: if x.TokPos != 0 {
encode_ast.gen.go#L2021: e.EncodeInt(int64(x.TokPos))
encode_ast.gen.go#L2050: 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. |