Home | History | Annotate | Download | only in dwarf
      1 // generated by stringer -type=Class; DO NOT EDIT
      2 
      3 package dwarf
      4 
      5 import "fmt"
      6 
      7 const _Class_name = "ClassAddressClassBlockClassConstantClassExprLocClassFlagClassLinePtrClassLocListPtrClassMacPtrClassRangeListPtrClassReferenceClassReferenceSigClassStringClassReferenceAltClassStringAlt"
      8 
      9 var _Class_index = [...]uint8{0, 12, 22, 35, 47, 56, 68, 83, 94, 111, 125, 142, 153, 170, 184}
     10 
     11 func (i Class) String() string {
     12 	i -= 1
     13 	if i < 0 || i+1 >= Class(len(_Class_index)) {
     14 		return fmt.Sprintf("Class(%d)", i+1)
     15 	}
     16 	return _Class_name[_Class_index[i]:_Class_index[i+1]]
     17 }
     18