go/ast.KeyValueExpr.Colon (field)
7 uses
go/ast (current package)
ast.go#L401: Colon token.Pos // position of ":"
go/parser
parser.go#L1338: x = &ast.KeyValueExpr{Key: x, Colon: colon, Value: p.parseValue(false)}
go/printer
nodes.go#L282: p.print(pair.Colon, token.COLON, vtab)
nodes.go#L759: p.print(x.Colon, token.COLON, blank)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2208: if x.Colon != 0 {
encode_ast.gen.go#L2210: e.EncodeInt(int64(x.Colon))
encode_ast.gen.go#L2239: x.Colon = 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. |