-
Notifications
You must be signed in to change notification settings - Fork 0
/
iterator_string.go
36 lines (30 loc) · 1.05 KB
/
iterator_string.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Code generated by "stringer -type=Iterator"; DO NOT EDIT.
package iproto
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ITER_EQ-0]
_ = x[ITER_REQ-1]
_ = x[ITER_ALL-2]
_ = x[ITER_LT-3]
_ = x[ITER_LE-4]
_ = x[ITER_GE-5]
_ = x[ITER_GT-6]
_ = x[ITER_BITS_ALL_SET-7]
_ = x[ITER_BITS_ANY_SET-8]
_ = x[ITER_BITS_ALL_NOT_SET-9]
_ = x[ITER_OVERLAPS-10]
_ = x[ITER_NEIGHBOR-11]
_ = x[ITER_NP-12]
_ = x[ITER_PP-13]
}
const _Iterator_name = "ITER_EQITER_REQITER_ALLITER_LTITER_LEITER_GEITER_GTITER_BITS_ALL_SETITER_BITS_ANY_SETITER_BITS_ALL_NOT_SETITER_OVERLAPSITER_NEIGHBORITER_NPITER_PP"
var _Iterator_index = [...]uint8{0, 7, 15, 23, 30, 37, 44, 51, 68, 85, 106, 119, 132, 139, 146}
func (i Iterator) String() string {
if i < 0 || i >= Iterator(len(_Iterator_index)-1) {
return "Iterator(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Iterator_name[_Iterator_index[i]:_Iterator_index[i+1]]
}