go-json/encode_optype.go

4204 lines
167 KiB
Go
Raw Normal View History

2020-08-15 11:41:38 +03:00
// 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
opSliceHead opType = 3
opRootSliceHead opType = 4
opSliceElem opType = 5
opRootSliceElem opType = 6
opSliceEnd opType = 7
opArrayHead opType = 8
opArrayElem opType = 9
opArrayEnd opType = 10
opMapHead opType = 11
opMapHeadLoad opType = 12
opRootMapHead opType = 13
opMapKey opType = 14
opRootMapKey opType = 15
opMapValue opType = 16
opMapEnd opType = 17
opStructFieldHead opType = 18
opStructFieldHeadOmitEmpty opType = 19
opStructFieldAnonymousHead opType = 20
opStructFieldAnonymousHeadOmitEmpty opType = 21
opStructFieldPtrAnonymousHeadOmitEmpty opType = 22
opStructFieldPtrHead opType = 23
opStructFieldPtrHeadOmitEmpty opType = 24
opStructFieldPtrAnonymousHead opType = 25
opStructField opType = 26
opStructFieldOmitEmpty opType = 27
opStructFieldRecursive opType = 28
opStructEnd opType = 29
opStructAnonymousEnd opType = 30
opInt opType = 31
opInt8 opType = 32
opInt16 opType = 33
opInt32 opType = 34
opInt64 opType = 35
opUint opType = 36
opUint8 opType = 37
opUint16 opType = 38
opUint32 opType = 39
opUint64 opType = 40
opFloat32 opType = 41
opFloat64 opType = 42
opBool opType = 43
opString opType = 44
2020-08-19 04:34:11 +03:00
opBytes opType = 45
opMarshalJSON opType = 46
opMarshalText opType = 47
opStructFieldHeadInt opType = 48
opStructFieldHeadInt8 opType = 49
opStructFieldHeadInt16 opType = 50
opStructFieldHeadInt32 opType = 51
opStructFieldHeadInt64 opType = 52
opStructFieldHeadUint opType = 53
opStructFieldHeadUint8 opType = 54
opStructFieldHeadUint16 opType = 55
opStructFieldHeadUint32 opType = 56
opStructFieldHeadUint64 opType = 57
opStructFieldHeadFloat32 opType = 58
opStructFieldHeadFloat64 opType = 59
opStructFieldHeadBool opType = 60
opStructFieldHeadString opType = 61
opStructFieldHeadBytes opType = 62
opStructFieldHeadMarshalJSON opType = 63
opStructFieldHeadMarshalText opType = 64
opStructFieldHeadOmitEmptyInt opType = 65
opStructFieldHeadOmitEmptyInt8 opType = 66
opStructFieldHeadOmitEmptyInt16 opType = 67
opStructFieldHeadOmitEmptyInt32 opType = 68
opStructFieldHeadOmitEmptyInt64 opType = 69
opStructFieldHeadOmitEmptyUint opType = 70
opStructFieldHeadOmitEmptyUint8 opType = 71
opStructFieldHeadOmitEmptyUint16 opType = 72
opStructFieldHeadOmitEmptyUint32 opType = 73
opStructFieldHeadOmitEmptyUint64 opType = 74
opStructFieldHeadOmitEmptyFloat32 opType = 75
opStructFieldHeadOmitEmptyFloat64 opType = 76
opStructFieldHeadOmitEmptyBool opType = 77
opStructFieldHeadOmitEmptyString opType = 78
opStructFieldHeadOmitEmptyBytes opType = 79
opStructFieldHeadOmitEmptyMarshalJSON opType = 80
opStructFieldHeadOmitEmptyMarshalText opType = 81
opStructFieldAnonymousHeadInt opType = 82
opStructFieldAnonymousHeadInt8 opType = 83
opStructFieldAnonymousHeadInt16 opType = 84
opStructFieldAnonymousHeadInt32 opType = 85
opStructFieldAnonymousHeadInt64 opType = 86
opStructFieldAnonymousHeadUint opType = 87
opStructFieldAnonymousHeadUint8 opType = 88
opStructFieldAnonymousHeadUint16 opType = 89
opStructFieldAnonymousHeadUint32 opType = 90
opStructFieldAnonymousHeadUint64 opType = 91
opStructFieldAnonymousHeadFloat32 opType = 92
opStructFieldAnonymousHeadFloat64 opType = 93
opStructFieldAnonymousHeadBool opType = 94
opStructFieldAnonymousHeadString opType = 95
opStructFieldAnonymousHeadBytes opType = 96
opStructFieldAnonymousHeadMarshalJSON opType = 97
opStructFieldAnonymousHeadMarshalText opType = 98
opStructFieldAnonymousHeadOmitEmptyInt opType = 99
opStructFieldAnonymousHeadOmitEmptyInt8 opType = 100
opStructFieldAnonymousHeadOmitEmptyInt16 opType = 101
opStructFieldAnonymousHeadOmitEmptyInt32 opType = 102
opStructFieldAnonymousHeadOmitEmptyInt64 opType = 103
opStructFieldAnonymousHeadOmitEmptyUint opType = 104
opStructFieldAnonymousHeadOmitEmptyUint8 opType = 105
opStructFieldAnonymousHeadOmitEmptyUint16 opType = 106
opStructFieldAnonymousHeadOmitEmptyUint32 opType = 107
opStructFieldAnonymousHeadOmitEmptyUint64 opType = 108
opStructFieldAnonymousHeadOmitEmptyFloat32 opType = 109
opStructFieldAnonymousHeadOmitEmptyFloat64 opType = 110
opStructFieldAnonymousHeadOmitEmptyBool opType = 111
opStructFieldAnonymousHeadOmitEmptyString opType = 112
opStructFieldAnonymousHeadOmitEmptyBytes opType = 113
opStructFieldAnonymousHeadOmitEmptyMarshalJSON opType = 114
opStructFieldAnonymousHeadOmitEmptyMarshalText opType = 115
opStructFieldPtrHeadInt opType = 116
opStructFieldPtrHeadInt8 opType = 117
opStructFieldPtrHeadInt16 opType = 118
opStructFieldPtrHeadInt32 opType = 119
opStructFieldPtrHeadInt64 opType = 120
opStructFieldPtrHeadUint opType = 121
opStructFieldPtrHeadUint8 opType = 122
opStructFieldPtrHeadUint16 opType = 123
opStructFieldPtrHeadUint32 opType = 124
opStructFieldPtrHeadUint64 opType = 125
opStructFieldPtrHeadFloat32 opType = 126
opStructFieldPtrHeadFloat64 opType = 127
opStructFieldPtrHeadBool opType = 128
opStructFieldPtrHeadString opType = 129
opStructFieldPtrHeadBytes opType = 130
opStructFieldPtrHeadMarshalJSON opType = 131
opStructFieldPtrHeadMarshalText opType = 132
opStructFieldPtrHeadOmitEmptyInt opType = 133
opStructFieldPtrHeadOmitEmptyInt8 opType = 134
opStructFieldPtrHeadOmitEmptyInt16 opType = 135
opStructFieldPtrHeadOmitEmptyInt32 opType = 136
opStructFieldPtrHeadOmitEmptyInt64 opType = 137
opStructFieldPtrHeadOmitEmptyUint opType = 138
opStructFieldPtrHeadOmitEmptyUint8 opType = 139
opStructFieldPtrHeadOmitEmptyUint16 opType = 140
opStructFieldPtrHeadOmitEmptyUint32 opType = 141
opStructFieldPtrHeadOmitEmptyUint64 opType = 142
opStructFieldPtrHeadOmitEmptyFloat32 opType = 143
opStructFieldPtrHeadOmitEmptyFloat64 opType = 144
opStructFieldPtrHeadOmitEmptyBool opType = 145
opStructFieldPtrHeadOmitEmptyString opType = 146
opStructFieldPtrHeadOmitEmptyBytes opType = 147
opStructFieldPtrHeadOmitEmptyMarshalJSON opType = 148
opStructFieldPtrHeadOmitEmptyMarshalText opType = 149
opStructFieldPtrAnonymousHeadInt opType = 150
opStructFieldPtrAnonymousHeadInt8 opType = 151
opStructFieldPtrAnonymousHeadInt16 opType = 152
opStructFieldPtrAnonymousHeadInt32 opType = 153
opStructFieldPtrAnonymousHeadInt64 opType = 154
opStructFieldPtrAnonymousHeadUint opType = 155
opStructFieldPtrAnonymousHeadUint8 opType = 156
opStructFieldPtrAnonymousHeadUint16 opType = 157
opStructFieldPtrAnonymousHeadUint32 opType = 158
opStructFieldPtrAnonymousHeadUint64 opType = 159
opStructFieldPtrAnonymousHeadFloat32 opType = 160
opStructFieldPtrAnonymousHeadFloat64 opType = 161
opStructFieldPtrAnonymousHeadBool opType = 162
opStructFieldPtrAnonymousHeadString opType = 163
opStructFieldPtrAnonymousHeadBytes opType = 164
opStructFieldPtrAnonymousHeadMarshalJSON opType = 165
opStructFieldPtrAnonymousHeadMarshalText opType = 166
opStructFieldPtrAnonymousHeadOmitEmptyInt opType = 167
opStructFieldPtrAnonymousHeadOmitEmptyInt8 opType = 168
opStructFieldPtrAnonymousHeadOmitEmptyInt16 opType = 169
opStructFieldPtrAnonymousHeadOmitEmptyInt32 opType = 170
opStructFieldPtrAnonymousHeadOmitEmptyInt64 opType = 171
opStructFieldPtrAnonymousHeadOmitEmptyUint opType = 172
opStructFieldPtrAnonymousHeadOmitEmptyUint8 opType = 173
opStructFieldPtrAnonymousHeadOmitEmptyUint16 opType = 174
opStructFieldPtrAnonymousHeadOmitEmptyUint32 opType = 175
opStructFieldPtrAnonymousHeadOmitEmptyUint64 opType = 176
opStructFieldPtrAnonymousHeadOmitEmptyFloat32 opType = 177
opStructFieldPtrAnonymousHeadOmitEmptyFloat64 opType = 178
opStructFieldPtrAnonymousHeadOmitEmptyBool opType = 179
opStructFieldPtrAnonymousHeadOmitEmptyString opType = 180
opStructFieldPtrAnonymousHeadOmitEmptyBytes opType = 181
opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON opType = 182
opStructFieldPtrAnonymousHeadOmitEmptyMarshalText opType = 183
opStructFieldInt opType = 184
opStructFieldInt8 opType = 185
opStructFieldInt16 opType = 186
opStructFieldInt32 opType = 187
opStructFieldInt64 opType = 188
opStructFieldUint opType = 189
opStructFieldUint8 opType = 190
opStructFieldUint16 opType = 191
opStructFieldUint32 opType = 192
opStructFieldUint64 opType = 193
opStructFieldFloat32 opType = 194
opStructFieldFloat64 opType = 195
opStructFieldBool opType = 196
opStructFieldString opType = 197
opStructFieldBytes opType = 198
opStructFieldMarshalJSON opType = 199
opStructFieldMarshalText opType = 200
opStructFieldOmitEmptyInt opType = 201
opStructFieldOmitEmptyInt8 opType = 202
opStructFieldOmitEmptyInt16 opType = 203
opStructFieldOmitEmptyInt32 opType = 204
opStructFieldOmitEmptyInt64 opType = 205
opStructFieldOmitEmptyUint opType = 206
opStructFieldOmitEmptyUint8 opType = 207
opStructFieldOmitEmptyUint16 opType = 208
opStructFieldOmitEmptyUint32 opType = 209
opStructFieldOmitEmptyUint64 opType = 210
opStructFieldOmitEmptyFloat32 opType = 211
opStructFieldOmitEmptyFloat64 opType = 212
opStructFieldOmitEmptyBool opType = 213
opStructFieldOmitEmptyString opType = 214
opStructFieldOmitEmptyBytes opType = 215
opStructFieldOmitEmptyMarshalJSON opType = 216
opStructFieldOmitEmptyMarshalText opType = 217
opEndIndent opType = 218
opInterfaceIndent opType = 219
opPtrIndent opType = 220
opSliceHeadIndent opType = 221
opRootSliceHeadIndent opType = 222
opSliceElemIndent opType = 223
opRootSliceElemIndent opType = 224
opSliceEndIndent opType = 225
opArrayHeadIndent opType = 226
opArrayElemIndent opType = 227
opArrayEndIndent opType = 228
opMapHeadIndent opType = 229
opMapHeadLoadIndent opType = 230
opRootMapHeadIndent opType = 231
opMapKeyIndent opType = 232
opRootMapKeyIndent opType = 233
opMapValueIndent opType = 234
opMapEndIndent opType = 235
opStructFieldHeadIndent opType = 236
opStructFieldHeadOmitEmptyIndent opType = 237
opStructFieldAnonymousHeadIndent opType = 238
opStructFieldAnonymousHeadOmitEmptyIndent opType = 239
opStructFieldPtrAnonymousHeadOmitEmptyIndent opType = 240
opStructFieldPtrHeadIndent opType = 241
opStructFieldPtrHeadOmitEmptyIndent opType = 242
opStructFieldPtrAnonymousHeadIndent opType = 243
opStructFieldIndent opType = 244
opStructFieldOmitEmptyIndent opType = 245
opStructFieldRecursiveIndent opType = 246
opStructEndIndent opType = 247
opStructAnonymousEndIndent opType = 248
opIntIndent opType = 249
opInt8Indent opType = 250
opInt16Indent opType = 251
opInt32Indent opType = 252
opInt64Indent opType = 253
opUintIndent opType = 254
opUint8Indent opType = 255
opUint16Indent opType = 256
opUint32Indent opType = 257
opUint64Indent opType = 258
opFloat32Indent opType = 259
opFloat64Indent opType = 260
opBoolIndent opType = 261
opStringIndent opType = 262
opBytesIndent opType = 263
opMarshalJSONIndent opType = 264
opMarshalTextIndent opType = 265
opStructFieldHeadIntIndent opType = 266
opStructFieldHeadInt8Indent opType = 267
opStructFieldHeadInt16Indent opType = 268
opStructFieldHeadInt32Indent opType = 269
opStructFieldHeadInt64Indent opType = 270
opStructFieldHeadUintIndent opType = 271
opStructFieldHeadUint8Indent opType = 272
opStructFieldHeadUint16Indent opType = 273
opStructFieldHeadUint32Indent opType = 274
opStructFieldHeadUint64Indent opType = 275
opStructFieldHeadFloat32Indent opType = 276
opStructFieldHeadFloat64Indent opType = 277
opStructFieldHeadBoolIndent opType = 278
opStructFieldHeadStringIndent opType = 279
opStructFieldHeadBytesIndent opType = 280
opStructFieldHeadMarshalJSONIndent opType = 281
opStructFieldHeadMarshalTextIndent opType = 282
opStructFieldHeadOmitEmptyIntIndent opType = 283
opStructFieldHeadOmitEmptyInt8Indent opType = 284
opStructFieldHeadOmitEmptyInt16Indent opType = 285
opStructFieldHeadOmitEmptyInt32Indent opType = 286
opStructFieldHeadOmitEmptyInt64Indent opType = 287
opStructFieldHeadOmitEmptyUintIndent opType = 288
opStructFieldHeadOmitEmptyUint8Indent opType = 289
opStructFieldHeadOmitEmptyUint16Indent opType = 290
opStructFieldHeadOmitEmptyUint32Indent opType = 291
opStructFieldHeadOmitEmptyUint64Indent opType = 292
opStructFieldHeadOmitEmptyFloat32Indent opType = 293
opStructFieldHeadOmitEmptyFloat64Indent opType = 294
opStructFieldHeadOmitEmptyBoolIndent opType = 295
opStructFieldHeadOmitEmptyStringIndent opType = 296
opStructFieldHeadOmitEmptyBytesIndent opType = 297
opStructFieldHeadOmitEmptyMarshalJSONIndent opType = 298
opStructFieldHeadOmitEmptyMarshalTextIndent opType = 299
opStructFieldAnonymousHeadIntIndent opType = 300
opStructFieldAnonymousHeadInt8Indent opType = 301
opStructFieldAnonymousHeadInt16Indent opType = 302
opStructFieldAnonymousHeadInt32Indent opType = 303
opStructFieldAnonymousHeadInt64Indent opType = 304
opStructFieldAnonymousHeadUintIndent opType = 305
opStructFieldAnonymousHeadUint8Indent opType = 306
opStructFieldAnonymousHeadUint16Indent opType = 307
opStructFieldAnonymousHeadUint32Indent opType = 308
opStructFieldAnonymousHeadUint64Indent opType = 309
opStructFieldAnonymousHeadFloat32Indent opType = 310
opStructFieldAnonymousHeadFloat64Indent opType = 311
opStructFieldAnonymousHeadBoolIndent opType = 312
opStructFieldAnonymousHeadStringIndent opType = 313
opStructFieldAnonymousHeadBytesIndent opType = 314
opStructFieldAnonymousHeadMarshalJSONIndent opType = 315
opStructFieldAnonymousHeadMarshalTextIndent opType = 316
opStructFieldAnonymousHeadOmitEmptyIntIndent opType = 317
opStructFieldAnonymousHeadOmitEmptyInt8Indent opType = 318
opStructFieldAnonymousHeadOmitEmptyInt16Indent opType = 319
opStructFieldAnonymousHeadOmitEmptyInt32Indent opType = 320
opStructFieldAnonymousHeadOmitEmptyInt64Indent opType = 321
opStructFieldAnonymousHeadOmitEmptyUintIndent opType = 322
opStructFieldAnonymousHeadOmitEmptyUint8Indent opType = 323
opStructFieldAnonymousHeadOmitEmptyUint16Indent opType = 324
opStructFieldAnonymousHeadOmitEmptyUint32Indent opType = 325
opStructFieldAnonymousHeadOmitEmptyUint64Indent opType = 326
opStructFieldAnonymousHeadOmitEmptyFloat32Indent opType = 327
opStructFieldAnonymousHeadOmitEmptyFloat64Indent opType = 328
opStructFieldAnonymousHeadOmitEmptyBoolIndent opType = 329
opStructFieldAnonymousHeadOmitEmptyStringIndent opType = 330
opStructFieldAnonymousHeadOmitEmptyBytesIndent opType = 331
opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent opType = 332
opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent opType = 333
opStructFieldPtrHeadIntIndent opType = 334
opStructFieldPtrHeadInt8Indent opType = 335
opStructFieldPtrHeadInt16Indent opType = 336
opStructFieldPtrHeadInt32Indent opType = 337
opStructFieldPtrHeadInt64Indent opType = 338
opStructFieldPtrHeadUintIndent opType = 339
opStructFieldPtrHeadUint8Indent opType = 340
opStructFieldPtrHeadUint16Indent opType = 341
opStructFieldPtrHeadUint32Indent opType = 342
opStructFieldPtrHeadUint64Indent opType = 343
opStructFieldPtrHeadFloat32Indent opType = 344
opStructFieldPtrHeadFloat64Indent opType = 345
opStructFieldPtrHeadBoolIndent opType = 346
opStructFieldPtrHeadStringIndent opType = 347
opStructFieldPtrHeadBytesIndent opType = 348
opStructFieldPtrHeadMarshalJSONIndent opType = 349
opStructFieldPtrHeadMarshalTextIndent opType = 350
opStructFieldPtrHeadOmitEmptyIntIndent opType = 351
opStructFieldPtrHeadOmitEmptyInt8Indent opType = 352
opStructFieldPtrHeadOmitEmptyInt16Indent opType = 353
opStructFieldPtrHeadOmitEmptyInt32Indent opType = 354
opStructFieldPtrHeadOmitEmptyInt64Indent opType = 355
opStructFieldPtrHeadOmitEmptyUintIndent opType = 356
opStructFieldPtrHeadOmitEmptyUint8Indent opType = 357
opStructFieldPtrHeadOmitEmptyUint16Indent opType = 358
opStructFieldPtrHeadOmitEmptyUint32Indent opType = 359
opStructFieldPtrHeadOmitEmptyUint64Indent opType = 360
opStructFieldPtrHeadOmitEmptyFloat32Indent opType = 361
opStructFieldPtrHeadOmitEmptyFloat64Indent opType = 362
opStructFieldPtrHeadOmitEmptyBoolIndent opType = 363
opStructFieldPtrHeadOmitEmptyStringIndent opType = 364
opStructFieldPtrHeadOmitEmptyBytesIndent opType = 365
opStructFieldPtrHeadOmitEmptyMarshalJSONIndent opType = 366
opStructFieldPtrHeadOmitEmptyMarshalTextIndent opType = 367
opStructFieldPtrAnonymousHeadIntIndent opType = 368
opStructFieldPtrAnonymousHeadInt8Indent opType = 369
opStructFieldPtrAnonymousHeadInt16Indent opType = 370
opStructFieldPtrAnonymousHeadInt32Indent opType = 371
opStructFieldPtrAnonymousHeadInt64Indent opType = 372
opStructFieldPtrAnonymousHeadUintIndent opType = 373
opStructFieldPtrAnonymousHeadUint8Indent opType = 374
opStructFieldPtrAnonymousHeadUint16Indent opType = 375
opStructFieldPtrAnonymousHeadUint32Indent opType = 376
opStructFieldPtrAnonymousHeadUint64Indent opType = 377
opStructFieldPtrAnonymousHeadFloat32Indent opType = 378
opStructFieldPtrAnonymousHeadFloat64Indent opType = 379
opStructFieldPtrAnonymousHeadBoolIndent opType = 380
opStructFieldPtrAnonymousHeadStringIndent opType = 381
opStructFieldPtrAnonymousHeadBytesIndent opType = 382
opStructFieldPtrAnonymousHeadMarshalJSONIndent opType = 383
opStructFieldPtrAnonymousHeadMarshalTextIndent opType = 384
opStructFieldPtrAnonymousHeadOmitEmptyIntIndent opType = 385
opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent opType = 386
opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent opType = 387
opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent opType = 388
opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent opType = 389
opStructFieldPtrAnonymousHeadOmitEmptyUintIndent opType = 390
opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent opType = 391
opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent opType = 392
opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent opType = 393
opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent opType = 394
opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent opType = 395
opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent opType = 396
opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent opType = 397
opStructFieldPtrAnonymousHeadOmitEmptyStringIndent opType = 398
opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent opType = 399
opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent opType = 400
opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent opType = 401
opStructFieldIntIndent opType = 402
opStructFieldInt8Indent opType = 403
opStructFieldInt16Indent opType = 404
opStructFieldInt32Indent opType = 405
opStructFieldInt64Indent opType = 406
opStructFieldUintIndent opType = 407
opStructFieldUint8Indent opType = 408
opStructFieldUint16Indent opType = 409
opStructFieldUint32Indent opType = 410
opStructFieldUint64Indent opType = 411
opStructFieldFloat32Indent opType = 412
opStructFieldFloat64Indent opType = 413
opStructFieldBoolIndent opType = 414
opStructFieldStringIndent opType = 415
opStructFieldBytesIndent opType = 416
opStructFieldMarshalJSONIndent opType = 417
opStructFieldMarshalTextIndent opType = 418
opStructFieldOmitEmptyIntIndent opType = 419
opStructFieldOmitEmptyInt8Indent opType = 420
opStructFieldOmitEmptyInt16Indent opType = 421
opStructFieldOmitEmptyInt32Indent opType = 422
opStructFieldOmitEmptyInt64Indent opType = 423
opStructFieldOmitEmptyUintIndent opType = 424
opStructFieldOmitEmptyUint8Indent opType = 425
opStructFieldOmitEmptyUint16Indent opType = 426
opStructFieldOmitEmptyUint32Indent opType = 427
opStructFieldOmitEmptyUint64Indent opType = 428
opStructFieldOmitEmptyFloat32Indent opType = 429
opStructFieldOmitEmptyFloat64Indent opType = 430
opStructFieldOmitEmptyBoolIndent opType = 431
opStructFieldOmitEmptyStringIndent opType = 432
opStructFieldOmitEmptyBytesIndent opType = 433
opStructFieldOmitEmptyMarshalJSONIndent opType = 434
opStructFieldOmitEmptyMarshalTextIndent opType = 435
2020-08-15 11:41:38 +03:00
)
func (t opType) String() string {
switch t {
case opEnd:
return "End"
case opInterface:
return "Interface"
case opPtr:
return "Ptr"
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"
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmpty:
return "StructFieldAnonymousHeadOmitEmpty"
case opStructFieldPtrAnonymousHeadOmitEmpty:
return "StructFieldPtrAnonymousHeadOmitEmpty"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opBytes:
return "Bytes"
case opMarshalJSON:
return "MarshalJSON"
case opMarshalText:
return "MarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytes:
return "StructFieldHeadBytes"
case opStructFieldHeadMarshalJSON:
return "StructFieldHeadMarshalJSON"
case opStructFieldHeadMarshalText:
return "StructFieldHeadMarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldHeadOmitEmptyBytes:
return "StructFieldHeadOmitEmptyBytes"
case opStructFieldHeadOmitEmptyMarshalJSON:
return "StructFieldHeadOmitEmptyMarshalJSON"
case opStructFieldHeadOmitEmptyMarshalText:
return "StructFieldHeadOmitEmptyMarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadBytes:
return "StructFieldAnonymousHeadBytes"
case opStructFieldAnonymousHeadMarshalJSON:
return "StructFieldAnonymousHeadMarshalJSON"
case opStructFieldAnonymousHeadMarshalText:
return "StructFieldAnonymousHeadMarshalText"
2020-08-15 12:17:48 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadOmitEmptyBytes:
return "StructFieldAnonymousHeadOmitEmptyBytes"
case opStructFieldAnonymousHeadOmitEmptyMarshalJSON:
return "StructFieldAnonymousHeadOmitEmptyMarshalJSON"
case opStructFieldAnonymousHeadOmitEmptyMarshalText:
return "StructFieldAnonymousHeadOmitEmptyMarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytes:
return "StructFieldPtrHeadBytes"
case opStructFieldPtrHeadMarshalJSON:
return "StructFieldPtrHeadMarshalJSON"
case opStructFieldPtrHeadMarshalText:
return "StructFieldPtrHeadMarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadOmitEmptyBytes:
return "StructFieldPtrHeadOmitEmptyBytes"
case opStructFieldPtrHeadOmitEmptyMarshalJSON:
return "StructFieldPtrHeadOmitEmptyMarshalJSON"
case opStructFieldPtrHeadOmitEmptyMarshalText:
return "StructFieldPtrHeadOmitEmptyMarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadBytes:
return "StructFieldPtrAnonymousHeadBytes"
case opStructFieldPtrAnonymousHeadMarshalJSON:
return "StructFieldPtrAnonymousHeadMarshalJSON"
case opStructFieldPtrAnonymousHeadMarshalText:
return "StructFieldPtrAnonymousHeadMarshalText"
2020-08-15 12:17:48 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBytes:
return "StructFieldPtrAnonymousHeadOmitEmptyBytes"
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON:
return "StructFieldPtrAnonymousHeadOmitEmptyMarshalJSON"
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalText:
return "StructFieldPtrAnonymousHeadOmitEmptyMarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldBytes:
return "StructFieldBytes"
case opStructFieldMarshalJSON:
return "StructFieldMarshalJSON"
case opStructFieldMarshalText:
return "StructFieldMarshalText"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldOmitEmptyBytes:
return "StructFieldOmitEmptyBytes"
case opStructFieldOmitEmptyMarshalJSON:
return "StructFieldOmitEmptyMarshalJSON"
case opStructFieldOmitEmptyMarshalText:
return "StructFieldOmitEmptyMarshalText"
2020-08-15 11:41:38 +03:00
case opEndIndent:
return "EndIndent"
case opInterfaceIndent:
return "InterfaceIndent"
case opPtrIndent:
return "PtrIndent"
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"
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyIndent:
return "StructFieldAnonymousHeadOmitEmptyIndent"
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
return "StructFieldPtrAnonymousHeadOmitEmptyIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opBytesIndent:
return "BytesIndent"
case opMarshalJSONIndent:
return "MarshalJSONIndent"
case opMarshalTextIndent:
return "MarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytesIndent:
return "StructFieldHeadBytesIndent"
case opStructFieldHeadMarshalJSONIndent:
return "StructFieldHeadMarshalJSONIndent"
case opStructFieldHeadMarshalTextIndent:
return "StructFieldHeadMarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldHeadOmitEmptyBytesIndent:
return "StructFieldHeadOmitEmptyBytesIndent"
case opStructFieldHeadOmitEmptyMarshalJSONIndent:
return "StructFieldHeadOmitEmptyMarshalJSONIndent"
case opStructFieldHeadOmitEmptyMarshalTextIndent:
return "StructFieldHeadOmitEmptyMarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadBytesIndent:
return "StructFieldAnonymousHeadBytesIndent"
case opStructFieldAnonymousHeadMarshalJSONIndent:
return "StructFieldAnonymousHeadMarshalJSONIndent"
case opStructFieldAnonymousHeadMarshalTextIndent:
return "StructFieldAnonymousHeadMarshalTextIndent"
2020-08-15 12:17:48 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadOmitEmptyBytesIndent:
return "StructFieldAnonymousHeadOmitEmptyBytesIndent"
case opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent:
return "StructFieldAnonymousHeadOmitEmptyMarshalJSONIndent"
case opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent:
return "StructFieldAnonymousHeadOmitEmptyMarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytesIndent:
return "StructFieldPtrHeadBytesIndent"
case opStructFieldPtrHeadMarshalJSONIndent:
return "StructFieldPtrHeadMarshalJSONIndent"
case opStructFieldPtrHeadMarshalTextIndent:
return "StructFieldPtrHeadMarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadOmitEmptyBytesIndent:
return "StructFieldPtrHeadOmitEmptyBytesIndent"
case opStructFieldPtrHeadOmitEmptyMarshalJSONIndent:
return "StructFieldPtrHeadOmitEmptyMarshalJSONIndent"
case opStructFieldPtrHeadOmitEmptyMarshalTextIndent:
return "StructFieldPtrHeadOmitEmptyMarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadBytesIndent:
return "StructFieldPtrAnonymousHeadBytesIndent"
case opStructFieldPtrAnonymousHeadMarshalJSONIndent:
return "StructFieldPtrAnonymousHeadMarshalJSONIndent"
case opStructFieldPtrAnonymousHeadMarshalTextIndent:
return "StructFieldPtrAnonymousHeadMarshalTextIndent"
2020-08-15 12:17:48 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent:
return "StructFieldPtrAnonymousHeadOmitEmptyBytesIndent"
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent:
return "StructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent"
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent:
return "StructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldBytesIndent:
return "StructFieldBytesIndent"
case opStructFieldMarshalJSONIndent:
return "StructFieldMarshalJSONIndent"
case opStructFieldMarshalTextIndent:
return "StructFieldMarshalTextIndent"
2020-08-15 11:41:38 +03:00
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"
2020-08-19 04:34:11 +03:00
case opStructFieldOmitEmptyBytesIndent:
return "StructFieldOmitEmptyBytesIndent"
case opStructFieldOmitEmptyMarshalJSONIndent:
return "StructFieldOmitEmptyMarshalJSONIndent"
case opStructFieldOmitEmptyMarshalTextIndent:
return "StructFieldOmitEmptyMarshalTextIndent"
2020-08-15 11:41:38 +03:00
}
return ""
}
func (t opType) codeType() codeType {
switch t {
case opEnd:
return codeOp
case opInterface:
return codeOp
case opPtr:
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
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmpty:
return codeStructField
case opStructFieldPtrAnonymousHeadOmitEmpty:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opBytes:
return codeOp
case opMarshalJSON:
return codeOp
case opMarshalText:
return codeOp
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytes:
return codeStructField
case opStructFieldHeadMarshalJSON:
return codeStructField
case opStructFieldHeadMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadOmitEmptyBytes:
return codeStructField
case opStructFieldHeadOmitEmptyMarshalJSON:
return codeStructField
case opStructFieldHeadOmitEmptyMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadBytes:
return codeStructField
case opStructFieldAnonymousHeadMarshalJSON:
return codeStructField
case opStructFieldAnonymousHeadMarshalText:
return codeStructField
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadOmitEmptyBytes:
return codeStructField
case opStructFieldAnonymousHeadOmitEmptyMarshalJSON:
return codeStructField
case opStructFieldAnonymousHeadOmitEmptyMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytes:
return codeStructField
case opStructFieldPtrHeadMarshalJSON:
return codeStructField
case opStructFieldPtrHeadMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadOmitEmptyBytes:
return codeStructField
case opStructFieldPtrHeadOmitEmptyMarshalJSON:
return codeStructField
case opStructFieldPtrHeadOmitEmptyMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadBytes:
return codeStructField
case opStructFieldPtrAnonymousHeadMarshalJSON:
return codeStructField
case opStructFieldPtrAnonymousHeadMarshalText:
return codeStructField
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBytes:
return codeStructField
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON:
return codeStructField
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldBytes:
return codeStructField
case opStructFieldMarshalJSON:
return codeStructField
case opStructFieldMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldOmitEmptyBytes:
return codeStructField
case opStructFieldOmitEmptyMarshalJSON:
return codeStructField
case opStructFieldOmitEmptyMarshalText:
return codeStructField
2020-08-15 11:41:38 +03:00
case opEndIndent:
return codeOp
case opInterfaceIndent:
return codeOp
case opPtrIndent:
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
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyIndent:
return codeStructField
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opBytesIndent:
return codeOp
case opMarshalJSONIndent:
return codeOp
case opMarshalTextIndent:
return codeOp
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytesIndent:
return codeStructField
case opStructFieldHeadMarshalJSONIndent:
return codeStructField
case opStructFieldHeadMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadOmitEmptyBytesIndent:
return codeStructField
case opStructFieldHeadOmitEmptyMarshalJSONIndent:
return codeStructField
case opStructFieldHeadOmitEmptyMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadBytesIndent:
return codeStructField
case opStructFieldAnonymousHeadMarshalJSONIndent:
return codeStructField
case opStructFieldAnonymousHeadMarshalTextIndent:
return codeStructField
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadOmitEmptyBytesIndent:
return codeStructField
case opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent:
return codeStructField
case opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytesIndent:
return codeStructField
case opStructFieldPtrHeadMarshalJSONIndent:
return codeStructField
case opStructFieldPtrHeadMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadOmitEmptyBytesIndent:
return codeStructField
case opStructFieldPtrHeadOmitEmptyMarshalJSONIndent:
return codeStructField
case opStructFieldPtrHeadOmitEmptyMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadBytesIndent:
return codeStructField
case opStructFieldPtrAnonymousHeadMarshalJSONIndent:
return codeStructField
case opStructFieldPtrAnonymousHeadMarshalTextIndent:
return codeStructField
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent:
return codeStructField
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent:
return codeStructField
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldBytesIndent:
return codeStructField
case opStructFieldMarshalJSONIndent:
return codeStructField
case opStructFieldMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldOmitEmptyBytesIndent:
return codeStructField
case opStructFieldOmitEmptyMarshalJSONIndent:
return codeStructField
case opStructFieldOmitEmptyMarshalTextIndent:
return codeStructField
2020-08-15 11:41:38 +03:00
}
return codeOp
}
func (t opType) toIndent() opType {
switch t {
case opEnd:
return opEndIndent
case opInterface:
return opInterfaceIndent
case opPtr:
return opPtrIndent
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
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmpty:
return opStructFieldAnonymousHeadOmitEmptyIndent
case opStructFieldPtrAnonymousHeadOmitEmpty:
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opBytes:
return opBytesIndent
case opMarshalJSON:
return opMarshalJSONIndent
case opMarshalText:
return opMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytes:
return opStructFieldHeadBytesIndent
case opStructFieldHeadMarshalJSON:
return opStructFieldHeadMarshalJSONIndent
case opStructFieldHeadMarshalText:
return opStructFieldHeadMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadOmitEmptyBytes:
return opStructFieldHeadOmitEmptyBytesIndent
case opStructFieldHeadOmitEmptyMarshalJSON:
return opStructFieldHeadOmitEmptyMarshalJSONIndent
case opStructFieldHeadOmitEmptyMarshalText:
return opStructFieldHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadBytes:
return opStructFieldAnonymousHeadBytesIndent
case opStructFieldAnonymousHeadMarshalJSON:
return opStructFieldAnonymousHeadMarshalJSONIndent
case opStructFieldAnonymousHeadMarshalText:
return opStructFieldAnonymousHeadMarshalTextIndent
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadOmitEmptyBytes:
return opStructFieldAnonymousHeadOmitEmptyBytesIndent
case opStructFieldAnonymousHeadOmitEmptyMarshalJSON:
return opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldAnonymousHeadOmitEmptyMarshalText:
return opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytes:
return opStructFieldPtrHeadBytesIndent
case opStructFieldPtrHeadMarshalJSON:
return opStructFieldPtrHeadMarshalJSONIndent
case opStructFieldPtrHeadMarshalText:
return opStructFieldPtrHeadMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadOmitEmptyBytes:
return opStructFieldPtrHeadOmitEmptyBytesIndent
case opStructFieldPtrHeadOmitEmptyMarshalJSON:
return opStructFieldPtrHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrHeadOmitEmptyMarshalText:
return opStructFieldPtrHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadBytes:
return opStructFieldPtrAnonymousHeadBytesIndent
case opStructFieldPtrAnonymousHeadMarshalJSON:
return opStructFieldPtrAnonymousHeadMarshalJSONIndent
case opStructFieldPtrAnonymousHeadMarshalText:
return opStructFieldPtrAnonymousHeadMarshalTextIndent
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBytes:
return opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalText:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldBytes:
return opStructFieldBytesIndent
case opStructFieldMarshalJSON:
return opStructFieldMarshalJSONIndent
case opStructFieldMarshalText:
return opStructFieldMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldOmitEmptyBytes:
return opStructFieldOmitEmptyBytesIndent
case opStructFieldOmitEmptyMarshalJSON:
return opStructFieldOmitEmptyMarshalJSONIndent
case opStructFieldOmitEmptyMarshalText:
return opStructFieldOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
case opEndIndent:
return opEndIndent
case opInterfaceIndent:
return opInterfaceIndent
case opPtrIndent:
return opPtrIndent
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
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyIndent:
return opStructFieldAnonymousHeadOmitEmptyIndent
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opBytesIndent:
return opBytesIndent
case opMarshalJSONIndent:
return opMarshalJSONIndent
case opMarshalTextIndent:
return opMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytesIndent:
return opStructFieldHeadBytesIndent
case opStructFieldHeadMarshalJSONIndent:
return opStructFieldHeadMarshalJSONIndent
case opStructFieldHeadMarshalTextIndent:
return opStructFieldHeadMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadOmitEmptyBytesIndent:
return opStructFieldHeadOmitEmptyBytesIndent
case opStructFieldHeadOmitEmptyMarshalJSONIndent:
return opStructFieldHeadOmitEmptyMarshalJSONIndent
case opStructFieldHeadOmitEmptyMarshalTextIndent:
return opStructFieldHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadBytesIndent:
return opStructFieldAnonymousHeadBytesIndent
case opStructFieldAnonymousHeadMarshalJSONIndent:
return opStructFieldAnonymousHeadMarshalJSONIndent
case opStructFieldAnonymousHeadMarshalTextIndent:
return opStructFieldAnonymousHeadMarshalTextIndent
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldAnonymousHeadOmitEmptyBytesIndent:
return opStructFieldAnonymousHeadOmitEmptyBytesIndent
case opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent:
return opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent:
return opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytesIndent:
return opStructFieldPtrHeadBytesIndent
case opStructFieldPtrHeadMarshalJSONIndent:
return opStructFieldPtrHeadMarshalJSONIndent
case opStructFieldPtrHeadMarshalTextIndent:
return opStructFieldPtrHeadMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadOmitEmptyBytesIndent:
return opStructFieldPtrHeadOmitEmptyBytesIndent
case opStructFieldPtrHeadOmitEmptyMarshalJSONIndent:
return opStructFieldPtrHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrHeadOmitEmptyMarshalTextIndent:
return opStructFieldPtrHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadBytesIndent:
return opStructFieldPtrAnonymousHeadBytesIndent
case opStructFieldPtrAnonymousHeadMarshalJSONIndent:
return opStructFieldPtrAnonymousHeadMarshalJSONIndent
case opStructFieldPtrAnonymousHeadMarshalTextIndent:
return opStructFieldPtrAnonymousHeadMarshalTextIndent
2020-08-15 12:17:48 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldBytesIndent:
return opStructFieldBytesIndent
case opStructFieldMarshalJSONIndent:
return opStructFieldMarshalJSONIndent
case opStructFieldMarshalTextIndent:
return opStructFieldMarshalTextIndent
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldOmitEmptyBytesIndent:
return opStructFieldOmitEmptyBytesIndent
case opStructFieldOmitEmptyMarshalJSONIndent:
return opStructFieldOmitEmptyMarshalJSONIndent
case opStructFieldOmitEmptyMarshalTextIndent:
return opStructFieldOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
}
return t
}
func (t opType) headToPtrHead() opType {
switch t {
case opStructFieldHead:
return opStructFieldPtrHead
case opStructFieldAnonymousHead:
return opStructFieldPtrAnonymousHead
case opStructFieldHeadOmitEmpty:
return opStructFieldPtrHeadOmitEmpty
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmpty:
return opStructFieldPtrAnonymousHeadOmitEmpty
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt:
return opStructFieldPtrHeadInt
case opStructFieldAnonymousHeadInt:
return opStructFieldPtrAnonymousHeadInt
case opStructFieldHeadOmitEmptyInt:
return opStructFieldPtrHeadOmitEmptyInt
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt:
return opStructFieldPtrAnonymousHeadOmitEmptyInt
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt8:
return opStructFieldPtrHeadInt8
case opStructFieldAnonymousHeadInt8:
return opStructFieldPtrAnonymousHeadInt8
case opStructFieldHeadOmitEmptyInt8:
return opStructFieldPtrHeadOmitEmptyInt8
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt8:
return opStructFieldPtrAnonymousHeadOmitEmptyInt8
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt16:
return opStructFieldPtrHeadInt16
case opStructFieldAnonymousHeadInt16:
return opStructFieldPtrAnonymousHeadInt16
case opStructFieldHeadOmitEmptyInt16:
return opStructFieldPtrHeadOmitEmptyInt16
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt16:
return opStructFieldPtrAnonymousHeadOmitEmptyInt16
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt32:
return opStructFieldPtrHeadInt32
case opStructFieldAnonymousHeadInt32:
return opStructFieldPtrAnonymousHeadInt32
case opStructFieldHeadOmitEmptyInt32:
return opStructFieldPtrHeadOmitEmptyInt32
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt32:
return opStructFieldPtrAnonymousHeadOmitEmptyInt32
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt64:
return opStructFieldPtrHeadInt64
case opStructFieldAnonymousHeadInt64:
return opStructFieldPtrAnonymousHeadInt64
case opStructFieldHeadOmitEmptyInt64:
return opStructFieldPtrHeadOmitEmptyInt64
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt64:
return opStructFieldPtrAnonymousHeadOmitEmptyInt64
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint:
return opStructFieldPtrHeadUint
case opStructFieldAnonymousHeadUint:
return opStructFieldPtrAnonymousHeadUint
case opStructFieldHeadOmitEmptyUint:
return opStructFieldPtrHeadOmitEmptyUint
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint:
return opStructFieldPtrAnonymousHeadOmitEmptyUint
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint8:
return opStructFieldPtrHeadUint8
case opStructFieldAnonymousHeadUint8:
return opStructFieldPtrAnonymousHeadUint8
case opStructFieldHeadOmitEmptyUint8:
return opStructFieldPtrHeadOmitEmptyUint8
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint8:
return opStructFieldPtrAnonymousHeadOmitEmptyUint8
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint16:
return opStructFieldPtrHeadUint16
case opStructFieldAnonymousHeadUint16:
return opStructFieldPtrAnonymousHeadUint16
case opStructFieldHeadOmitEmptyUint16:
return opStructFieldPtrHeadOmitEmptyUint16
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint16:
return opStructFieldPtrAnonymousHeadOmitEmptyUint16
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint32:
return opStructFieldPtrHeadUint32
case opStructFieldAnonymousHeadUint32:
return opStructFieldPtrAnonymousHeadUint32
case opStructFieldHeadOmitEmptyUint32:
return opStructFieldPtrHeadOmitEmptyUint32
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint32:
return opStructFieldPtrAnonymousHeadOmitEmptyUint32
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint64:
return opStructFieldPtrHeadUint64
case opStructFieldAnonymousHeadUint64:
return opStructFieldPtrAnonymousHeadUint64
case opStructFieldHeadOmitEmptyUint64:
return opStructFieldPtrHeadOmitEmptyUint64
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint64:
return opStructFieldPtrAnonymousHeadOmitEmptyUint64
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat32:
return opStructFieldPtrHeadFloat32
case opStructFieldAnonymousHeadFloat32:
return opStructFieldPtrAnonymousHeadFloat32
case opStructFieldHeadOmitEmptyFloat32:
return opStructFieldPtrHeadOmitEmptyFloat32
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyFloat32:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat64:
return opStructFieldPtrHeadFloat64
case opStructFieldAnonymousHeadFloat64:
return opStructFieldPtrAnonymousHeadFloat64
case opStructFieldHeadOmitEmptyFloat64:
return opStructFieldPtrHeadOmitEmptyFloat64
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyFloat64:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64
2020-08-15 11:41:38 +03:00
case opStructFieldHeadBool:
return opStructFieldPtrHeadBool
case opStructFieldAnonymousHeadBool:
return opStructFieldPtrAnonymousHeadBool
case opStructFieldHeadOmitEmptyBool:
return opStructFieldPtrHeadOmitEmptyBool
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyBool:
return opStructFieldPtrAnonymousHeadOmitEmptyBool
2020-08-15 11:41:38 +03:00
case opStructFieldHeadString:
return opStructFieldPtrHeadString
case opStructFieldAnonymousHeadString:
return opStructFieldPtrAnonymousHeadString
case opStructFieldHeadOmitEmptyString:
return opStructFieldPtrHeadOmitEmptyString
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyString:
return opStructFieldPtrAnonymousHeadOmitEmptyString
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytes:
return opStructFieldPtrHeadBytes
case opStructFieldAnonymousHeadBytes:
return opStructFieldPtrAnonymousHeadBytes
case opStructFieldHeadOmitEmptyBytes:
return opStructFieldPtrHeadOmitEmptyBytes
case opStructFieldAnonymousHeadOmitEmptyBytes:
return opStructFieldPtrAnonymousHeadOmitEmptyBytes
case opStructFieldHeadMarshalJSON:
return opStructFieldPtrHeadMarshalJSON
case opStructFieldAnonymousHeadMarshalJSON:
return opStructFieldPtrAnonymousHeadMarshalJSON
case opStructFieldHeadOmitEmptyMarshalJSON:
return opStructFieldPtrHeadOmitEmptyMarshalJSON
case opStructFieldAnonymousHeadOmitEmptyMarshalJSON:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON
case opStructFieldHeadMarshalText:
return opStructFieldPtrHeadMarshalText
case opStructFieldAnonymousHeadMarshalText:
return opStructFieldPtrAnonymousHeadMarshalText
case opStructFieldHeadOmitEmptyMarshalText:
return opStructFieldPtrHeadOmitEmptyMarshalText
case opStructFieldAnonymousHeadOmitEmptyMarshalText:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalText
2020-08-15 11:41:38 +03:00
case opStructFieldHeadIndent:
return opStructFieldPtrHeadIndent
case opStructFieldAnonymousHeadIndent:
return opStructFieldPtrAnonymousHeadIndent
case opStructFieldHeadOmitEmptyIndent:
return opStructFieldPtrHeadOmitEmptyIndent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadIntIndent:
return opStructFieldPtrHeadIntIndent
case opStructFieldAnonymousHeadIntIndent:
return opStructFieldPtrAnonymousHeadIntIndent
case opStructFieldHeadOmitEmptyIntIndent:
return opStructFieldPtrHeadOmitEmptyIntIndent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyIntIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyIntIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt8Indent:
return opStructFieldPtrHeadInt8Indent
case opStructFieldAnonymousHeadInt8Indent:
return opStructFieldPtrAnonymousHeadInt8Indent
case opStructFieldHeadOmitEmptyInt8Indent:
return opStructFieldPtrHeadOmitEmptyInt8Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt8Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt16Indent:
return opStructFieldPtrHeadInt16Indent
case opStructFieldAnonymousHeadInt16Indent:
return opStructFieldPtrAnonymousHeadInt16Indent
case opStructFieldHeadOmitEmptyInt16Indent:
return opStructFieldPtrHeadOmitEmptyInt16Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt16Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt32Indent:
return opStructFieldPtrHeadInt32Indent
case opStructFieldAnonymousHeadInt32Indent:
return opStructFieldPtrAnonymousHeadInt32Indent
case opStructFieldHeadOmitEmptyInt32Indent:
return opStructFieldPtrHeadOmitEmptyInt32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt32Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt64Indent:
return opStructFieldPtrHeadInt64Indent
case opStructFieldAnonymousHeadInt64Indent:
return opStructFieldPtrAnonymousHeadInt64Indent
case opStructFieldHeadOmitEmptyInt64Indent:
return opStructFieldPtrHeadOmitEmptyInt64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyInt64Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUintIndent:
return opStructFieldPtrHeadUintIndent
case opStructFieldAnonymousHeadUintIndent:
return opStructFieldPtrAnonymousHeadUintIndent
case opStructFieldHeadOmitEmptyUintIndent:
return opStructFieldPtrHeadOmitEmptyUintIndent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUintIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyUintIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint8Indent:
return opStructFieldPtrHeadUint8Indent
case opStructFieldAnonymousHeadUint8Indent:
return opStructFieldPtrAnonymousHeadUint8Indent
case opStructFieldHeadOmitEmptyUint8Indent:
return opStructFieldPtrHeadOmitEmptyUint8Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint8Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint16Indent:
return opStructFieldPtrHeadUint16Indent
case opStructFieldAnonymousHeadUint16Indent:
return opStructFieldPtrAnonymousHeadUint16Indent
case opStructFieldHeadOmitEmptyUint16Indent:
return opStructFieldPtrHeadOmitEmptyUint16Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint16Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint32Indent:
return opStructFieldPtrHeadUint32Indent
case opStructFieldAnonymousHeadUint32Indent:
return opStructFieldPtrAnonymousHeadUint32Indent
case opStructFieldHeadOmitEmptyUint32Indent:
return opStructFieldPtrHeadOmitEmptyUint32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint32Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint64Indent:
return opStructFieldPtrHeadUint64Indent
case opStructFieldAnonymousHeadUint64Indent:
return opStructFieldPtrAnonymousHeadUint64Indent
case opStructFieldHeadOmitEmptyUint64Indent:
return opStructFieldPtrHeadOmitEmptyUint64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyUint64Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat32Indent:
return opStructFieldPtrHeadFloat32Indent
case opStructFieldAnonymousHeadFloat32Indent:
return opStructFieldPtrAnonymousHeadFloat32Indent
case opStructFieldHeadOmitEmptyFloat32Indent:
return opStructFieldPtrHeadOmitEmptyFloat32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyFloat32Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat64Indent:
return opStructFieldPtrHeadFloat64Indent
case opStructFieldAnonymousHeadFloat64Indent:
return opStructFieldPtrAnonymousHeadFloat64Indent
case opStructFieldHeadOmitEmptyFloat64Indent:
return opStructFieldPtrHeadOmitEmptyFloat64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyFloat64Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadBoolIndent:
return opStructFieldPtrHeadBoolIndent
case opStructFieldAnonymousHeadBoolIndent:
return opStructFieldPtrAnonymousHeadBoolIndent
case opStructFieldHeadOmitEmptyBoolIndent:
return opStructFieldPtrHeadOmitEmptyBoolIndent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyBoolIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadStringIndent:
return opStructFieldPtrHeadStringIndent
case opStructFieldAnonymousHeadStringIndent:
return opStructFieldPtrAnonymousHeadStringIndent
case opStructFieldHeadOmitEmptyStringIndent:
return opStructFieldPtrHeadOmitEmptyStringIndent
2020-08-15 12:17:48 +03:00
case opStructFieldAnonymousHeadOmitEmptyStringIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyStringIndent
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytesIndent:
return opStructFieldPtrHeadBytesIndent
case opStructFieldAnonymousHeadBytesIndent:
return opStructFieldPtrAnonymousHeadBytesIndent
case opStructFieldHeadOmitEmptyBytesIndent:
return opStructFieldPtrHeadOmitEmptyBytesIndent
case opStructFieldAnonymousHeadOmitEmptyBytesIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent
case opStructFieldHeadMarshalJSONIndent:
return opStructFieldPtrHeadMarshalJSONIndent
case opStructFieldAnonymousHeadMarshalJSONIndent:
return opStructFieldPtrAnonymousHeadMarshalJSONIndent
case opStructFieldHeadOmitEmptyMarshalJSONIndent:
return opStructFieldPtrHeadOmitEmptyMarshalJSONIndent
case opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldHeadMarshalTextIndent:
return opStructFieldPtrHeadMarshalTextIndent
case opStructFieldAnonymousHeadMarshalTextIndent:
return opStructFieldPtrAnonymousHeadMarshalTextIndent
case opStructFieldHeadOmitEmptyMarshalTextIndent:
return opStructFieldPtrHeadOmitEmptyMarshalTextIndent
case opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
}
return t
}
func (t opType) headToAnonymousHead() opType {
switch t {
case opStructFieldHead:
return opStructFieldAnonymousHead
case opStructFieldPtrHead:
return opStructFieldPtrAnonymousHead
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmpty:
return opStructFieldAnonymousHeadOmitEmpty
case opStructFieldPtrHeadOmitEmpty:
return opStructFieldPtrAnonymousHeadOmitEmpty
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt:
return opStructFieldAnonymousHeadInt
case opStructFieldPtrHeadInt:
return opStructFieldPtrAnonymousHeadInt
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt:
return opStructFieldAnonymousHeadOmitEmptyInt
case opStructFieldPtrHeadOmitEmptyInt:
return opStructFieldPtrAnonymousHeadOmitEmptyInt
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt8:
return opStructFieldAnonymousHeadInt8
case opStructFieldPtrHeadInt8:
return opStructFieldPtrAnonymousHeadInt8
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt8:
return opStructFieldAnonymousHeadOmitEmptyInt8
case opStructFieldPtrHeadOmitEmptyInt8:
return opStructFieldPtrAnonymousHeadOmitEmptyInt8
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt16:
return opStructFieldAnonymousHeadInt16
case opStructFieldPtrHeadInt16:
return opStructFieldPtrAnonymousHeadInt16
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt16:
return opStructFieldAnonymousHeadOmitEmptyInt16
case opStructFieldPtrHeadOmitEmptyInt16:
return opStructFieldPtrAnonymousHeadOmitEmptyInt16
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt32:
return opStructFieldAnonymousHeadInt32
case opStructFieldPtrHeadInt32:
return opStructFieldPtrAnonymousHeadInt32
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt32:
return opStructFieldAnonymousHeadOmitEmptyInt32
case opStructFieldPtrHeadOmitEmptyInt32:
return opStructFieldPtrAnonymousHeadOmitEmptyInt32
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt64:
return opStructFieldAnonymousHeadInt64
case opStructFieldPtrHeadInt64:
return opStructFieldPtrAnonymousHeadInt64
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt64:
return opStructFieldAnonymousHeadOmitEmptyInt64
case opStructFieldPtrHeadOmitEmptyInt64:
return opStructFieldPtrAnonymousHeadOmitEmptyInt64
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint:
return opStructFieldAnonymousHeadUint
case opStructFieldPtrHeadUint:
return opStructFieldPtrAnonymousHeadUint
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint:
return opStructFieldAnonymousHeadOmitEmptyUint
case opStructFieldPtrHeadOmitEmptyUint:
return opStructFieldPtrAnonymousHeadOmitEmptyUint
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint8:
return opStructFieldAnonymousHeadUint8
case opStructFieldPtrHeadUint8:
return opStructFieldPtrAnonymousHeadUint8
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint8:
return opStructFieldAnonymousHeadOmitEmptyUint8
case opStructFieldPtrHeadOmitEmptyUint8:
return opStructFieldPtrAnonymousHeadOmitEmptyUint8
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint16:
return opStructFieldAnonymousHeadUint16
case opStructFieldPtrHeadUint16:
return opStructFieldPtrAnonymousHeadUint16
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint16:
return opStructFieldAnonymousHeadOmitEmptyUint16
case opStructFieldPtrHeadOmitEmptyUint16:
return opStructFieldPtrAnonymousHeadOmitEmptyUint16
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint32:
return opStructFieldAnonymousHeadUint32
case opStructFieldPtrHeadUint32:
return opStructFieldPtrAnonymousHeadUint32
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint32:
return opStructFieldAnonymousHeadOmitEmptyUint32
case opStructFieldPtrHeadOmitEmptyUint32:
return opStructFieldPtrAnonymousHeadOmitEmptyUint32
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint64:
return opStructFieldAnonymousHeadUint64
case opStructFieldPtrHeadUint64:
return opStructFieldPtrAnonymousHeadUint64
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint64:
return opStructFieldAnonymousHeadOmitEmptyUint64
case opStructFieldPtrHeadOmitEmptyUint64:
return opStructFieldPtrAnonymousHeadOmitEmptyUint64
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat32:
return opStructFieldAnonymousHeadFloat32
case opStructFieldPtrHeadFloat32:
return opStructFieldPtrAnonymousHeadFloat32
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyFloat32:
return opStructFieldAnonymousHeadOmitEmptyFloat32
case opStructFieldPtrHeadOmitEmptyFloat32:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat64:
return opStructFieldAnonymousHeadFloat64
case opStructFieldPtrHeadFloat64:
return opStructFieldPtrAnonymousHeadFloat64
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyFloat64:
return opStructFieldAnonymousHeadOmitEmptyFloat64
case opStructFieldPtrHeadOmitEmptyFloat64:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64
2020-08-15 11:41:38 +03:00
case opStructFieldHeadBool:
return opStructFieldAnonymousHeadBool
case opStructFieldPtrHeadBool:
return opStructFieldPtrAnonymousHeadBool
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyBool:
return opStructFieldAnonymousHeadOmitEmptyBool
case opStructFieldPtrHeadOmitEmptyBool:
return opStructFieldPtrAnonymousHeadOmitEmptyBool
2020-08-15 11:41:38 +03:00
case opStructFieldHeadString:
return opStructFieldAnonymousHeadString
case opStructFieldPtrHeadString:
return opStructFieldPtrAnonymousHeadString
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyString:
return opStructFieldAnonymousHeadOmitEmptyString
case opStructFieldPtrHeadOmitEmptyString:
return opStructFieldPtrAnonymousHeadOmitEmptyString
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytes:
return opStructFieldAnonymousHeadBytes
case opStructFieldPtrHeadBytes:
return opStructFieldPtrAnonymousHeadBytes
case opStructFieldHeadOmitEmptyBytes:
return opStructFieldAnonymousHeadOmitEmptyBytes
case opStructFieldPtrHeadOmitEmptyBytes:
return opStructFieldPtrAnonymousHeadOmitEmptyBytes
case opStructFieldHeadMarshalJSON:
return opStructFieldAnonymousHeadMarshalJSON
case opStructFieldPtrHeadMarshalJSON:
return opStructFieldPtrAnonymousHeadMarshalJSON
case opStructFieldHeadOmitEmptyMarshalJSON:
return opStructFieldAnonymousHeadOmitEmptyMarshalJSON
case opStructFieldPtrHeadOmitEmptyMarshalJSON:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON
case opStructFieldHeadMarshalText:
return opStructFieldAnonymousHeadMarshalText
case opStructFieldPtrHeadMarshalText:
return opStructFieldPtrAnonymousHeadMarshalText
case opStructFieldHeadOmitEmptyMarshalText:
return opStructFieldAnonymousHeadOmitEmptyMarshalText
case opStructFieldPtrHeadOmitEmptyMarshalText:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalText
2020-08-15 11:41:38 +03:00
case opStructFieldHeadIndent:
return opStructFieldAnonymousHeadIndent
case opStructFieldPtrHeadIndent:
return opStructFieldPtrAnonymousHeadIndent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyIndent:
return opStructFieldAnonymousHeadOmitEmptyIndent
case opStructFieldPtrHeadOmitEmptyIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadIntIndent:
return opStructFieldAnonymousHeadIntIndent
case opStructFieldPtrHeadIntIndent:
return opStructFieldPtrAnonymousHeadIntIndent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyIntIndent:
return opStructFieldAnonymousHeadOmitEmptyIntIndent
case opStructFieldPtrHeadOmitEmptyIntIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyIntIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt8Indent:
return opStructFieldAnonymousHeadInt8Indent
case opStructFieldPtrHeadInt8Indent:
return opStructFieldPtrAnonymousHeadInt8Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt8Indent:
return opStructFieldAnonymousHeadOmitEmptyInt8Indent
case opStructFieldPtrHeadOmitEmptyInt8Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt16Indent:
return opStructFieldAnonymousHeadInt16Indent
case opStructFieldPtrHeadInt16Indent:
return opStructFieldPtrAnonymousHeadInt16Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt16Indent:
return opStructFieldAnonymousHeadOmitEmptyInt16Indent
case opStructFieldPtrHeadOmitEmptyInt16Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt32Indent:
return opStructFieldAnonymousHeadInt32Indent
case opStructFieldPtrHeadInt32Indent:
return opStructFieldPtrAnonymousHeadInt32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt32Indent:
return opStructFieldAnonymousHeadOmitEmptyInt32Indent
case opStructFieldPtrHeadOmitEmptyInt32Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadInt64Indent:
return opStructFieldAnonymousHeadInt64Indent
case opStructFieldPtrHeadInt64Indent:
return opStructFieldPtrAnonymousHeadInt64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyInt64Indent:
return opStructFieldAnonymousHeadOmitEmptyInt64Indent
case opStructFieldPtrHeadOmitEmptyInt64Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUintIndent:
return opStructFieldAnonymousHeadUintIndent
case opStructFieldPtrHeadUintIndent:
return opStructFieldPtrAnonymousHeadUintIndent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUintIndent:
return opStructFieldAnonymousHeadOmitEmptyUintIndent
case opStructFieldPtrHeadOmitEmptyUintIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyUintIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint8Indent:
return opStructFieldAnonymousHeadUint8Indent
case opStructFieldPtrHeadUint8Indent:
return opStructFieldPtrAnonymousHeadUint8Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint8Indent:
return opStructFieldAnonymousHeadOmitEmptyUint8Indent
case opStructFieldPtrHeadOmitEmptyUint8Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint16Indent:
return opStructFieldAnonymousHeadUint16Indent
case opStructFieldPtrHeadUint16Indent:
return opStructFieldPtrAnonymousHeadUint16Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint16Indent:
return opStructFieldAnonymousHeadOmitEmptyUint16Indent
case opStructFieldPtrHeadOmitEmptyUint16Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint32Indent:
return opStructFieldAnonymousHeadUint32Indent
case opStructFieldPtrHeadUint32Indent:
return opStructFieldPtrAnonymousHeadUint32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint32Indent:
return opStructFieldAnonymousHeadOmitEmptyUint32Indent
case opStructFieldPtrHeadOmitEmptyUint32Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadUint64Indent:
return opStructFieldAnonymousHeadUint64Indent
case opStructFieldPtrHeadUint64Indent:
return opStructFieldPtrAnonymousHeadUint64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyUint64Indent:
return opStructFieldAnonymousHeadOmitEmptyUint64Indent
case opStructFieldPtrHeadOmitEmptyUint64Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat32Indent:
return opStructFieldAnonymousHeadFloat32Indent
case opStructFieldPtrHeadFloat32Indent:
return opStructFieldPtrAnonymousHeadFloat32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyFloat32Indent:
return opStructFieldAnonymousHeadOmitEmptyFloat32Indent
case opStructFieldPtrHeadOmitEmptyFloat32Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadFloat64Indent:
return opStructFieldAnonymousHeadFloat64Indent
case opStructFieldPtrHeadFloat64Indent:
return opStructFieldPtrAnonymousHeadFloat64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyFloat64Indent:
return opStructFieldAnonymousHeadOmitEmptyFloat64Indent
case opStructFieldPtrHeadOmitEmptyFloat64Indent:
return opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadBoolIndent:
return opStructFieldAnonymousHeadBoolIndent
case opStructFieldPtrHeadBoolIndent:
return opStructFieldPtrAnonymousHeadBoolIndent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyBoolIndent:
return opStructFieldAnonymousHeadOmitEmptyBoolIndent
case opStructFieldPtrHeadOmitEmptyBoolIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent
2020-08-15 11:41:38 +03:00
case opStructFieldHeadStringIndent:
return opStructFieldAnonymousHeadStringIndent
case opStructFieldPtrHeadStringIndent:
return opStructFieldPtrAnonymousHeadStringIndent
2020-08-15 12:17:48 +03:00
case opStructFieldHeadOmitEmptyStringIndent:
return opStructFieldAnonymousHeadOmitEmptyStringIndent
case opStructFieldPtrHeadOmitEmptyStringIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyStringIndent
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytesIndent:
return opStructFieldAnonymousHeadBytesIndent
case opStructFieldPtrHeadBytesIndent:
return opStructFieldPtrAnonymousHeadBytesIndent
case opStructFieldHeadOmitEmptyBytesIndent:
return opStructFieldAnonymousHeadOmitEmptyBytesIndent
case opStructFieldPtrHeadOmitEmptyBytesIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent
case opStructFieldHeadMarshalJSONIndent:
return opStructFieldAnonymousHeadMarshalJSONIndent
case opStructFieldPtrHeadMarshalJSONIndent:
return opStructFieldPtrAnonymousHeadMarshalJSONIndent
case opStructFieldHeadOmitEmptyMarshalJSONIndent:
return opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrHeadOmitEmptyMarshalJSONIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldHeadMarshalTextIndent:
return opStructFieldAnonymousHeadMarshalTextIndent
case opStructFieldPtrHeadMarshalTextIndent:
return opStructFieldPtrAnonymousHeadMarshalTextIndent
case opStructFieldHeadOmitEmptyMarshalTextIndent:
return opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent
case opStructFieldPtrHeadOmitEmptyMarshalTextIndent:
return opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
}
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytes:
return opStructFieldHeadOmitEmptyBytes
case opStructFieldPtrHeadBytes:
return opStructFieldPtrHeadOmitEmptyBytes
case opStructFieldHeadMarshalJSON:
return opStructFieldHeadOmitEmptyMarshalJSON
case opStructFieldPtrHeadMarshalJSON:
return opStructFieldPtrHeadOmitEmptyMarshalJSON
case opStructFieldHeadMarshalText:
return opStructFieldHeadOmitEmptyMarshalText
case opStructFieldPtrHeadMarshalText:
return opStructFieldPtrHeadOmitEmptyMarshalText
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldHeadBytesIndent:
return opStructFieldHeadOmitEmptyBytesIndent
case opStructFieldPtrHeadBytesIndent:
return opStructFieldPtrHeadOmitEmptyBytesIndent
case opStructFieldHeadMarshalJSONIndent:
return opStructFieldHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrHeadMarshalJSONIndent:
return opStructFieldPtrHeadOmitEmptyMarshalJSONIndent
case opStructFieldHeadMarshalTextIndent:
return opStructFieldHeadOmitEmptyMarshalTextIndent
case opStructFieldPtrHeadMarshalTextIndent:
return opStructFieldPtrHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
}
return t
}
func (t opType) ptrHeadToHead() opType {
switch t {
case opStructFieldPtrHead:
return opStructFieldHead
case opStructFieldPtrAnonymousHead:
return opStructFieldAnonymousHead
case opStructFieldPtrHeadOmitEmpty:
return opStructFieldHeadOmitEmpty
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmpty:
return opStructFieldAnonymousHeadOmitEmpty
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt:
return opStructFieldHeadInt
case opStructFieldPtrAnonymousHeadInt:
return opStructFieldAnonymousHeadInt
case opStructFieldPtrHeadOmitEmptyInt:
return opStructFieldHeadOmitEmptyInt
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt:
return opStructFieldAnonymousHeadOmitEmptyInt
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt8:
return opStructFieldHeadInt8
case opStructFieldPtrAnonymousHeadInt8:
return opStructFieldAnonymousHeadInt8
case opStructFieldPtrHeadOmitEmptyInt8:
return opStructFieldHeadOmitEmptyInt8
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt8:
return opStructFieldAnonymousHeadOmitEmptyInt8
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt16:
return opStructFieldHeadInt16
case opStructFieldPtrAnonymousHeadInt16:
return opStructFieldAnonymousHeadInt16
case opStructFieldPtrHeadOmitEmptyInt16:
return opStructFieldHeadOmitEmptyInt16
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt16:
return opStructFieldAnonymousHeadOmitEmptyInt16
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt32:
return opStructFieldHeadInt32
case opStructFieldPtrAnonymousHeadInt32:
return opStructFieldAnonymousHeadInt32
case opStructFieldPtrHeadOmitEmptyInt32:
return opStructFieldHeadOmitEmptyInt32
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt32:
return opStructFieldAnonymousHeadOmitEmptyInt32
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt64:
return opStructFieldHeadInt64
case opStructFieldPtrAnonymousHeadInt64:
return opStructFieldAnonymousHeadInt64
case opStructFieldPtrHeadOmitEmptyInt64:
return opStructFieldHeadOmitEmptyInt64
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt64:
return opStructFieldAnonymousHeadOmitEmptyInt64
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint:
return opStructFieldHeadUint
case opStructFieldPtrAnonymousHeadUint:
return opStructFieldAnonymousHeadUint
case opStructFieldPtrHeadOmitEmptyUint:
return opStructFieldHeadOmitEmptyUint
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint:
return opStructFieldAnonymousHeadOmitEmptyUint
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint8:
return opStructFieldHeadUint8
case opStructFieldPtrAnonymousHeadUint8:
return opStructFieldAnonymousHeadUint8
case opStructFieldPtrHeadOmitEmptyUint8:
return opStructFieldHeadOmitEmptyUint8
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint8:
return opStructFieldAnonymousHeadOmitEmptyUint8
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint16:
return opStructFieldHeadUint16
case opStructFieldPtrAnonymousHeadUint16:
return opStructFieldAnonymousHeadUint16
case opStructFieldPtrHeadOmitEmptyUint16:
return opStructFieldHeadOmitEmptyUint16
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint16:
return opStructFieldAnonymousHeadOmitEmptyUint16
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint32:
return opStructFieldHeadUint32
case opStructFieldPtrAnonymousHeadUint32:
return opStructFieldAnonymousHeadUint32
case opStructFieldPtrHeadOmitEmptyUint32:
return opStructFieldHeadOmitEmptyUint32
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint32:
return opStructFieldAnonymousHeadOmitEmptyUint32
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint64:
return opStructFieldHeadUint64
case opStructFieldPtrAnonymousHeadUint64:
return opStructFieldAnonymousHeadUint64
case opStructFieldPtrHeadOmitEmptyUint64:
return opStructFieldHeadOmitEmptyUint64
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint64:
return opStructFieldAnonymousHeadOmitEmptyUint64
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadFloat32:
return opStructFieldHeadFloat32
case opStructFieldPtrAnonymousHeadFloat32:
return opStructFieldAnonymousHeadFloat32
case opStructFieldPtrHeadOmitEmptyFloat32:
return opStructFieldHeadOmitEmptyFloat32
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32:
return opStructFieldAnonymousHeadOmitEmptyFloat32
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadFloat64:
return opStructFieldHeadFloat64
case opStructFieldPtrAnonymousHeadFloat64:
return opStructFieldAnonymousHeadFloat64
case opStructFieldPtrHeadOmitEmptyFloat64:
return opStructFieldHeadOmitEmptyFloat64
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64:
return opStructFieldAnonymousHeadOmitEmptyFloat64
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadBool:
return opStructFieldHeadBool
case opStructFieldPtrAnonymousHeadBool:
return opStructFieldAnonymousHeadBool
case opStructFieldPtrHeadOmitEmptyBool:
return opStructFieldHeadOmitEmptyBool
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBool:
return opStructFieldAnonymousHeadOmitEmptyBool
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadString:
return opStructFieldHeadString
case opStructFieldPtrAnonymousHeadString:
return opStructFieldAnonymousHeadString
case opStructFieldPtrHeadOmitEmptyString:
return opStructFieldHeadOmitEmptyString
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyString:
return opStructFieldAnonymousHeadOmitEmptyString
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytes:
return opStructFieldHeadBytes
case opStructFieldPtrAnonymousHeadBytes:
return opStructFieldAnonymousHeadBytes
case opStructFieldPtrHeadOmitEmptyBytes:
return opStructFieldHeadOmitEmptyBytes
case opStructFieldPtrAnonymousHeadOmitEmptyBytes:
return opStructFieldAnonymousHeadOmitEmptyBytes
case opStructFieldPtrHeadMarshalJSON:
return opStructFieldHeadMarshalJSON
case opStructFieldPtrAnonymousHeadMarshalJSON:
return opStructFieldAnonymousHeadMarshalJSON
case opStructFieldPtrHeadOmitEmptyMarshalJSON:
return opStructFieldHeadOmitEmptyMarshalJSON
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON:
return opStructFieldAnonymousHeadOmitEmptyMarshalJSON
case opStructFieldPtrHeadMarshalText:
return opStructFieldHeadMarshalText
case opStructFieldPtrAnonymousHeadMarshalText:
return opStructFieldAnonymousHeadMarshalText
case opStructFieldPtrHeadOmitEmptyMarshalText:
return opStructFieldHeadOmitEmptyMarshalText
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalText:
return opStructFieldAnonymousHeadOmitEmptyMarshalText
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadIndent:
return opStructFieldHeadIndent
case opStructFieldPtrAnonymousHeadIndent:
return opStructFieldAnonymousHeadIndent
case opStructFieldPtrHeadOmitEmptyIndent:
return opStructFieldHeadOmitEmptyIndent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyIndent:
return opStructFieldAnonymousHeadOmitEmptyIndent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadIntIndent:
return opStructFieldHeadIntIndent
case opStructFieldPtrAnonymousHeadIntIndent:
return opStructFieldAnonymousHeadIntIndent
case opStructFieldPtrHeadOmitEmptyIntIndent:
return opStructFieldHeadOmitEmptyIntIndent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyIntIndent:
return opStructFieldAnonymousHeadOmitEmptyIntIndent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt8Indent:
return opStructFieldHeadInt8Indent
case opStructFieldPtrAnonymousHeadInt8Indent:
return opStructFieldAnonymousHeadInt8Indent
case opStructFieldPtrHeadOmitEmptyInt8Indent:
return opStructFieldHeadOmitEmptyInt8Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt8Indent:
return opStructFieldAnonymousHeadOmitEmptyInt8Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt16Indent:
return opStructFieldHeadInt16Indent
case opStructFieldPtrAnonymousHeadInt16Indent:
return opStructFieldAnonymousHeadInt16Indent
case opStructFieldPtrHeadOmitEmptyInt16Indent:
return opStructFieldHeadOmitEmptyInt16Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt16Indent:
return opStructFieldAnonymousHeadOmitEmptyInt16Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt32Indent:
return opStructFieldHeadInt32Indent
case opStructFieldPtrAnonymousHeadInt32Indent:
return opStructFieldAnonymousHeadInt32Indent
case opStructFieldPtrHeadOmitEmptyInt32Indent:
return opStructFieldHeadOmitEmptyInt32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt32Indent:
return opStructFieldAnonymousHeadOmitEmptyInt32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadInt64Indent:
return opStructFieldHeadInt64Indent
case opStructFieldPtrAnonymousHeadInt64Indent:
return opStructFieldAnonymousHeadInt64Indent
case opStructFieldPtrHeadOmitEmptyInt64Indent:
return opStructFieldHeadOmitEmptyInt64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyInt64Indent:
return opStructFieldAnonymousHeadOmitEmptyInt64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUintIndent:
return opStructFieldHeadUintIndent
case opStructFieldPtrAnonymousHeadUintIndent:
return opStructFieldAnonymousHeadUintIndent
case opStructFieldPtrHeadOmitEmptyUintIndent:
return opStructFieldHeadOmitEmptyUintIndent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUintIndent:
return opStructFieldAnonymousHeadOmitEmptyUintIndent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint8Indent:
return opStructFieldHeadUint8Indent
case opStructFieldPtrAnonymousHeadUint8Indent:
return opStructFieldAnonymousHeadUint8Indent
case opStructFieldPtrHeadOmitEmptyUint8Indent:
return opStructFieldHeadOmitEmptyUint8Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint8Indent:
return opStructFieldAnonymousHeadOmitEmptyUint8Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint16Indent:
return opStructFieldHeadUint16Indent
case opStructFieldPtrAnonymousHeadUint16Indent:
return opStructFieldAnonymousHeadUint16Indent
case opStructFieldPtrHeadOmitEmptyUint16Indent:
return opStructFieldHeadOmitEmptyUint16Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint16Indent:
return opStructFieldAnonymousHeadOmitEmptyUint16Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint32Indent:
return opStructFieldHeadUint32Indent
case opStructFieldPtrAnonymousHeadUint32Indent:
return opStructFieldAnonymousHeadUint32Indent
case opStructFieldPtrHeadOmitEmptyUint32Indent:
return opStructFieldHeadOmitEmptyUint32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint32Indent:
return opStructFieldAnonymousHeadOmitEmptyUint32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadUint64Indent:
return opStructFieldHeadUint64Indent
case opStructFieldPtrAnonymousHeadUint64Indent:
return opStructFieldAnonymousHeadUint64Indent
case opStructFieldPtrHeadOmitEmptyUint64Indent:
return opStructFieldHeadOmitEmptyUint64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyUint64Indent:
return opStructFieldAnonymousHeadOmitEmptyUint64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadFloat32Indent:
return opStructFieldHeadFloat32Indent
case opStructFieldPtrAnonymousHeadFloat32Indent:
return opStructFieldAnonymousHeadFloat32Indent
case opStructFieldPtrHeadOmitEmptyFloat32Indent:
return opStructFieldHeadOmitEmptyFloat32Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyFloat32Indent:
return opStructFieldAnonymousHeadOmitEmptyFloat32Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadFloat64Indent:
return opStructFieldHeadFloat64Indent
case opStructFieldPtrAnonymousHeadFloat64Indent:
return opStructFieldAnonymousHeadFloat64Indent
case opStructFieldPtrHeadOmitEmptyFloat64Indent:
return opStructFieldHeadOmitEmptyFloat64Indent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyFloat64Indent:
return opStructFieldAnonymousHeadOmitEmptyFloat64Indent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadBoolIndent:
return opStructFieldHeadBoolIndent
case opStructFieldPtrAnonymousHeadBoolIndent:
return opStructFieldAnonymousHeadBoolIndent
case opStructFieldPtrHeadOmitEmptyBoolIndent:
return opStructFieldHeadOmitEmptyBoolIndent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyBoolIndent:
return opStructFieldAnonymousHeadOmitEmptyBoolIndent
2020-08-15 11:41:38 +03:00
case opStructFieldPtrHeadStringIndent:
return opStructFieldHeadStringIndent
case opStructFieldPtrAnonymousHeadStringIndent:
return opStructFieldAnonymousHeadStringIndent
case opStructFieldPtrHeadOmitEmptyStringIndent:
return opStructFieldHeadOmitEmptyStringIndent
2020-08-15 12:17:48 +03:00
case opStructFieldPtrAnonymousHeadOmitEmptyStringIndent:
return opStructFieldAnonymousHeadOmitEmptyStringIndent
2020-08-19 04:34:11 +03:00
case opStructFieldPtrHeadBytesIndent:
return opStructFieldHeadBytesIndent
case opStructFieldPtrAnonymousHeadBytesIndent:
return opStructFieldAnonymousHeadBytesIndent
case opStructFieldPtrHeadOmitEmptyBytesIndent:
return opStructFieldHeadOmitEmptyBytesIndent
case opStructFieldPtrAnonymousHeadOmitEmptyBytesIndent:
return opStructFieldAnonymousHeadOmitEmptyBytesIndent
case opStructFieldPtrHeadMarshalJSONIndent:
return opStructFieldHeadMarshalJSONIndent
case opStructFieldPtrAnonymousHeadMarshalJSONIndent:
return opStructFieldAnonymousHeadMarshalJSONIndent
case opStructFieldPtrHeadOmitEmptyMarshalJSONIndent:
return opStructFieldHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSONIndent:
return opStructFieldAnonymousHeadOmitEmptyMarshalJSONIndent
case opStructFieldPtrHeadMarshalTextIndent:
return opStructFieldHeadMarshalTextIndent
case opStructFieldPtrAnonymousHeadMarshalTextIndent:
return opStructFieldAnonymousHeadMarshalTextIndent
case opStructFieldPtrHeadOmitEmptyMarshalTextIndent:
return opStructFieldHeadOmitEmptyMarshalTextIndent
case opStructFieldPtrAnonymousHeadOmitEmptyMarshalTextIndent:
return opStructFieldAnonymousHeadOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
}
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
2020-08-19 04:34:11 +03:00
case opStructFieldBytes:
return opStructFieldOmitEmptyBytes
case opStructFieldMarshalJSON:
return opStructFieldOmitEmptyMarshalJSON
case opStructFieldMarshalText:
return opStructFieldOmitEmptyMarshalText
2020-08-15 11:41:38 +03:00
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
2020-08-19 04:34:11 +03:00
case opStructFieldBytesIndent:
return opStructFieldOmitEmptyBytesIndent
case opStructFieldMarshalJSONIndent:
return opStructFieldOmitEmptyMarshalJSONIndent
case opStructFieldMarshalTextIndent:
return opStructFieldOmitEmptyMarshalTextIndent
2020-08-15 11:41:38 +03:00
}
return t
}