aboutsummaryrefslogtreecommitdiff
path: root/feed/nodeop_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'feed/nodeop_string.go')
-rw-r--r--feed/nodeop_string.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/feed/nodeop_string.go b/feed/nodeop_string.go
new file mode 100644
index 0000000..2c120d4
--- /dev/null
+++ b/feed/nodeop_string.go
@@ -0,0 +1,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]]
+}