abi_string.go raw

   1  // Code generated by "stringer -type ABI"; DO NOT EDIT.
   2  
   3  package obj
   4  
   5  import "strconv"
   6  
   7  const _ABI_name = "ABI0ABIInternalABICount"
   8  
   9  var _ABI_index = [...]uint8{0, 4, 15, 23}
  10  
  11  func (i ABI) String() string {
  12  	if i >= ABI(len(_ABI_index)-1) {
  13  		return "ABI(" + strconv.FormatInt(int64(i), 10) + ")"
  14  	}
  15  	return _ABI_name[_ABI_index[i]:_ABI_index[i+1]]
  16  }
  17