-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinaryoperator_string.go
More file actions
36 lines (30 loc) · 1.23 KB
/
binaryoperator_string.go
File metadata and controls
36 lines (30 loc) · 1.23 KB
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=binaryOperator"; DO NOT EDIT.
package refine
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[binaryMultiply-0]
_ = x[binaryDivide-1]
_ = x[binaryMinus-2]
_ = x[binaryPlus-3]
_ = x[binaryLeftShift-4]
_ = x[binaryRightShift-5]
_ = x[binaryEqual-6]
_ = x[binaryNotEqual-7]
_ = x[binaryLessThan-8]
_ = x[binaryLessThanOrEqual-9]
_ = x[binaryGreaterThan-10]
_ = x[binaryGreaterThanOrEqual-11]
_ = x[binaryLogicalOr-12]
_ = x[binaryLogicalAnd-13]
}
const _binaryOperator_name = "binaryMultiplybinaryDividebinaryMinusbinaryPlusbinaryLeftShiftbinaryRightShiftbinaryEqualbinaryNotEqualbinaryLessThanbinaryLessThanOrEqualbinaryGreaterThanbinaryGreaterThanOrEqualbinaryLogicalOrbinaryLogicalAnd"
var _binaryOperator_index = [...]uint8{0, 14, 26, 37, 47, 62, 78, 89, 103, 117, 138, 155, 179, 194, 210}
func (i binaryOperator) String() string {
if i < 0 || i >= binaryOperator(len(_binaryOperator_index)-1) {
return "binaryOperator(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _binaryOperator_name[_binaryOperator_index[i]:_binaryOperator_index[i+1]]
}