go/constant.Value.Kind (method)

32 uses

	go/constant (current package)
		value.go#L48: 	Kind() Kind
		value.go#L322: 	if re.Kind() == Unknown || im.Kind() == Unknown {
		value.go#L898: 		if re := ToFloat(x); re.Kind() == Float {

	go/types
		builtins.go#L880: 		if x.val.Kind() != constant.Bool {
		const.go#L25: 	if x.val.Kind() == constant.Unknown {
		const.go#L44: 	if x.val.Kind() == constant.Int && constant.BitLen(x.val) > prec {
		const.go#L67: 	if x.Kind() == constant.Unknown {
		const.go#L84: 		if x.Kind() != constant.Int {
		const.go#L139: 		if x.Kind() != constant.Float {
		const.go#L169: 		if x.Kind() != constant.Complex {
		const.go#L200: 		return x.Kind() == constant.String
		const.go#L203: 		return x.Kind() == constant.Bool
		expr.go#L190: 		if x.val.Kind() == constant.Unknown {
		expr.go#L599: 	if allInteger(x.typ) || isUntyped(x.typ) && xval != nil && xval.Kind() == constant.Int {
		expr.go#L618: 		if yval.Kind() == constant.Int && constant.Sign(yval) < 0 {
		expr.go#L659: 			if x.val.Kind() == constant.Unknown || y.val.Kind() == constant.Unknown {
		expr.go#L828: 		if x.val.Kind() == constant.Unknown || y.val.Kind() == constant.Unknown {
		expr.go#L1173: 	switch x.Kind() {
		expr.go#L1176: 		if f.Kind() != constant.Float {
		expr.go#L1185: 		if i.Kind() != constant.Int {
		index.go#L363: 	if x.val.Kind() == constant.Unknown {
		operand.go#L287: 	if val.Kind() == constant.Unknown {
		stmt.go#L203: 	switch val.Kind() {
		typexpr.go#L535: 		if val := constant.ToInt(x.val); val.Kind() == constant.Int {

	golang.org/x/tools/internal/gcimporter
		iexport.go#L1292: 		w.int64(int64(v.Kind()))
		iexport.go#L1295: 	if v.Kind() == constant.Unknown {
		iexport.go#L1348: 	} else if num, denom := constant.Num(x), constant.Denom(x); num.Kind() == constant.Int {

	golang.org/x/tools/internal/pkgbits
		encoder.go#L346: 	if w.Bool(val.Kind() == constant.Complex) {
		encoder.go#L357: 		panicf("unhandled %v (%v)", val, val.Kind())