go/ast.BinaryExpr.OpPos (field)
6 uses
go/ast (current package)
ast.go#L391: OpPos token.Pos // position of Op
go/parser
parser.go#L1623: x = &ast.BinaryExpr{X: p.checkExpr(x), OpPos: pos, Op: op, Y: p.checkExpr(y)}
go/printer
nodes.go#L717: p.print(x.OpPos, x.Op)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L379: if x.OpPos != 0 {
encode_ast.gen.go#L381: e.EncodeInt(int64(x.OpPos))
encode_ast.gen.go#L414: x.OpPos = 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. |