go/ast.KeyValueExpr.Key (field)

18 uses

	go/ast (current package)
		ast.go#L427: 		Key   Expr
		ast.go#L516: 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#L134: 		Walk(v, n.Key)

	go/doc
		exports.go#L44: 			if x, ok := x.Key.(*ast.Ident); ok && !filter(x.Name) {

	go/parser
		parser.go#L1679: 		x = &ast.KeyValueExpr{Key: x, Colon: colon, Value: p.parseValue()}
		resolver.go#L291: 				if ident, _ := kv.Key.(*ast.Ident); ident != nil {
		resolver.go#L294: 					ast.Walk(r, kv.Key)

	go/printer
		nodes.go#L214: 				size = p.nodeSize(pair.Key, infinity) // size <= infinity
		nodes.go#L278: 			p.expr(pair.Key)
		nodes.go#L831: 		p.expr(x.Key)

	go/types
		literals.go#L168: 				key, _ := kv.Key.(*ast.Ident)
		literals.go#L173: 					check.errorf(kv, InvalidLitField, "invalid field name %s in struct literal", kv.Key)
		literals.go#L183: 					check.error(kv.Key, MissingLitField, msg)
		literals.go#L260: 			check.exprWithHint(x, kv.Key, utyp.key)
		literals.go#L333: 			if typ, i := check.index(kv.Key, length); isValid(typ) {
		literals.go#L338: 					check.errorf(e, InvalidLitIndex, "index %s must be integer constant", kv.Key)

	golang.org/x/tools/go/ast/inspector
		walk.go#L124: 		walk(v, edge.KeyValueExpr_Key, -1, n.Key)