forked from mirror/go-json
3590 lines
139 KiB
Go
3590 lines
139 KiB
Go
// Code generated by cmd/generator. DO NOT EDIT!
|
|
package json
|
|
|
|
type codeType int
|
|
|
|
const (
|
|
codeOp codeType = 0
|
|
codeArrayHead codeType = 1
|
|
codeArrayElem codeType = 2
|
|
codeSliceHead codeType = 3
|
|
codeSliceElem codeType = 4
|
|
codeMapHead codeType = 5
|
|
codeMapKey codeType = 6
|
|
codeMapValue codeType = 7
|
|
codeStructFieldRecursive codeType = 8
|
|
codeStructField codeType = 9
|
|
)
|
|
|
|
type opType int
|
|
|
|
const (
|
|
opEnd opType = 0
|
|
opInterface opType = 1
|
|
opPtr opType = 2
|
|
opMarshalJSON opType = 3
|
|
opMarshalText opType = 4
|
|
opSliceHead opType = 5
|
|
opRootSliceHead opType = 6
|
|
opSliceElem opType = 7
|
|
opRootSliceElem opType = 8
|
|
opSliceEnd opType = 9
|
|
opArrayHead opType = 10
|
|
opArrayElem opType = 11
|
|
opArrayEnd opType = 12
|
|
opMapHead opType = 13
|
|
opMapHeadLoad opType = 14
|
|
opRootMapHead opType = 15
|
|
opMapKey opType = 16
|
|
opRootMapKey opType = 17
|
|
opMapValue opType = 18
|
|
opMapEnd opType = 19
|
|
opStructFieldHead opType = 20
|
|
opStructFieldHeadOmitEmpty opType = 21
|
|
opStructFieldAnonymousHead opType = 22
|
|
opStructFieldAnonymousHeadOmitEmpty opType = 23
|
|
opStructFieldPtrAnonymousHeadOmitEmpty opType = 24
|
|
opStructFieldPtrHead opType = 25
|
|
opStructFieldPtrHeadOmitEmpty opType = 26
|
|
opStructFieldPtrAnonymousHead opType = 27
|
|
opStructField opType = 28
|
|
opStructFieldOmitEmpty opType = 29
|
|
opStructFieldRecursive opType = 30
|
|
opStructEnd opType = 31
|
|
opStructAnonymousEnd opType = 32
|
|
opInt opType = 33
|
|
opInt8 opType = 34
|
|
opInt16 opType = 35
|
|
opInt32 opType = 36
|
|
opInt64 opType = 37
|
|
opUint opType = 38
|
|
opUint8 opType = 39
|
|
opUint16 opType = 40
|
|
opUint32 opType = 41
|
|
opUint64 opType = 42
|
|
opFloat32 opType = 43
|
|
opFloat64 opType = 44
|
|
opBool opType = 45
|
|
opString opType = 46
|
|
opStructFieldHeadInt opType = 47
|
|
opStructFieldHeadInt8 opType = 48
|
|
opStructFieldHeadInt16 opType = 49
|
|
opStructFieldHeadInt32 opType = 50
|
|
opStructFieldHeadInt64 opType = 51
|
|
opStructFieldHeadUint opType = 52
|
|
opStructFieldHeadUint8 opType = 53
|
|
opStructFieldHeadUint16 opType = 54
|
|
opStructFieldHeadUint32 opType = 55
|
|
opStructFieldHeadUint64 opType = 56
|
|
opStructFieldHeadFloat32 opType = 57
|
|
opStructFieldHeadFloat64 opType = 58
|
|
opStructFieldHeadBool opType = 59
|
|
opStructFieldHeadString opType = 60
|
|
opStructFieldHeadOmitEmptyInt opType = 61
|
|
opStructFieldHeadOmitEmptyInt8 opType = 62
|
|
opStructFieldHeadOmitEmptyInt16 opType = 63
|
|
opStructFieldHeadOmitEmptyInt32 opType = 64
|
|
opStructFieldHeadOmitEmptyInt64 opType = 65
|
|
opStructFieldHeadOmitEmptyUint opType = 66
|
|
opStructFieldHeadOmitEmptyUint8 opType = 67
|
|
opStructFieldHeadOmitEmptyUint16 opType = 68
|
|
opStructFieldHeadOmitEmptyUint32 opType = 69
|
|
opStructFieldHeadOmitEmptyUint64 opType = 70
|
|
opStructFieldHeadOmitEmptyFloat32 opType = 71
|
|
opStructFieldHeadOmitEmptyFloat64 opType = 72
|
|
opStructFieldHeadOmitEmptyBool opType = 73
|
|
opStructFieldHeadOmitEmptyString opType = 74
|
|
opStructFieldAnonymousHeadInt opType = 75
|
|
opStructFieldAnonymousHeadInt8 opType = 76
|
|
opStructFieldAnonymousHeadInt16 opType = 77
|
|
opStructFieldAnonymousHeadInt32 opType = 78
|
|
opStructFieldAnonymousHeadInt64 opType = 79
|
|
opStructFieldAnonymousHeadUint opType = 80
|
|
opStructFieldAnonymousHeadUint8 opType = 81
|
|
opStructFieldAnonymousHeadUint16 opType = 82
|
|
opStructFieldAnonymousHeadUint32 opType = 83
|
|
opStructFieldAnonymousHeadUint64 opType = 84
|
|
opStructFieldAnonymousHeadFloat32 opType = 85
|
|
opStructFieldAnonymousHeadFloat64 opType = 86
|
|
opStructFieldAnonymousHeadBool opType = 87
|
|
opStructFieldAnonymousHeadString opType = 88
|
|
opStructFieldAnonymousHeadOmitEmptyInt opType = 89
|
|
opStructFieldAnonymousHeadOmitEmptyInt8 opType = 90
|
|
opStructFieldAnonymousHeadOmitEmptyInt16 opType = 91
|
|
opStructFieldAnonymousHeadOmitEmptyInt32 opType = 92
|
|
opStructFieldAnonymousHeadOmitEmptyInt64 opType = 93
|
|
opStructFieldAnonymousHeadOmitEmptyUint opType = 94
|
|
opStructFieldAnonymousHeadOmitEmptyUint8 opType = 95
|
|
opStructFieldAnonymousHeadOmitEmptyUint16 opType = 96
|
|
opStructFieldAnonymousHeadOmitEmptyUint32 opType = 97
|
|
opStructFieldAnonymousHeadOmitEmptyUint64 opType = 98
|
|
opStructFieldAnonymousHeadOmitEmptyFloat32 opType = 99
|
|
opStructFieldAnonymousHeadOmitEmptyFloat64 opType = 100
|
|
opStructFieldAnonymousHeadOmitEmptyBool opType = 101
|
|
opStructFieldAnonymousHeadOmitEmptyString opType = 102
|
|
opStructFieldPtrHeadInt opType = 103
|
|
opStructFieldPtrHeadInt8 opType = 104
|
|
opStructFieldPtrHeadInt16 opType = 105
|
|
opStructFieldPtrHeadInt32 opType = 106
|
|
opStructFieldPtrHeadInt64 opType = 107
|
|
opStructFieldPtrHeadUint opType = 108
|
|
opStructFieldPtrHeadUint8 opType = 109
|
|
opStructFieldPtrHeadUint16 opType = 110
|
|
opStructFieldPtrHeadUint32 opType = 111
|
|
opStructFieldPtrHeadUint64 opType = 112
|
|
opStructFieldPtrHeadFloat32 opType = 113
|
|
opStructFieldPtrHeadFloat64 opType = 114
|
|
opStructFieldPtrHeadBool opType = 115
|
|
opStructFieldPtrHeadString opType = 116
|
|
opStructFieldPtrHeadOmitEmptyInt opType = 117
|
|
opStructFieldPtrHeadOmitEmptyInt8 opType = 118
|
|
opStructFieldPtrHeadOmitEmptyInt16 opType = 119
|
|
opStructFieldPtrHeadOmitEmptyInt32 opType = 120
|
|
opStructFieldPtrHeadOmitEmptyInt64 opType = 121
|
|
opStructFieldPtrHeadOmitEmptyUint opType = 122
|
|
opStructFieldPtrHeadOmitEmptyUint8 opType = 123
|
|
opStructFieldPtrHeadOmitEmptyUint16 opType = 124
|
|
opStructFieldPtrHeadOmitEmptyUint32 opType = 125
|
|
opStructFieldPtrHeadOmitEmptyUint64 opType = 126
|
|
opStructFieldPtrHeadOmitEmptyFloat32 opType = 127
|
|
opStructFieldPtrHeadOmitEmptyFloat64 opType = 128
|
|
opStructFieldPtrHeadOmitEmptyBool opType = 129
|
|
opStructFieldPtrHeadOmitEmptyString opType = 130
|
|
opStructFieldPtrAnonymousHeadInt opType = 131
|
|
opStructFieldPtrAnonymousHeadInt8 opType = 132
|
|
opStructFieldPtrAnonymousHeadInt16 opType = 133
|
|
opStructFieldPtrAnonymousHeadInt32 opType = 134
|
|
opStructFieldPtrAnonymousHeadInt64 opType = 135
|
|
opStructFieldPtrAnonymousHeadUint opType = 136
|
|
opStructFieldPtrAnonymousHeadUint8 opType = 137
|
|
opStructFieldPtrAnonymousHeadUint16 opType = 138
|
|
opStructFieldPtrAnonymousHeadUint32 opType = 139
|
|
opStructFieldPtrAnonymousHeadUint64 opType = 140
|
|
opStructFieldPtrAnonymousHeadFloat32 opType = 141
|
|
opStructFieldPtrAnonymousHeadFloat64 opType = 142
|
|
opStructFieldPtrAnonymousHeadBool opType = 143
|
|
opStructFieldPtrAnonymousHeadString opType = 144
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt opType = 145
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt8 opType = 146
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt16 opType = 147
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt32 opType = 148
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt64 opType = 149
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint opType = 150
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint8 opType = 151
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint16 opType = 152
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint32 opType = 153
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint64 opType = 154
|
|
opStructFieldPtrAnonymousHeadOmitEmptyFloat32 opType = 155
|
|
opStructFieldPtrAnonymousHeadOmitEmptyFloat64 opType = 156
|
|
opStructFieldPtrAnonymousHeadOmitEmptyBool opType = 157
|
|
opStructFieldPtrAnonymousHeadOmitEmptyString opType = 158
|
|
opStructFieldInt opType = 159
|
|
opStructFieldInt8 opType = 160
|
|
opStructFieldInt16 opType = 161
|
|
opStructFieldInt32 opType = 162
|
|
opStructFieldInt64 opType = 163
|
|
opStructFieldUint opType = 164
|
|
opStructFieldUint8 opType = 165
|
|
opStructFieldUint16 opType = 166
|
|
opStructFieldUint32 opType = 167
|
|
opStructFieldUint64 opType = 168
|
|
opStructFieldFloat32 opType = 169
|
|
opStructFieldFloat64 opType = 170
|
|
opStructFieldBool opType = 171
|
|
opStructFieldString opType = 172
|
|
opStructFieldOmitEmptyInt opType = 173
|
|
opStructFieldOmitEmptyInt8 opType = 174
|
|
opStructFieldOmitEmptyInt16 opType = 175
|
|
opStructFieldOmitEmptyInt32 opType = 176
|
|
opStructFieldOmitEmptyInt64 opType = 177
|
|
opStructFieldOmitEmptyUint opType = 178
|
|
opStructFieldOmitEmptyUint8 opType = 179
|
|
opStructFieldOmitEmptyUint16 opType = 180
|
|
opStructFieldOmitEmptyUint32 opType = 181
|
|
opStructFieldOmitEmptyUint64 opType = 182
|
|
opStructFieldOmitEmptyFloat32 opType = 183
|
|
opStructFieldOmitEmptyFloat64 opType = 184
|
|
opStructFieldOmitEmptyBool opType = 185
|
|
opStructFieldOmitEmptyString opType = 186
|
|
opEndIndent opType = 187
|
|
opInterfaceIndent opType = 188
|
|
opPtrIndent opType = 189
|
|
opMarshalJSONIndent opType = 190
|
|
opMarshalTextIndent opType = 191
|
|
opSliceHeadIndent opType = 192
|
|
opRootSliceHeadIndent opType = 193
|
|
opSliceElemIndent opType = 194
|
|
opRootSliceElemIndent opType = 195
|
|
opSliceEndIndent opType = 196
|
|
opArrayHeadIndent opType = 197
|
|
opArrayElemIndent opType = 198
|
|
opArrayEndIndent opType = 199
|
|
opMapHeadIndent opType = 200
|
|
opMapHeadLoadIndent opType = 201
|
|
opRootMapHeadIndent opType = 202
|
|
opMapKeyIndent opType = 203
|
|
opRootMapKeyIndent opType = 204
|
|
opMapValueIndent opType = 205
|
|
opMapEndIndent opType = 206
|
|
opStructFieldHeadIndent opType = 207
|
|
opStructFieldHeadOmitEmptyIndent opType = 208
|
|
opStructFieldAnonymousHeadIndent opType = 209
|
|
opStructFieldAnonymousHeadOmitEmptyIndent opType = 210
|
|
opStructFieldPtrAnonymousHeadOmitEmptyIndent opType = 211
|
|
opStructFieldPtrHeadIndent opType = 212
|
|
opStructFieldPtrHeadOmitEmptyIndent opType = 213
|
|
opStructFieldPtrAnonymousHeadIndent opType = 214
|
|
opStructFieldIndent opType = 215
|
|
opStructFieldOmitEmptyIndent opType = 216
|
|
opStructFieldRecursiveIndent opType = 217
|
|
opStructEndIndent opType = 218
|
|
opStructAnonymousEndIndent opType = 219
|
|
opIntIndent opType = 220
|
|
opInt8Indent opType = 221
|
|
opInt16Indent opType = 222
|
|
opInt32Indent opType = 223
|
|
opInt64Indent opType = 224
|
|
opUintIndent opType = 225
|
|
opUint8Indent opType = 226
|
|
opUint16Indent opType = 227
|
|
opUint32Indent opType = 228
|
|
opUint64Indent opType = 229
|
|
opFloat32Indent opType = 230
|
|
opFloat64Indent opType = 231
|
|
opBoolIndent opType = 232
|
|
opStringIndent opType = 233
|
|
opStructFieldHeadIntIndent opType = 234
|
|
opStructFieldHeadInt8Indent opType = 235
|
|
opStructFieldHeadInt16Indent opType = 236
|
|
opStructFieldHeadInt32Indent opType = 237
|
|
opStructFieldHeadInt64Indent opType = 238
|
|
opStructFieldHeadUintIndent opType = 239
|
|
opStructFieldHeadUint8Indent opType = 240
|
|
opStructFieldHeadUint16Indent opType = 241
|
|
opStructFieldHeadUint32Indent opType = 242
|
|
opStructFieldHeadUint64Indent opType = 243
|
|
opStructFieldHeadFloat32Indent opType = 244
|
|
opStructFieldHeadFloat64Indent opType = 245
|
|
opStructFieldHeadBoolIndent opType = 246
|
|
opStructFieldHeadStringIndent opType = 247
|
|
opStructFieldHeadOmitEmptyIntIndent opType = 248
|
|
opStructFieldHeadOmitEmptyInt8Indent opType = 249
|
|
opStructFieldHeadOmitEmptyInt16Indent opType = 250
|
|
opStructFieldHeadOmitEmptyInt32Indent opType = 251
|
|
opStructFieldHeadOmitEmptyInt64Indent opType = 252
|
|
opStructFieldHeadOmitEmptyUintIndent opType = 253
|
|
opStructFieldHeadOmitEmptyUint8Indent opType = 254
|
|
opStructFieldHeadOmitEmptyUint16Indent opType = 255
|
|
opStructFieldHeadOmitEmptyUint32Indent opType = 256
|
|
opStructFieldHeadOmitEmptyUint64Indent opType = 257
|
|
opStructFieldHeadOmitEmptyFloat32Indent opType = 258
|
|
opStructFieldHeadOmitEmptyFloat64Indent opType = 259
|
|
opStructFieldHeadOmitEmptyBoolIndent opType = 260
|
|
opStructFieldHeadOmitEmptyStringIndent opType = 261
|
|
opStructFieldAnonymousHeadIntIndent opType = 262
|
|
opStructFieldAnonymousHeadInt8Indent opType = 263
|
|
opStructFieldAnonymousHeadInt16Indent opType = 264
|
|
opStructFieldAnonymousHeadInt32Indent opType = 265
|
|
opStructFieldAnonymousHeadInt64Indent opType = 266
|
|
opStructFieldAnonymousHeadUintIndent opType = 267
|
|
opStructFieldAnonymousHeadUint8Indent opType = 268
|
|
opStructFieldAnonymousHeadUint16Indent opType = 269
|
|
opStructFieldAnonymousHeadUint32Indent opType = 270
|
|
opStructFieldAnonymousHeadUint64Indent opType = 271
|
|
opStructFieldAnonymousHeadFloat32Indent opType = 272
|
|
opStructFieldAnonymousHeadFloat64Indent opType = 273
|
|
opStructFieldAnonymousHeadBoolIndent opType = 274
|
|
opStructFieldAnonymousHeadStringIndent opType = 275
|
|
opStructFieldAnonymousHeadOmitEmptyIntIndent opType = 276
|
|
opStructFieldAnonymousHeadOmitEmptyInt8Indent opType = 277
|
|
opStructFieldAnonymousHeadOmitEmptyInt16Indent opType = 278
|
|
opStructFieldAnonymousHeadOmitEmptyInt32Indent opType = 279
|
|
opStructFieldAnonymousHeadOmitEmptyInt64Indent opType = 280
|
|
opStructFieldAnonymousHeadOmitEmptyUintIndent opType = 281
|
|
opStructFieldAnonymousHeadOmitEmptyUint8Indent opType = 282
|
|
opStructFieldAnonymousHeadOmitEmptyUint16Indent opType = 283
|
|
opStructFieldAnonymousHeadOmitEmptyUint32Indent opType = 284
|
|
opStructFieldAnonymousHeadOmitEmptyUint64Indent opType = 285
|
|
opStructFieldAnonymousHeadOmitEmptyFloat32Indent opType = 286
|
|
opStructFieldAnonymousHeadOmitEmptyFloat64Indent opType = 287
|
|
opStructFieldAnonymousHeadOmitEmptyBoolIndent opType = 288
|
|
opStructFieldAnonymousHeadOmitEmptyStringIndent opType = 289
|
|
opStructFieldPtrHeadIntIndent opType = 290
|
|
opStructFieldPtrHeadInt8Indent opType = 291
|
|
opStructFieldPtrHeadInt16Indent opType = 292
|
|
opStructFieldPtrHeadInt32Indent opType = 293
|
|
opStructFieldPtrHeadInt64Indent opType = 294
|
|
opStructFieldPtrHeadUintIndent opType = 295
|
|
opStructFieldPtrHeadUint8Indent opType = 296
|
|
opStructFieldPtrHeadUint16Indent opType = 297
|
|
opStructFieldPtrHeadUint32Indent opType = 298
|
|
opStructFieldPtrHeadUint64Indent opType = 299
|
|
opStructFieldPtrHeadFloat32Indent opType = 300
|
|
opStructFieldPtrHeadFloat64Indent opType = 301
|
|
opStructFieldPtrHeadBoolIndent opType = 302
|
|
opStructFieldPtrHeadStringIndent opType = 303
|
|
opStructFieldPtrHeadOmitEmptyIntIndent opType = 304
|
|
opStructFieldPtrHeadOmitEmptyInt8Indent opType = 305
|
|
opStructFieldPtrHeadOmitEmptyInt16Indent opType = 306
|
|
opStructFieldPtrHeadOmitEmptyInt32Indent opType = 307
|
|
opStructFieldPtrHeadOmitEmptyInt64Indent opType = 308
|
|
opStructFieldPtrHeadOmitEmptyUintIndent opType = 309
|
|
opStructFieldPtrHeadOmitEmptyUint8Indent opType = 310
|
|
opStructFieldPtrHeadOmitEmptyUint16Indent opType = 311
|
|
opStructFieldPtrHeadOmitEmptyUint32Indent opType = 312
|
|
opStructFieldPtrHeadOmitEmptyUint64Indent opType = 313
|
|
opStructFieldPtrHeadOmitEmptyFloat32Indent opType = 314
|
|
opStructFieldPtrHeadOmitEmptyFloat64Indent opType = 315
|
|
opStructFieldPtrHeadOmitEmptyBoolIndent opType = 316
|
|
opStructFieldPtrHeadOmitEmptyStringIndent opType = 317
|
|
opStructFieldPtrAnonymousHeadIntIndent opType = 318
|
|
opStructFieldPtrAnonymousHeadInt8Indent opType = 319
|
|
opStructFieldPtrAnonymousHeadInt16Indent opType = 320
|
|
opStructFieldPtrAnonymousHeadInt32Indent opType = 321
|
|
opStructFieldPtrAnonymousHeadInt64Indent opType = 322
|
|
opStructFieldPtrAnonymousHeadUintIndent opType = 323
|
|
opStructFieldPtrAnonymousHeadUint8Indent opType = 324
|
|
opStructFieldPtrAnonymousHeadUint16Indent opType = 325
|
|
opStructFieldPtrAnonymousHeadUint32Indent opType = 326
|
|
opStructFieldPtrAnonymousHeadUint64Indent opType = 327
|
|
opStructFieldPtrAnonymousHeadFloat32Indent opType = 328
|
|
opStructFieldPtrAnonymousHeadFloat64Indent opType = 329
|
|
opStructFieldPtrAnonymousHeadBoolIndent opType = 330
|
|
opStructFieldPtrAnonymousHeadStringIndent opType = 331
|
|
opStructFieldPtrAnonymousHeadOmitEmptyIntIndent opType = 332
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent opType = 333
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent opType = 334
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent opType = 335
|
|
opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent opType = 336
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUintIndent opType = 337
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent opType = 338
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent opType = 339
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent opType = 340
|
|
opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent opType = 341
|
|
opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent opType = 342
|
|
opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent opType = 343
|
|
opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent opType = 344
|
|
opStructFieldPtrAnonymousHeadOmitEmptyStringIndent opType = 345
|
|
opStructFieldIntIndent opType = 346
|
|
opStructFieldInt8Indent opType = 347
|
|
opStructFieldInt16Indent opType = 348
|
|
opStructFieldInt32Indent opType = 349
|
|
opStructFieldInt64Indent opType = 350
|
|
opStructFieldUintIndent opType = 351
|
|
opStructFieldUint8Indent opType = 352
|
|
opStructFieldUint16Indent opType = 353
|
|
opStructFieldUint32Indent opType = 354
|
|
opStructFieldUint64Indent opType = 355
|
|
opStructFieldFloat32Indent opType = 356
|
|
opStructFieldFloat64Indent opType = 357
|
|
opStructFieldBoolIndent opType = 358
|
|
opStructFieldStringIndent opType = 359
|
|
opStructFieldOmitEmptyIntIndent opType = 360
|
|
opStructFieldOmitEmptyInt8Indent opType = 361
|
|
opStructFieldOmitEmptyInt16Indent opType = 362
|
|
opStructFieldOmitEmptyInt32Indent opType = 363
|
|
opStructFieldOmitEmptyInt64Indent opType = 364
|
|
opStructFieldOmitEmptyUintIndent opType = 365
|
|
opStructFieldOmitEmptyUint8Indent opType = 366
|
|
opStructFieldOmitEmptyUint16Indent opType = 367
|
|
opStructFieldOmitEmptyUint32Indent opType = 368
|
|
opStructFieldOmitEmptyUint64Indent opType = 369
|
|
opStructFieldOmitEmptyFloat32Indent opType = 370
|
|
opStructFieldOmitEmptyFloat64Indent opType = 371
|
|
opStructFieldOmitEmptyBoolIndent opType = 372
|
|
opStructFieldOmitEmptyStringIndent opType = 373
|
|
)
|
|
|
|
func (t opType) String() string {
|
|
switch t {
|
|
case opEnd:
|
|
return "End"
|
|
case opInterface:
|
|
return "Interface"
|
|
case opPtr:
|
|
return "Ptr"
|
|
case opMarshalJSON:
|
|
return "MarshalJSON"
|
|
case opMarshalText:
|
|
return "MarshalText"
|
|
case opSliceHead:
|
|
return "SliceHead"
|
|
case opRootSliceHead:
|
|
return "RootSliceHead"
|
|
case opSliceElem:
|
|
return "SliceElem"
|
|
case opRootSliceElem:
|
|
return "RootSliceElem"
|
|
case opSliceEnd:
|
|
return "SliceEnd"
|
|
case opArrayHead:
|
|
return "ArrayHead"
|
|
case opArrayElem:
|
|
return "ArrayElem"
|
|
case opArrayEnd:
|
|
return "ArrayEnd"
|
|
case opMapHead:
|
|
return "MapHead"
|
|
case opMapHeadLoad:
|
|
return "MapHeadLoad"
|
|
case opRootMapHead:
|
|
return "RootMapHead"
|
|
case opMapKey:
|
|
return "MapKey"
|
|
case opRootMapKey:
|
|
return "RootMapKey"
|
|
case opMapValue:
|
|
return "MapValue"
|
|
case opMapEnd:
|
|
return "MapEnd"
|
|
case opStructFieldHead:
|
|
return "StructFieldHead"
|
|
case opStructFieldHeadOmitEmpty:
|
|
return "StructFieldHeadOmitEmpty"
|
|
case opStructFieldAnonymousHead:
|
|
return "StructFieldAnonymousHead"
|
|
case opStructFieldAnonymousHeadOmitEmpty:
|
|
return "StructFieldAnonymousHeadOmitEmpty"
|
|
case opStructFieldPtrAnonymousHeadOmitEmpty:
|
|
return "StructFieldPtrAnonymousHeadOmitEmpty"
|
|
case opStructFieldPtrHead:
|
|
return "StructFieldPtrHead"
|
|
case opStructFieldPtrHeadOmitEmpty:
|
|
return "StructFieldPtrHeadOmitEmpty"
|
|
case opStructFieldPtrAnonymousHead:
|
|
return "StructFieldPtrAnonymousHead"
|
|
case opStructField:
|
|
return "StructField"
|
|
case opStructFieldOmitEmpty:
|
|
return "StructFieldOmitEmpty"
|
|
case opStructFieldRecursive:
|
|
return "StructFieldRecursive"
|
|
case opStructEnd:
|
|
return "StructEnd"
|
|
case opStructAnonymousEnd:
|
|
return "StructAnonymousEnd"
|
|
case opInt:
|
|
return "Int"
|
|
case opInt8:
|
|
return "Int8"
|
|
case opInt16:
|
|
return "Int16"
|
|
case opInt32:
|
|
return "Int32"
|
|
case opInt64:
|
|
return "Int64"
|
|
case opUint:
|
|
return "Uint"
|
|
case opUint8:
|
|
return "Uint8"
|
|
case opUint16:
|
|
return "Uint16"
|
|
case opUint32:
|
|
return "Uint32"
|
|
case opUint64:
|
|
return "Uint64"
|
|
case opFloat32:
|
|
return "Float32"
|
|
case opFloat64:
|
|
return "Float64"
|
|
case opBool:
|
|
return "Bool"
|
|
case opString:
|
|
return "String"
|
|
case opStructFieldHeadInt:
|
|
return "StructFieldHeadInt"
|
|
case opStructFieldHeadInt8:
|
|
return "StructFieldHeadInt8"
|
|
case opStructFieldHeadInt16:
|
|
return "StructFieldHeadInt16"
|
|
case opStructFieldHeadInt32:
|
|
return "StructFieldHeadInt32"
|
|
case opStructFieldHeadInt64:
|
|
return "StructFieldHeadInt64"
|
|
case opStructFieldHeadUint:
|
|
return "StructFieldHeadUint"
|
|
case opStructFieldHeadUint8:
|
|
return "StructFieldHeadUint8"
|
|
case opStructFieldHeadUint16:
|
|
return "StructFieldHeadUint16"
|
|
case opStructFieldHeadUint32:
|
|
return "StructFieldHeadUint32"
|
|
case opStructFieldHeadUint64:
|
|
return "StructFieldHeadUint64"
|
|
case opStructFieldHeadFloat32:
|
|
return "StructFieldHeadFloat32"
|
|
case opStructFieldHeadFloat64:
|
|
return "StructFieldHeadFloat64"
|
|
case opStructFieldHeadBool:
|
|
return "StructFieldHeadBool"
|
|
case opStructFieldHeadString:
|
|
return "StructFieldHeadString"
|
|
case opStructFieldHeadOmitEmptyInt:
|
|
return "StructFieldHeadOmitEmptyInt"
|
|
case opStructFieldHeadOmitEmptyInt8:
|
|
return "StructFieldHeadOmitEmptyInt8"
|
|
case opStructFieldHeadOmitEmptyInt16:
|
|
return "StructFieldHeadOmitEmptyInt16"
|
|
case opStructFieldHeadOmitEmptyInt32:
|
|
return "StructFieldHeadOmitEmptyInt32"
|
|
case opStructFieldHeadOmitEmptyInt64:
|
|
return "StructFieldHeadOmitEmptyInt64"
|
|
case opStructFieldHeadOmitEmptyUint:
|
|
return "StructFieldHeadOmitEmptyUint"
|
|
case opStructFieldHeadOmitEmptyUint8:
|
|
return "StructFieldHeadOmitEmptyUint8"
|
|
case opStructFieldHeadOmitEmptyUint16:
|
|
return "StructFieldHeadOmitEmptyUint16"
|
|
case opStructFieldHeadOmitEmptyUint32:
|
|
return "StructFieldHeadOmitEmptyUint32"
|
|
case opStructFieldHeadOmitEmptyUint64:
|
|
return "StructFieldHeadOmitEmptyUint64"
|
|
case opStructFieldHeadOmitEmptyFloat32:
|
|
return "StructFieldHeadOmitEmptyFloat32"
|
|
case opStructFieldHeadOmitEmptyFloat64:
|
|
return "StructFieldHeadOmitEmptyFloat64"
|
|
case opStructFieldHeadOmitEmptyBool:
|
|
return "StructFieldHeadOmitEmptyBool"
|
|
case opStructFieldHeadOmitEmptyString:
|
|
return "StructFieldHeadOmitEmptyString"
|
|
case opStructFieldAnonymousHeadInt:
|
|
return "StructFieldAnonymousHeadInt"
|
|
case opStructFieldAnonymousHeadInt8:
|
|
return "StructFieldAnonymousHeadInt8"
|
|
case opStructFieldAnonymousHeadInt16:
|
|
return "StructFieldAnonymousHeadInt16"
|
|
case opStructFieldAnonymousHeadInt32:
|
|
return "StructFieldAnonymousHeadInt32"
|
|
case opStructFieldAnonymousHeadInt64:
|
|
return "StructFieldAnonymousHeadInt64"
|
|
case opStructFieldAnonymousHeadUint:
|
|
return "StructFieldAnonymousHeadUint"
|
|
case opStructFieldAnonymousHeadUint8:
|
|
return "StructFieldAnonymousHeadUint8"
|
|
case opStructFieldAnonymousHeadUint16:
|
|
return "StructFieldAnonymousHeadUint16"
|
|
case opStructFieldAnonymousHeadUint32:
|
|
return "StructFieldAnonymousHeadUint32"
|
|
case opStructFieldAnonymousHeadUint64:
|
|
return "StructFieldAnonymousHeadUint64"
|
|
case opStructFieldAnonymousHeadFloat32:
|
|
return "StructFieldAnonymousHeadFloat32"
|
|
case opStructFieldAnonymousHeadFloat64:
|
|
return "StructFieldAnonymousHeadFloat64"
|
|
case opStructFieldAnonymousHeadBool:
|
|
return "StructFieldAnonymousHeadBool"
|
|
case opStructFieldAnonymousHeadString:
|
|
return "StructFieldAnonymousHeadString"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt8"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt16"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt32"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt64"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint8"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint16"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint32"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint64"
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32:
|
|
return "StructFieldAnonymousHeadOmitEmptyFloat32"
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64:
|
|
return "StructFieldAnonymousHeadOmitEmptyFloat64"
|
|
case opStructFieldAnonymousHeadOmitEmptyBool:
|
|
return "StructFieldAnonymousHeadOmitEmptyBool"
|
|
case opStructFieldAnonymousHeadOmitEmptyString:
|
|
return "StructFieldAnonymousHeadOmitEmptyString"
|
|
case opStructFieldPtrHeadInt:
|
|
return "StructFieldPtrHeadInt"
|
|
case opStructFieldPtrHeadInt8:
|
|
return "StructFieldPtrHeadInt8"
|
|
case opStructFieldPtrHeadInt16:
|
|
return "StructFieldPtrHeadInt16"
|
|
case opStructFieldPtrHeadInt32:
|
|
return "StructFieldPtrHeadInt32"
|
|
case opStructFieldPtrHeadInt64:
|
|
return "StructFieldPtrHeadInt64"
|
|
case opStructFieldPtrHeadUint:
|
|
return "StructFieldPtrHeadUint"
|
|
case opStructFieldPtrHeadUint8:
|
|
return "StructFieldPtrHeadUint8"
|
|
case opStructFieldPtrHeadUint16:
|
|
return "StructFieldPtrHeadUint16"
|
|
case opStructFieldPtrHeadUint32:
|
|
return "StructFieldPtrHeadUint32"
|
|
case opStructFieldPtrHeadUint64:
|
|
return "StructFieldPtrHeadUint64"
|
|
case opStructFieldPtrHeadFloat32:
|
|
return "StructFieldPtrHeadFloat32"
|
|
case opStructFieldPtrHeadFloat64:
|
|
return "StructFieldPtrHeadFloat64"
|
|
case opStructFieldPtrHeadBool:
|
|
return "StructFieldPtrHeadBool"
|
|
case opStructFieldPtrHeadString:
|
|
return "StructFieldPtrHeadString"
|
|
case opStructFieldPtrHeadOmitEmptyInt:
|
|
return "StructFieldPtrHeadOmitEmptyInt"
|
|
case opStructFieldPtrHeadOmitEmptyInt8:
|
|
return "StructFieldPtrHeadOmitEmptyInt8"
|
|
case opStructFieldPtrHeadOmitEmptyInt16:
|
|
return "StructFieldPtrHeadOmitEmptyInt16"
|
|
case opStructFieldPtrHeadOmitEmptyInt32:
|
|
return "StructFieldPtrHeadOmitEmptyInt32"
|
|
case opStructFieldPtrHeadOmitEmptyInt64:
|
|
return "StructFieldPtrHeadOmitEmptyInt64"
|
|
case opStructFieldPtrHeadOmitEmptyUint:
|
|
return "StructFieldPtrHeadOmitEmptyUint"
|
|
case opStructFieldPtrHeadOmitEmptyUint8:
|
|
return "StructFieldPtrHeadOmitEmptyUint8"
|
|
case opStructFieldPtrHeadOmitEmptyUint16:
|
|
return "StructFieldPtrHeadOmitEmptyUint16"
|
|
case opStructFieldPtrHeadOmitEmptyUint32:
|
|
return "StructFieldPtrHeadOmitEmptyUint32"
|
|
case opStructFieldPtrHeadOmitEmptyUint64:
|
|
return "StructFieldPtrHeadOmitEmptyUint64"
|
|
case opStructFieldPtrHeadOmitEmptyFloat32:
|
|
return "StructFieldPtrHeadOmitEmptyFloat32"
|
|
case opStructFieldPtrHeadOmitEmptyFloat64:
|
|
return "StructFieldPtrHeadOmitEmptyFloat64"
|
|
case opStructFieldPtrHeadOmitEmptyBool:
|
|
return "StructFieldPtrHeadOmitEmptyBool"
|
|
case opStructFieldPtrHeadOmitEmptyString:
|
|
return "StructFieldPtrHeadOmitEmptyString"
|
|
case opStructFieldPtrAnonymousHeadInt:
|
|
return "StructFieldPtrAnonymousHeadInt"
|
|
case opStructFieldPtrAnonymousHeadInt8:
|
|
return "StructFieldPtrAnonymousHeadInt8"
|
|
case opStructFieldPtrAnonymousHeadInt16:
|
|
return "StructFieldPtrAnonymousHeadInt16"
|
|
case opStructFieldPtrAnonymousHeadInt32:
|
|
return "StructFieldPtrAnonymousHeadInt32"
|
|
case opStructFieldPtrAnonymousHeadInt64:
|
|
return "StructFieldPtrAnonymousHeadInt64"
|
|
case opStructFieldPtrAnonymousHeadUint:
|
|
return "StructFieldPtrAnonymousHeadUint"
|
|
case opStructFieldPtrAnonymousHeadUint8:
|
|
return "StructFieldPtrAnonymousHeadUint8"
|
|
case opStructFieldPtrAnonymousHeadUint16:
|
|
return "StructFieldPtrAnonymousHeadUint16"
|
|
case opStructFieldPtrAnonymousHeadUint32:
|
|
return "StructFieldPtrAnonymousHeadUint32"
|
|
case opStructFieldPtrAnonymousHeadUint64:
|
|
return "StructFieldPtrAnonymousHeadUint64"
|
|
case opStructFieldPtrAnonymousHeadFloat32:
|
|
return "StructFieldPtrAnonymousHeadFloat32"
|
|
case opStructFieldPtrAnonymousHeadFloat64:
|
|
return "StructFieldPtrAnonymousHeadFloat64"
|
|
case opStructFieldPtrAnonymousHeadBool:
|
|
return "StructFieldPtrAnonymousHeadBool"
|
|
case opStructFieldPtrAnonymousHeadString:
|
|
return "StructFieldPtrAnonymousHeadString"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt8"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt16"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt32"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt64"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint8"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint16"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint32"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint64"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyFloat32"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyFloat64"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBool:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyBool"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyString:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyString"
|
|
case opStructFieldInt:
|
|
return "StructFieldInt"
|
|
case opStructFieldInt8:
|
|
return "StructFieldInt8"
|
|
case opStructFieldInt16:
|
|
return "StructFieldInt16"
|
|
case opStructFieldInt32:
|
|
return "StructFieldInt32"
|
|
case opStructFieldInt64:
|
|
return "StructFieldInt64"
|
|
case opStructFieldUint:
|
|
return "StructFieldUint"
|
|
case opStructFieldUint8:
|
|
return "StructFieldUint8"
|
|
case opStructFieldUint16:
|
|
return "StructFieldUint16"
|
|
case opStructFieldUint32:
|
|
return "StructFieldUint32"
|
|
case opStructFieldUint64:
|
|
return "StructFieldUint64"
|
|
case opStructFieldFloat32:
|
|
return "StructFieldFloat32"
|
|
case opStructFieldFloat64:
|
|
return "StructFieldFloat64"
|
|
case opStructFieldBool:
|
|
return "StructFieldBool"
|
|
case opStructFieldString:
|
|
return "StructFieldString"
|
|
case opStructFieldOmitEmptyInt:
|
|
return "StructFieldOmitEmptyInt"
|
|
case opStructFieldOmitEmptyInt8:
|
|
return "StructFieldOmitEmptyInt8"
|
|
case opStructFieldOmitEmptyInt16:
|
|
return "StructFieldOmitEmptyInt16"
|
|
case opStructFieldOmitEmptyInt32:
|
|
return "StructFieldOmitEmptyInt32"
|
|
case opStructFieldOmitEmptyInt64:
|
|
return "StructFieldOmitEmptyInt64"
|
|
case opStructFieldOmitEmptyUint:
|
|
return "StructFieldOmitEmptyUint"
|
|
case opStructFieldOmitEmptyUint8:
|
|
return "StructFieldOmitEmptyUint8"
|
|
case opStructFieldOmitEmptyUint16:
|
|
return "StructFieldOmitEmptyUint16"
|
|
case opStructFieldOmitEmptyUint32:
|
|
return "StructFieldOmitEmptyUint32"
|
|
case opStructFieldOmitEmptyUint64:
|
|
return "StructFieldOmitEmptyUint64"
|
|
case opStructFieldOmitEmptyFloat32:
|
|
return "StructFieldOmitEmptyFloat32"
|
|
case opStructFieldOmitEmptyFloat64:
|
|
return "StructFieldOmitEmptyFloat64"
|
|
case opStructFieldOmitEmptyBool:
|
|
return "StructFieldOmitEmptyBool"
|
|
case opStructFieldOmitEmptyString:
|
|
return "StructFieldOmitEmptyString"
|
|
case opEndIndent:
|
|
return "EndIndent"
|
|
case opInterfaceIndent:
|
|
return "InterfaceIndent"
|
|
case opPtrIndent:
|
|
return "PtrIndent"
|
|
case opMarshalJSONIndent:
|
|
return "MarshalJSONIndent"
|
|
case opMarshalTextIndent:
|
|
return "MarshalTextIndent"
|
|
case opSliceHeadIndent:
|
|
return "SliceHeadIndent"
|
|
case opRootSliceHeadIndent:
|
|
return "RootSliceHeadIndent"
|
|
case opSliceElemIndent:
|
|
return "SliceElemIndent"
|
|
case opRootSliceElemIndent:
|
|
return "RootSliceElemIndent"
|
|
case opSliceEndIndent:
|
|
return "SliceEndIndent"
|
|
case opArrayHeadIndent:
|
|
return "ArrayHeadIndent"
|
|
case opArrayElemIndent:
|
|
return "ArrayElemIndent"
|
|
case opArrayEndIndent:
|
|
return "ArrayEndIndent"
|
|
case opMapHeadIndent:
|
|
return "MapHeadIndent"
|
|
case opMapHeadLoadIndent:
|
|
return "MapHeadLoadIndent"
|
|
case opRootMapHeadIndent:
|
|
return "RootMapHeadIndent"
|
|
case opMapKeyIndent:
|
|
return "MapKeyIndent"
|
|
case opRootMapKeyIndent:
|
|
return "RootMapKeyIndent"
|
|
case opMapValueIndent:
|
|
return "MapValueIndent"
|
|
case opMapEndIndent:
|
|
return "MapEndIndent"
|
|
case opStructFieldHeadIndent:
|
|
return "StructFieldHeadIndent"
|
|
case opStructFieldHeadOmitEmptyIndent:
|
|
return "StructFieldHeadOmitEmptyIndent"
|
|
case opStructFieldAnonymousHeadIndent:
|
|
return "StructFieldAnonymousHeadIndent"
|
|
case opStructFieldAnonymousHeadOmitEmptyIndent:
|
|
return "StructFieldAnonymousHeadOmitEmptyIndent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyIndent"
|
|
case opStructFieldPtrHeadIndent:
|
|
return "StructFieldPtrHeadIndent"
|
|
case opStructFieldPtrHeadOmitEmptyIndent:
|
|
return "StructFieldPtrHeadOmitEmptyIndent"
|
|
case opStructFieldPtrAnonymousHeadIndent:
|
|
return "StructFieldPtrAnonymousHeadIndent"
|
|
case opStructFieldIndent:
|
|
return "StructFieldIndent"
|
|
case opStructFieldOmitEmptyIndent:
|
|
return "StructFieldOmitEmptyIndent"
|
|
case opStructFieldRecursiveIndent:
|
|
return "StructFieldRecursiveIndent"
|
|
case opStructEndIndent:
|
|
return "StructEndIndent"
|
|
case opStructAnonymousEndIndent:
|
|
return "StructAnonymousEndIndent"
|
|
case opIntIndent:
|
|
return "IntIndent"
|
|
case opInt8Indent:
|
|
return "Int8Indent"
|
|
case opInt16Indent:
|
|
return "Int16Indent"
|
|
case opInt32Indent:
|
|
return "Int32Indent"
|
|
case opInt64Indent:
|
|
return "Int64Indent"
|
|
case opUintIndent:
|
|
return "UintIndent"
|
|
case opUint8Indent:
|
|
return "Uint8Indent"
|
|
case opUint16Indent:
|
|
return "Uint16Indent"
|
|
case opUint32Indent:
|
|
return "Uint32Indent"
|
|
case opUint64Indent:
|
|
return "Uint64Indent"
|
|
case opFloat32Indent:
|
|
return "Float32Indent"
|
|
case opFloat64Indent:
|
|
return "Float64Indent"
|
|
case opBoolIndent:
|
|
return "BoolIndent"
|
|
case opStringIndent:
|
|
return "StringIndent"
|
|
case opStructFieldHeadIntIndent:
|
|
return "StructFieldHeadIntIndent"
|
|
case opStructFieldHeadInt8Indent:
|
|
return "StructFieldHeadInt8Indent"
|
|
case opStructFieldHeadInt16Indent:
|
|
return "StructFieldHeadInt16Indent"
|
|
case opStructFieldHeadInt32Indent:
|
|
return "StructFieldHeadInt32Indent"
|
|
case opStructFieldHeadInt64Indent:
|
|
return "StructFieldHeadInt64Indent"
|
|
case opStructFieldHeadUintIndent:
|
|
return "StructFieldHeadUintIndent"
|
|
case opStructFieldHeadUint8Indent:
|
|
return "StructFieldHeadUint8Indent"
|
|
case opStructFieldHeadUint16Indent:
|
|
return "StructFieldHeadUint16Indent"
|
|
case opStructFieldHeadUint32Indent:
|
|
return "StructFieldHeadUint32Indent"
|
|
case opStructFieldHeadUint64Indent:
|
|
return "StructFieldHeadUint64Indent"
|
|
case opStructFieldHeadFloat32Indent:
|
|
return "StructFieldHeadFloat32Indent"
|
|
case opStructFieldHeadFloat64Indent:
|
|
return "StructFieldHeadFloat64Indent"
|
|
case opStructFieldHeadBoolIndent:
|
|
return "StructFieldHeadBoolIndent"
|
|
case opStructFieldHeadStringIndent:
|
|
return "StructFieldHeadStringIndent"
|
|
case opStructFieldHeadOmitEmptyIntIndent:
|
|
return "StructFieldHeadOmitEmptyIntIndent"
|
|
case opStructFieldHeadOmitEmptyInt8Indent:
|
|
return "StructFieldHeadOmitEmptyInt8Indent"
|
|
case opStructFieldHeadOmitEmptyInt16Indent:
|
|
return "StructFieldHeadOmitEmptyInt16Indent"
|
|
case opStructFieldHeadOmitEmptyInt32Indent:
|
|
return "StructFieldHeadOmitEmptyInt32Indent"
|
|
case opStructFieldHeadOmitEmptyInt64Indent:
|
|
return "StructFieldHeadOmitEmptyInt64Indent"
|
|
case opStructFieldHeadOmitEmptyUintIndent:
|
|
return "StructFieldHeadOmitEmptyUintIndent"
|
|
case opStructFieldHeadOmitEmptyUint8Indent:
|
|
return "StructFieldHeadOmitEmptyUint8Indent"
|
|
case opStructFieldHeadOmitEmptyUint16Indent:
|
|
return "StructFieldHeadOmitEmptyUint16Indent"
|
|
case opStructFieldHeadOmitEmptyUint32Indent:
|
|
return "StructFieldHeadOmitEmptyUint32Indent"
|
|
case opStructFieldHeadOmitEmptyUint64Indent:
|
|
return "StructFieldHeadOmitEmptyUint64Indent"
|
|
case opStructFieldHeadOmitEmptyFloat32Indent:
|
|
return "StructFieldHeadOmitEmptyFloat32Indent"
|
|
case opStructFieldHeadOmitEmptyFloat64Indent:
|
|
return "StructFieldHeadOmitEmptyFloat64Indent"
|
|
case opStructFieldHeadOmitEmptyBoolIndent:
|
|
return "StructFieldHeadOmitEmptyBoolIndent"
|
|
case opStructFieldHeadOmitEmptyStringIndent:
|
|
return "StructFieldHeadOmitEmptyStringIndent"
|
|
case opStructFieldAnonymousHeadIntIndent:
|
|
return "StructFieldAnonymousHeadIntIndent"
|
|
case opStructFieldAnonymousHeadInt8Indent:
|
|
return "StructFieldAnonymousHeadInt8Indent"
|
|
case opStructFieldAnonymousHeadInt16Indent:
|
|
return "StructFieldAnonymousHeadInt16Indent"
|
|
case opStructFieldAnonymousHeadInt32Indent:
|
|
return "StructFieldAnonymousHeadInt32Indent"
|
|
case opStructFieldAnonymousHeadInt64Indent:
|
|
return "StructFieldAnonymousHeadInt64Indent"
|
|
case opStructFieldAnonymousHeadUintIndent:
|
|
return "StructFieldAnonymousHeadUintIndent"
|
|
case opStructFieldAnonymousHeadUint8Indent:
|
|
return "StructFieldAnonymousHeadUint8Indent"
|
|
case opStructFieldAnonymousHeadUint16Indent:
|
|
return "StructFieldAnonymousHeadUint16Indent"
|
|
case opStructFieldAnonymousHeadUint32Indent:
|
|
return "StructFieldAnonymousHeadUint32Indent"
|
|
case opStructFieldAnonymousHeadUint64Indent:
|
|
return "StructFieldAnonymousHeadUint64Indent"
|
|
case opStructFieldAnonymousHeadFloat32Indent:
|
|
return "StructFieldAnonymousHeadFloat32Indent"
|
|
case opStructFieldAnonymousHeadFloat64Indent:
|
|
return "StructFieldAnonymousHeadFloat64Indent"
|
|
case opStructFieldAnonymousHeadBoolIndent:
|
|
return "StructFieldAnonymousHeadBoolIndent"
|
|
case opStructFieldAnonymousHeadStringIndent:
|
|
return "StructFieldAnonymousHeadStringIndent"
|
|
case opStructFieldAnonymousHeadOmitEmptyIntIndent:
|
|
return "StructFieldAnonymousHeadOmitEmptyIntIndent"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt8Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt16Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt32Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyInt64Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyUintIndent:
|
|
return "StructFieldAnonymousHeadOmitEmptyUintIndent"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint8Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint16Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint32Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyUint64Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyFloat32Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64Indent:
|
|
return "StructFieldAnonymousHeadOmitEmptyFloat64Indent"
|
|
case opStructFieldAnonymousHeadOmitEmptyBoolIndent:
|
|
return "StructFieldAnonymousHeadOmitEmptyBoolIndent"
|
|
case opStructFieldAnonymousHeadOmitEmptyStringIndent:
|
|
return "StructFieldAnonymousHeadOmitEmptyStringIndent"
|
|
case opStructFieldPtrHeadIntIndent:
|
|
return "StructFieldPtrHeadIntIndent"
|
|
case opStructFieldPtrHeadInt8Indent:
|
|
return "StructFieldPtrHeadInt8Indent"
|
|
case opStructFieldPtrHeadInt16Indent:
|
|
return "StructFieldPtrHeadInt16Indent"
|
|
case opStructFieldPtrHeadInt32Indent:
|
|
return "StructFieldPtrHeadInt32Indent"
|
|
case opStructFieldPtrHeadInt64Indent:
|
|
return "StructFieldPtrHeadInt64Indent"
|
|
case opStructFieldPtrHeadUintIndent:
|
|
return "StructFieldPtrHeadUintIndent"
|
|
case opStructFieldPtrHeadUint8Indent:
|
|
return "StructFieldPtrHeadUint8Indent"
|
|
case opStructFieldPtrHeadUint16Indent:
|
|
return "StructFieldPtrHeadUint16Indent"
|
|
case opStructFieldPtrHeadUint32Indent:
|
|
return "StructFieldPtrHeadUint32Indent"
|
|
case opStructFieldPtrHeadUint64Indent:
|
|
return "StructFieldPtrHeadUint64Indent"
|
|
case opStructFieldPtrHeadFloat32Indent:
|
|
return "StructFieldPtrHeadFloat32Indent"
|
|
case opStructFieldPtrHeadFloat64Indent:
|
|
return "StructFieldPtrHeadFloat64Indent"
|
|
case opStructFieldPtrHeadBoolIndent:
|
|
return "StructFieldPtrHeadBoolIndent"
|
|
case opStructFieldPtrHeadStringIndent:
|
|
return "StructFieldPtrHeadStringIndent"
|
|
case opStructFieldPtrHeadOmitEmptyIntIndent:
|
|
return "StructFieldPtrHeadOmitEmptyIntIndent"
|
|
case opStructFieldPtrHeadOmitEmptyInt8Indent:
|
|
return "StructFieldPtrHeadOmitEmptyInt8Indent"
|
|
case opStructFieldPtrHeadOmitEmptyInt16Indent:
|
|
return "StructFieldPtrHeadOmitEmptyInt16Indent"
|
|
case opStructFieldPtrHeadOmitEmptyInt32Indent:
|
|
return "StructFieldPtrHeadOmitEmptyInt32Indent"
|
|
case opStructFieldPtrHeadOmitEmptyInt64Indent:
|
|
return "StructFieldPtrHeadOmitEmptyInt64Indent"
|
|
case opStructFieldPtrHeadOmitEmptyUintIndent:
|
|
return "StructFieldPtrHeadOmitEmptyUintIndent"
|
|
case opStructFieldPtrHeadOmitEmptyUint8Indent:
|
|
return "StructFieldPtrHeadOmitEmptyUint8Indent"
|
|
case opStructFieldPtrHeadOmitEmptyUint16Indent:
|
|
return "StructFieldPtrHeadOmitEmptyUint16Indent"
|
|
case opStructFieldPtrHeadOmitEmptyUint32Indent:
|
|
return "StructFieldPtrHeadOmitEmptyUint32Indent"
|
|
case opStructFieldPtrHeadOmitEmptyUint64Indent:
|
|
return "StructFieldPtrHeadOmitEmptyUint64Indent"
|
|
case opStructFieldPtrHeadOmitEmptyFloat32Indent:
|
|
return "StructFieldPtrHeadOmitEmptyFloat32Indent"
|
|
case opStructFieldPtrHeadOmitEmptyFloat64Indent:
|
|
return "StructFieldPtrHeadOmitEmptyFloat64Indent"
|
|
case opStructFieldPtrHeadOmitEmptyBoolIndent:
|
|
return "StructFieldPtrHeadOmitEmptyBoolIndent"
|
|
case opStructFieldPtrHeadOmitEmptyStringIndent:
|
|
return "StructFieldPtrHeadOmitEmptyStringIndent"
|
|
case opStructFieldPtrAnonymousHeadIntIndent:
|
|
return "StructFieldPtrAnonymousHeadIntIndent"
|
|
case opStructFieldPtrAnonymousHeadInt8Indent:
|
|
return "StructFieldPtrAnonymousHeadInt8Indent"
|
|
case opStructFieldPtrAnonymousHeadInt16Indent:
|
|
return "StructFieldPtrAnonymousHeadInt16Indent"
|
|
case opStructFieldPtrAnonymousHeadInt32Indent:
|
|
return "StructFieldPtrAnonymousHeadInt32Indent"
|
|
case opStructFieldPtrAnonymousHeadInt64Indent:
|
|
return "StructFieldPtrAnonymousHeadInt64Indent"
|
|
case opStructFieldPtrAnonymousHeadUintIndent:
|
|
return "StructFieldPtrAnonymousHeadUintIndent"
|
|
case opStructFieldPtrAnonymousHeadUint8Indent:
|
|
return "StructFieldPtrAnonymousHeadUint8Indent"
|
|
case opStructFieldPtrAnonymousHeadUint16Indent:
|
|
return "StructFieldPtrAnonymousHeadUint16Indent"
|
|
case opStructFieldPtrAnonymousHeadUint32Indent:
|
|
return "StructFieldPtrAnonymousHeadUint32Indent"
|
|
case opStructFieldPtrAnonymousHeadUint64Indent:
|
|
return "StructFieldPtrAnonymousHeadUint64Indent"
|
|
case opStructFieldPtrAnonymousHeadFloat32Indent:
|
|
return "StructFieldPtrAnonymousHeadFloat32Indent"
|
|
case opStructFieldPtrAnonymousHeadFloat64Indent:
|
|
return "StructFieldPtrAnonymousHeadFloat64Indent"
|
|
case opStructFieldPtrAnonymousHeadBoolIndent:
|
|
return "StructFieldPtrAnonymousHeadBoolIndent"
|
|
case opStructFieldPtrAnonymousHeadStringIndent:
|
|
return "StructFieldPtrAnonymousHeadStringIndent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIntIndent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyIntIndent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt8Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt16Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt32Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyInt64Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUintIndent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUintIndent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint8Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint16Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint32Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyUint64Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyFloat32Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyFloat64Indent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyBoolIndent"
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyStringIndent:
|
|
return "StructFieldPtrAnonymousHeadOmitEmptyStringIndent"
|
|
case opStructFieldIntIndent:
|
|
return "StructFieldIntIndent"
|
|
case opStructFieldInt8Indent:
|
|
return "StructFieldInt8Indent"
|
|
case opStructFieldInt16Indent:
|
|
return "StructFieldInt16Indent"
|
|
case opStructFieldInt32Indent:
|
|
return "StructFieldInt32Indent"
|
|
case opStructFieldInt64Indent:
|
|
return "StructFieldInt64Indent"
|
|
case opStructFieldUintIndent:
|
|
return "StructFieldUintIndent"
|
|
case opStructFieldUint8Indent:
|
|
return "StructFieldUint8Indent"
|
|
case opStructFieldUint16Indent:
|
|
return "StructFieldUint16Indent"
|
|
case opStructFieldUint32Indent:
|
|
return "StructFieldUint32Indent"
|
|
case opStructFieldUint64Indent:
|
|
return "StructFieldUint64Indent"
|
|
case opStructFieldFloat32Indent:
|
|
return "StructFieldFloat32Indent"
|
|
case opStructFieldFloat64Indent:
|
|
return "StructFieldFloat64Indent"
|
|
case opStructFieldBoolIndent:
|
|
return "StructFieldBoolIndent"
|
|
case opStructFieldStringIndent:
|
|
return "StructFieldStringIndent"
|
|
case opStructFieldOmitEmptyIntIndent:
|
|
return "StructFieldOmitEmptyIntIndent"
|
|
case opStructFieldOmitEmptyInt8Indent:
|
|
return "StructFieldOmitEmptyInt8Indent"
|
|
case opStructFieldOmitEmptyInt16Indent:
|
|
return "StructFieldOmitEmptyInt16Indent"
|
|
case opStructFieldOmitEmptyInt32Indent:
|
|
return "StructFieldOmitEmptyInt32Indent"
|
|
case opStructFieldOmitEmptyInt64Indent:
|
|
return "StructFieldOmitEmptyInt64Indent"
|
|
case opStructFieldOmitEmptyUintIndent:
|
|
return "StructFieldOmitEmptyUintIndent"
|
|
case opStructFieldOmitEmptyUint8Indent:
|
|
return "StructFieldOmitEmptyUint8Indent"
|
|
case opStructFieldOmitEmptyUint16Indent:
|
|
return "StructFieldOmitEmptyUint16Indent"
|
|
case opStructFieldOmitEmptyUint32Indent:
|
|
return "StructFieldOmitEmptyUint32Indent"
|
|
case opStructFieldOmitEmptyUint64Indent:
|
|
return "StructFieldOmitEmptyUint64Indent"
|
|
case opStructFieldOmitEmptyFloat32Indent:
|
|
return "StructFieldOmitEmptyFloat32Indent"
|
|
case opStructFieldOmitEmptyFloat64Indent:
|
|
return "StructFieldOmitEmptyFloat64Indent"
|
|
case opStructFieldOmitEmptyBoolIndent:
|
|
return "StructFieldOmitEmptyBoolIndent"
|
|
case opStructFieldOmitEmptyStringIndent:
|
|
return "StructFieldOmitEmptyStringIndent"
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (t opType) codeType() codeType {
|
|
switch t {
|
|
case opEnd:
|
|
return codeOp
|
|
case opInterface:
|
|
return codeOp
|
|
case opPtr:
|
|
return codeOp
|
|
case opMarshalJSON:
|
|
return codeOp
|
|
case opMarshalText:
|
|
return codeOp
|
|
case opSliceHead:
|
|
return codeSliceHead
|
|
case opRootSliceHead:
|
|
return codeSliceHead
|
|
case opSliceElem:
|
|
return codeSliceElem
|
|
case opRootSliceElem:
|
|
return codeSliceElem
|
|
case opSliceEnd:
|
|
return codeOp
|
|
case opArrayHead:
|
|
return codeArrayHead
|
|
case opArrayElem:
|
|
return codeArrayElem
|
|
case opArrayEnd:
|
|
return codeOp
|
|
case opMapHead:
|
|
return codeMapHead
|
|
case opMapHeadLoad:
|
|
return codeMapHead
|
|
case opRootMapHead:
|
|
return codeMapHead
|
|
case opMapKey:
|
|
return codeMapKey
|
|
case opRootMapKey:
|
|
return codeMapKey
|
|
case opMapValue:
|
|
return codeMapValue
|
|
case opMapEnd:
|
|
return codeOp
|
|
case opStructFieldHead:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmpty:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHead:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmpty:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmpty:
|
|
return codeStructField
|
|
case opStructFieldPtrHead:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmpty:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHead:
|
|
return codeStructField
|
|
case opStructField:
|
|
return codeStructField
|
|
case opStructFieldOmitEmpty:
|
|
return codeStructField
|
|
case opStructFieldRecursive:
|
|
return codeStructFieldRecursive
|
|
case opStructEnd:
|
|
return codeStructField
|
|
case opStructAnonymousEnd:
|
|
return codeStructField
|
|
case opInt:
|
|
return codeOp
|
|
case opInt8:
|
|
return codeOp
|
|
case opInt16:
|
|
return codeOp
|
|
case opInt32:
|
|
return codeOp
|
|
case opInt64:
|
|
return codeOp
|
|
case opUint:
|
|
return codeOp
|
|
case opUint8:
|
|
return codeOp
|
|
case opUint16:
|
|
return codeOp
|
|
case opUint32:
|
|
return codeOp
|
|
case opUint64:
|
|
return codeOp
|
|
case opFloat32:
|
|
return codeOp
|
|
case opFloat64:
|
|
return codeOp
|
|
case opBool:
|
|
return codeOp
|
|
case opString:
|
|
return codeOp
|
|
case opStructFieldHeadInt:
|
|
return codeStructField
|
|
case opStructFieldHeadInt8:
|
|
return codeStructField
|
|
case opStructFieldHeadInt16:
|
|
return codeStructField
|
|
case opStructFieldHeadInt32:
|
|
return codeStructField
|
|
case opStructFieldHeadInt64:
|
|
return codeStructField
|
|
case opStructFieldHeadUint:
|
|
return codeStructField
|
|
case opStructFieldHeadUint8:
|
|
return codeStructField
|
|
case opStructFieldHeadUint16:
|
|
return codeStructField
|
|
case opStructFieldHeadUint32:
|
|
return codeStructField
|
|
case opStructFieldHeadUint64:
|
|
return codeStructField
|
|
case opStructFieldHeadFloat32:
|
|
return codeStructField
|
|
case opStructFieldHeadFloat64:
|
|
return codeStructField
|
|
case opStructFieldHeadBool:
|
|
return codeStructField
|
|
case opStructFieldHeadString:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt8:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt16:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt32:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt64:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint8:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint16:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint32:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint64:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyFloat32:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyFloat64:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyBool:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyString:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt8:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt16:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt32:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt64:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint8:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint16:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint32:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint64:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadFloat32:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadFloat64:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadBool:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadString:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyBool:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyString:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt8:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt16:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt32:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt64:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint8:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint16:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint32:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint64:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadFloat32:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadFloat64:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadBool:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadString:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt8:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt16:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt32:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt64:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint8:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint16:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint32:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint64:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyFloat32:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyFloat64:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyBool:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyString:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt8:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt16:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt32:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt64:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint8:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint16:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint32:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint64:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadFloat32:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadFloat64:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadBool:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadString:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBool:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyString:
|
|
return codeStructField
|
|
case opStructFieldInt:
|
|
return codeStructField
|
|
case opStructFieldInt8:
|
|
return codeStructField
|
|
case opStructFieldInt16:
|
|
return codeStructField
|
|
case opStructFieldInt32:
|
|
return codeStructField
|
|
case opStructFieldInt64:
|
|
return codeStructField
|
|
case opStructFieldUint:
|
|
return codeStructField
|
|
case opStructFieldUint8:
|
|
return codeStructField
|
|
case opStructFieldUint16:
|
|
return codeStructField
|
|
case opStructFieldUint32:
|
|
return codeStructField
|
|
case opStructFieldUint64:
|
|
return codeStructField
|
|
case opStructFieldFloat32:
|
|
return codeStructField
|
|
case opStructFieldFloat64:
|
|
return codeStructField
|
|
case opStructFieldBool:
|
|
return codeStructField
|
|
case opStructFieldString:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt8:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt16:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt32:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt64:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint8:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint16:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint32:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint64:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyFloat32:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyFloat64:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyBool:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyString:
|
|
return codeStructField
|
|
case opEndIndent:
|
|
return codeOp
|
|
case opInterfaceIndent:
|
|
return codeOp
|
|
case opPtrIndent:
|
|
return codeOp
|
|
case opMarshalJSONIndent:
|
|
return codeOp
|
|
case opMarshalTextIndent:
|
|
return codeOp
|
|
case opSliceHeadIndent:
|
|
return codeSliceHead
|
|
case opRootSliceHeadIndent:
|
|
return codeSliceHead
|
|
case opSliceElemIndent:
|
|
return codeSliceElem
|
|
case opRootSliceElemIndent:
|
|
return codeSliceElem
|
|
case opSliceEndIndent:
|
|
return codeOp
|
|
case opArrayHeadIndent:
|
|
return codeArrayHead
|
|
case opArrayElemIndent:
|
|
return codeArrayElem
|
|
case opArrayEndIndent:
|
|
return codeOp
|
|
case opMapHeadIndent:
|
|
return codeMapHead
|
|
case opMapHeadLoadIndent:
|
|
return codeMapHead
|
|
case opRootMapHeadIndent:
|
|
return codeMapHead
|
|
case opMapKeyIndent:
|
|
return codeMapKey
|
|
case opRootMapKeyIndent:
|
|
return codeMapKey
|
|
case opMapValueIndent:
|
|
return codeMapValue
|
|
case opMapEndIndent:
|
|
return codeOp
|
|
case opStructFieldHeadIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadIndent:
|
|
return codeStructField
|
|
case opStructFieldIndent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyIndent:
|
|
return codeStructField
|
|
case opStructFieldRecursiveIndent:
|
|
return codeStructFieldRecursive
|
|
case opStructEndIndent:
|
|
return codeStructField
|
|
case opStructAnonymousEndIndent:
|
|
return codeStructField
|
|
case opIntIndent:
|
|
return codeOp
|
|
case opInt8Indent:
|
|
return codeOp
|
|
case opInt16Indent:
|
|
return codeOp
|
|
case opInt32Indent:
|
|
return codeOp
|
|
case opInt64Indent:
|
|
return codeOp
|
|
case opUintIndent:
|
|
return codeOp
|
|
case opUint8Indent:
|
|
return codeOp
|
|
case opUint16Indent:
|
|
return codeOp
|
|
case opUint32Indent:
|
|
return codeOp
|
|
case opUint64Indent:
|
|
return codeOp
|
|
case opFloat32Indent:
|
|
return codeOp
|
|
case opFloat64Indent:
|
|
return codeOp
|
|
case opBoolIndent:
|
|
return codeOp
|
|
case opStringIndent:
|
|
return codeOp
|
|
case opStructFieldHeadIntIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadUintIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadStringIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyIntIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUintIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldHeadOmitEmptyStringIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadIntIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUintIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadStringIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyIntIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUintIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldAnonymousHeadOmitEmptyStringIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadIntIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUintIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadStringIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyIntIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUintIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrHeadOmitEmptyStringIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadIntIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUintIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadStringIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIntIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUintIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyStringIndent:
|
|
return codeStructField
|
|
case opStructFieldIntIndent:
|
|
return codeStructField
|
|
case opStructFieldInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldUintIndent:
|
|
return codeStructField
|
|
case opStructFieldUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldStringIndent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyIntIndent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt8Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt16Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt32Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyInt64Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUintIndent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint8Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint16Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint32Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyUint64Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyFloat32Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyFloat64Indent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyBoolIndent:
|
|
return codeStructField
|
|
case opStructFieldOmitEmptyStringIndent:
|
|
return codeStructField
|
|
}
|
|
return codeOp
|
|
}
|
|
|
|
func (t opType) toIndent() opType {
|
|
switch t {
|
|
case opEnd:
|
|
return opEndIndent
|
|
case opInterface:
|
|
return opInterfaceIndent
|
|
case opPtr:
|
|
return opPtrIndent
|
|
case opMarshalJSON:
|
|
return opMarshalJSONIndent
|
|
case opMarshalText:
|
|
return opMarshalTextIndent
|
|
case opSliceHead:
|
|
return opSliceHeadIndent
|
|
case opRootSliceHead:
|
|
return opRootSliceHeadIndent
|
|
case opSliceElem:
|
|
return opSliceElemIndent
|
|
case opRootSliceElem:
|
|
return opRootSliceElemIndent
|
|
case opSliceEnd:
|
|
return opSliceEndIndent
|
|
case opArrayHead:
|
|
return opArrayHeadIndent
|
|
case opArrayElem:
|
|
return opArrayElemIndent
|
|
case opArrayEnd:
|
|
return opArrayEndIndent
|
|
case opMapHead:
|
|
return opMapHeadIndent
|
|
case opMapHeadLoad:
|
|
return opMapHeadLoadIndent
|
|
case opRootMapHead:
|
|
return opRootMapHeadIndent
|
|
case opMapKey:
|
|
return opMapKeyIndent
|
|
case opRootMapKey:
|
|
return opRootMapKeyIndent
|
|
case opMapValue:
|
|
return opMapValueIndent
|
|
case opMapEnd:
|
|
return opMapEndIndent
|
|
case opStructFieldHead:
|
|
return opStructFieldHeadIndent
|
|
case opStructFieldHeadOmitEmpty:
|
|
return opStructFieldHeadOmitEmptyIndent
|
|
case opStructFieldAnonymousHead:
|
|
return opStructFieldAnonymousHeadIndent
|
|
case opStructFieldAnonymousHeadOmitEmpty:
|
|
return opStructFieldAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmpty:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldPtrHead:
|
|
return opStructFieldPtrHeadIndent
|
|
case opStructFieldPtrHeadOmitEmpty:
|
|
return opStructFieldPtrHeadOmitEmptyIndent
|
|
case opStructFieldPtrAnonymousHead:
|
|
return opStructFieldPtrAnonymousHeadIndent
|
|
case opStructField:
|
|
return opStructFieldIndent
|
|
case opStructFieldOmitEmpty:
|
|
return opStructFieldOmitEmptyIndent
|
|
case opStructFieldRecursive:
|
|
return opStructFieldRecursiveIndent
|
|
case opStructEnd:
|
|
return opStructEndIndent
|
|
case opStructAnonymousEnd:
|
|
return opStructAnonymousEndIndent
|
|
case opInt:
|
|
return opIntIndent
|
|
case opInt8:
|
|
return opInt8Indent
|
|
case opInt16:
|
|
return opInt16Indent
|
|
case opInt32:
|
|
return opInt32Indent
|
|
case opInt64:
|
|
return opInt64Indent
|
|
case opUint:
|
|
return opUintIndent
|
|
case opUint8:
|
|
return opUint8Indent
|
|
case opUint16:
|
|
return opUint16Indent
|
|
case opUint32:
|
|
return opUint32Indent
|
|
case opUint64:
|
|
return opUint64Indent
|
|
case opFloat32:
|
|
return opFloat32Indent
|
|
case opFloat64:
|
|
return opFloat64Indent
|
|
case opBool:
|
|
return opBoolIndent
|
|
case opString:
|
|
return opStringIndent
|
|
case opStructFieldHeadInt:
|
|
return opStructFieldHeadIntIndent
|
|
case opStructFieldHeadInt8:
|
|
return opStructFieldHeadInt8Indent
|
|
case opStructFieldHeadInt16:
|
|
return opStructFieldHeadInt16Indent
|
|
case opStructFieldHeadInt32:
|
|
return opStructFieldHeadInt32Indent
|
|
case opStructFieldHeadInt64:
|
|
return opStructFieldHeadInt64Indent
|
|
case opStructFieldHeadUint:
|
|
return opStructFieldHeadUintIndent
|
|
case opStructFieldHeadUint8:
|
|
return opStructFieldHeadUint8Indent
|
|
case opStructFieldHeadUint16:
|
|
return opStructFieldHeadUint16Indent
|
|
case opStructFieldHeadUint32:
|
|
return opStructFieldHeadUint32Indent
|
|
case opStructFieldHeadUint64:
|
|
return opStructFieldHeadUint64Indent
|
|
case opStructFieldHeadFloat32:
|
|
return opStructFieldHeadFloat32Indent
|
|
case opStructFieldHeadFloat64:
|
|
return opStructFieldHeadFloat64Indent
|
|
case opStructFieldHeadBool:
|
|
return opStructFieldHeadBoolIndent
|
|
case opStructFieldHeadString:
|
|
return opStructFieldHeadStringIndent
|
|
case opStructFieldHeadOmitEmptyInt:
|
|
return opStructFieldHeadOmitEmptyIntIndent
|
|
case opStructFieldHeadOmitEmptyInt8:
|
|
return opStructFieldHeadOmitEmptyInt8Indent
|
|
case opStructFieldHeadOmitEmptyInt16:
|
|
return opStructFieldHeadOmitEmptyInt16Indent
|
|
case opStructFieldHeadOmitEmptyInt32:
|
|
return opStructFieldHeadOmitEmptyInt32Indent
|
|
case opStructFieldHeadOmitEmptyInt64:
|
|
return opStructFieldHeadOmitEmptyInt64Indent
|
|
case opStructFieldHeadOmitEmptyUint:
|
|
return opStructFieldHeadOmitEmptyUintIndent
|
|
case opStructFieldHeadOmitEmptyUint8:
|
|
return opStructFieldHeadOmitEmptyUint8Indent
|
|
case opStructFieldHeadOmitEmptyUint16:
|
|
return opStructFieldHeadOmitEmptyUint16Indent
|
|
case opStructFieldHeadOmitEmptyUint32:
|
|
return opStructFieldHeadOmitEmptyUint32Indent
|
|
case opStructFieldHeadOmitEmptyUint64:
|
|
return opStructFieldHeadOmitEmptyUint64Indent
|
|
case opStructFieldHeadOmitEmptyFloat32:
|
|
return opStructFieldHeadOmitEmptyFloat32Indent
|
|
case opStructFieldHeadOmitEmptyFloat64:
|
|
return opStructFieldHeadOmitEmptyFloat64Indent
|
|
case opStructFieldHeadOmitEmptyBool:
|
|
return opStructFieldHeadOmitEmptyBoolIndent
|
|
case opStructFieldHeadOmitEmptyString:
|
|
return opStructFieldHeadOmitEmptyStringIndent
|
|
case opStructFieldAnonymousHeadInt:
|
|
return opStructFieldAnonymousHeadIntIndent
|
|
case opStructFieldAnonymousHeadInt8:
|
|
return opStructFieldAnonymousHeadInt8Indent
|
|
case opStructFieldAnonymousHeadInt16:
|
|
return opStructFieldAnonymousHeadInt16Indent
|
|
case opStructFieldAnonymousHeadInt32:
|
|
return opStructFieldAnonymousHeadInt32Indent
|
|
case opStructFieldAnonymousHeadInt64:
|
|
return opStructFieldAnonymousHeadInt64Indent
|
|
case opStructFieldAnonymousHeadUint:
|
|
return opStructFieldAnonymousHeadUintIndent
|
|
case opStructFieldAnonymousHeadUint8:
|
|
return opStructFieldAnonymousHeadUint8Indent
|
|
case opStructFieldAnonymousHeadUint16:
|
|
return opStructFieldAnonymousHeadUint16Indent
|
|
case opStructFieldAnonymousHeadUint32:
|
|
return opStructFieldAnonymousHeadUint32Indent
|
|
case opStructFieldAnonymousHeadUint64:
|
|
return opStructFieldAnonymousHeadUint64Indent
|
|
case opStructFieldAnonymousHeadFloat32:
|
|
return opStructFieldAnonymousHeadFloat32Indent
|
|
case opStructFieldAnonymousHeadFloat64:
|
|
return opStructFieldAnonymousHeadFloat64Indent
|
|
case opStructFieldAnonymousHeadBool:
|
|
return opStructFieldAnonymousHeadBoolIndent
|
|
case opStructFieldAnonymousHeadString:
|
|
return opStructFieldAnonymousHeadStringIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt:
|
|
return opStructFieldAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint:
|
|
return opStructFieldAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyBool:
|
|
return opStructFieldAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyString:
|
|
return opStructFieldAnonymousHeadOmitEmptyStringIndent
|
|
case opStructFieldPtrHeadInt:
|
|
return opStructFieldPtrHeadIntIndent
|
|
case opStructFieldPtrHeadInt8:
|
|
return opStructFieldPtrHeadInt8Indent
|
|
case opStructFieldPtrHeadInt16:
|
|
return opStructFieldPtrHeadInt16Indent
|
|
case opStructFieldPtrHeadInt32:
|
|
return opStructFieldPtrHeadInt32Indent
|
|
case opStructFieldPtrHeadInt64:
|
|
return opStructFieldPtrHeadInt64Indent
|
|
case opStructFieldPtrHeadUint:
|
|
return opStructFieldPtrHeadUintIndent
|
|
case opStructFieldPtrHeadUint8:
|
|
return opStructFieldPtrHeadUint8Indent
|
|
case opStructFieldPtrHeadUint16:
|
|
return opStructFieldPtrHeadUint16Indent
|
|
case opStructFieldPtrHeadUint32:
|
|
return opStructFieldPtrHeadUint32Indent
|
|
case opStructFieldPtrHeadUint64:
|
|
return opStructFieldPtrHeadUint64Indent
|
|
case opStructFieldPtrHeadFloat32:
|
|
return opStructFieldPtrHeadFloat32Indent
|
|
case opStructFieldPtrHeadFloat64:
|
|
return opStructFieldPtrHeadFloat64Indent
|
|
case opStructFieldPtrHeadBool:
|
|
return opStructFieldPtrHeadBoolIndent
|
|
case opStructFieldPtrHeadString:
|
|
return opStructFieldPtrHeadStringIndent
|
|
case opStructFieldPtrHeadOmitEmptyInt:
|
|
return opStructFieldPtrHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrHeadOmitEmptyInt8:
|
|
return opStructFieldPtrHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt16:
|
|
return opStructFieldPtrHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt32:
|
|
return opStructFieldPtrHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt64:
|
|
return opStructFieldPtrHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint:
|
|
return opStructFieldPtrHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrHeadOmitEmptyUint8:
|
|
return opStructFieldPtrHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint16:
|
|
return opStructFieldPtrHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint32:
|
|
return opStructFieldPtrHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint64:
|
|
return opStructFieldPtrHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat32:
|
|
return opStructFieldPtrHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat64:
|
|
return opStructFieldPtrHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrHeadOmitEmptyBool:
|
|
return opStructFieldPtrHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrHeadOmitEmptyString:
|
|
return opStructFieldPtrHeadOmitEmptyStringIndent
|
|
case opStructFieldPtrAnonymousHeadInt:
|
|
return opStructFieldPtrAnonymousHeadIntIndent
|
|
case opStructFieldPtrAnonymousHeadInt8:
|
|
return opStructFieldPtrAnonymousHeadInt8Indent
|
|
case opStructFieldPtrAnonymousHeadInt16:
|
|
return opStructFieldPtrAnonymousHeadInt16Indent
|
|
case opStructFieldPtrAnonymousHeadInt32:
|
|
return opStructFieldPtrAnonymousHeadInt32Indent
|
|
case opStructFieldPtrAnonymousHeadInt64:
|
|
return opStructFieldPtrAnonymousHeadInt64Indent
|
|
case opStructFieldPtrAnonymousHeadUint:
|
|
return opStructFieldPtrAnonymousHeadUintIndent
|
|
case opStructFieldPtrAnonymousHeadUint8:
|
|
return opStructFieldPtrAnonymousHeadUint8Indent
|
|
case opStructFieldPtrAnonymousHeadUint16:
|
|
return opStructFieldPtrAnonymousHeadUint16Indent
|
|
case opStructFieldPtrAnonymousHeadUint32:
|
|
return opStructFieldPtrAnonymousHeadUint32Indent
|
|
case opStructFieldPtrAnonymousHeadUint64:
|
|
return opStructFieldPtrAnonymousHeadUint64Indent
|
|
case opStructFieldPtrAnonymousHeadFloat32:
|
|
return opStructFieldPtrAnonymousHeadFloat32Indent
|
|
case opStructFieldPtrAnonymousHeadFloat64:
|
|
return opStructFieldPtrAnonymousHeadFloat64Indent
|
|
case opStructFieldPtrAnonymousHeadBool:
|
|
return opStructFieldPtrAnonymousHeadBoolIndent
|
|
case opStructFieldPtrAnonymousHeadString:
|
|
return opStructFieldPtrAnonymousHeadStringIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBool:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyString:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyStringIndent
|
|
case opStructFieldInt:
|
|
return opStructFieldIntIndent
|
|
case opStructFieldInt8:
|
|
return opStructFieldInt8Indent
|
|
case opStructFieldInt16:
|
|
return opStructFieldInt16Indent
|
|
case opStructFieldInt32:
|
|
return opStructFieldInt32Indent
|
|
case opStructFieldInt64:
|
|
return opStructFieldInt64Indent
|
|
case opStructFieldUint:
|
|
return opStructFieldUintIndent
|
|
case opStructFieldUint8:
|
|
return opStructFieldUint8Indent
|
|
case opStructFieldUint16:
|
|
return opStructFieldUint16Indent
|
|
case opStructFieldUint32:
|
|
return opStructFieldUint32Indent
|
|
case opStructFieldUint64:
|
|
return opStructFieldUint64Indent
|
|
case opStructFieldFloat32:
|
|
return opStructFieldFloat32Indent
|
|
case opStructFieldFloat64:
|
|
return opStructFieldFloat64Indent
|
|
case opStructFieldBool:
|
|
return opStructFieldBoolIndent
|
|
case opStructFieldString:
|
|
return opStructFieldStringIndent
|
|
case opStructFieldOmitEmptyInt:
|
|
return opStructFieldOmitEmptyIntIndent
|
|
case opStructFieldOmitEmptyInt8:
|
|
return opStructFieldOmitEmptyInt8Indent
|
|
case opStructFieldOmitEmptyInt16:
|
|
return opStructFieldOmitEmptyInt16Indent
|
|
case opStructFieldOmitEmptyInt32:
|
|
return opStructFieldOmitEmptyInt32Indent
|
|
case opStructFieldOmitEmptyInt64:
|
|
return opStructFieldOmitEmptyInt64Indent
|
|
case opStructFieldOmitEmptyUint:
|
|
return opStructFieldOmitEmptyUintIndent
|
|
case opStructFieldOmitEmptyUint8:
|
|
return opStructFieldOmitEmptyUint8Indent
|
|
case opStructFieldOmitEmptyUint16:
|
|
return opStructFieldOmitEmptyUint16Indent
|
|
case opStructFieldOmitEmptyUint32:
|
|
return opStructFieldOmitEmptyUint32Indent
|
|
case opStructFieldOmitEmptyUint64:
|
|
return opStructFieldOmitEmptyUint64Indent
|
|
case opStructFieldOmitEmptyFloat32:
|
|
return opStructFieldOmitEmptyFloat32Indent
|
|
case opStructFieldOmitEmptyFloat64:
|
|
return opStructFieldOmitEmptyFloat64Indent
|
|
case opStructFieldOmitEmptyBool:
|
|
return opStructFieldOmitEmptyBoolIndent
|
|
case opStructFieldOmitEmptyString:
|
|
return opStructFieldOmitEmptyStringIndent
|
|
case opEndIndent:
|
|
return opEndIndent
|
|
case opInterfaceIndent:
|
|
return opInterfaceIndent
|
|
case opPtrIndent:
|
|
return opPtrIndent
|
|
case opMarshalJSONIndent:
|
|
return opMarshalJSONIndent
|
|
case opMarshalTextIndent:
|
|
return opMarshalTextIndent
|
|
case opSliceHeadIndent:
|
|
return opSliceHeadIndent
|
|
case opRootSliceHeadIndent:
|
|
return opRootSliceHeadIndent
|
|
case opSliceElemIndent:
|
|
return opSliceElemIndent
|
|
case opRootSliceElemIndent:
|
|
return opRootSliceElemIndent
|
|
case opSliceEndIndent:
|
|
return opSliceEndIndent
|
|
case opArrayHeadIndent:
|
|
return opArrayHeadIndent
|
|
case opArrayElemIndent:
|
|
return opArrayElemIndent
|
|
case opArrayEndIndent:
|
|
return opArrayEndIndent
|
|
case opMapHeadIndent:
|
|
return opMapHeadIndent
|
|
case opMapHeadLoadIndent:
|
|
return opMapHeadLoadIndent
|
|
case opRootMapHeadIndent:
|
|
return opRootMapHeadIndent
|
|
case opMapKeyIndent:
|
|
return opMapKeyIndent
|
|
case opRootMapKeyIndent:
|
|
return opRootMapKeyIndent
|
|
case opMapValueIndent:
|
|
return opMapValueIndent
|
|
case opMapEndIndent:
|
|
return opMapEndIndent
|
|
case opStructFieldHeadIndent:
|
|
return opStructFieldHeadIndent
|
|
case opStructFieldHeadOmitEmptyIndent:
|
|
return opStructFieldHeadOmitEmptyIndent
|
|
case opStructFieldAnonymousHeadIndent:
|
|
return opStructFieldAnonymousHeadIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldPtrHeadIndent:
|
|
return opStructFieldPtrHeadIndent
|
|
case opStructFieldPtrHeadOmitEmptyIndent:
|
|
return opStructFieldPtrHeadOmitEmptyIndent
|
|
case opStructFieldPtrAnonymousHeadIndent:
|
|
return opStructFieldPtrAnonymousHeadIndent
|
|
case opStructFieldIndent:
|
|
return opStructFieldIndent
|
|
case opStructFieldOmitEmptyIndent:
|
|
return opStructFieldOmitEmptyIndent
|
|
case opStructFieldRecursiveIndent:
|
|
return opStructFieldRecursiveIndent
|
|
case opStructEndIndent:
|
|
return opStructEndIndent
|
|
case opStructAnonymousEndIndent:
|
|
return opStructAnonymousEndIndent
|
|
case opIntIndent:
|
|
return opIntIndent
|
|
case opInt8Indent:
|
|
return opInt8Indent
|
|
case opInt16Indent:
|
|
return opInt16Indent
|
|
case opInt32Indent:
|
|
return opInt32Indent
|
|
case opInt64Indent:
|
|
return opInt64Indent
|
|
case opUintIndent:
|
|
return opUintIndent
|
|
case opUint8Indent:
|
|
return opUint8Indent
|
|
case opUint16Indent:
|
|
return opUint16Indent
|
|
case opUint32Indent:
|
|
return opUint32Indent
|
|
case opUint64Indent:
|
|
return opUint64Indent
|
|
case opFloat32Indent:
|
|
return opFloat32Indent
|
|
case opFloat64Indent:
|
|
return opFloat64Indent
|
|
case opBoolIndent:
|
|
return opBoolIndent
|
|
case opStringIndent:
|
|
return opStringIndent
|
|
case opStructFieldHeadIntIndent:
|
|
return opStructFieldHeadIntIndent
|
|
case opStructFieldHeadInt8Indent:
|
|
return opStructFieldHeadInt8Indent
|
|
case opStructFieldHeadInt16Indent:
|
|
return opStructFieldHeadInt16Indent
|
|
case opStructFieldHeadInt32Indent:
|
|
return opStructFieldHeadInt32Indent
|
|
case opStructFieldHeadInt64Indent:
|
|
return opStructFieldHeadInt64Indent
|
|
case opStructFieldHeadUintIndent:
|
|
return opStructFieldHeadUintIndent
|
|
case opStructFieldHeadUint8Indent:
|
|
return opStructFieldHeadUint8Indent
|
|
case opStructFieldHeadUint16Indent:
|
|
return opStructFieldHeadUint16Indent
|
|
case opStructFieldHeadUint32Indent:
|
|
return opStructFieldHeadUint32Indent
|
|
case opStructFieldHeadUint64Indent:
|
|
return opStructFieldHeadUint64Indent
|
|
case opStructFieldHeadFloat32Indent:
|
|
return opStructFieldHeadFloat32Indent
|
|
case opStructFieldHeadFloat64Indent:
|
|
return opStructFieldHeadFloat64Indent
|
|
case opStructFieldHeadBoolIndent:
|
|
return opStructFieldHeadBoolIndent
|
|
case opStructFieldHeadStringIndent:
|
|
return opStructFieldHeadStringIndent
|
|
case opStructFieldHeadOmitEmptyIntIndent:
|
|
return opStructFieldHeadOmitEmptyIntIndent
|
|
case opStructFieldHeadOmitEmptyInt8Indent:
|
|
return opStructFieldHeadOmitEmptyInt8Indent
|
|
case opStructFieldHeadOmitEmptyInt16Indent:
|
|
return opStructFieldHeadOmitEmptyInt16Indent
|
|
case opStructFieldHeadOmitEmptyInt32Indent:
|
|
return opStructFieldHeadOmitEmptyInt32Indent
|
|
case opStructFieldHeadOmitEmptyInt64Indent:
|
|
return opStructFieldHeadOmitEmptyInt64Indent
|
|
case opStructFieldHeadOmitEmptyUintIndent:
|
|
return opStructFieldHeadOmitEmptyUintIndent
|
|
case opStructFieldHeadOmitEmptyUint8Indent:
|
|
return opStructFieldHeadOmitEmptyUint8Indent
|
|
case opStructFieldHeadOmitEmptyUint16Indent:
|
|
return opStructFieldHeadOmitEmptyUint16Indent
|
|
case opStructFieldHeadOmitEmptyUint32Indent:
|
|
return opStructFieldHeadOmitEmptyUint32Indent
|
|
case opStructFieldHeadOmitEmptyUint64Indent:
|
|
return opStructFieldHeadOmitEmptyUint64Indent
|
|
case opStructFieldHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldHeadOmitEmptyFloat32Indent
|
|
case opStructFieldHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldHeadOmitEmptyFloat64Indent
|
|
case opStructFieldHeadOmitEmptyBoolIndent:
|
|
return opStructFieldHeadOmitEmptyBoolIndent
|
|
case opStructFieldHeadOmitEmptyStringIndent:
|
|
return opStructFieldHeadOmitEmptyStringIndent
|
|
case opStructFieldAnonymousHeadIntIndent:
|
|
return opStructFieldAnonymousHeadIntIndent
|
|
case opStructFieldAnonymousHeadInt8Indent:
|
|
return opStructFieldAnonymousHeadInt8Indent
|
|
case opStructFieldAnonymousHeadInt16Indent:
|
|
return opStructFieldAnonymousHeadInt16Indent
|
|
case opStructFieldAnonymousHeadInt32Indent:
|
|
return opStructFieldAnonymousHeadInt32Indent
|
|
case opStructFieldAnonymousHeadInt64Indent:
|
|
return opStructFieldAnonymousHeadInt64Indent
|
|
case opStructFieldAnonymousHeadUintIndent:
|
|
return opStructFieldAnonymousHeadUintIndent
|
|
case opStructFieldAnonymousHeadUint8Indent:
|
|
return opStructFieldAnonymousHeadUint8Indent
|
|
case opStructFieldAnonymousHeadUint16Indent:
|
|
return opStructFieldAnonymousHeadUint16Indent
|
|
case opStructFieldAnonymousHeadUint32Indent:
|
|
return opStructFieldAnonymousHeadUint32Indent
|
|
case opStructFieldAnonymousHeadUint64Indent:
|
|
return opStructFieldAnonymousHeadUint64Indent
|
|
case opStructFieldAnonymousHeadFloat32Indent:
|
|
return opStructFieldAnonymousHeadFloat32Indent
|
|
case opStructFieldAnonymousHeadFloat64Indent:
|
|
return opStructFieldAnonymousHeadFloat64Indent
|
|
case opStructFieldAnonymousHeadBoolIndent:
|
|
return opStructFieldAnonymousHeadBoolIndent
|
|
case opStructFieldAnonymousHeadStringIndent:
|
|
return opStructFieldAnonymousHeadStringIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyIntIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUintIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyBoolIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyStringIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyStringIndent
|
|
case opStructFieldPtrHeadIntIndent:
|
|
return opStructFieldPtrHeadIntIndent
|
|
case opStructFieldPtrHeadInt8Indent:
|
|
return opStructFieldPtrHeadInt8Indent
|
|
case opStructFieldPtrHeadInt16Indent:
|
|
return opStructFieldPtrHeadInt16Indent
|
|
case opStructFieldPtrHeadInt32Indent:
|
|
return opStructFieldPtrHeadInt32Indent
|
|
case opStructFieldPtrHeadInt64Indent:
|
|
return opStructFieldPtrHeadInt64Indent
|
|
case opStructFieldPtrHeadUintIndent:
|
|
return opStructFieldPtrHeadUintIndent
|
|
case opStructFieldPtrHeadUint8Indent:
|
|
return opStructFieldPtrHeadUint8Indent
|
|
case opStructFieldPtrHeadUint16Indent:
|
|
return opStructFieldPtrHeadUint16Indent
|
|
case opStructFieldPtrHeadUint32Indent:
|
|
return opStructFieldPtrHeadUint32Indent
|
|
case opStructFieldPtrHeadUint64Indent:
|
|
return opStructFieldPtrHeadUint64Indent
|
|
case opStructFieldPtrHeadFloat32Indent:
|
|
return opStructFieldPtrHeadFloat32Indent
|
|
case opStructFieldPtrHeadFloat64Indent:
|
|
return opStructFieldPtrHeadFloat64Indent
|
|
case opStructFieldPtrHeadBoolIndent:
|
|
return opStructFieldPtrHeadBoolIndent
|
|
case opStructFieldPtrHeadStringIndent:
|
|
return opStructFieldPtrHeadStringIndent
|
|
case opStructFieldPtrHeadOmitEmptyIntIndent:
|
|
return opStructFieldPtrHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrHeadOmitEmptyInt8Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt16Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrHeadOmitEmptyUintIndent:
|
|
return opStructFieldPtrHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrHeadOmitEmptyUint8Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint16Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrHeadOmitEmptyBoolIndent:
|
|
return opStructFieldPtrHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrHeadOmitEmptyStringIndent:
|
|
return opStructFieldPtrHeadOmitEmptyStringIndent
|
|
case opStructFieldPtrAnonymousHeadIntIndent:
|
|
return opStructFieldPtrAnonymousHeadIntIndent
|
|
case opStructFieldPtrAnonymousHeadInt8Indent:
|
|
return opStructFieldPtrAnonymousHeadInt8Indent
|
|
case opStructFieldPtrAnonymousHeadInt16Indent:
|
|
return opStructFieldPtrAnonymousHeadInt16Indent
|
|
case opStructFieldPtrAnonymousHeadInt32Indent:
|
|
return opStructFieldPtrAnonymousHeadInt32Indent
|
|
case opStructFieldPtrAnonymousHeadInt64Indent:
|
|
return opStructFieldPtrAnonymousHeadInt64Indent
|
|
case opStructFieldPtrAnonymousHeadUintIndent:
|
|
return opStructFieldPtrAnonymousHeadUintIndent
|
|
case opStructFieldPtrAnonymousHeadUint8Indent:
|
|
return opStructFieldPtrAnonymousHeadUint8Indent
|
|
case opStructFieldPtrAnonymousHeadUint16Indent:
|
|
return opStructFieldPtrAnonymousHeadUint16Indent
|
|
case opStructFieldPtrAnonymousHeadUint32Indent:
|
|
return opStructFieldPtrAnonymousHeadUint32Indent
|
|
case opStructFieldPtrAnonymousHeadUint64Indent:
|
|
return opStructFieldPtrAnonymousHeadUint64Indent
|
|
case opStructFieldPtrAnonymousHeadFloat32Indent:
|
|
return opStructFieldPtrAnonymousHeadFloat32Indent
|
|
case opStructFieldPtrAnonymousHeadFloat64Indent:
|
|
return opStructFieldPtrAnonymousHeadFloat64Indent
|
|
case opStructFieldPtrAnonymousHeadBoolIndent:
|
|
return opStructFieldPtrAnonymousHeadBoolIndent
|
|
case opStructFieldPtrAnonymousHeadStringIndent:
|
|
return opStructFieldPtrAnonymousHeadStringIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIntIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUintIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyStringIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyStringIndent
|
|
case opStructFieldIntIndent:
|
|
return opStructFieldIntIndent
|
|
case opStructFieldInt8Indent:
|
|
return opStructFieldInt8Indent
|
|
case opStructFieldInt16Indent:
|
|
return opStructFieldInt16Indent
|
|
case opStructFieldInt32Indent:
|
|
return opStructFieldInt32Indent
|
|
case opStructFieldInt64Indent:
|
|
return opStructFieldInt64Indent
|
|
case opStructFieldUintIndent:
|
|
return opStructFieldUintIndent
|
|
case opStructFieldUint8Indent:
|
|
return opStructFieldUint8Indent
|
|
case opStructFieldUint16Indent:
|
|
return opStructFieldUint16Indent
|
|
case opStructFieldUint32Indent:
|
|
return opStructFieldUint32Indent
|
|
case opStructFieldUint64Indent:
|
|
return opStructFieldUint64Indent
|
|
case opStructFieldFloat32Indent:
|
|
return opStructFieldFloat32Indent
|
|
case opStructFieldFloat64Indent:
|
|
return opStructFieldFloat64Indent
|
|
case opStructFieldBoolIndent:
|
|
return opStructFieldBoolIndent
|
|
case opStructFieldStringIndent:
|
|
return opStructFieldStringIndent
|
|
case opStructFieldOmitEmptyIntIndent:
|
|
return opStructFieldOmitEmptyIntIndent
|
|
case opStructFieldOmitEmptyInt8Indent:
|
|
return opStructFieldOmitEmptyInt8Indent
|
|
case opStructFieldOmitEmptyInt16Indent:
|
|
return opStructFieldOmitEmptyInt16Indent
|
|
case opStructFieldOmitEmptyInt32Indent:
|
|
return opStructFieldOmitEmptyInt32Indent
|
|
case opStructFieldOmitEmptyInt64Indent:
|
|
return opStructFieldOmitEmptyInt64Indent
|
|
case opStructFieldOmitEmptyUintIndent:
|
|
return opStructFieldOmitEmptyUintIndent
|
|
case opStructFieldOmitEmptyUint8Indent:
|
|
return opStructFieldOmitEmptyUint8Indent
|
|
case opStructFieldOmitEmptyUint16Indent:
|
|
return opStructFieldOmitEmptyUint16Indent
|
|
case opStructFieldOmitEmptyUint32Indent:
|
|
return opStructFieldOmitEmptyUint32Indent
|
|
case opStructFieldOmitEmptyUint64Indent:
|
|
return opStructFieldOmitEmptyUint64Indent
|
|
case opStructFieldOmitEmptyFloat32Indent:
|
|
return opStructFieldOmitEmptyFloat32Indent
|
|
case opStructFieldOmitEmptyFloat64Indent:
|
|
return opStructFieldOmitEmptyFloat64Indent
|
|
case opStructFieldOmitEmptyBoolIndent:
|
|
return opStructFieldOmitEmptyBoolIndent
|
|
case opStructFieldOmitEmptyStringIndent:
|
|
return opStructFieldOmitEmptyStringIndent
|
|
}
|
|
return t
|
|
}
|
|
|
|
func (t opType) headToPtrHead() opType {
|
|
switch t {
|
|
case opStructFieldHead:
|
|
return opStructFieldPtrHead
|
|
case opStructFieldAnonymousHead:
|
|
return opStructFieldPtrAnonymousHead
|
|
case opStructFieldHeadOmitEmpty:
|
|
return opStructFieldPtrHeadOmitEmpty
|
|
case opStructFieldAnonymousHeadOmitEmpty:
|
|
return opStructFieldPtrAnonymousHeadOmitEmpty
|
|
case opStructFieldHeadInt:
|
|
return opStructFieldPtrHeadInt
|
|
case opStructFieldAnonymousHeadInt:
|
|
return opStructFieldPtrAnonymousHeadInt
|
|
case opStructFieldHeadOmitEmptyInt:
|
|
return opStructFieldPtrHeadOmitEmptyInt
|
|
case opStructFieldAnonymousHeadOmitEmptyInt:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt
|
|
case opStructFieldHeadInt8:
|
|
return opStructFieldPtrHeadInt8
|
|
case opStructFieldAnonymousHeadInt8:
|
|
return opStructFieldPtrAnonymousHeadInt8
|
|
case opStructFieldHeadOmitEmptyInt8:
|
|
return opStructFieldPtrHeadOmitEmptyInt8
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt8
|
|
case opStructFieldHeadInt16:
|
|
return opStructFieldPtrHeadInt16
|
|
case opStructFieldAnonymousHeadInt16:
|
|
return opStructFieldPtrAnonymousHeadInt16
|
|
case opStructFieldHeadOmitEmptyInt16:
|
|
return opStructFieldPtrHeadOmitEmptyInt16
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt16
|
|
case opStructFieldHeadInt32:
|
|
return opStructFieldPtrHeadInt32
|
|
case opStructFieldAnonymousHeadInt32:
|
|
return opStructFieldPtrAnonymousHeadInt32
|
|
case opStructFieldHeadOmitEmptyInt32:
|
|
return opStructFieldPtrHeadOmitEmptyInt32
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt32
|
|
case opStructFieldHeadInt64:
|
|
return opStructFieldPtrHeadInt64
|
|
case opStructFieldAnonymousHeadInt64:
|
|
return opStructFieldPtrAnonymousHeadInt64
|
|
case opStructFieldHeadOmitEmptyInt64:
|
|
return opStructFieldPtrHeadOmitEmptyInt64
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt64
|
|
case opStructFieldHeadUint:
|
|
return opStructFieldPtrHeadUint
|
|
case opStructFieldAnonymousHeadUint:
|
|
return opStructFieldPtrAnonymousHeadUint
|
|
case opStructFieldHeadOmitEmptyUint:
|
|
return opStructFieldPtrHeadOmitEmptyUint
|
|
case opStructFieldAnonymousHeadOmitEmptyUint:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint
|
|
case opStructFieldHeadUint8:
|
|
return opStructFieldPtrHeadUint8
|
|
case opStructFieldAnonymousHeadUint8:
|
|
return opStructFieldPtrAnonymousHeadUint8
|
|
case opStructFieldHeadOmitEmptyUint8:
|
|
return opStructFieldPtrHeadOmitEmptyUint8
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint8
|
|
case opStructFieldHeadUint16:
|
|
return opStructFieldPtrHeadUint16
|
|
case opStructFieldAnonymousHeadUint16:
|
|
return opStructFieldPtrAnonymousHeadUint16
|
|
case opStructFieldHeadOmitEmptyUint16:
|
|
return opStructFieldPtrHeadOmitEmptyUint16
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint16
|
|
case opStructFieldHeadUint32:
|
|
return opStructFieldPtrHeadUint32
|
|
case opStructFieldAnonymousHeadUint32:
|
|
return opStructFieldPtrAnonymousHeadUint32
|
|
case opStructFieldHeadOmitEmptyUint32:
|
|
return opStructFieldPtrHeadOmitEmptyUint32
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint32
|
|
case opStructFieldHeadUint64:
|
|
return opStructFieldPtrHeadUint64
|
|
case opStructFieldAnonymousHeadUint64:
|
|
return opStructFieldPtrAnonymousHeadUint64
|
|
case opStructFieldHeadOmitEmptyUint64:
|
|
return opStructFieldPtrHeadOmitEmptyUint64
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint64
|
|
case opStructFieldHeadFloat32:
|
|
return opStructFieldPtrHeadFloat32
|
|
case opStructFieldAnonymousHeadFloat32:
|
|
return opStructFieldPtrAnonymousHeadFloat32
|
|
case opStructFieldHeadOmitEmptyFloat32:
|
|
return opStructFieldPtrHeadOmitEmptyFloat32
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32
|
|
case opStructFieldHeadFloat64:
|
|
return opStructFieldPtrHeadFloat64
|
|
case opStructFieldAnonymousHeadFloat64:
|
|
return opStructFieldPtrAnonymousHeadFloat64
|
|
case opStructFieldHeadOmitEmptyFloat64:
|
|
return opStructFieldPtrHeadOmitEmptyFloat64
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64
|
|
case opStructFieldHeadBool:
|
|
return opStructFieldPtrHeadBool
|
|
case opStructFieldAnonymousHeadBool:
|
|
return opStructFieldPtrAnonymousHeadBool
|
|
case opStructFieldHeadOmitEmptyBool:
|
|
return opStructFieldPtrHeadOmitEmptyBool
|
|
case opStructFieldAnonymousHeadOmitEmptyBool:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyBool
|
|
case opStructFieldHeadString:
|
|
return opStructFieldPtrHeadString
|
|
case opStructFieldAnonymousHeadString:
|
|
return opStructFieldPtrAnonymousHeadString
|
|
case opStructFieldHeadOmitEmptyString:
|
|
return opStructFieldPtrHeadOmitEmptyString
|
|
case opStructFieldAnonymousHeadOmitEmptyString:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyString
|
|
case opStructFieldHeadIndent:
|
|
return opStructFieldPtrHeadIndent
|
|
case opStructFieldAnonymousHeadIndent:
|
|
return opStructFieldPtrAnonymousHeadIndent
|
|
case opStructFieldHeadOmitEmptyIndent:
|
|
return opStructFieldPtrHeadOmitEmptyIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldHeadIntIndent:
|
|
return opStructFieldPtrHeadIntIndent
|
|
case opStructFieldAnonymousHeadIntIndent:
|
|
return opStructFieldPtrAnonymousHeadIntIndent
|
|
case opStructFieldHeadOmitEmptyIntIndent:
|
|
return opStructFieldPtrHeadOmitEmptyIntIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyIntIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldHeadInt8Indent:
|
|
return opStructFieldPtrHeadInt8Indent
|
|
case opStructFieldAnonymousHeadInt8Indent:
|
|
return opStructFieldPtrAnonymousHeadInt8Indent
|
|
case opStructFieldHeadOmitEmptyInt8Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt8Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt8Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldHeadInt16Indent:
|
|
return opStructFieldPtrHeadInt16Indent
|
|
case opStructFieldAnonymousHeadInt16Indent:
|
|
return opStructFieldPtrAnonymousHeadInt16Indent
|
|
case opStructFieldHeadOmitEmptyInt16Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt16Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt16Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldHeadInt32Indent:
|
|
return opStructFieldPtrHeadInt32Indent
|
|
case opStructFieldAnonymousHeadInt32Indent:
|
|
return opStructFieldPtrAnonymousHeadInt32Indent
|
|
case opStructFieldHeadOmitEmptyInt32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldHeadInt64Indent:
|
|
return opStructFieldPtrHeadInt64Indent
|
|
case opStructFieldAnonymousHeadInt64Indent:
|
|
return opStructFieldPtrAnonymousHeadInt64Indent
|
|
case opStructFieldHeadOmitEmptyInt64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyInt64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldHeadUintIndent:
|
|
return opStructFieldPtrHeadUintIndent
|
|
case opStructFieldAnonymousHeadUintIndent:
|
|
return opStructFieldPtrAnonymousHeadUintIndent
|
|
case opStructFieldHeadOmitEmptyUintIndent:
|
|
return opStructFieldPtrHeadOmitEmptyUintIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyUintIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldHeadUint8Indent:
|
|
return opStructFieldPtrHeadUint8Indent
|
|
case opStructFieldAnonymousHeadUint8Indent:
|
|
return opStructFieldPtrAnonymousHeadUint8Indent
|
|
case opStructFieldHeadOmitEmptyUint8Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint8Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint8Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldHeadUint16Indent:
|
|
return opStructFieldPtrHeadUint16Indent
|
|
case opStructFieldAnonymousHeadUint16Indent:
|
|
return opStructFieldPtrAnonymousHeadUint16Indent
|
|
case opStructFieldHeadOmitEmptyUint16Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint16Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint16Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldHeadUint32Indent:
|
|
return opStructFieldPtrHeadUint32Indent
|
|
case opStructFieldAnonymousHeadUint32Indent:
|
|
return opStructFieldPtrAnonymousHeadUint32Indent
|
|
case opStructFieldHeadOmitEmptyUint32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldHeadUint64Indent:
|
|
return opStructFieldPtrHeadUint64Indent
|
|
case opStructFieldAnonymousHeadUint64Indent:
|
|
return opStructFieldPtrAnonymousHeadUint64Indent
|
|
case opStructFieldHeadOmitEmptyUint64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyUint64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldHeadFloat32Indent:
|
|
return opStructFieldPtrHeadFloat32Indent
|
|
case opStructFieldAnonymousHeadFloat32Indent:
|
|
return opStructFieldPtrAnonymousHeadFloat32Indent
|
|
case opStructFieldHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyFloat32Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldHeadFloat64Indent:
|
|
return opStructFieldPtrHeadFloat64Indent
|
|
case opStructFieldAnonymousHeadFloat64Indent:
|
|
return opStructFieldPtrAnonymousHeadFloat64Indent
|
|
case opStructFieldHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyFloat64Indent
|
|
case opStructFieldAnonymousHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldHeadBoolIndent:
|
|
return opStructFieldPtrHeadBoolIndent
|
|
case opStructFieldAnonymousHeadBoolIndent:
|
|
return opStructFieldPtrAnonymousHeadBoolIndent
|
|
case opStructFieldHeadOmitEmptyBoolIndent:
|
|
return opStructFieldPtrHeadOmitEmptyBoolIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyBoolIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldHeadStringIndent:
|
|
return opStructFieldPtrHeadStringIndent
|
|
case opStructFieldAnonymousHeadStringIndent:
|
|
return opStructFieldPtrAnonymousHeadStringIndent
|
|
case opStructFieldHeadOmitEmptyStringIndent:
|
|
return opStructFieldPtrHeadOmitEmptyStringIndent
|
|
case opStructFieldAnonymousHeadOmitEmptyStringIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyStringIndent
|
|
}
|
|
return t
|
|
}
|
|
|
|
func (t opType) headToAnonymousHead() opType {
|
|
switch t {
|
|
case opStructFieldHead:
|
|
return opStructFieldAnonymousHead
|
|
case opStructFieldPtrHead:
|
|
return opStructFieldPtrAnonymousHead
|
|
case opStructFieldHeadOmitEmpty:
|
|
return opStructFieldAnonymousHeadOmitEmpty
|
|
case opStructFieldPtrHeadOmitEmpty:
|
|
return opStructFieldPtrAnonymousHeadOmitEmpty
|
|
case opStructFieldHeadInt:
|
|
return opStructFieldAnonymousHeadInt
|
|
case opStructFieldPtrHeadInt:
|
|
return opStructFieldPtrAnonymousHeadInt
|
|
case opStructFieldHeadOmitEmptyInt:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt
|
|
case opStructFieldPtrHeadOmitEmptyInt:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt
|
|
case opStructFieldHeadInt8:
|
|
return opStructFieldAnonymousHeadInt8
|
|
case opStructFieldPtrHeadInt8:
|
|
return opStructFieldPtrAnonymousHeadInt8
|
|
case opStructFieldHeadOmitEmptyInt8:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt8
|
|
case opStructFieldPtrHeadOmitEmptyInt8:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt8
|
|
case opStructFieldHeadInt16:
|
|
return opStructFieldAnonymousHeadInt16
|
|
case opStructFieldPtrHeadInt16:
|
|
return opStructFieldPtrAnonymousHeadInt16
|
|
case opStructFieldHeadOmitEmptyInt16:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt16
|
|
case opStructFieldPtrHeadOmitEmptyInt16:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt16
|
|
case opStructFieldHeadInt32:
|
|
return opStructFieldAnonymousHeadInt32
|
|
case opStructFieldPtrHeadInt32:
|
|
return opStructFieldPtrAnonymousHeadInt32
|
|
case opStructFieldHeadOmitEmptyInt32:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt32
|
|
case opStructFieldPtrHeadOmitEmptyInt32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt32
|
|
case opStructFieldHeadInt64:
|
|
return opStructFieldAnonymousHeadInt64
|
|
case opStructFieldPtrHeadInt64:
|
|
return opStructFieldPtrAnonymousHeadInt64
|
|
case opStructFieldHeadOmitEmptyInt64:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt64
|
|
case opStructFieldPtrHeadOmitEmptyInt64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt64
|
|
case opStructFieldHeadUint:
|
|
return opStructFieldAnonymousHeadUint
|
|
case opStructFieldPtrHeadUint:
|
|
return opStructFieldPtrAnonymousHeadUint
|
|
case opStructFieldHeadOmitEmptyUint:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint
|
|
case opStructFieldPtrHeadOmitEmptyUint:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint
|
|
case opStructFieldHeadUint8:
|
|
return opStructFieldAnonymousHeadUint8
|
|
case opStructFieldPtrHeadUint8:
|
|
return opStructFieldPtrAnonymousHeadUint8
|
|
case opStructFieldHeadOmitEmptyUint8:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint8
|
|
case opStructFieldPtrHeadOmitEmptyUint8:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint8
|
|
case opStructFieldHeadUint16:
|
|
return opStructFieldAnonymousHeadUint16
|
|
case opStructFieldPtrHeadUint16:
|
|
return opStructFieldPtrAnonymousHeadUint16
|
|
case opStructFieldHeadOmitEmptyUint16:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint16
|
|
case opStructFieldPtrHeadOmitEmptyUint16:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint16
|
|
case opStructFieldHeadUint32:
|
|
return opStructFieldAnonymousHeadUint32
|
|
case opStructFieldPtrHeadUint32:
|
|
return opStructFieldPtrAnonymousHeadUint32
|
|
case opStructFieldHeadOmitEmptyUint32:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint32
|
|
case opStructFieldPtrHeadOmitEmptyUint32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint32
|
|
case opStructFieldHeadUint64:
|
|
return opStructFieldAnonymousHeadUint64
|
|
case opStructFieldPtrHeadUint64:
|
|
return opStructFieldPtrAnonymousHeadUint64
|
|
case opStructFieldHeadOmitEmptyUint64:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint64
|
|
case opStructFieldPtrHeadOmitEmptyUint64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint64
|
|
case opStructFieldHeadFloat32:
|
|
return opStructFieldAnonymousHeadFloat32
|
|
case opStructFieldPtrHeadFloat32:
|
|
return opStructFieldPtrAnonymousHeadFloat32
|
|
case opStructFieldHeadOmitEmptyFloat32:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat32
|
|
case opStructFieldPtrHeadOmitEmptyFloat32:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32
|
|
case opStructFieldHeadFloat64:
|
|
return opStructFieldAnonymousHeadFloat64
|
|
case opStructFieldPtrHeadFloat64:
|
|
return opStructFieldPtrAnonymousHeadFloat64
|
|
case opStructFieldHeadOmitEmptyFloat64:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat64
|
|
case opStructFieldPtrHeadOmitEmptyFloat64:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64
|
|
case opStructFieldHeadBool:
|
|
return opStructFieldAnonymousHeadBool
|
|
case opStructFieldPtrHeadBool:
|
|
return opStructFieldPtrAnonymousHeadBool
|
|
case opStructFieldHeadOmitEmptyBool:
|
|
return opStructFieldAnonymousHeadOmitEmptyBool
|
|
case opStructFieldPtrHeadOmitEmptyBool:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyBool
|
|
case opStructFieldHeadString:
|
|
return opStructFieldAnonymousHeadString
|
|
case opStructFieldPtrHeadString:
|
|
return opStructFieldPtrAnonymousHeadString
|
|
case opStructFieldHeadOmitEmptyString:
|
|
return opStructFieldAnonymousHeadOmitEmptyString
|
|
case opStructFieldPtrHeadOmitEmptyString:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyString
|
|
case opStructFieldHeadIndent:
|
|
return opStructFieldAnonymousHeadIndent
|
|
case opStructFieldPtrHeadIndent:
|
|
return opStructFieldPtrAnonymousHeadIndent
|
|
case opStructFieldHeadOmitEmptyIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldPtrHeadOmitEmptyIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldHeadIntIndent:
|
|
return opStructFieldAnonymousHeadIntIndent
|
|
case opStructFieldPtrHeadIntIndent:
|
|
return opStructFieldPtrAnonymousHeadIntIndent
|
|
case opStructFieldHeadOmitEmptyIntIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrHeadOmitEmptyIntIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldHeadInt8Indent:
|
|
return opStructFieldAnonymousHeadInt8Indent
|
|
case opStructFieldPtrHeadInt8Indent:
|
|
return opStructFieldPtrAnonymousHeadInt8Indent
|
|
case opStructFieldHeadOmitEmptyInt8Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt8Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldHeadInt16Indent:
|
|
return opStructFieldAnonymousHeadInt16Indent
|
|
case opStructFieldPtrHeadInt16Indent:
|
|
return opStructFieldPtrAnonymousHeadInt16Indent
|
|
case opStructFieldHeadOmitEmptyInt16Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt16Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldHeadInt32Indent:
|
|
return opStructFieldAnonymousHeadInt32Indent
|
|
case opStructFieldPtrHeadInt32Indent:
|
|
return opStructFieldPtrAnonymousHeadInt32Indent
|
|
case opStructFieldHeadOmitEmptyInt32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldHeadInt64Indent:
|
|
return opStructFieldAnonymousHeadInt64Indent
|
|
case opStructFieldPtrHeadInt64Indent:
|
|
return opStructFieldPtrAnonymousHeadInt64Indent
|
|
case opStructFieldHeadOmitEmptyInt64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldHeadUintIndent:
|
|
return opStructFieldAnonymousHeadUintIndent
|
|
case opStructFieldPtrHeadUintIndent:
|
|
return opStructFieldPtrAnonymousHeadUintIndent
|
|
case opStructFieldHeadOmitEmptyUintIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrHeadOmitEmptyUintIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldHeadUint8Indent:
|
|
return opStructFieldAnonymousHeadUint8Indent
|
|
case opStructFieldPtrHeadUint8Indent:
|
|
return opStructFieldPtrAnonymousHeadUint8Indent
|
|
case opStructFieldHeadOmitEmptyUint8Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint8Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldHeadUint16Indent:
|
|
return opStructFieldAnonymousHeadUint16Indent
|
|
case opStructFieldPtrHeadUint16Indent:
|
|
return opStructFieldPtrAnonymousHeadUint16Indent
|
|
case opStructFieldHeadOmitEmptyUint16Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint16Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldHeadUint32Indent:
|
|
return opStructFieldAnonymousHeadUint32Indent
|
|
case opStructFieldPtrHeadUint32Indent:
|
|
return opStructFieldPtrAnonymousHeadUint32Indent
|
|
case opStructFieldHeadOmitEmptyUint32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldHeadUint64Indent:
|
|
return opStructFieldAnonymousHeadUint64Indent
|
|
case opStructFieldPtrHeadUint64Indent:
|
|
return opStructFieldPtrAnonymousHeadUint64Indent
|
|
case opStructFieldHeadOmitEmptyUint64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldHeadFloat32Indent:
|
|
return opStructFieldAnonymousHeadFloat32Indent
|
|
case opStructFieldPtrHeadFloat32Indent:
|
|
return opStructFieldPtrAnonymousHeadFloat32Indent
|
|
case opStructFieldHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldHeadFloat64Indent:
|
|
return opStructFieldAnonymousHeadFloat64Indent
|
|
case opStructFieldPtrHeadFloat64Indent:
|
|
return opStructFieldPtrAnonymousHeadFloat64Indent
|
|
case opStructFieldHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldHeadBoolIndent:
|
|
return opStructFieldAnonymousHeadBoolIndent
|
|
case opStructFieldPtrHeadBoolIndent:
|
|
return opStructFieldPtrAnonymousHeadBoolIndent
|
|
case opStructFieldHeadOmitEmptyBoolIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrHeadOmitEmptyBoolIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldHeadStringIndent:
|
|
return opStructFieldAnonymousHeadStringIndent
|
|
case opStructFieldPtrHeadStringIndent:
|
|
return opStructFieldPtrAnonymousHeadStringIndent
|
|
case opStructFieldHeadOmitEmptyStringIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyStringIndent
|
|
case opStructFieldPtrHeadOmitEmptyStringIndent:
|
|
return opStructFieldPtrAnonymousHeadOmitEmptyStringIndent
|
|
}
|
|
return t
|
|
}
|
|
|
|
func (t opType) headToOmitEmptyHead() opType {
|
|
switch t {
|
|
case opStructFieldHead:
|
|
return opStructFieldHeadOmitEmpty
|
|
case opStructFieldPtrHead:
|
|
return opStructFieldPtrHeadOmitEmpty
|
|
case opStructFieldHeadInt:
|
|
return opStructFieldHeadOmitEmptyInt
|
|
case opStructFieldPtrHeadInt:
|
|
return opStructFieldPtrHeadOmitEmptyInt
|
|
case opStructFieldHeadInt8:
|
|
return opStructFieldHeadOmitEmptyInt8
|
|
case opStructFieldPtrHeadInt8:
|
|
return opStructFieldPtrHeadOmitEmptyInt8
|
|
case opStructFieldHeadInt16:
|
|
return opStructFieldHeadOmitEmptyInt16
|
|
case opStructFieldPtrHeadInt16:
|
|
return opStructFieldPtrHeadOmitEmptyInt16
|
|
case opStructFieldHeadInt32:
|
|
return opStructFieldHeadOmitEmptyInt32
|
|
case opStructFieldPtrHeadInt32:
|
|
return opStructFieldPtrHeadOmitEmptyInt32
|
|
case opStructFieldHeadInt64:
|
|
return opStructFieldHeadOmitEmptyInt64
|
|
case opStructFieldPtrHeadInt64:
|
|
return opStructFieldPtrHeadOmitEmptyInt64
|
|
case opStructFieldHeadUint:
|
|
return opStructFieldHeadOmitEmptyUint
|
|
case opStructFieldPtrHeadUint:
|
|
return opStructFieldPtrHeadOmitEmptyUint
|
|
case opStructFieldHeadUint8:
|
|
return opStructFieldHeadOmitEmptyUint8
|
|
case opStructFieldPtrHeadUint8:
|
|
return opStructFieldPtrHeadOmitEmptyUint8
|
|
case opStructFieldHeadUint16:
|
|
return opStructFieldHeadOmitEmptyUint16
|
|
case opStructFieldPtrHeadUint16:
|
|
return opStructFieldPtrHeadOmitEmptyUint16
|
|
case opStructFieldHeadUint32:
|
|
return opStructFieldHeadOmitEmptyUint32
|
|
case opStructFieldPtrHeadUint32:
|
|
return opStructFieldPtrHeadOmitEmptyUint32
|
|
case opStructFieldHeadUint64:
|
|
return opStructFieldHeadOmitEmptyUint64
|
|
case opStructFieldPtrHeadUint64:
|
|
return opStructFieldPtrHeadOmitEmptyUint64
|
|
case opStructFieldHeadFloat32:
|
|
return opStructFieldHeadOmitEmptyFloat32
|
|
case opStructFieldPtrHeadFloat32:
|
|
return opStructFieldPtrHeadOmitEmptyFloat32
|
|
case opStructFieldHeadFloat64:
|
|
return opStructFieldHeadOmitEmptyFloat64
|
|
case opStructFieldPtrHeadFloat64:
|
|
return opStructFieldPtrHeadOmitEmptyFloat64
|
|
case opStructFieldHeadBool:
|
|
return opStructFieldHeadOmitEmptyBool
|
|
case opStructFieldPtrHeadBool:
|
|
return opStructFieldPtrHeadOmitEmptyBool
|
|
case opStructFieldHeadString:
|
|
return opStructFieldHeadOmitEmptyString
|
|
case opStructFieldPtrHeadString:
|
|
return opStructFieldPtrHeadOmitEmptyString
|
|
case opStructFieldHeadIndent:
|
|
return opStructFieldHeadOmitEmptyIndent
|
|
case opStructFieldPtrHeadIndent:
|
|
return opStructFieldPtrHeadOmitEmptyIndent
|
|
case opStructFieldHeadIntIndent:
|
|
return opStructFieldHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrHeadIntIndent:
|
|
return opStructFieldPtrHeadOmitEmptyIntIndent
|
|
case opStructFieldHeadInt8Indent:
|
|
return opStructFieldHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrHeadInt8Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt8Indent
|
|
case opStructFieldHeadInt16Indent:
|
|
return opStructFieldHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrHeadInt16Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt16Indent
|
|
case opStructFieldHeadInt32Indent:
|
|
return opStructFieldHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrHeadInt32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt32Indent
|
|
case opStructFieldHeadInt64Indent:
|
|
return opStructFieldHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrHeadInt64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyInt64Indent
|
|
case opStructFieldHeadUintIndent:
|
|
return opStructFieldHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrHeadUintIndent:
|
|
return opStructFieldPtrHeadOmitEmptyUintIndent
|
|
case opStructFieldHeadUint8Indent:
|
|
return opStructFieldHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrHeadUint8Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint8Indent
|
|
case opStructFieldHeadUint16Indent:
|
|
return opStructFieldHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrHeadUint16Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint16Indent
|
|
case opStructFieldHeadUint32Indent:
|
|
return opStructFieldHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrHeadUint32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint32Indent
|
|
case opStructFieldHeadUint64Indent:
|
|
return opStructFieldHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrHeadUint64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyUint64Indent
|
|
case opStructFieldHeadFloat32Indent:
|
|
return opStructFieldHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrHeadFloat32Indent:
|
|
return opStructFieldPtrHeadOmitEmptyFloat32Indent
|
|
case opStructFieldHeadFloat64Indent:
|
|
return opStructFieldHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrHeadFloat64Indent:
|
|
return opStructFieldPtrHeadOmitEmptyFloat64Indent
|
|
case opStructFieldHeadBoolIndent:
|
|
return opStructFieldHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrHeadBoolIndent:
|
|
return opStructFieldPtrHeadOmitEmptyBoolIndent
|
|
case opStructFieldHeadStringIndent:
|
|
return opStructFieldHeadOmitEmptyStringIndent
|
|
case opStructFieldPtrHeadStringIndent:
|
|
return opStructFieldPtrHeadOmitEmptyStringIndent
|
|
}
|
|
return t
|
|
}
|
|
|
|
func (t opType) ptrHeadToHead() opType {
|
|
switch t {
|
|
case opStructFieldPtrHead:
|
|
return opStructFieldHead
|
|
case opStructFieldPtrAnonymousHead:
|
|
return opStructFieldAnonymousHead
|
|
case opStructFieldPtrHeadOmitEmpty:
|
|
return opStructFieldHeadOmitEmpty
|
|
case opStructFieldPtrAnonymousHeadOmitEmpty:
|
|
return opStructFieldAnonymousHeadOmitEmpty
|
|
case opStructFieldPtrHeadInt:
|
|
return opStructFieldHeadInt
|
|
case opStructFieldPtrAnonymousHeadInt:
|
|
return opStructFieldAnonymousHeadInt
|
|
case opStructFieldPtrHeadOmitEmptyInt:
|
|
return opStructFieldHeadOmitEmptyInt
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt
|
|
case opStructFieldPtrHeadInt8:
|
|
return opStructFieldHeadInt8
|
|
case opStructFieldPtrAnonymousHeadInt8:
|
|
return opStructFieldAnonymousHeadInt8
|
|
case opStructFieldPtrHeadOmitEmptyInt8:
|
|
return opStructFieldHeadOmitEmptyInt8
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt8
|
|
case opStructFieldPtrHeadInt16:
|
|
return opStructFieldHeadInt16
|
|
case opStructFieldPtrAnonymousHeadInt16:
|
|
return opStructFieldAnonymousHeadInt16
|
|
case opStructFieldPtrHeadOmitEmptyInt16:
|
|
return opStructFieldHeadOmitEmptyInt16
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt16
|
|
case opStructFieldPtrHeadInt32:
|
|
return opStructFieldHeadInt32
|
|
case opStructFieldPtrAnonymousHeadInt32:
|
|
return opStructFieldAnonymousHeadInt32
|
|
case opStructFieldPtrHeadOmitEmptyInt32:
|
|
return opStructFieldHeadOmitEmptyInt32
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt32
|
|
case opStructFieldPtrHeadInt64:
|
|
return opStructFieldHeadInt64
|
|
case opStructFieldPtrAnonymousHeadInt64:
|
|
return opStructFieldAnonymousHeadInt64
|
|
case opStructFieldPtrHeadOmitEmptyInt64:
|
|
return opStructFieldHeadOmitEmptyInt64
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt64
|
|
case opStructFieldPtrHeadUint:
|
|
return opStructFieldHeadUint
|
|
case opStructFieldPtrAnonymousHeadUint:
|
|
return opStructFieldAnonymousHeadUint
|
|
case opStructFieldPtrHeadOmitEmptyUint:
|
|
return opStructFieldHeadOmitEmptyUint
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint
|
|
case opStructFieldPtrHeadUint8:
|
|
return opStructFieldHeadUint8
|
|
case opStructFieldPtrAnonymousHeadUint8:
|
|
return opStructFieldAnonymousHeadUint8
|
|
case opStructFieldPtrHeadOmitEmptyUint8:
|
|
return opStructFieldHeadOmitEmptyUint8
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint8
|
|
case opStructFieldPtrHeadUint16:
|
|
return opStructFieldHeadUint16
|
|
case opStructFieldPtrAnonymousHeadUint16:
|
|
return opStructFieldAnonymousHeadUint16
|
|
case opStructFieldPtrHeadOmitEmptyUint16:
|
|
return opStructFieldHeadOmitEmptyUint16
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint16
|
|
case opStructFieldPtrHeadUint32:
|
|
return opStructFieldHeadUint32
|
|
case opStructFieldPtrAnonymousHeadUint32:
|
|
return opStructFieldAnonymousHeadUint32
|
|
case opStructFieldPtrHeadOmitEmptyUint32:
|
|
return opStructFieldHeadOmitEmptyUint32
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint32
|
|
case opStructFieldPtrHeadUint64:
|
|
return opStructFieldHeadUint64
|
|
case opStructFieldPtrAnonymousHeadUint64:
|
|
return opStructFieldAnonymousHeadUint64
|
|
case opStructFieldPtrHeadOmitEmptyUint64:
|
|
return opStructFieldHeadOmitEmptyUint64
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint64
|
|
case opStructFieldPtrHeadFloat32:
|
|
return opStructFieldHeadFloat32
|
|
case opStructFieldPtrAnonymousHeadFloat32:
|
|
return opStructFieldAnonymousHeadFloat32
|
|
case opStructFieldPtrHeadOmitEmptyFloat32:
|
|
return opStructFieldHeadOmitEmptyFloat32
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat32
|
|
case opStructFieldPtrHeadFloat64:
|
|
return opStructFieldHeadFloat64
|
|
case opStructFieldPtrAnonymousHeadFloat64:
|
|
return opStructFieldAnonymousHeadFloat64
|
|
case opStructFieldPtrHeadOmitEmptyFloat64:
|
|
return opStructFieldHeadOmitEmptyFloat64
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat64
|
|
case opStructFieldPtrHeadBool:
|
|
return opStructFieldHeadBool
|
|
case opStructFieldPtrAnonymousHeadBool:
|
|
return opStructFieldAnonymousHeadBool
|
|
case opStructFieldPtrHeadOmitEmptyBool:
|
|
return opStructFieldHeadOmitEmptyBool
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBool:
|
|
return opStructFieldAnonymousHeadOmitEmptyBool
|
|
case opStructFieldPtrHeadString:
|
|
return opStructFieldHeadString
|
|
case opStructFieldPtrAnonymousHeadString:
|
|
return opStructFieldAnonymousHeadString
|
|
case opStructFieldPtrHeadOmitEmptyString:
|
|
return opStructFieldHeadOmitEmptyString
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyString:
|
|
return opStructFieldAnonymousHeadOmitEmptyString
|
|
case opStructFieldPtrHeadIndent:
|
|
return opStructFieldHeadIndent
|
|
case opStructFieldPtrAnonymousHeadIndent:
|
|
return opStructFieldAnonymousHeadIndent
|
|
case opStructFieldPtrHeadOmitEmptyIndent:
|
|
return opStructFieldHeadOmitEmptyIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyIndent
|
|
case opStructFieldPtrHeadIntIndent:
|
|
return opStructFieldHeadIntIndent
|
|
case opStructFieldPtrAnonymousHeadIntIndent:
|
|
return opStructFieldAnonymousHeadIntIndent
|
|
case opStructFieldPtrHeadOmitEmptyIntIndent:
|
|
return opStructFieldHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyIntIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyIntIndent
|
|
case opStructFieldPtrHeadInt8Indent:
|
|
return opStructFieldHeadInt8Indent
|
|
case opStructFieldPtrAnonymousHeadInt8Indent:
|
|
return opStructFieldAnonymousHeadInt8Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt8Indent:
|
|
return opStructFieldHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt8Indent
|
|
case opStructFieldPtrHeadInt16Indent:
|
|
return opStructFieldHeadInt16Indent
|
|
case opStructFieldPtrAnonymousHeadInt16Indent:
|
|
return opStructFieldAnonymousHeadInt16Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt16Indent:
|
|
return opStructFieldHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt16Indent
|
|
case opStructFieldPtrHeadInt32Indent:
|
|
return opStructFieldHeadInt32Indent
|
|
case opStructFieldPtrAnonymousHeadInt32Indent:
|
|
return opStructFieldAnonymousHeadInt32Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt32Indent:
|
|
return opStructFieldHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt32Indent
|
|
case opStructFieldPtrHeadInt64Indent:
|
|
return opStructFieldHeadInt64Indent
|
|
case opStructFieldPtrAnonymousHeadInt64Indent:
|
|
return opStructFieldAnonymousHeadInt64Indent
|
|
case opStructFieldPtrHeadOmitEmptyInt64Indent:
|
|
return opStructFieldHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyInt64Indent
|
|
case opStructFieldPtrHeadUintIndent:
|
|
return opStructFieldHeadUintIndent
|
|
case opStructFieldPtrAnonymousHeadUintIndent:
|
|
return opStructFieldAnonymousHeadUintIndent
|
|
case opStructFieldPtrHeadOmitEmptyUintIndent:
|
|
return opStructFieldHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUintIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUintIndent
|
|
case opStructFieldPtrHeadUint8Indent:
|
|
return opStructFieldHeadUint8Indent
|
|
case opStructFieldPtrAnonymousHeadUint8Indent:
|
|
return opStructFieldAnonymousHeadUint8Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint8Indent:
|
|
return opStructFieldHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint8Indent
|
|
case opStructFieldPtrHeadUint16Indent:
|
|
return opStructFieldHeadUint16Indent
|
|
case opStructFieldPtrAnonymousHeadUint16Indent:
|
|
return opStructFieldAnonymousHeadUint16Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint16Indent:
|
|
return opStructFieldHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint16Indent
|
|
case opStructFieldPtrHeadUint32Indent:
|
|
return opStructFieldHeadUint32Indent
|
|
case opStructFieldPtrAnonymousHeadUint32Indent:
|
|
return opStructFieldAnonymousHeadUint32Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint32Indent:
|
|
return opStructFieldHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint32Indent
|
|
case opStructFieldPtrHeadUint64Indent:
|
|
return opStructFieldHeadUint64Indent
|
|
case opStructFieldPtrAnonymousHeadUint64Indent:
|
|
return opStructFieldAnonymousHeadUint64Indent
|
|
case opStructFieldPtrHeadOmitEmptyUint64Indent:
|
|
return opStructFieldHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyUint64Indent
|
|
case opStructFieldPtrHeadFloat32Indent:
|
|
return opStructFieldHeadFloat32Indent
|
|
case opStructFieldPtrAnonymousHeadFloat32Indent:
|
|
return opStructFieldAnonymousHeadFloat32Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat32Indent
|
|
case opStructFieldPtrHeadFloat64Indent:
|
|
return opStructFieldHeadFloat64Indent
|
|
case opStructFieldPtrAnonymousHeadFloat64Indent:
|
|
return opStructFieldAnonymousHeadFloat64Indent
|
|
case opStructFieldPtrHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent:
|
|
return opStructFieldAnonymousHeadOmitEmptyFloat64Indent
|
|
case opStructFieldPtrHeadBoolIndent:
|
|
return opStructFieldHeadBoolIndent
|
|
case opStructFieldPtrAnonymousHeadBoolIndent:
|
|
return opStructFieldAnonymousHeadBoolIndent
|
|
case opStructFieldPtrHeadOmitEmptyBoolIndent:
|
|
return opStructFieldHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyBoolIndent
|
|
case opStructFieldPtrHeadStringIndent:
|
|
return opStructFieldHeadStringIndent
|
|
case opStructFieldPtrAnonymousHeadStringIndent:
|
|
return opStructFieldAnonymousHeadStringIndent
|
|
case opStructFieldPtrHeadOmitEmptyStringIndent:
|
|
return opStructFieldHeadOmitEmptyStringIndent
|
|
case opStructFieldPtrAnonymousHeadOmitEmptyStringIndent:
|
|
return opStructFieldAnonymousHeadOmitEmptyStringIndent
|
|
}
|
|
return t
|
|
}
|
|
|
|
func (t opType) fieldToOmitEmptyField() opType {
|
|
switch t {
|
|
case opStructField:
|
|
return opStructFieldOmitEmpty
|
|
case opStructFieldInt:
|
|
return opStructFieldOmitEmptyInt
|
|
case opStructFieldInt8:
|
|
return opStructFieldOmitEmptyInt8
|
|
case opStructFieldInt16:
|
|
return opStructFieldOmitEmptyInt16
|
|
case opStructFieldInt32:
|
|
return opStructFieldOmitEmptyInt32
|
|
case opStructFieldInt64:
|
|
return opStructFieldOmitEmptyInt64
|
|
case opStructFieldUint:
|
|
return opStructFieldOmitEmptyUint
|
|
case opStructFieldUint8:
|
|
return opStructFieldOmitEmptyUint8
|
|
case opStructFieldUint16:
|
|
return opStructFieldOmitEmptyUint16
|
|
case opStructFieldUint32:
|
|
return opStructFieldOmitEmptyUint32
|
|
case opStructFieldUint64:
|
|
return opStructFieldOmitEmptyUint64
|
|
case opStructFieldFloat32:
|
|
return opStructFieldOmitEmptyFloat32
|
|
case opStructFieldFloat64:
|
|
return opStructFieldOmitEmptyFloat64
|
|
case opStructFieldBool:
|
|
return opStructFieldOmitEmptyBool
|
|
case opStructFieldString:
|
|
return opStructFieldOmitEmptyString
|
|
case opStructFieldIndent:
|
|
return opStructFieldOmitEmptyIndent
|
|
case opStructFieldIntIndent:
|
|
return opStructFieldOmitEmptyIntIndent
|
|
case opStructFieldInt8Indent:
|
|
return opStructFieldOmitEmptyInt8Indent
|
|
case opStructFieldInt16Indent:
|
|
return opStructFieldOmitEmptyInt16Indent
|
|
case opStructFieldInt32Indent:
|
|
return opStructFieldOmitEmptyInt32Indent
|
|
case opStructFieldInt64Indent:
|
|
return opStructFieldOmitEmptyInt64Indent
|
|
case opStructFieldUintIndent:
|
|
return opStructFieldOmitEmptyUintIndent
|
|
case opStructFieldUint8Indent:
|
|
return opStructFieldOmitEmptyUint8Indent
|
|
case opStructFieldUint16Indent:
|
|
return opStructFieldOmitEmptyUint16Indent
|
|
case opStructFieldUint32Indent:
|
|
return opStructFieldOmitEmptyUint32Indent
|
|
case opStructFieldUint64Indent:
|
|
return opStructFieldOmitEmptyUint64Indent
|
|
case opStructFieldFloat32Indent:
|
|
return opStructFieldOmitEmptyFloat32Indent
|
|
case opStructFieldFloat64Indent:
|
|
return opStructFieldOmitEmptyFloat64Indent
|
|
case opStructFieldBoolIndent:
|
|
return opStructFieldOmitEmptyBoolIndent
|
|
case opStructFieldStringIndent:
|
|
return opStructFieldOmitEmptyStringIndent
|
|
}
|
|
return t
|
|
}
|
|
|