// Code generated by "stringer -type=BasicType -linecomment -output=basic_type_stringer.go"; DO NOT EDIT.

package variant

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[BasicUndefined - -1]
	_ = x[BasicPrimitive-0]
	_ = x[BasicShortString-1]
	_ = x[BasicObject-2]
	_ = x[BasicArray-3]
}

const _BasicType_name = "UnknownPrimitiveShortStringObjectArray"

var _BasicType_index = [...]uint8{0, 7, 16, 27, 33, 38}

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