aboutsummaryrefslogtreecommitdiff
path: root/object/objecttype_string.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/objecttype_string.go')
-rw-r--r--object/objecttype_string.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/object/objecttype_string.go b/object/objecttype_string.go
index 80d3ee6..39336a1 100644
--- a/object/objecttype_string.go
+++ b/object/objecttype_string.go
@@ -4,6 +4,24 @@ package object
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[NULL-0]
+ _ = x[ERROR-1]
+ _ = x[INTEGER-2]
+ _ = x[BOOLEAN-3]
+ _ = x[STRING-4]
+ _ = x[RETURN_VALUE-5]
+ _ = x[FUNCTION-6]
+ _ = x[BUILTIN-7]
+ _ = x[ARRAY-8]
+ _ = x[HASH-9]
+ _ = x[QUOTE-10]
+ _ = x[MACRO-11]
+}
+
const _ObjectType_name = "NULLERRORINTEGERBOOLEANSTRINGRETURN_VALUEFUNCTIONBUILTINARRAYHASHQUOTEMACRO"
var _ObjectType_index = [...]uint8{0, 4, 9, 16, 23, 29, 41, 49, 56, 61, 65, 70, 75}