1
2
3 package ir
4
5 import "strconv"
6
7 func _() {
8
9
10 var x [1]struct{}
11 _ = x[Pxxx-0]
12 _ = x[PEXTERN-1]
13 _ = x[PAUTO-2]
14 _ = x[PAUTOHEAP-3]
15 _ = x[PPARAM-4]
16 _ = x[PPARAMOUT-5]
17 _ = x[PTYPEPARAM-6]
18 _ = x[PFUNC-7]
19 }
20
21 const _Class_name = "PxxxPEXTERNPAUTOPAUTOHEAPPPARAMPPARAMOUTPTYPEPARAMPFUNC"
22
23 var _Class_index = [...]uint8{0, 4, 11, 16, 25, 31, 40, 50, 55}
24
25 func (i Class) String() string {
26 if i >= Class(len(_Class_index)-1) {
27 return "Class(" + strconv.FormatInt(int64(i), 10) + ")"
28 }
29 return _Class_name[_Class_index[i]:_Class_index[i+1]]
30 }
31
View as plain text