aboutsummaryrefslogtreecommitdiff
path: root/object/objecttype_string.go
blob: 39336a196daded666533c491db335d9aaa5d2f6e (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
25
26
27
28
29
30
31
32
33
34
// Code generated by "stringer -type=ObjectType"; DO NOT EDIT.

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}

func (i ObjectType) String() string {
	if i < 0 || i >= ObjectType(len(_ObjectType_index)-1) {
		return "ObjectType(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _ObjectType_name[_ObjectType_index[i]:_ObjectType_index[i+1]]
}