github.com/urso/go-structform@v0.0.2/gotype/unfold_err.generated.go (about) 1 // This file has been generated from 'unfold_err.yml', do not edit 2 package gotype 3 4 import structform "github.com/urso/go-structform" 5 6 type unfolderErrArrayStart struct{} 7 8 type unfolderErrExpectKey struct{} 9 10 type unfolderErrObjectStart struct{} 11 12 type unfolderErrUnknown struct{} 13 14 type unfolderNoTarget struct{} 15 16 func (*unfolderErrArrayStart) OnNil(*unfoldCtx) error { return errExpectedArray } 17 func (*unfolderErrArrayStart) OnBool(*unfoldCtx, bool) error { return errExpectedArray } 18 func (*unfolderErrArrayStart) OnString(*unfoldCtx, string) error { return errExpectedArray } 19 func (*unfolderErrArrayStart) OnStringRef(*unfoldCtx, []byte) error { return errExpectedArray } 20 func (*unfolderErrArrayStart) OnInt8(*unfoldCtx, int8) error { return errExpectedArray } 21 func (*unfolderErrArrayStart) OnInt16(*unfoldCtx, int16) error { return errExpectedArray } 22 func (*unfolderErrArrayStart) OnInt32(*unfoldCtx, int32) error { return errExpectedArray } 23 func (*unfolderErrArrayStart) OnInt64(*unfoldCtx, int64) error { return errExpectedArray } 24 func (*unfolderErrArrayStart) OnInt(*unfoldCtx, int) error { return errExpectedArray } 25 func (*unfolderErrArrayStart) OnByte(*unfoldCtx, byte) error { return errExpectedArray } 26 func (*unfolderErrArrayStart) OnUint8(*unfoldCtx, uint8) error { return errExpectedArray } 27 func (*unfolderErrArrayStart) OnUint16(*unfoldCtx, uint16) error { return errExpectedArray } 28 func (*unfolderErrArrayStart) OnUint32(*unfoldCtx, uint32) error { return errExpectedArray } 29 func (*unfolderErrArrayStart) OnUint64(*unfoldCtx, uint64) error { return errExpectedArray } 30 func (*unfolderErrArrayStart) OnUint(*unfoldCtx, uint) error { return errExpectedArray } 31 func (*unfolderErrArrayStart) OnFloat32(*unfoldCtx, float32) error { return errExpectedArray } 32 func (*unfolderErrArrayStart) OnFloat64(*unfoldCtx, float64) error { return errExpectedArray } 33 func (*unfolderErrArrayStart) OnArrayStart(*unfoldCtx, int, structform.BaseType) error { 34 return errExpectedArray 35 } 36 func (*unfolderErrArrayStart) OnArrayFinished(*unfoldCtx) error { return errExpectedArray } 37 func (*unfolderErrArrayStart) OnChildArrayDone(*unfoldCtx) error { return errExpectedArray } 38 func (*unfolderErrArrayStart) OnObjectStart(*unfoldCtx, int, structform.BaseType) error { 39 return errExpectedArray 40 } 41 func (*unfolderErrArrayStart) OnObjectFinished(*unfoldCtx) error { return errExpectedArray } 42 func (*unfolderErrArrayStart) OnKey(*unfoldCtx, string) error { return errExpectedArray } 43 func (*unfolderErrArrayStart) OnKeyRef(*unfoldCtx, []byte) error { return errExpectedArray } 44 func (*unfolderErrArrayStart) OnChildObjectDone(*unfoldCtx) error { return errExpectedArray } 45 46 func (*unfolderErrExpectKey) OnNil(*unfoldCtx) error { return errExpectedObjectKey } 47 func (*unfolderErrExpectKey) OnBool(*unfoldCtx, bool) error { return errExpectedObjectKey } 48 func (*unfolderErrExpectKey) OnString(*unfoldCtx, string) error { return errExpectedObjectKey } 49 func (*unfolderErrExpectKey) OnStringRef(*unfoldCtx, []byte) error { return errExpectedObjectKey } 50 func (*unfolderErrExpectKey) OnInt8(*unfoldCtx, int8) error { return errExpectedObjectKey } 51 func (*unfolderErrExpectKey) OnInt16(*unfoldCtx, int16) error { return errExpectedObjectKey } 52 func (*unfolderErrExpectKey) OnInt32(*unfoldCtx, int32) error { return errExpectedObjectKey } 53 func (*unfolderErrExpectKey) OnInt64(*unfoldCtx, int64) error { return errExpectedObjectKey } 54 func (*unfolderErrExpectKey) OnInt(*unfoldCtx, int) error { return errExpectedObjectKey } 55 func (*unfolderErrExpectKey) OnByte(*unfoldCtx, byte) error { return errExpectedObjectKey } 56 func (*unfolderErrExpectKey) OnUint8(*unfoldCtx, uint8) error { return errExpectedObjectKey } 57 func (*unfolderErrExpectKey) OnUint16(*unfoldCtx, uint16) error { return errExpectedObjectKey } 58 func (*unfolderErrExpectKey) OnUint32(*unfoldCtx, uint32) error { return errExpectedObjectKey } 59 func (*unfolderErrExpectKey) OnUint64(*unfoldCtx, uint64) error { return errExpectedObjectKey } 60 func (*unfolderErrExpectKey) OnUint(*unfoldCtx, uint) error { return errExpectedObjectKey } 61 func (*unfolderErrExpectKey) OnFloat32(*unfoldCtx, float32) error { return errExpectedObjectKey } 62 func (*unfolderErrExpectKey) OnFloat64(*unfoldCtx, float64) error { return errExpectedObjectKey } 63 func (*unfolderErrExpectKey) OnArrayStart(*unfoldCtx, int, structform.BaseType) error { 64 return errExpectedObjectKey 65 } 66 func (*unfolderErrExpectKey) OnArrayFinished(*unfoldCtx) error { return errExpectedObjectKey } 67 func (*unfolderErrExpectKey) OnChildArrayDone(*unfoldCtx) error { return errExpectedObjectKey } 68 func (*unfolderErrExpectKey) OnObjectStart(*unfoldCtx, int, structform.BaseType) error { 69 return errExpectedObjectKey 70 } 71 func (*unfolderErrExpectKey) OnObjectFinished(*unfoldCtx) error { return errExpectedObjectKey } 72 func (*unfolderErrExpectKey) OnKey(*unfoldCtx, string) error { return errExpectedObjectKey } 73 func (*unfolderErrExpectKey) OnKeyRef(*unfoldCtx, []byte) error { return errExpectedObjectKey } 74 func (*unfolderErrExpectKey) OnChildObjectDone(*unfoldCtx) error { return errExpectedObjectKey } 75 76 func (*unfolderErrObjectStart) OnNil(*unfoldCtx) error { return errExpectedObject } 77 func (*unfolderErrObjectStart) OnBool(*unfoldCtx, bool) error { return errExpectedObject } 78 func (*unfolderErrObjectStart) OnString(*unfoldCtx, string) error { return errExpectedObject } 79 func (*unfolderErrObjectStart) OnStringRef(*unfoldCtx, []byte) error { return errExpectedObject } 80 func (*unfolderErrObjectStart) OnInt8(*unfoldCtx, int8) error { return errExpectedObject } 81 func (*unfolderErrObjectStart) OnInt16(*unfoldCtx, int16) error { return errExpectedObject } 82 func (*unfolderErrObjectStart) OnInt32(*unfoldCtx, int32) error { return errExpectedObject } 83 func (*unfolderErrObjectStart) OnInt64(*unfoldCtx, int64) error { return errExpectedObject } 84 func (*unfolderErrObjectStart) OnInt(*unfoldCtx, int) error { return errExpectedObject } 85 func (*unfolderErrObjectStart) OnByte(*unfoldCtx, byte) error { return errExpectedObject } 86 func (*unfolderErrObjectStart) OnUint8(*unfoldCtx, uint8) error { return errExpectedObject } 87 func (*unfolderErrObjectStart) OnUint16(*unfoldCtx, uint16) error { return errExpectedObject } 88 func (*unfolderErrObjectStart) OnUint32(*unfoldCtx, uint32) error { return errExpectedObject } 89 func (*unfolderErrObjectStart) OnUint64(*unfoldCtx, uint64) error { return errExpectedObject } 90 func (*unfolderErrObjectStart) OnUint(*unfoldCtx, uint) error { return errExpectedObject } 91 func (*unfolderErrObjectStart) OnFloat32(*unfoldCtx, float32) error { return errExpectedObject } 92 func (*unfolderErrObjectStart) OnFloat64(*unfoldCtx, float64) error { return errExpectedObject } 93 func (*unfolderErrObjectStart) OnArrayStart(*unfoldCtx, int, structform.BaseType) error { 94 return errExpectedObject 95 } 96 func (*unfolderErrObjectStart) OnArrayFinished(*unfoldCtx) error { return errExpectedObject } 97 func (*unfolderErrObjectStart) OnChildArrayDone(*unfoldCtx) error { return errExpectedObject } 98 func (*unfolderErrObjectStart) OnObjectStart(*unfoldCtx, int, structform.BaseType) error { 99 return errExpectedObject 100 } 101 func (*unfolderErrObjectStart) OnObjectFinished(*unfoldCtx) error { return errExpectedObject } 102 func (*unfolderErrObjectStart) OnKey(*unfoldCtx, string) error { return errExpectedObject } 103 func (*unfolderErrObjectStart) OnKeyRef(*unfoldCtx, []byte) error { return errExpectedObject } 104 func (*unfolderErrObjectStart) OnChildObjectDone(*unfoldCtx) error { return errExpectedObject } 105 106 func (*unfolderErrUnknown) OnNil(*unfoldCtx) error { return errUnsupported } 107 func (*unfolderErrUnknown) OnBool(*unfoldCtx, bool) error { return errUnsupported } 108 func (*unfolderErrUnknown) OnString(*unfoldCtx, string) error { return errUnsupported } 109 func (*unfolderErrUnknown) OnStringRef(*unfoldCtx, []byte) error { return errUnsupported } 110 func (*unfolderErrUnknown) OnInt8(*unfoldCtx, int8) error { return errUnsupported } 111 func (*unfolderErrUnknown) OnInt16(*unfoldCtx, int16) error { return errUnsupported } 112 func (*unfolderErrUnknown) OnInt32(*unfoldCtx, int32) error { return errUnsupported } 113 func (*unfolderErrUnknown) OnInt64(*unfoldCtx, int64) error { return errUnsupported } 114 func (*unfolderErrUnknown) OnInt(*unfoldCtx, int) error { return errUnsupported } 115 func (*unfolderErrUnknown) OnByte(*unfoldCtx, byte) error { return errUnsupported } 116 func (*unfolderErrUnknown) OnUint8(*unfoldCtx, uint8) error { return errUnsupported } 117 func (*unfolderErrUnknown) OnUint16(*unfoldCtx, uint16) error { return errUnsupported } 118 func (*unfolderErrUnknown) OnUint32(*unfoldCtx, uint32) error { return errUnsupported } 119 func (*unfolderErrUnknown) OnUint64(*unfoldCtx, uint64) error { return errUnsupported } 120 func (*unfolderErrUnknown) OnUint(*unfoldCtx, uint) error { return errUnsupported } 121 func (*unfolderErrUnknown) OnFloat32(*unfoldCtx, float32) error { return errUnsupported } 122 func (*unfolderErrUnknown) OnFloat64(*unfoldCtx, float64) error { return errUnsupported } 123 func (*unfolderErrUnknown) OnArrayStart(*unfoldCtx, int, structform.BaseType) error { 124 return errUnsupported 125 } 126 func (*unfolderErrUnknown) OnArrayFinished(*unfoldCtx) error { return errUnsupported } 127 func (*unfolderErrUnknown) OnChildArrayDone(*unfoldCtx) error { return errUnsupported } 128 func (*unfolderErrUnknown) OnObjectStart(*unfoldCtx, int, structform.BaseType) error { 129 return errUnsupported 130 } 131 func (*unfolderErrUnknown) OnObjectFinished(*unfoldCtx) error { return errUnsupported } 132 func (*unfolderErrUnknown) OnKey(*unfoldCtx, string) error { return errUnsupported } 133 func (*unfolderErrUnknown) OnKeyRef(*unfoldCtx, []byte) error { return errUnsupported } 134 func (*unfolderErrUnknown) OnChildObjectDone(*unfoldCtx) error { return errUnsupported } 135 136 func (*unfolderNoTarget) OnNil(*unfoldCtx) error { return errNotInitialized } 137 func (*unfolderNoTarget) OnBool(*unfoldCtx, bool) error { return errNotInitialized } 138 func (*unfolderNoTarget) OnString(*unfoldCtx, string) error { return errNotInitialized } 139 func (*unfolderNoTarget) OnStringRef(*unfoldCtx, []byte) error { return errNotInitialized } 140 func (*unfolderNoTarget) OnInt8(*unfoldCtx, int8) error { return errNotInitialized } 141 func (*unfolderNoTarget) OnInt16(*unfoldCtx, int16) error { return errNotInitialized } 142 func (*unfolderNoTarget) OnInt32(*unfoldCtx, int32) error { return errNotInitialized } 143 func (*unfolderNoTarget) OnInt64(*unfoldCtx, int64) error { return errNotInitialized } 144 func (*unfolderNoTarget) OnInt(*unfoldCtx, int) error { return errNotInitialized } 145 func (*unfolderNoTarget) OnByte(*unfoldCtx, byte) error { return errNotInitialized } 146 func (*unfolderNoTarget) OnUint8(*unfoldCtx, uint8) error { return errNotInitialized } 147 func (*unfolderNoTarget) OnUint16(*unfoldCtx, uint16) error { return errNotInitialized } 148 func (*unfolderNoTarget) OnUint32(*unfoldCtx, uint32) error { return errNotInitialized } 149 func (*unfolderNoTarget) OnUint64(*unfoldCtx, uint64) error { return errNotInitialized } 150 func (*unfolderNoTarget) OnUint(*unfoldCtx, uint) error { return errNotInitialized } 151 func (*unfolderNoTarget) OnFloat32(*unfoldCtx, float32) error { return errNotInitialized } 152 func (*unfolderNoTarget) OnFloat64(*unfoldCtx, float64) error { return errNotInitialized } 153 func (*unfolderNoTarget) OnArrayStart(*unfoldCtx, int, structform.BaseType) error { 154 return errNotInitialized 155 } 156 func (*unfolderNoTarget) OnArrayFinished(*unfoldCtx) error { return errNotInitialized } 157 func (*unfolderNoTarget) OnChildArrayDone(*unfoldCtx) error { return errNotInitialized } 158 func (*unfolderNoTarget) OnObjectStart(*unfoldCtx, int, structform.BaseType) error { 159 return errNotInitialized 160 } 161 func (*unfolderNoTarget) OnObjectFinished(*unfoldCtx) error { return errNotInitialized } 162 func (*unfolderNoTarget) OnKey(*unfoldCtx, string) error { return errNotInitialized } 163 func (*unfolderNoTarget) OnKeyRef(*unfoldCtx, []byte) error { return errNotInitialized } 164 func (*unfolderNoTarget) OnChildObjectDone(*unfoldCtx) error { return errNotInitialized }