sectionid_string.go raw

   1  // Code generated by "stringer -trimprefix sec -type sectionID"; DO NOT EDIT.
   2  
   3  package wasm
   4  
   5  import "strconv"
   6  
   7  const _sectionID_name = "CustomTypeImportFunctionTableMemoryGlobalExportStartElementCodeData"
   8  
   9  var _sectionID_index = [...]uint8{0, 6, 10, 16, 24, 29, 35, 41, 47, 52, 59, 63, 67}
  10  
  11  func (i sectionID) String() string {
  12  	if i >= sectionID(len(_sectionID_index)-1) {
  13  		return "sectionID(" + strconv.FormatInt(int64(i), 10) + ")"
  14  	}
  15  	return _sectionID_name[_sectionID_index[i]:_sectionID_index[i+1]]
  16  }
  17