1// Code generated by "stringer -type=NumberKind"; DO NOT EDIT. 2 3package core 4 5import "strconv" 6 7func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 10 var x [1]struct{} 11 _ = x[Int64NumberKind-0] 12 _ = x[Float64NumberKind-1] 13 _ = x[Uint64NumberKind-2] 14} 15 16const _NumberKind_name = "Int64NumberKindFloat64NumberKindUint64NumberKind" 17 18var _NumberKind_index = [...]uint8{0, 15, 32, 48} 19 20func (i NumberKind) String() string { 21 if i < 0 || i >= NumberKind(len(_NumberKind_index)-1) { 22 return "NumberKind(" + strconv.FormatInt(int64(i), 10) + ")" 23 } 24 return _NumberKind_name[_NumberKind_index[i]:_NumberKind_index[i+1]] 25} 26