forked from elastic/go-structform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unfold_err.generated.go
164 lines (153 loc) · 12.1 KB
/
unfold_err.generated.go
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
// This file has been generated from 'unfold_err.yml', do not edit
package gotype
import structform "github.com/urso/go-structform"
type unfolderErrArrayStart struct{}
type unfolderErrExpectKey struct{}
type unfolderErrObjectStart struct{}
type unfolderErrUnknown struct{}
type unfolderNoTarget struct{}
func (*unfolderErrArrayStart) OnNil(*unfoldCtx) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnBool(*unfoldCtx, bool) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnString(*unfoldCtx, string) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnStringRef(*unfoldCtx, []byte) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnInt8(*unfoldCtx, int8) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnInt16(*unfoldCtx, int16) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnInt32(*unfoldCtx, int32) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnInt64(*unfoldCtx, int64) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnInt(*unfoldCtx, int) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnByte(*unfoldCtx, byte) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnUint8(*unfoldCtx, uint8) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnUint16(*unfoldCtx, uint16) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnUint32(*unfoldCtx, uint32) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnUint64(*unfoldCtx, uint64) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnUint(*unfoldCtx, uint) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnFloat32(*unfoldCtx, float32) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnFloat64(*unfoldCtx, float64) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnArrayStart(*unfoldCtx, int, structform.BaseType) error {
return errExpectedArray
}
func (*unfolderErrArrayStart) OnArrayFinished(*unfoldCtx) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnChildArrayDone(*unfoldCtx) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnObjectStart(*unfoldCtx, int, structform.BaseType) error {
return errExpectedArray
}
func (*unfolderErrArrayStart) OnObjectFinished(*unfoldCtx) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnKey(*unfoldCtx, string) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnKeyRef(*unfoldCtx, []byte) error { return errExpectedArray }
func (*unfolderErrArrayStart) OnChildObjectDone(*unfoldCtx) error { return errExpectedArray }
func (*unfolderErrExpectKey) OnNil(*unfoldCtx) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnBool(*unfoldCtx, bool) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnString(*unfoldCtx, string) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnStringRef(*unfoldCtx, []byte) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnInt8(*unfoldCtx, int8) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnInt16(*unfoldCtx, int16) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnInt32(*unfoldCtx, int32) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnInt64(*unfoldCtx, int64) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnInt(*unfoldCtx, int) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnByte(*unfoldCtx, byte) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnUint8(*unfoldCtx, uint8) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnUint16(*unfoldCtx, uint16) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnUint32(*unfoldCtx, uint32) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnUint64(*unfoldCtx, uint64) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnUint(*unfoldCtx, uint) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnFloat32(*unfoldCtx, float32) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnFloat64(*unfoldCtx, float64) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnArrayStart(*unfoldCtx, int, structform.BaseType) error {
return errExpectedObjectKey
}
func (*unfolderErrExpectKey) OnArrayFinished(*unfoldCtx) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnChildArrayDone(*unfoldCtx) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnObjectStart(*unfoldCtx, int, structform.BaseType) error {
return errExpectedObjectKey
}
func (*unfolderErrExpectKey) OnObjectFinished(*unfoldCtx) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnKey(*unfoldCtx, string) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnKeyRef(*unfoldCtx, []byte) error { return errExpectedObjectKey }
func (*unfolderErrExpectKey) OnChildObjectDone(*unfoldCtx) error { return errExpectedObjectKey }
func (*unfolderErrObjectStart) OnNil(*unfoldCtx) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnBool(*unfoldCtx, bool) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnString(*unfoldCtx, string) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnStringRef(*unfoldCtx, []byte) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnInt8(*unfoldCtx, int8) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnInt16(*unfoldCtx, int16) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnInt32(*unfoldCtx, int32) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnInt64(*unfoldCtx, int64) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnInt(*unfoldCtx, int) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnByte(*unfoldCtx, byte) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnUint8(*unfoldCtx, uint8) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnUint16(*unfoldCtx, uint16) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnUint32(*unfoldCtx, uint32) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnUint64(*unfoldCtx, uint64) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnUint(*unfoldCtx, uint) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnFloat32(*unfoldCtx, float32) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnFloat64(*unfoldCtx, float64) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnArrayStart(*unfoldCtx, int, structform.BaseType) error {
return errExpectedObject
}
func (*unfolderErrObjectStart) OnArrayFinished(*unfoldCtx) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnChildArrayDone(*unfoldCtx) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnObjectStart(*unfoldCtx, int, structform.BaseType) error {
return errExpectedObject
}
func (*unfolderErrObjectStart) OnObjectFinished(*unfoldCtx) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnKey(*unfoldCtx, string) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnKeyRef(*unfoldCtx, []byte) error { return errExpectedObject }
func (*unfolderErrObjectStart) OnChildObjectDone(*unfoldCtx) error { return errExpectedObject }
func (*unfolderErrUnknown) OnNil(*unfoldCtx) error { return errUnsupported }
func (*unfolderErrUnknown) OnBool(*unfoldCtx, bool) error { return errUnsupported }
func (*unfolderErrUnknown) OnString(*unfoldCtx, string) error { return errUnsupported }
func (*unfolderErrUnknown) OnStringRef(*unfoldCtx, []byte) error { return errUnsupported }
func (*unfolderErrUnknown) OnInt8(*unfoldCtx, int8) error { return errUnsupported }
func (*unfolderErrUnknown) OnInt16(*unfoldCtx, int16) error { return errUnsupported }
func (*unfolderErrUnknown) OnInt32(*unfoldCtx, int32) error { return errUnsupported }
func (*unfolderErrUnknown) OnInt64(*unfoldCtx, int64) error { return errUnsupported }
func (*unfolderErrUnknown) OnInt(*unfoldCtx, int) error { return errUnsupported }
func (*unfolderErrUnknown) OnByte(*unfoldCtx, byte) error { return errUnsupported }
func (*unfolderErrUnknown) OnUint8(*unfoldCtx, uint8) error { return errUnsupported }
func (*unfolderErrUnknown) OnUint16(*unfoldCtx, uint16) error { return errUnsupported }
func (*unfolderErrUnknown) OnUint32(*unfoldCtx, uint32) error { return errUnsupported }
func (*unfolderErrUnknown) OnUint64(*unfoldCtx, uint64) error { return errUnsupported }
func (*unfolderErrUnknown) OnUint(*unfoldCtx, uint) error { return errUnsupported }
func (*unfolderErrUnknown) OnFloat32(*unfoldCtx, float32) error { return errUnsupported }
func (*unfolderErrUnknown) OnFloat64(*unfoldCtx, float64) error { return errUnsupported }
func (*unfolderErrUnknown) OnArrayStart(*unfoldCtx, int, structform.BaseType) error {
return errUnsupported
}
func (*unfolderErrUnknown) OnArrayFinished(*unfoldCtx) error { return errUnsupported }
func (*unfolderErrUnknown) OnChildArrayDone(*unfoldCtx) error { return errUnsupported }
func (*unfolderErrUnknown) OnObjectStart(*unfoldCtx, int, structform.BaseType) error {
return errUnsupported
}
func (*unfolderErrUnknown) OnObjectFinished(*unfoldCtx) error { return errUnsupported }
func (*unfolderErrUnknown) OnKey(*unfoldCtx, string) error { return errUnsupported }
func (*unfolderErrUnknown) OnKeyRef(*unfoldCtx, []byte) error { return errUnsupported }
func (*unfolderErrUnknown) OnChildObjectDone(*unfoldCtx) error { return errUnsupported }
func (*unfolderNoTarget) OnNil(*unfoldCtx) error { return errNotInitialized }
func (*unfolderNoTarget) OnBool(*unfoldCtx, bool) error { return errNotInitialized }
func (*unfolderNoTarget) OnString(*unfoldCtx, string) error { return errNotInitialized }
func (*unfolderNoTarget) OnStringRef(*unfoldCtx, []byte) error { return errNotInitialized }
func (*unfolderNoTarget) OnInt8(*unfoldCtx, int8) error { return errNotInitialized }
func (*unfolderNoTarget) OnInt16(*unfoldCtx, int16) error { return errNotInitialized }
func (*unfolderNoTarget) OnInt32(*unfoldCtx, int32) error { return errNotInitialized }
func (*unfolderNoTarget) OnInt64(*unfoldCtx, int64) error { return errNotInitialized }
func (*unfolderNoTarget) OnInt(*unfoldCtx, int) error { return errNotInitialized }
func (*unfolderNoTarget) OnByte(*unfoldCtx, byte) error { return errNotInitialized }
func (*unfolderNoTarget) OnUint8(*unfoldCtx, uint8) error { return errNotInitialized }
func (*unfolderNoTarget) OnUint16(*unfoldCtx, uint16) error { return errNotInitialized }
func (*unfolderNoTarget) OnUint32(*unfoldCtx, uint32) error { return errNotInitialized }
func (*unfolderNoTarget) OnUint64(*unfoldCtx, uint64) error { return errNotInitialized }
func (*unfolderNoTarget) OnUint(*unfoldCtx, uint) error { return errNotInitialized }
func (*unfolderNoTarget) OnFloat32(*unfoldCtx, float32) error { return errNotInitialized }
func (*unfolderNoTarget) OnFloat64(*unfoldCtx, float64) error { return errNotInitialized }
func (*unfolderNoTarget) OnArrayStart(*unfoldCtx, int, structform.BaseType) error {
return errNotInitialized
}
func (*unfolderNoTarget) OnArrayFinished(*unfoldCtx) error { return errNotInitialized }
func (*unfolderNoTarget) OnChildArrayDone(*unfoldCtx) error { return errNotInitialized }
func (*unfolderNoTarget) OnObjectStart(*unfoldCtx, int, structform.BaseType) error {
return errNotInitialized
}
func (*unfolderNoTarget) OnObjectFinished(*unfoldCtx) error { return errNotInitialized }
func (*unfolderNoTarget) OnKey(*unfoldCtx, string) error { return errNotInitialized }
func (*unfolderNoTarget) OnKeyRef(*unfoldCtx, []byte) error { return errNotInitialized }
func (*unfolderNoTarget) OnChildObjectDone(*unfoldCtx) error { return errNotInitialized }