...
1
2
3 package merge2
4
5 import "strconv"
6
7 func _() {
8
9
10 var x [1]struct{}
11 _ = x[smpUnknown-0]
12 _ = x[smpReplace-1]
13 _ = x[smpDelete-2]
14 _ = x[smpMerge-3]
15 }
16
17 const _smpDirective_name = "unknownreplacedeletemerge"
18
19 var _smpDirective_index = [...]uint8{0, 7, 14, 20, 25}
20
21 func (i smpDirective) String() string {
22 if i < 0 || i >= smpDirective(len(_smpDirective_index)-1) {
23 return "smpDirective(" + strconv.FormatInt(int64(i), 10) + ")"
24 }
25 return _smpDirective_name[_smpDirective_index[i]:_smpDirective_index[i+1]]
26 }
27
View as plain text