package dwarf
import "strconv"
func _() {
var x [1 ]struct {}
_ = x [ClassUnknown -0 ]
_ = x [ClassAddress -1 ]
_ = x [ClassBlock -2 ]
_ = x [ClassConstant -3 ]
_ = x [ClassExprLoc -4 ]
_ = x [ClassFlag -5 ]
_ = x [ClassLinePtr -6 ]
_ = x [ClassLocListPtr -7 ]
_ = x [ClassMacPtr -8 ]
_ = x [ClassRangeListPtr -9 ]
_ = x [ClassReference -10 ]
_ = x [ClassReferenceSig -11 ]
_ = x [ClassString -12 ]
_ = x [ClassReferenceAlt -13 ]
_ = x [ClassStringAlt -14 ]
_ = x [ClassAddrPtr -15 ]
_ = x [ClassLocList -16 ]
_ = x [ClassRngList -17 ]
_ = x [ClassRngListsPtr -18 ]
_ = x [ClassStrOffsetsPtr -19 ]
}
const _Class_name = "ClassUnknownClassAddressClassBlockClassConstantClassExprLocClassFlagClassLinePtrClassLocListPtrClassMacPtrClassRangeListPtrClassReferenceClassReferenceSigClassStringClassReferenceAltClassStringAltClassAddrPtrClassLocListClassRngListClassRngListsPtrClassStrOffsetsPtr"
var _Class_index = [...]uint16 {0 , 12 , 24 , 34 , 47 , 59 , 68 , 80 , 95 , 106 , 123 , 137 , 154 , 165 , 182 , 196 , 208 , 220 , 232 , 248 , 266 }
func (i Class ) String () string {
if i < 0 || i >= Class (len (_Class_index )-1 ) {
return "Class(" + strconv .FormatInt (int64 (i ), 10 ) + ")"
}
return _Class_name [_Class_index [i ]:_Class_index [i +1 ]]
}
The pages are generated with Golds v0.7.0-preview . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .