// @deftp {Data type} {enum YACItemType}
// High-level type of the atom.
// @itemize
+// @item YACItemInvalid -- invalid item value, uninitialised
// @item YACItemEOC
// @item YACItemNIL
// @item YACItemFalse
// @end itemize
// @end deftp
enum YACItemType {
- YACItemEOC = 0,
- YACItemNIL = 1,
+ YACItemInvalid = 0,
+ YACItemEOC = 1,
+ YACItemNIL,
YACItemFalse,
YACItemTrue,
YACItemUUID,
// 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[EOC-0]
- _ = x[NIL-1]
- _ = x[Bool-2]
- _ = x[UUID-3]
- _ = x[UInt-4]
- _ = x[Int-5]
- _ = x[BigInt-6]
- _ = x[List-7]
- _ = x[Map-8]
- _ = x[Blob-9]
- _ = x[Float-10]
- _ = x[TAI64-11]
- _ = x[Bin-12]
- _ = x[Str-13]
- _ = x[Raw-14]
+ _ = x[Invalid-0]
+ _ = x[EOC-1]
+ _ = x[NIL-2]
+ _ = x[Bool-3]
+ _ = x[UUID-4]
+ _ = x[UInt-5]
+ _ = x[Int-6]
+ _ = x[BigInt-7]
+ _ = x[List-8]
+ _ = x[Map-9]
+ _ = x[Blob-10]
+ _ = x[Float-11]
+ _ = x[TAI64-12]
+ _ = x[Bin-13]
+ _ = x[Str-14]
+ _ = x[Raw-15]
}
-const _Type_name = "EOCNILBoolUUIDUIntIntBigIntListMapBlobFloatTAI64BinStrRaw"
+const _Type_name = "InvalidEOCNILBoolUUIDUIntIntBigIntListMapBlobFloatTAI64BinStrRaw"
-var _Type_index = [...]uint8{0, 3, 6, 10, 14, 18, 21, 27, 31, 34, 38, 43, 48, 51, 54, 57}
+var _Type_index = [...]uint8{0, 7, 10, 13, 17, 21, 25, 28, 34, 38, 41, 45, 50, 55, 58, 61, 64}
func (i Type) String() string {
if i >= Type(len(_Type_index)-1) {