go/ast.KeyValueExpr.Key (field)
13 uses
go/ast (current package)
ast.go#L400: Key Expr
ast.go#L489: func (x *KeyValueExpr) Pos() token.Pos { return x.Key.Pos() }
filter.go#L127: if x, ok := x.Key.(*Ident); ok && !filter(x.Name) {
walk.go#L150: Walk(v, n.Key)
go/doc
exports.go#L45: if x, ok := x.Key.(*ast.Ident); ok && !filter(x.Name) {
go/parser
parser.go#L1338: x = &ast.KeyValueExpr{Key: x, Colon: colon, Value: p.parseValue(false)}
go/printer
nodes.go#L217: size = p.nodeSize(pair.Key, infinity) // size <= infinity
nodes.go#L281: p.expr(pair.Key)
nodes.go#L758: p.expr(x.Key)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L2204: if x.Key != nil {
encode_ast.gen.go#L2206: e.EncodeAny(x.Key)
encode_ast.gen.go#L2237: x.Key = d.DecodeAny().(ast.Expr)
golang.org/x/pkgsite/internal/godoc/internal/doc
exports.go#L45: if x, ok := x.Key.(*ast.Ident); ok && !filter(x.Name) {
![]() |
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. |