aboutsummaryrefslogtreecommitdiff
path: root/feed/nodeop_string.go
blob: 2c120d41393d4fd06019f1246ef05ad0e259c49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by "stringer -linecomment -type=NodeOp"; DO NOT EDIT.

package feed

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[OrOp-0]
	_ = x[AndOp-1]
}

const _NodeOp_name = "ORAND"

var _NodeOp_index = [...]uint8{0, 2, 5}

func (i NodeOp) String() string {
	if i >= NodeOp(len(_NodeOp_index)-1) {
		return "NodeOp(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _NodeOp_name[_NodeOp_index[i]:_NodeOp_index[i+1]]
}