1 // Code generated by "stringer -type ABI"; DO NOT EDIT. 2 3 package obj 4 5 import "strconv" 6 7 func _() { 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[ABI0-0] 12 _ = x[ABIInternal-1] 13 _ = x[ABICount-2] 14 } 15 16 const _ABI_name = "ABI0ABIInternalABICount" 17 18 var _ABI_index = [...]uint8{0, 4, 15, 23} 19 20 func (i ABI) String() string { 21 idx := int(i) - 0 22 if i < 0 || idx >= len(_ABI_index)-1 { 23 return "ABI(" + strconv.FormatInt(int64(i), 10) + ")" 24 } 25 return _ABI_name[_ABI_index[idx]:_ABI_index[idx+1]] 26 } 27