1
2
3 package types
4
5 import "strconv"
6
7 func _() {
8
9
10 var x [1]struct{}
11 _ = x[AUNK-0]
12 _ = x[ANOEQ-1]
13 _ = x[ANOALG-2]
14 _ = x[AMEM-3]
15 _ = x[AMEM0-4]
16 _ = x[AMEM8-5]
17 _ = x[AMEM16-6]
18 _ = x[AMEM32-7]
19 _ = x[AMEM64-8]
20 _ = x[AMEM128-9]
21 _ = x[ASTRING-10]
22 _ = x[AINTER-11]
23 _ = x[ANILINTER-12]
24 _ = x[AFLOAT32-13]
25 _ = x[AFLOAT64-14]
26 _ = x[ACPLX64-15]
27 _ = x[ACPLX128-16]
28 _ = x[ASPECIAL-17]
29 }
30
31 const _AlgKind_name = "UNKNOEQNOALGMEMMEM0MEM8MEM16MEM32MEM64MEM128STRINGINTERNILINTERFLOAT32FLOAT64CPLX64CPLX128SPECIAL"
32
33 var _AlgKind_index = [...]uint8{0, 3, 7, 12, 15, 19, 23, 28, 33, 38, 44, 50, 55, 63, 70, 77, 83, 90, 97}
34
35 func (i AlgKind) String() string {
36 if i < 0 || i >= AlgKind(len(_AlgKind_index)-1) {
37 return "AlgKind(" + strconv.FormatInt(int64(i), 10) + ")"
38 }
39 return _AlgKind_name[_AlgKind_index[i]:_AlgKind_index[i+1]]
40 }
41
View as plain text