go-json/encode_optype.go

1963 lines
89 KiB
Go
Raw Normal View History

2020-08-15 11:41:38 +03:00
// Code generated by cmd/generator. DO NOT EDIT!
package json
2021-01-10 14:21:58 +03:00
import (
"strings"
)
2020-08-15 11:41:38 +03:00
type codeType int
const (
2020-11-12 18:27:11 +03:00
codeOp codeType = 0
codeArrayHead codeType = 1
codeArrayElem codeType = 2
codeSliceHead codeType = 3
codeSliceElem codeType = 4
codeMapHead codeType = 5
codeMapKey codeType = 6
codeMapValue codeType = 7
codeMapEnd codeType = 8
codeStructFieldRecursive codeType = 9
codeStructField codeType = 10
2020-12-29 18:13:45 +03:00
codeStructEnd codeType = 11
2020-08-15 11:41:38 +03:00
)
2021-02-23 10:16:44 +03:00
var opTypeStrings = [818]string{
2021-01-17 16:23:28 +03:00
"End",
"Interface",
"Ptr",
"NPtr",
"SliceHead",
"RootSliceHead",
"SliceElem",
"RootSliceElem",
"SliceEnd",
"ArrayHead",
"ArrayElem",
"ArrayEnd",
"MapHead",
"MapHeadLoad",
"MapKey",
"MapValue",
"MapEnd",
"StructFieldRecursiveEnd",
"StructAnonymousEnd",
"Int",
"Uint",
"Float32",
"Float64",
"Bool",
"String",
"Bytes",
"Array",
"Map",
"MapLoad",
"Slice",
"Struct",
"MarshalJSON",
"MarshalText",
"Recursive",
"IntString",
"UintString",
"IntPtr",
"UintPtr",
"Float32Ptr",
"Float64Ptr",
"BoolPtr",
"StringPtr",
"BytesPtr",
"IntNPtr",
"UintNPtr",
"Float32NPtr",
"Float64NPtr",
"BoolNPtr",
"StringNPtr",
"BytesNPtr",
"StructFieldHeadInt",
"StructFieldHeadOmitEmptyInt",
"StructFieldHeadStringTagInt",
"StructFieldAnonymousHeadInt",
"StructFieldAnonymousHeadOmitEmptyInt",
"StructFieldAnonymousHeadStringTagInt",
"StructFieldPtrHeadInt",
"StructFieldPtrHeadOmitEmptyInt",
"StructFieldPtrHeadStringTagInt",
"StructFieldPtrAnonymousHeadInt",
"StructFieldPtrAnonymousHeadOmitEmptyInt",
"StructFieldPtrAnonymousHeadStringTagInt",
"StructFieldNPtrHeadInt",
"StructFieldNPtrHeadOmitEmptyInt",
"StructFieldNPtrHeadStringTagInt",
"StructFieldNPtrAnonymousHeadInt",
"StructFieldNPtrAnonymousHeadOmitEmptyInt",
"StructFieldNPtrAnonymousHeadStringTagInt",
"StructFieldHeadUint",
"StructFieldHeadOmitEmptyUint",
"StructFieldHeadStringTagUint",
"StructFieldAnonymousHeadUint",
"StructFieldAnonymousHeadOmitEmptyUint",
"StructFieldAnonymousHeadStringTagUint",
"StructFieldPtrHeadUint",
"StructFieldPtrHeadOmitEmptyUint",
"StructFieldPtrHeadStringTagUint",
"StructFieldPtrAnonymousHeadUint",
"StructFieldPtrAnonymousHeadOmitEmptyUint",
"StructFieldPtrAnonymousHeadStringTagUint",
"StructFieldNPtrHeadUint",
"StructFieldNPtrHeadOmitEmptyUint",
"StructFieldNPtrHeadStringTagUint",
"StructFieldNPtrAnonymousHeadUint",
"StructFieldNPtrAnonymousHeadOmitEmptyUint",
"StructFieldNPtrAnonymousHeadStringTagUint",
"StructFieldHeadFloat32",
"StructFieldHeadOmitEmptyFloat32",
"StructFieldHeadStringTagFloat32",
"StructFieldAnonymousHeadFloat32",
"StructFieldAnonymousHeadOmitEmptyFloat32",
"StructFieldAnonymousHeadStringTagFloat32",
"StructFieldPtrHeadFloat32",
"StructFieldPtrHeadOmitEmptyFloat32",
"StructFieldPtrHeadStringTagFloat32",
"StructFieldPtrAnonymousHeadFloat32",
"StructFieldPtrAnonymousHeadOmitEmptyFloat32",
"StructFieldPtrAnonymousHeadStringTagFloat32",
"StructFieldNPtrHeadFloat32",
"StructFieldNPtrHeadOmitEmptyFloat32",
"StructFieldNPtrHeadStringTagFloat32",
"StructFieldNPtrAnonymousHeadFloat32",
"StructFieldNPtrAnonymousHeadOmitEmptyFloat32",
"StructFieldNPtrAnonymousHeadStringTagFloat32",
"StructFieldHeadFloat64",
"StructFieldHeadOmitEmptyFloat64",
"StructFieldHeadStringTagFloat64",
"StructFieldAnonymousHeadFloat64",
"StructFieldAnonymousHeadOmitEmptyFloat64",
"StructFieldAnonymousHeadStringTagFloat64",
"StructFieldPtrHeadFloat64",
"StructFieldPtrHeadOmitEmptyFloat64",
"StructFieldPtrHeadStringTagFloat64",
"StructFieldPtrAnonymousHeadFloat64",
"StructFieldPtrAnonymousHeadOmitEmptyFloat64",
"StructFieldPtrAnonymousHeadStringTagFloat64",
"StructFieldNPtrHeadFloat64",
"StructFieldNPtrHeadOmitEmptyFloat64",
"StructFieldNPtrHeadStringTagFloat64",
"StructFieldNPtrAnonymousHeadFloat64",
"StructFieldNPtrAnonymousHeadOmitEmptyFloat64",
"StructFieldNPtrAnonymousHeadStringTagFloat64",
"StructFieldHeadBool",
"StructFieldHeadOmitEmptyBool",
"StructFieldHeadStringTagBool",
"StructFieldAnonymousHeadBool",
"StructFieldAnonymousHeadOmitEmptyBool",
"StructFieldAnonymousHeadStringTagBool",
"StructFieldPtrHeadBool",
"StructFieldPtrHeadOmitEmptyBool",
"StructFieldPtrHeadStringTagBool",
"StructFieldPtrAnonymousHeadBool",
"StructFieldPtrAnonymousHeadOmitEmptyBool",
"StructFieldPtrAnonymousHeadStringTagBool",
"StructFieldNPtrHeadBool",
"StructFieldNPtrHeadOmitEmptyBool",
"StructFieldNPtrHeadStringTagBool",
"StructFieldNPtrAnonymousHeadBool",
"StructFieldNPtrAnonymousHeadOmitEmptyBool",
"StructFieldNPtrAnonymousHeadStringTagBool",
"StructFieldHeadString",
"StructFieldHeadOmitEmptyString",
"StructFieldHeadStringTagString",
"StructFieldAnonymousHeadString",
"StructFieldAnonymousHeadOmitEmptyString",
"StructFieldAnonymousHeadStringTagString",
"StructFieldPtrHeadString",
"StructFieldPtrHeadOmitEmptyString",
"StructFieldPtrHeadStringTagString",
"StructFieldPtrAnonymousHeadString",
"StructFieldPtrAnonymousHeadOmitEmptyString",
"StructFieldPtrAnonymousHeadStringTagString",
"StructFieldNPtrHeadString",
"StructFieldNPtrHeadOmitEmptyString",
"StructFieldNPtrHeadStringTagString",
"StructFieldNPtrAnonymousHeadString",
"StructFieldNPtrAnonymousHeadOmitEmptyString",
"StructFieldNPtrAnonymousHeadStringTagString",
"StructFieldHeadBytes",
"StructFieldHeadOmitEmptyBytes",
"StructFieldHeadStringTagBytes",
"StructFieldAnonymousHeadBytes",
"StructFieldAnonymousHeadOmitEmptyBytes",
"StructFieldAnonymousHeadStringTagBytes",
"StructFieldPtrHeadBytes",
"StructFieldPtrHeadOmitEmptyBytes",
"StructFieldPtrHeadStringTagBytes",
"StructFieldPtrAnonymousHeadBytes",
"StructFieldPtrAnonymousHeadOmitEmptyBytes",
"StructFieldPtrAnonymousHeadStringTagBytes",
"StructFieldNPtrHeadBytes",
"StructFieldNPtrHeadOmitEmptyBytes",
"StructFieldNPtrHeadStringTagBytes",
"StructFieldNPtrAnonymousHeadBytes",
"StructFieldNPtrAnonymousHeadOmitEmptyBytes",
"StructFieldNPtrAnonymousHeadStringTagBytes",
"StructFieldHeadArray",
"StructFieldHeadOmitEmptyArray",
"StructFieldHeadStringTagArray",
"StructFieldAnonymousHeadArray",
"StructFieldAnonymousHeadOmitEmptyArray",
"StructFieldAnonymousHeadStringTagArray",
"StructFieldPtrHeadArray",
"StructFieldPtrHeadOmitEmptyArray",
"StructFieldPtrHeadStringTagArray",
"StructFieldPtrAnonymousHeadArray",
"StructFieldPtrAnonymousHeadOmitEmptyArray",
"StructFieldPtrAnonymousHeadStringTagArray",
"StructFieldNPtrHeadArray",
"StructFieldNPtrHeadOmitEmptyArray",
"StructFieldNPtrHeadStringTagArray",
"StructFieldNPtrAnonymousHeadArray",
"StructFieldNPtrAnonymousHeadOmitEmptyArray",
"StructFieldNPtrAnonymousHeadStringTagArray",
"StructFieldHeadMap",
"StructFieldHeadOmitEmptyMap",
"StructFieldHeadStringTagMap",
"StructFieldAnonymousHeadMap",
"StructFieldAnonymousHeadOmitEmptyMap",
"StructFieldAnonymousHeadStringTagMap",
"StructFieldPtrHeadMap",
"StructFieldPtrHeadOmitEmptyMap",
"StructFieldPtrHeadStringTagMap",
"StructFieldPtrAnonymousHeadMap",
"StructFieldPtrAnonymousHeadOmitEmptyMap",
"StructFieldPtrAnonymousHeadStringTagMap",
"StructFieldNPtrHeadMap",
"StructFieldNPtrHeadOmitEmptyMap",
"StructFieldNPtrHeadStringTagMap",
"StructFieldNPtrAnonymousHeadMap",
"StructFieldNPtrAnonymousHeadOmitEmptyMap",
"StructFieldNPtrAnonymousHeadStringTagMap",
"StructFieldHeadMapLoad",
"StructFieldHeadOmitEmptyMapLoad",
"StructFieldHeadStringTagMapLoad",
"StructFieldAnonymousHeadMapLoad",
"StructFieldAnonymousHeadOmitEmptyMapLoad",
"StructFieldAnonymousHeadStringTagMapLoad",
"StructFieldPtrHeadMapLoad",
"StructFieldPtrHeadOmitEmptyMapLoad",
"StructFieldPtrHeadStringTagMapLoad",
"StructFieldPtrAnonymousHeadMapLoad",
"StructFieldPtrAnonymousHeadOmitEmptyMapLoad",
"StructFieldPtrAnonymousHeadStringTagMapLoad",
"StructFieldNPtrHeadMapLoad",
"StructFieldNPtrHeadOmitEmptyMapLoad",
"StructFieldNPtrHeadStringTagMapLoad",
"StructFieldNPtrAnonymousHeadMapLoad",
"StructFieldNPtrAnonymousHeadOmitEmptyMapLoad",
"StructFieldNPtrAnonymousHeadStringTagMapLoad",
"StructFieldHeadSlice",
"StructFieldHeadOmitEmptySlice",
"StructFieldHeadStringTagSlice",
"StructFieldAnonymousHeadSlice",
"StructFieldAnonymousHeadOmitEmptySlice",
"StructFieldAnonymousHeadStringTagSlice",
"StructFieldPtrHeadSlice",
"StructFieldPtrHeadOmitEmptySlice",
"StructFieldPtrHeadStringTagSlice",
"StructFieldPtrAnonymousHeadSlice",
"StructFieldPtrAnonymousHeadOmitEmptySlice",
"StructFieldPtrAnonymousHeadStringTagSlice",
"StructFieldNPtrHeadSlice",
"StructFieldNPtrHeadOmitEmptySlice",
"StructFieldNPtrHeadStringTagSlice",
"StructFieldNPtrAnonymousHeadSlice",
"StructFieldNPtrAnonymousHeadOmitEmptySlice",
"StructFieldNPtrAnonymousHeadStringTagSlice",
"StructFieldHeadStruct",
"StructFieldHeadOmitEmptyStruct",
"StructFieldHeadStringTagStruct",
"StructFieldAnonymousHeadStruct",
"StructFieldAnonymousHeadOmitEmptyStruct",
"StructFieldAnonymousHeadStringTagStruct",
"StructFieldPtrHeadStruct",
"StructFieldPtrHeadOmitEmptyStruct",
"StructFieldPtrHeadStringTagStruct",
"StructFieldPtrAnonymousHeadStruct",
"StructFieldPtrAnonymousHeadOmitEmptyStruct",
"StructFieldPtrAnonymousHeadStringTagStruct",
"StructFieldNPtrHeadStruct",
"StructFieldNPtrHeadOmitEmptyStruct",
"StructFieldNPtrHeadStringTagStruct",
"StructFieldNPtrAnonymousHeadStruct",
"StructFieldNPtrAnonymousHeadOmitEmptyStruct",
"StructFieldNPtrAnonymousHeadStringTagStruct",
"StructFieldHeadMarshalJSON",
"StructFieldHeadOmitEmptyMarshalJSON",
"StructFieldHeadStringTagMarshalJSON",
"StructFieldAnonymousHeadMarshalJSON",
"StructFieldAnonymousHeadOmitEmptyMarshalJSON",
"StructFieldAnonymousHeadStringTagMarshalJSON",
"StructFieldPtrHeadMarshalJSON",
"StructFieldPtrHeadOmitEmptyMarshalJSON",
"StructFieldPtrHeadStringTagMarshalJSON",
"StructFieldPtrAnonymousHeadMarshalJSON",
"StructFieldPtrAnonymousHeadOmitEmptyMarshalJSON",
"StructFieldPtrAnonymousHeadStringTagMarshalJSON",
"StructFieldNPtrHeadMarshalJSON",
"StructFieldNPtrHeadOmitEmptyMarshalJSON",
"StructFieldNPtrHeadStringTagMarshalJSON",
"StructFieldNPtrAnonymousHeadMarshalJSON",
"StructFieldNPtrAnonymousHeadOmitEmptyMarshalJSON",
"StructFieldNPtrAnonymousHeadStringTagMarshalJSON",
"StructFieldHeadMarshalText",
"StructFieldHeadOmitEmptyMarshalText",
"StructFieldHeadStringTagMarshalText",
"StructFieldAnonymousHeadMarshalText",
"StructFieldAnonymousHeadOmitEmptyMarshalText",
"StructFieldAnonymousHeadStringTagMarshalText",
"StructFieldPtrHeadMarshalText",
"StructFieldPtrHeadOmitEmptyMarshalText",
"StructFieldPtrHeadStringTagMarshalText",
"StructFieldPtrAnonymousHeadMarshalText",
"StructFieldPtrAnonymousHeadOmitEmptyMarshalText",
"StructFieldPtrAnonymousHeadStringTagMarshalText",
"StructFieldNPtrHeadMarshalText",
"StructFieldNPtrHeadOmitEmptyMarshalText",
"StructFieldNPtrHeadStringTagMarshalText",
"StructFieldNPtrAnonymousHeadMarshalText",
"StructFieldNPtrAnonymousHeadOmitEmptyMarshalText",
"StructFieldNPtrAnonymousHeadStringTagMarshalText",
"StructFieldHeadRecursive",
"StructFieldHeadOmitEmptyRecursive",
"StructFieldHeadStringTagRecursive",
"StructFieldAnonymousHeadRecursive",
"StructFieldAnonymousHeadOmitEmptyRecursive",
"StructFieldAnonymousHeadStringTagRecursive",
"StructFieldPtrHeadRecursive",
"StructFieldPtrHeadOmitEmptyRecursive",
"StructFieldPtrHeadStringTagRecursive",
"StructFieldPtrAnonymousHeadRecursive",
"StructFieldPtrAnonymousHeadOmitEmptyRecursive",
"StructFieldPtrAnonymousHeadStringTagRecursive",
"StructFieldNPtrHeadRecursive",
"StructFieldNPtrHeadOmitEmptyRecursive",
"StructFieldNPtrHeadStringTagRecursive",
"StructFieldNPtrAnonymousHeadRecursive",
"StructFieldNPtrAnonymousHeadOmitEmptyRecursive",
"StructFieldNPtrAnonymousHeadStringTagRecursive",
"StructFieldHeadIntString",
"StructFieldHeadOmitEmptyIntString",
"StructFieldHeadStringTagIntString",
"StructFieldAnonymousHeadIntString",
"StructFieldAnonymousHeadOmitEmptyIntString",
"StructFieldAnonymousHeadStringTagIntString",
"StructFieldPtrHeadIntString",
"StructFieldPtrHeadOmitEmptyIntString",
"StructFieldPtrHeadStringTagIntString",
"StructFieldPtrAnonymousHeadIntString",
"StructFieldPtrAnonymousHeadOmitEmptyIntString",
"StructFieldPtrAnonymousHeadStringTagIntString",
"StructFieldNPtrHeadIntString",
"StructFieldNPtrHeadOmitEmptyIntString",
"StructFieldNPtrHeadStringTagIntString",
"StructFieldNPtrAnonymousHeadIntString",
"StructFieldNPtrAnonymousHeadOmitEmptyIntString",
"StructFieldNPtrAnonymousHeadStringTagIntString",
"StructFieldHeadUintString",
"StructFieldHeadOmitEmptyUintString",
"StructFieldHeadStringTagUintString",
"StructFieldAnonymousHeadUintString",
"StructFieldAnonymousHeadOmitEmptyUintString",
"StructFieldAnonymousHeadStringTagUintString",
"StructFieldPtrHeadUintString",
"StructFieldPtrHeadOmitEmptyUintString",
"StructFieldPtrHeadStringTagUintString",
"StructFieldPtrAnonymousHeadUintString",
"StructFieldPtrAnonymousHeadOmitEmptyUintString",
"StructFieldPtrAnonymousHeadStringTagUintString",
"StructFieldNPtrHeadUintString",
"StructFieldNPtrHeadOmitEmptyUintString",
"StructFieldNPtrHeadStringTagUintString",
"StructFieldNPtrAnonymousHeadUintString",
"StructFieldNPtrAnonymousHeadOmitEmptyUintString",
"StructFieldNPtrAnonymousHeadStringTagUintString",
"StructFieldHeadIntPtr",
"StructFieldHeadOmitEmptyIntPtr",
"StructFieldHeadStringTagIntPtr",
"StructFieldAnonymousHeadIntPtr",
"StructFieldAnonymousHeadOmitEmptyIntPtr",
"StructFieldAnonymousHeadStringTagIntPtr",
"StructFieldPtrHeadIntPtr",
"StructFieldPtrHeadOmitEmptyIntPtr",
"StructFieldPtrHeadStringTagIntPtr",
"StructFieldPtrAnonymousHeadIntPtr",
"StructFieldPtrAnonymousHeadOmitEmptyIntPtr",
"StructFieldPtrAnonymousHeadStringTagIntPtr",
"StructFieldNPtrHeadIntPtr",
"StructFieldNPtrHeadOmitEmptyIntPtr",
"StructFieldNPtrHeadStringTagIntPtr",
"StructFieldNPtrAnonymousHeadIntPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyIntPtr",
"StructFieldNPtrAnonymousHeadStringTagIntPtr",
"StructFieldHeadUintPtr",
"StructFieldHeadOmitEmptyUintPtr",
"StructFieldHeadStringTagUintPtr",
"StructFieldAnonymousHeadUintPtr",
"StructFieldAnonymousHeadOmitEmptyUintPtr",
"StructFieldAnonymousHeadStringTagUintPtr",
"StructFieldPtrHeadUintPtr",
"StructFieldPtrHeadOmitEmptyUintPtr",
"StructFieldPtrHeadStringTagUintPtr",
"StructFieldPtrAnonymousHeadUintPtr",
"StructFieldPtrAnonymousHeadOmitEmptyUintPtr",
"StructFieldPtrAnonymousHeadStringTagUintPtr",
"StructFieldNPtrHeadUintPtr",
"StructFieldNPtrHeadOmitEmptyUintPtr",
"StructFieldNPtrHeadStringTagUintPtr",
"StructFieldNPtrAnonymousHeadUintPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyUintPtr",
"StructFieldNPtrAnonymousHeadStringTagUintPtr",
"StructFieldHeadFloat32Ptr",
"StructFieldHeadOmitEmptyFloat32Ptr",
"StructFieldHeadStringTagFloat32Ptr",
"StructFieldAnonymousHeadFloat32Ptr",
"StructFieldAnonymousHeadOmitEmptyFloat32Ptr",
"StructFieldAnonymousHeadStringTagFloat32Ptr",
"StructFieldPtrHeadFloat32Ptr",
"StructFieldPtrHeadOmitEmptyFloat32Ptr",
"StructFieldPtrHeadStringTagFloat32Ptr",
"StructFieldPtrAnonymousHeadFloat32Ptr",
"StructFieldPtrAnonymousHeadOmitEmptyFloat32Ptr",
"StructFieldPtrAnonymousHeadStringTagFloat32Ptr",
"StructFieldNPtrHeadFloat32Ptr",
"StructFieldNPtrHeadOmitEmptyFloat32Ptr",
"StructFieldNPtrHeadStringTagFloat32Ptr",
"StructFieldNPtrAnonymousHeadFloat32Ptr",
"StructFieldNPtrAnonymousHeadOmitEmptyFloat32Ptr",
"StructFieldNPtrAnonymousHeadStringTagFloat32Ptr",
"StructFieldHeadFloat64Ptr",
"StructFieldHeadOmitEmptyFloat64Ptr",
"StructFieldHeadStringTagFloat64Ptr",
"StructFieldAnonymousHeadFloat64Ptr",
"StructFieldAnonymousHeadOmitEmptyFloat64Ptr",
"StructFieldAnonymousHeadStringTagFloat64Ptr",
"StructFieldPtrHeadFloat64Ptr",
"StructFieldPtrHeadOmitEmptyFloat64Ptr",
"StructFieldPtrHeadStringTagFloat64Ptr",
"StructFieldPtrAnonymousHeadFloat64Ptr",
"StructFieldPtrAnonymousHeadOmitEmptyFloat64Ptr",
"StructFieldPtrAnonymousHeadStringTagFloat64Ptr",
"StructFieldNPtrHeadFloat64Ptr",
"StructFieldNPtrHeadOmitEmptyFloat64Ptr",
"StructFieldNPtrHeadStringTagFloat64Ptr",
"StructFieldNPtrAnonymousHeadFloat64Ptr",
"StructFieldNPtrAnonymousHeadOmitEmptyFloat64Ptr",
"StructFieldNPtrAnonymousHeadStringTagFloat64Ptr",
"StructFieldHeadBoolPtr",
"StructFieldHeadOmitEmptyBoolPtr",
"StructFieldHeadStringTagBoolPtr",
"StructFieldAnonymousHeadBoolPtr",
"StructFieldAnonymousHeadOmitEmptyBoolPtr",
"StructFieldAnonymousHeadStringTagBoolPtr",
"StructFieldPtrHeadBoolPtr",
"StructFieldPtrHeadOmitEmptyBoolPtr",
"StructFieldPtrHeadStringTagBoolPtr",
"StructFieldPtrAnonymousHeadBoolPtr",
"StructFieldPtrAnonymousHeadOmitEmptyBoolPtr",
"StructFieldPtrAnonymousHeadStringTagBoolPtr",
"StructFieldNPtrHeadBoolPtr",
"StructFieldNPtrHeadOmitEmptyBoolPtr",
"StructFieldNPtrHeadStringTagBoolPtr",
"StructFieldNPtrAnonymousHeadBoolPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyBoolPtr",
"StructFieldNPtrAnonymousHeadStringTagBoolPtr",
"StructFieldHeadStringPtr",
"StructFieldHeadOmitEmptyStringPtr",
"StructFieldHeadStringTagStringPtr",
"StructFieldAnonymousHeadStringPtr",
"StructFieldAnonymousHeadOmitEmptyStringPtr",
"StructFieldAnonymousHeadStringTagStringPtr",
"StructFieldPtrHeadStringPtr",
"StructFieldPtrHeadOmitEmptyStringPtr",
"StructFieldPtrHeadStringTagStringPtr",
"StructFieldPtrAnonymousHeadStringPtr",
"StructFieldPtrAnonymousHeadOmitEmptyStringPtr",
"StructFieldPtrAnonymousHeadStringTagStringPtr",
"StructFieldNPtrHeadStringPtr",
"StructFieldNPtrHeadOmitEmptyStringPtr",
"StructFieldNPtrHeadStringTagStringPtr",
"StructFieldNPtrAnonymousHeadStringPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyStringPtr",
"StructFieldNPtrAnonymousHeadStringTagStringPtr",
"StructFieldHeadBytesPtr",
"StructFieldHeadOmitEmptyBytesPtr",
"StructFieldHeadStringTagBytesPtr",
"StructFieldAnonymousHeadBytesPtr",
"StructFieldAnonymousHeadOmitEmptyBytesPtr",
"StructFieldAnonymousHeadStringTagBytesPtr",
"StructFieldPtrHeadBytesPtr",
"StructFieldPtrHeadOmitEmptyBytesPtr",
"StructFieldPtrHeadStringTagBytesPtr",
"StructFieldPtrAnonymousHeadBytesPtr",
"StructFieldPtrAnonymousHeadOmitEmptyBytesPtr",
"StructFieldPtrAnonymousHeadStringTagBytesPtr",
"StructFieldNPtrHeadBytesPtr",
"StructFieldNPtrHeadOmitEmptyBytesPtr",
"StructFieldNPtrHeadStringTagBytesPtr",
"StructFieldNPtrAnonymousHeadBytesPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyBytesPtr",
"StructFieldNPtrAnonymousHeadStringTagBytesPtr",
"StructFieldHeadIntNPtr",
"StructFieldHeadOmitEmptyIntNPtr",
"StructFieldHeadStringTagIntNPtr",
"StructFieldAnonymousHeadIntNPtr",
"StructFieldAnonymousHeadOmitEmptyIntNPtr",
"StructFieldAnonymousHeadStringTagIntNPtr",
"StructFieldPtrHeadIntNPtr",
"StructFieldPtrHeadOmitEmptyIntNPtr",
"StructFieldPtrHeadStringTagIntNPtr",
"StructFieldPtrAnonymousHeadIntNPtr",
"StructFieldPtrAnonymousHeadOmitEmptyIntNPtr",
"StructFieldPtrAnonymousHeadStringTagIntNPtr",
"StructFieldNPtrHeadIntNPtr",
"StructFieldNPtrHeadOmitEmptyIntNPtr",
"StructFieldNPtrHeadStringTagIntNPtr",
"StructFieldNPtrAnonymousHeadIntNPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyIntNPtr",
"StructFieldNPtrAnonymousHeadStringTagIntNPtr",
"StructFieldHeadUintNPtr",
"StructFieldHeadOmitEmptyUintNPtr",
"StructFieldHeadStringTagUintNPtr",
"StructFieldAnonymousHeadUintNPtr",
"StructFieldAnonymousHeadOmitEmptyUintNPtr",
"StructFieldAnonymousHeadStringTagUintNPtr",
"StructFieldPtrHeadUintNPtr",
"StructFieldPtrHeadOmitEmptyUintNPtr",
"StructFieldPtrHeadStringTagUintNPtr",
"StructFieldPtrAnonymousHeadUintNPtr",
"StructFieldPtrAnonymousHeadOmitEmptyUintNPtr",
"StructFieldPtrAnonymousHeadStringTagUintNPtr",
"StructFieldNPtrHeadUintNPtr",
"StructFieldNPtrHeadOmitEmptyUintNPtr",
"StructFieldNPtrHeadStringTagUintNPtr",
"StructFieldNPtrAnonymousHeadUintNPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyUintNPtr",
"StructFieldNPtrAnonymousHeadStringTagUintNPtr",
"StructFieldHeadFloat32NPtr",
"StructFieldHeadOmitEmptyFloat32NPtr",
"StructFieldHeadStringTagFloat32NPtr",
"StructFieldAnonymousHeadFloat32NPtr",
"StructFieldAnonymousHeadOmitEmptyFloat32NPtr",
"StructFieldAnonymousHeadStringTagFloat32NPtr",
"StructFieldPtrHeadFloat32NPtr",
"StructFieldPtrHeadOmitEmptyFloat32NPtr",
"StructFieldPtrHeadStringTagFloat32NPtr",
"StructFieldPtrAnonymousHeadFloat32NPtr",
"StructFieldPtrAnonymousHeadOmitEmptyFloat32NPtr",
"StructFieldPtrAnonymousHeadStringTagFloat32NPtr",
"StructFieldNPtrHeadFloat32NPtr",
"StructFieldNPtrHeadOmitEmptyFloat32NPtr",
"StructFieldNPtrHeadStringTagFloat32NPtr",
"StructFieldNPtrAnonymousHeadFloat32NPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyFloat32NPtr",
"StructFieldNPtrAnonymousHeadStringTagFloat32NPtr",
"StructFieldHeadFloat64NPtr",
"StructFieldHeadOmitEmptyFloat64NPtr",
"StructFieldHeadStringTagFloat64NPtr",
"StructFieldAnonymousHeadFloat64NPtr",
"StructFieldAnonymousHeadOmitEmptyFloat64NPtr",
"StructFieldAnonymousHeadStringTagFloat64NPtr",
"StructFieldPtrHeadFloat64NPtr",
"StructFieldPtrHeadOmitEmptyFloat64NPtr",
"StructFieldPtrHeadStringTagFloat64NPtr",
"StructFieldPtrAnonymousHeadFloat64NPtr",
"StructFieldPtrAnonymousHeadOmitEmptyFloat64NPtr",
"StructFieldPtrAnonymousHeadStringTagFloat64NPtr",
"StructFieldNPtrHeadFloat64NPtr",
"StructFieldNPtrHeadOmitEmptyFloat64NPtr",
"StructFieldNPtrHeadStringTagFloat64NPtr",
"StructFieldNPtrAnonymousHeadFloat64NPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyFloat64NPtr",
"StructFieldNPtrAnonymousHeadStringTagFloat64NPtr",
"StructFieldHeadBoolNPtr",
"StructFieldHeadOmitEmptyBoolNPtr",
"StructFieldHeadStringTagBoolNPtr",
"StructFieldAnonymousHeadBoolNPtr",
"StructFieldAnonymousHeadOmitEmptyBoolNPtr",
"StructFieldAnonymousHeadStringTagBoolNPtr",
"StructFieldPtrHeadBoolNPtr",
"StructFieldPtrHeadOmitEmptyBoolNPtr",
"StructFieldPtrHeadStringTagBoolNPtr",
"StructFieldPtrAnonymousHeadBoolNPtr",
"StructFieldPtrAnonymousHeadOmitEmptyBoolNPtr",
"StructFieldPtrAnonymousHeadStringTagBoolNPtr",
"StructFieldNPtrHeadBoolNPtr",
"StructFieldNPtrHeadOmitEmptyBoolNPtr",
"StructFieldNPtrHeadStringTagBoolNPtr",
"StructFieldNPtrAnonymousHeadBoolNPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyBoolNPtr",
"StructFieldNPtrAnonymousHeadStringTagBoolNPtr",
"StructFieldHeadStringNPtr",
"StructFieldHeadOmitEmptyStringNPtr",
"StructFieldHeadStringTagStringNPtr",
"StructFieldAnonymousHeadStringNPtr",
"StructFieldAnonymousHeadOmitEmptyStringNPtr",
"StructFieldAnonymousHeadStringTagStringNPtr",
"StructFieldPtrHeadStringNPtr",
"StructFieldPtrHeadOmitEmptyStringNPtr",
"StructFieldPtrHeadStringTagStringNPtr",
"StructFieldPtrAnonymousHeadStringNPtr",
"StructFieldPtrAnonymousHeadOmitEmptyStringNPtr",
"StructFieldPtrAnonymousHeadStringTagStringNPtr",
"StructFieldNPtrHeadStringNPtr",
"StructFieldNPtrHeadOmitEmptyStringNPtr",
"StructFieldNPtrHeadStringTagStringNPtr",
"StructFieldNPtrAnonymousHeadStringNPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyStringNPtr",
"StructFieldNPtrAnonymousHeadStringTagStringNPtr",
"StructFieldHeadBytesNPtr",
"StructFieldHeadOmitEmptyBytesNPtr",
"StructFieldHeadStringTagBytesNPtr",
"StructFieldAnonymousHeadBytesNPtr",
"StructFieldAnonymousHeadOmitEmptyBytesNPtr",
"StructFieldAnonymousHeadStringTagBytesNPtr",
"StructFieldPtrHeadBytesNPtr",
"StructFieldPtrHeadOmitEmptyBytesNPtr",
"StructFieldPtrHeadStringTagBytesNPtr",
"StructFieldPtrAnonymousHeadBytesNPtr",
"StructFieldPtrAnonymousHeadOmitEmptyBytesNPtr",
"StructFieldPtrAnonymousHeadStringTagBytesNPtr",
"StructFieldNPtrHeadBytesNPtr",
"StructFieldNPtrHeadOmitEmptyBytesNPtr",
"StructFieldNPtrHeadStringTagBytesNPtr",
"StructFieldNPtrAnonymousHeadBytesNPtr",
"StructFieldNPtrAnonymousHeadOmitEmptyBytesNPtr",
"StructFieldNPtrAnonymousHeadStringTagBytesNPtr",
"StructFieldHead",
"StructFieldHeadOmitEmpty",
"StructFieldHeadStringTag",
"StructFieldAnonymousHead",
"StructFieldAnonymousHeadOmitEmpty",
"StructFieldAnonymousHeadStringTag",
"StructFieldPtrHead",
"StructFieldPtrHeadOmitEmpty",
"StructFieldPtrHeadStringTag",
"StructFieldPtrAnonymousHead",
"StructFieldPtrAnonymousHeadOmitEmpty",
"StructFieldPtrAnonymousHeadStringTag",
"StructFieldNPtrHead",
"StructFieldNPtrHeadOmitEmpty",
"StructFieldNPtrHeadStringTag",
"StructFieldNPtrAnonymousHead",
"StructFieldNPtrAnonymousHeadOmitEmpty",
"StructFieldNPtrAnonymousHeadStringTag",
"StructFieldInt",
"StructFieldOmitEmptyInt",
"StructFieldStringTagInt",
"StructFieldUint",
"StructFieldOmitEmptyUint",
"StructFieldStringTagUint",
"StructFieldFloat32",
"StructFieldOmitEmptyFloat32",
"StructFieldStringTagFloat32",
"StructFieldFloat64",
"StructFieldOmitEmptyFloat64",
"StructFieldStringTagFloat64",
"StructFieldBool",
"StructFieldOmitEmptyBool",
"StructFieldStringTagBool",
"StructFieldString",
"StructFieldOmitEmptyString",
"StructFieldStringTagString",
"StructFieldBytes",
"StructFieldOmitEmptyBytes",
"StructFieldStringTagBytes",
"StructFieldArray",
"StructFieldOmitEmptyArray",
"StructFieldStringTagArray",
"StructFieldMap",
"StructFieldOmitEmptyMap",
"StructFieldStringTagMap",
"StructFieldMapLoad",
"StructFieldOmitEmptyMapLoad",
"StructFieldStringTagMapLoad",
"StructFieldSlice",
"StructFieldOmitEmptySlice",
"StructFieldStringTagSlice",
"StructFieldStruct",
"StructFieldOmitEmptyStruct",
"StructFieldStringTagStruct",
"StructFieldMarshalJSON",
"StructFieldOmitEmptyMarshalJSON",
"StructFieldStringTagMarshalJSON",
"StructFieldMarshalText",
"StructFieldOmitEmptyMarshalText",
"StructFieldStringTagMarshalText",
"StructFieldRecursive",
"StructFieldOmitEmptyRecursive",
"StructFieldStringTagRecursive",
"StructFieldIntString",
"StructFieldOmitEmptyIntString",
"StructFieldStringTagIntString",
"StructFieldUintString",
"StructFieldOmitEmptyUintString",
"StructFieldStringTagUintString",
"StructFieldIntPtr",
"StructFieldOmitEmptyIntPtr",
"StructFieldStringTagIntPtr",
"StructFieldUintPtr",
"StructFieldOmitEmptyUintPtr",
"StructFieldStringTagUintPtr",
"StructFieldFloat32Ptr",
"StructFieldOmitEmptyFloat32Ptr",
"StructFieldStringTagFloat32Ptr",
"StructFieldFloat64Ptr",
"StructFieldOmitEmptyFloat64Ptr",
"StructFieldStringTagFloat64Ptr",
"StructFieldBoolPtr",
"StructFieldOmitEmptyBoolPtr",
"StructFieldStringTagBoolPtr",
"StructFieldStringPtr",
"StructFieldOmitEmptyStringPtr",
"StructFieldStringTagStringPtr",
"StructFieldBytesPtr",
"StructFieldOmitEmptyBytesPtr",
"StructFieldStringTagBytesPtr",
"StructFieldIntNPtr",
"StructFieldOmitEmptyIntNPtr",
"StructFieldStringTagIntNPtr",
"StructFieldUintNPtr",
"StructFieldOmitEmptyUintNPtr",
"StructFieldStringTagUintNPtr",
"StructFieldFloat32NPtr",
"StructFieldOmitEmptyFloat32NPtr",
"StructFieldStringTagFloat32NPtr",
"StructFieldFloat64NPtr",
"StructFieldOmitEmptyFloat64NPtr",
"StructFieldStringTagFloat64NPtr",
"StructFieldBoolNPtr",
"StructFieldOmitEmptyBoolNPtr",
"StructFieldStringTagBoolNPtr",
"StructFieldStringNPtr",
"StructFieldOmitEmptyStringNPtr",
"StructFieldStringTagStringNPtr",
"StructFieldBytesNPtr",
"StructFieldOmitEmptyBytesNPtr",
"StructFieldStringTagBytesNPtr",
"StructField",
"StructFieldOmitEmpty",
"StructFieldStringTag",
"StructEndInt",
"StructEndOmitEmptyInt",
"StructEndStringTagInt",
"StructEndUint",
"StructEndOmitEmptyUint",
"StructEndStringTagUint",
"StructEndFloat32",
"StructEndOmitEmptyFloat32",
"StructEndStringTagFloat32",
"StructEndFloat64",
"StructEndOmitEmptyFloat64",
"StructEndStringTagFloat64",
"StructEndBool",
"StructEndOmitEmptyBool",
"StructEndStringTagBool",
"StructEndString",
"StructEndOmitEmptyString",
"StructEndStringTagString",
"StructEndBytes",
"StructEndOmitEmptyBytes",
"StructEndStringTagBytes",
"StructEndArray",
"StructEndOmitEmptyArray",
"StructEndStringTagArray",
"StructEndMap",
"StructEndOmitEmptyMap",
"StructEndStringTagMap",
"StructEndMapLoad",
"StructEndOmitEmptyMapLoad",
"StructEndStringTagMapLoad",
"StructEndSlice",
"StructEndOmitEmptySlice",
"StructEndStringTagSlice",
"StructEndStruct",
"StructEndOmitEmptyStruct",
"StructEndStringTagStruct",
"StructEndMarshalJSON",
"StructEndOmitEmptyMarshalJSON",
"StructEndStringTagMarshalJSON",
"StructEndMarshalText",
"StructEndOmitEmptyMarshalText",
"StructEndStringTagMarshalText",
"StructEndRecursive",
"StructEndOmitEmptyRecursive",
"StructEndStringTagRecursive",
"StructEndIntString",
"StructEndOmitEmptyIntString",
"StructEndStringTagIntString",
"StructEndUintString",
"StructEndOmitEmptyUintString",
"StructEndStringTagUintString",
"StructEndIntPtr",
"StructEndOmitEmptyIntPtr",
"StructEndStringTagIntPtr",
"StructEndUintPtr",
"StructEndOmitEmptyUintPtr",
"StructEndStringTagUintPtr",
"StructEndFloat32Ptr",
"StructEndOmitEmptyFloat32Ptr",
"StructEndStringTagFloat32Ptr",
"StructEndFloat64Ptr",
"StructEndOmitEmptyFloat64Ptr",
"StructEndStringTagFloat64Ptr",
"StructEndBoolPtr",
"StructEndOmitEmptyBoolPtr",
"StructEndStringTagBoolPtr",
"StructEndStringPtr",
"StructEndOmitEmptyStringPtr",
"StructEndStringTagStringPtr",
"StructEndBytesPtr",
"StructEndOmitEmptyBytesPtr",
"StructEndStringTagBytesPtr",
"StructEndIntNPtr",
"StructEndOmitEmptyIntNPtr",
"StructEndStringTagIntNPtr",
"StructEndUintNPtr",
"StructEndOmitEmptyUintNPtr",
"StructEndStringTagUintNPtr",
"StructEndFloat32NPtr",
"StructEndOmitEmptyFloat32NPtr",
"StructEndStringTagFloat32NPtr",
"StructEndFloat64NPtr",
"StructEndOmitEmptyFloat64NPtr",
"StructEndStringTagFloat64NPtr",
"StructEndBoolNPtr",
"StructEndOmitEmptyBoolNPtr",
"StructEndStringTagBoolNPtr",
"StructEndStringNPtr",
"StructEndOmitEmptyStringNPtr",
"StructEndStringTagStringNPtr",
"StructEndBytesNPtr",
"StructEndOmitEmptyBytesNPtr",
"StructEndStringTagBytesNPtr",
"StructEnd",
"StructEndOmitEmpty",
"StructEndStringTag",
}
2020-08-15 11:41:38 +03:00
type opType int
const (
2021-02-23 10:16:44 +03:00
opEnd opType = 0
opInterface opType = 1
opPtr opType = 2
opNPtr opType = 3
opSliceHead opType = 4
opRootSliceHead opType = 5
opSliceElem opType = 6
opRootSliceElem opType = 7
opSliceEnd opType = 8
opArrayHead opType = 9
opArrayElem opType = 10
opArrayEnd opType = 11
opMapHead opType = 12
opMapHeadLoad opType = 13
opMapKey opType = 14
opMapValue opType = 15
opMapEnd opType = 16
opStructFieldRecursiveEnd opType = 17
opStructAnonymousEnd opType = 18
opInt opType = 19
opUint opType = 20
opFloat32 opType = 21
opFloat64 opType = 22
opBool opType = 23
opString opType = 24
opBytes opType = 25
opArray opType = 26
opMap opType = 27
opMapLoad opType = 28
opSlice opType = 29
opStruct opType = 30
opMarshalJSON opType = 31
opMarshalText opType = 32
opRecursive opType = 33
opIntString opType = 34
opUintString opType = 35
opIntPtr opType = 36
opUintPtr opType = 37
opFloat32Ptr opType = 38
opFloat64Ptr opType = 39
opBoolPtr opType = 40
opStringPtr opType = 41
opBytesPtr opType = 42
opIntNPtr opType = 43
opUintNPtr opType = 44
opFloat32NPtr opType = 45
opFloat64NPtr opType = 46
opBoolNPtr opType = 47
opStringNPtr opType = 48
opBytesNPtr opType = 49
opStructFieldHeadInt opType = 50
opStructFieldHeadOmitEmptyInt opType = 51
opStructFieldHeadStringTagInt opType = 52
opStructFieldAnonymousHeadInt opType = 53
opStructFieldAnonymousHeadOmitEmptyInt opType = 54
opStructFieldAnonymousHeadStringTagInt opType = 55
opStructFieldPtrHeadInt opType = 56
opStructFieldPtrHeadOmitEmptyInt opType = 57
opStructFieldPtrHeadStringTagInt opType = 58
opStructFieldPtrAnonymousHeadInt opType = 59
opStructFieldPtrAnonymousHeadOmitEmptyInt opType = 60
opStructFieldPtrAnonymousHeadStringTagInt opType = 61
opStructFieldNPtrHeadInt opType = 62
opStructFieldNPtrHeadOmitEmptyInt opType = 63
opStructFieldNPtrHeadStringTagInt opType = 64
opStructFieldNPtrAnonymousHeadInt opType = 65
opStructFieldNPtrAnonymousHeadOmitEmptyInt opType = 66
opStructFieldNPtrAnonymousHeadStringTagInt opType = 67
opStructFieldHeadUint opType = 68
opStructFieldHeadOmitEmptyUint opType = 69
opStructFieldHeadStringTagUint opType = 70
opStructFieldAnonymousHeadUint opType = 71
opStructFieldAnonymousHeadOmitEmptyUint opType = 72
opStructFieldAnonymousHeadStringTagUint opType = 73
opStructFieldPtrHeadUint opType = 74
opStructFieldPtrHeadOmitEmptyUint opType = 75
opStructFieldPtrHeadStringTagUint opType = 76
opStructFieldPtrAnonymousHeadUint opType = 77
opStructFieldPtrAnonymousHeadOmitEmptyUint opType = 78
opStructFieldPtrAnonymousHeadStringTagUint opType = 79
opStructFieldNPtrHeadUint opType = 80
opStructFieldNPtrHeadOmitEmptyUint opType = 81
opStructFieldNPtrHeadStringTagUint opType = 82
opStructFieldNPtrAnonymousHeadUint opType = 83
opStructFieldNPtrAnonymousHeadOmitEmptyUint opType = 84
opStructFieldNPtrAnonymousHeadStringTagUint opType = 85
opStructFieldHeadFloat32 opType = 86
opStructFieldHeadOmitEmptyFloat32 opType = 87
opStructFieldHeadStringTagFloat32 opType = 88
opStructFieldAnonymousHeadFloat32 opType = 89
opStructFieldAnonymousHeadOmitEmptyFloat32 opType = 90
opStructFieldAnonymousHeadStringTagFloat32 opType = 91
opStructFieldPtrHeadFloat32 opType = 92
opStructFieldPtrHeadOmitEmptyFloat32 opType = 93
opStructFieldPtrHeadStringTagFloat32 opType = 94
opStructFieldPtrAnonymousHeadFloat32 opType = 95
opStructFieldPtrAnonymousHeadOmitEmptyFloat32 opType = 96
opStructFieldPtrAnonymousHeadStringTagFloat32 opType = 97
opStructFieldNPtrHeadFloat32 opType = 98
opStructFieldNPtrHeadOmitEmptyFloat32 opType = 99
opStructFieldNPtrHeadStringTagFloat32 opType = 100
opStructFieldNPtrAnonymousHeadFloat32 opType = 101
opStructFieldNPtrAnonymousHeadOmitEmptyFloat32 opType = 102
opStructFieldNPtrAnonymousHeadStringTagFloat32 opType = 103
opStructFieldHeadFloat64 opType = 104
opStructFieldHeadOmitEmptyFloat64 opType = 105
opStructFieldHeadStringTagFloat64 opType = 106
opStructFieldAnonymousHeadFloat64 opType = 107
opStructFieldAnonymousHeadOmitEmptyFloat64 opType = 108
opStructFieldAnonymousHeadStringTagFloat64 opType = 109
opStructFieldPtrHeadFloat64 opType = 110
opStructFieldPtrHeadOmitEmptyFloat64 opType = 111
opStructFieldPtrHeadStringTagFloat64 opType = 112
opStructFieldPtrAnonymousHeadFloat64 opType = 113
opStructFieldPtrAnonymousHeadOmitEmptyFloat64 opType = 114
opStructFieldPtrAnonymousHeadStringTagFloat64 opType = 115
opStructFieldNPtrHeadFloat64 opType = 116
opStructFieldNPtrHeadOmitEmptyFloat64 opType = 117
opStructFieldNPtrHeadStringTagFloat64 opType = 118
opStructFieldNPtrAnonymousHeadFloat64 opType = 119
opStructFieldNPtrAnonymousHeadOmitEmptyFloat64 opType = 120
opStructFieldNPtrAnonymousHeadStringTagFloat64 opType = 121
opStructFieldHeadBool opType = 122
opStructFieldHeadOmitEmptyBool opType = 123
opStructFieldHeadStringTagBool opType = 124
opStructFieldAnonymousHeadBool opType = 125
opStructFieldAnonymousHeadOmitEmptyBool opType = 126
opStructFieldAnonymousHeadStringTagBool opType = 127
opStructFieldPtrHeadBool opType = 128
opStructFieldPtrHeadOmitEmptyBool opType = 129
opStructFieldPtrHeadStringTagBool opType = 130
opStructFieldPtrAnonymousHeadBool opType = 131
opStructFieldPtrAnonymousHeadOmitEmptyBool opType = 132
opStructFieldPtrAnonymousHeadStringTagBool opType = 133
opStructFieldNPtrHeadBool opType = 134
opStructFieldNPtrHeadOmitEmptyBool opType = 135
opStructFieldNPtrHeadStringTagBool opType = 136
opStructFieldNPtrAnonymousHeadBool opType = 137
opStructFieldNPtrAnonymousHeadOmitEmptyBool opType = 138
opStructFieldNPtrAnonymousHeadStringTagBool opType = 139
opStructFieldHeadString opType = 140
opStructFieldHeadOmitEmptyString opType = 141
opStructFieldHeadStringTagString opType = 142
opStructFieldAnonymousHeadString opType = 143
opStructFieldAnonymousHeadOmitEmptyString opType = 144
opStructFieldAnonymousHeadStringTagString opType = 145
opStructFieldPtrHeadString opType = 146
opStructFieldPtrHeadOmitEmptyString opType = 147
opStructFieldPtrHeadStringTagString opType = 148
opStructFieldPtrAnonymousHeadString opType = 149
opStructFieldPtrAnonymousHeadOmitEmptyString opType = 150
opStructFieldPtrAnonymousHeadStringTagString opType = 151
opStructFieldNPtrHeadString opType = 152
opStructFieldNPtrHeadOmitEmptyString opType = 153
opStructFieldNPtrHeadStringTagString opType = 154
opStructFieldNPtrAnonymousHeadString opType = 155
opStructFieldNPtrAnonymousHeadOmitEmptyString opType = 156
opStructFieldNPtrAnonymousHeadStringTagString opType = 157
opStructFieldHeadBytes opType = 158
opStructFieldHeadOmitEmptyBytes opType = 159
opStructFieldHeadStringTagBytes opType = 160
opStructFieldAnonymousHeadBytes opType = 161
opStructFieldAnonymousHeadOmitEmptyBytes opType = 162
opStructFieldAnonymousHeadStringTagBytes opType = 163
opStructFieldPtrHeadBytes opType = 164
opStructFieldPtrHeadOmitEmptyBytes opType = 165
opStructFieldPtrHeadStringTagBytes opType = 166
opStructFieldPtrAnonymousHeadBytes opType = 167
opStructFieldPtrAnonymousHeadOmitEmptyBytes opType = 168
opStructFieldPtrAnonymousHeadStringTagBytes opType = 169
opStructFieldNPtrHeadBytes opType = 170
opStructFieldNPtrHeadOmitEmptyBytes opType = 171
opStructFieldNPtrHeadStringTagBytes opType = 172
opStructFieldNPtrAnonymousHeadBytes opType = 173
opStructFieldNPtrAnonymousHeadOmitEmptyBytes opType = 174
opStructFieldNPtrAnonymousHeadStringTagBytes opType = 175
opStructFieldHeadArray opType = 176
opStructFieldHeadOmitEmptyArray opType = 177
opStructFieldHeadStringTagArray opType = 178
opStructFieldAnonymousHeadArray opType = 179
opStructFieldAnonymousHeadOmitEmptyArray opType = 180
opStructFieldAnonymousHeadStringTagArray opType = 181
opStructFieldPtrHeadArray opType = 182
opStructFieldPtrHeadOmitEmptyArray opType = 183
opStructFieldPtrHeadStringTagArray opType = 184
opStructFieldPtrAnonymousHeadArray opType = 185
opStructFieldPtrAnonymousHeadOmitEmptyArray opType = 186
opStructFieldPtrAnonymousHeadStringTagArray opType = 187
opStructFieldNPtrHeadArray opType = 188
opStructFieldNPtrHeadOmitEmptyArray opType = 189
opStructFieldNPtrHeadStringTagArray opType = 190
opStructFieldNPtrAnonymousHeadArray opType = 191
opStructFieldNPtrAnonymousHeadOmitEmptyArray opType = 192
opStructFieldNPtrAnonymousHeadStringTagArray opType = 193
opStructFieldHeadMap opType = 194
opStructFieldHeadOmitEmptyMap opType = 195
opStructFieldHeadStringTagMap opType = 196
opStructFieldAnonymousHeadMap opType = 197
opStructFieldAnonymousHeadOmitEmptyMap opType = 198
opStructFieldAnonymousHeadStringTagMap opType = 199
opStructFieldPtrHeadMap opType = 200
opStructFieldPtrHeadOmitEmptyMap opType = 201
opStructFieldPtrHeadStringTagMap opType = 202
opStructFieldPtrAnonymousHeadMap opType = 203
opStructFieldPtrAnonymousHeadOmitEmptyMap opType = 204
opStructFieldPtrAnonymousHeadStringTagMap opType = 205
opStructFieldNPtrHeadMap opType = 206
opStructFieldNPtrHeadOmitEmptyMap opType = 207
opStructFieldNPtrHeadStringTagMap opType = 208
opStructFieldNPtrAnonymousHeadMap opType = 209
opStructFieldNPtrAnonymousHeadOmitEmptyMap opType = 210
opStructFieldNPtrAnonymousHeadStringTagMap opType = 211
opStructFieldHeadMapLoad opType = 212
opStructFieldHeadOmitEmptyMapLoad opType = 213
opStructFieldHeadStringTagMapLoad opType = 214
opStructFieldAnonymousHeadMapLoad opType = 215
opStructFieldAnonymousHeadOmitEmptyMapLoad opType = 216
opStructFieldAnonymousHeadStringTagMapLoad opType = 217
opStructFieldPtrHeadMapLoad opType = 218
opStructFieldPtrHeadOmitEmptyMapLoad opType = 219
opStructFieldPtrHeadStringTagMapLoad opType = 220
opStructFieldPtrAnonymousHeadMapLoad opType = 221
opStructFieldPtrAnonymousHeadOmitEmptyMapLoad opType = 222
opStructFieldPtrAnonymousHeadStringTagMapLoad opType = 223
opStructFieldNPtrHeadMapLoad opType = 224
opStructFieldNPtrHeadOmitEmptyMapLoad opType = 225
opStructFieldNPtrHeadStringTagMapLoad opType = 226
opStructFieldNPtrAnonymousHeadMapLoad opType = 227
opStructFieldNPtrAnonymousHeadOmitEmptyMapLoad opType = 228
opStructFieldNPtrAnonymousHeadStringTagMapLoad opType = 229
opStructFieldHeadSlice opType = 230
opStructFieldHeadOmitEmptySlice opType = 231
opStructFieldHeadStringTagSlice opType = 232
opStructFieldAnonymousHeadSlice opType = 233
opStructFieldAnonymousHeadOmitEmptySlice opType = 234
opStructFieldAnonymousHeadStringTagSlice opType = 235
opStructFieldPtrHeadSlice opType = 236
opStructFieldPtrHeadOmitEmptySlice opType = 237
opStructFieldPtrHeadStringTagSlice opType = 238
opStructFieldPtrAnonymousHeadSlice opType = 239
opStructFieldPtrAnonymousHeadOmitEmptySlice opType = 240
opStructFieldPtrAnonymousHeadStringTagSlice opType = 241
opStructFieldNPtrHeadSlice opType = 242
opStructFieldNPtrHeadOmitEmptySlice opType = 243
opStructFieldNPtrHeadStringTagSlice opType = 244
opStructFieldNPtrAnonymousHeadSlice opType = 245
opStructFieldNPtrAnonymousHeadOmitEmptySlice opType = 246
opStructFieldNPtrAnonymousHeadStringTagSlice opType = 247
opStructFieldHeadStruct opType = 248
opStructFieldHeadOmitEmptyStruct opType = 249
opStructFieldHeadStringTagStruct opType = 250
opStructFieldAnonymousHeadStruct opType = 251
opStructFieldAnonymousHeadOmitEmptyStruct opType = 252
opStructFieldAnonymousHeadStringTagStruct opType = 253
opStructFieldPtrHeadStruct opType = 254
opStructFieldPtrHeadOmitEmptyStruct opType = 255
opStructFieldPtrHeadStringTagStruct opType = 256
opStructFieldPtrAnonymousHeadStruct opType = 257
opStructFieldPtrAnonymousHeadOmitEmptyStruct opType = 258
opStructFieldPtrAnonymousHeadStringTagStruct opType = 259
opStructFieldNPtrHeadStruct opType = 260
opStructFieldNPtrHeadOmitEmptyStruct opType = 261
opStructFieldNPtrHeadStringTagStruct opType = 262
opStructFieldNPtrAnonymousHeadStruct opType = 263
opStructFieldNPtrAnonymousHeadOmitEmptyStruct opType = 264
opStructFieldNPtrAnonymousHeadStringTagStruct opType = 265
opStructFieldHeadMarshalJSON opType = 266
opStructFieldHeadOmitEmptyMarshalJSON opType = 267
opStructFieldHeadStringTagMarshalJSON opType = 268
opStructFieldAnonymousHeadMarshalJSON opType = 269
opStructFieldAnonymousHeadOmitEmptyMarshalJSON opType = 270
opStructFieldAnonymousHeadStringTagMarshalJSON opType = 271
opStructFieldPtrHeadMarshalJSON opType = 272
opStructFieldPtrHeadOmitEmptyMarshalJSON opType = 273
opStructFieldPtrHeadStringTagMarshalJSON opType = 274
opStructFieldPtrAnonymousHeadMarshalJSON opType = 275
opStructFieldPtrAnonymousHeadOmitEmptyMarshalJSON opType = 276
opStructFieldPtrAnonymousHeadStringTagMarshalJSON opType = 277
opStructFieldNPtrHeadMarshalJSON opType = 278
opStructFieldNPtrHeadOmitEmptyMarshalJSON opType = 279
opStructFieldNPtrHeadStringTagMarshalJSON opType = 280
opStructFieldNPtrAnonymousHeadMarshalJSON opType = 281
opStructFieldNPtrAnonymousHeadOmitEmptyMarshalJSON opType = 282
opStructFieldNPtrAnonymousHeadStringTagMarshalJSON opType = 283
opStructFieldHeadMarshalText opType = 284
opStructFieldHeadOmitEmptyMarshalText opType = 285
opStructFieldHeadStringTagMarshalText opType = 286
opStructFieldAnonymousHeadMarshalText opType = 287
opStructFieldAnonymousHeadOmitEmptyMarshalText opType = 288
opStructFieldAnonymousHeadStringTagMarshalText opType = 289
opStructFieldPtrHeadMarshalText opType = 290
opStructFieldPtrHeadOmitEmptyMarshalText opType = 291
opStructFieldPtrHeadStringTagMarshalText opType = 292
opStructFieldPtrAnonymousHeadMarshalText opType = 293
opStructFieldPtrAnonymousHeadOmitEmptyMarshalText opType = 294
opStructFieldPtrAnonymousHeadStringTagMarshalText opType = 295
opStructFieldNPtrHeadMarshalText opType = 296
opStructFieldNPtrHeadOmitEmptyMarshalText opType = 297
opStructFieldNPtrHeadStringTagMarshalText opType = 298
opStructFieldNPtrAnonymousHeadMarshalText opType = 299
opStructFieldNPtrAnonymousHeadOmitEmptyMarshalText opType = 300
opStructFieldNPtrAnonymousHeadStringTagMarshalText opType = 301
opStructFieldHeadRecursive opType = 302
opStructFieldHeadOmitEmptyRecursive opType = 303
opStructFieldHeadStringTagRecursive opType = 304
opStructFieldAnonymousHeadRecursive opType = 305
opStructFieldAnonymousHeadOmitEmptyRecursive opType = 306
opStructFieldAnonymousHeadStringTagRecursive opType = 307
opStructFieldPtrHeadRecursive opType = 308
opStructFieldPtrHeadOmitEmptyRecursive opType = 309
opStructFieldPtrHeadStringTagRecursive opType = 310
opStructFieldPtrAnonymousHeadRecursive opType = 311
opStructFieldPtrAnonymousHeadOmitEmptyRecursive opType = 312
opStructFieldPtrAnonymousHeadStringTagRecursive opType = 313
opStructFieldNPtrHeadRecursive opType = 314
opStructFieldNPtrHeadOmitEmptyRecursive opType = 315
opStructFieldNPtrHeadStringTagRecursive opType = 316
opStructFieldNPtrAnonymousHeadRecursive opType = 317
opStructFieldNPtrAnonymousHeadOmitEmptyRecursive opType = 318
opStructFieldNPtrAnonymousHeadStringTagRecursive opType = 319
opStructFieldHeadIntString opType = 320
opStructFieldHeadOmitEmptyIntString opType = 321
opStructFieldHeadStringTagIntString opType = 322
opStructFieldAnonymousHeadIntString opType = 323
opStructFieldAnonymousHeadOmitEmptyIntString opType = 324
opStructFieldAnonymousHeadStringTagIntString opType = 325
opStructFieldPtrHeadIntString opType = 326
opStructFieldPtrHeadOmitEmptyIntString opType = 327
opStructFieldPtrHeadStringTagIntString opType = 328
opStructFieldPtrAnonymousHeadIntString opType = 329
opStructFieldPtrAnonymousHeadOmitEmptyIntString opType = 330
opStructFieldPtrAnonymousHeadStringTagIntString opType = 331
opStructFieldNPtrHeadIntString opType = 332
opStructFieldNPtrHeadOmitEmptyIntString opType = 333
opStructFieldNPtrHeadStringTagIntString opType = 334
opStructFieldNPtrAnonymousHeadIntString opType = 335
opStructFieldNPtrAnonymousHeadOmitEmptyIntString opType = 336
opStructFieldNPtrAnonymousHeadStringTagIntString opType = 337
opStructFieldHeadUintString opType = 338
opStructFieldHeadOmitEmptyUintString opType = 339
opStructFieldHeadStringTagUintString opType = 340
opStructFieldAnonymousHeadUintString opType = 341
opStructFieldAnonymousHeadOmitEmptyUintString opType = 342
opStructFieldAnonymousHeadStringTagUintString opType = 343
opStructFieldPtrHeadUintString opType = 344
opStructFieldPtrHeadOmitEmptyUintString opType = 345
opStructFieldPtrHeadStringTagUintString opType = 346
opStructFieldPtrAnonymousHeadUintString opType = 347
opStructFieldPtrAnonymousHeadOmitEmptyUintString opType = 348
opStructFieldPtrAnonymousHeadStringTagUintString opType = 349
opStructFieldNPtrHeadUintString opType = 350
opStructFieldNPtrHeadOmitEmptyUintString opType = 351
opStructFieldNPtrHeadStringTagUintString opType = 352
opStructFieldNPtrAnonymousHeadUintString opType = 353
opStructFieldNPtrAnonymousHeadOmitEmptyUintString opType = 354
opStructFieldNPtrAnonymousHeadStringTagUintString opType = 355
opStructFieldHeadIntPtr opType = 356
opStructFieldHeadOmitEmptyIntPtr opType = 357
opStructFieldHeadStringTagIntPtr opType = 358
opStructFieldAnonymousHeadIntPtr opType = 359
opStructFieldAnonymousHeadOmitEmptyIntPtr opType = 360
opStructFieldAnonymousHeadStringTagIntPtr opType = 361
opStructFieldPtrHeadIntPtr opType = 362
opStructFieldPtrHeadOmitEmptyIntPtr opType = 363
opStructFieldPtrHeadStringTagIntPtr opType = 364
opStructFieldPtrAnonymousHeadIntPtr opType = 365
opStructFieldPtrAnonymousHeadOmitEmptyIntPtr opType = 366
opStructFieldPtrAnonymousHeadStringTagIntPtr opType = 367
opStructFieldNPtrHeadIntPtr opType = 368
opStructFieldNPtrHeadOmitEmptyIntPtr opType = 369
opStructFieldNPtrHeadStringTagIntPtr opType = 370
opStructFieldNPtrAnonymousHeadIntPtr opType = 371
opStructFieldNPtrAnonymousHeadOmitEmptyIntPtr opType = 372
opStructFieldNPtrAnonymousHeadStringTagIntPtr opType = 373
opStructFieldHeadUintPtr opType = 374
opStructFieldHeadOmitEmptyUintPtr opType = 375
opStructFieldHeadStringTagUintPtr opType = 376
opStructFieldAnonymousHeadUintPtr opType = 377
opStructFieldAnonymousHeadOmitEmptyUintPtr opType = 378
opStructFieldAnonymousHeadStringTagUintPtr opType = 379
opStructFieldPtrHeadUintPtr opType = 380
opStructFieldPtrHeadOmitEmptyUintPtr opType = 381
opStructFieldPtrHeadStringTagUintPtr opType = 382
opStructFieldPtrAnonymousHeadUintPtr opType = 383
opStructFieldPtrAnonymousHeadOmitEmptyUintPtr opType = 384
opStructFieldPtrAnonymousHeadStringTagUintPtr opType = 385
opStructFieldNPtrHeadUintPtr opType = 386
opStructFieldNPtrHeadOmitEmptyUintPtr opType = 387
opStructFieldNPtrHeadStringTagUintPtr opType = 388
opStructFieldNPtrAnonymousHeadUintPtr opType = 389
opStructFieldNPtrAnonymousHeadOmitEmptyUintPtr opType = 390
opStructFieldNPtrAnonymousHeadStringTagUintPtr opType = 391
opStructFieldHeadFloat32Ptr opType = 392
opStructFieldHeadOmitEmptyFloat32Ptr opType = 393
opStructFieldHeadStringTagFloat32Ptr opType = 394
opStructFieldAnonymousHeadFloat32Ptr opType = 395
opStructFieldAnonymousHeadOmitEmptyFloat32Ptr opType = 396
opStructFieldAnonymousHeadStringTagFloat32Ptr opType = 397
opStructFieldPtrHeadFloat32Ptr opType = 398
opStructFieldPtrHeadOmitEmptyFloat32Ptr opType = 399
opStructFieldPtrHeadStringTagFloat32Ptr opType = 400
opStructFieldPtrAnonymousHeadFloat32Ptr opType = 401
opStructFieldPtrAnonymousHeadOmitEmptyFloat32Ptr opType = 402
opStructFieldPtrAnonymousHeadStringTagFloat32Ptr opType = 403
opStructFieldNPtrHeadFloat32Ptr opType = 404
opStructFieldNPtrHeadOmitEmptyFloat32Ptr opType = 405
opStructFieldNPtrHeadStringTagFloat32Ptr opType = 406
opStructFieldNPtrAnonymousHeadFloat32Ptr opType = 407
opStructFieldNPtrAnonymousHeadOmitEmptyFloat32Ptr opType = 408
opStructFieldNPtrAnonymousHeadStringTagFloat32Ptr opType = 409
opStructFieldHeadFloat64Ptr opType = 410
opStructFieldHeadOmitEmptyFloat64Ptr opType = 411
opStructFieldHeadStringTagFloat64Ptr opType = 412
opStructFieldAnonymousHeadFloat64Ptr opType = 413
opStructFieldAnonymousHeadOmitEmptyFloat64Ptr opType = 414
opStructFieldAnonymousHeadStringTagFloat64Ptr opType = 415
opStructFieldPtrHeadFloat64Ptr opType = 416
opStructFieldPtrHeadOmitEmptyFloat64Ptr opType = 417
opStructFieldPtrHeadStringTagFloat64Ptr opType = 418
opStructFieldPtrAnonymousHeadFloat64Ptr opType = 419
opStructFieldPtrAnonymousHeadOmitEmptyFloat64Ptr opType = 420
opStructFieldPtrAnonymousHeadStringTagFloat64Ptr opType = 421
opStructFieldNPtrHeadFloat64Ptr opType = 422
opStructFieldNPtrHeadOmitEmptyFloat64Ptr opType = 423
opStructFieldNPtrHeadStringTagFloat64Ptr opType = 424
opStructFieldNPtrAnonymousHeadFloat64Ptr opType = 425
opStructFieldNPtrAnonymousHeadOmitEmptyFloat64Ptr opType = 426
opStructFieldNPtrAnonymousHeadStringTagFloat64Ptr opType = 427
opStructFieldHeadBoolPtr opType = 428
opStructFieldHeadOmitEmptyBoolPtr opType = 429
opStructFieldHeadStringTagBoolPtr opType = 430
opStructFieldAnonymousHeadBoolPtr opType = 431
opStructFieldAnonymousHeadOmitEmptyBoolPtr opType = 432
opStructFieldAnonymousHeadStringTagBoolPtr opType = 433
opStructFieldPtrHeadBoolPtr opType = 434
opStructFieldPtrHeadOmitEmptyBoolPtr opType = 435
opStructFieldPtrHeadStringTagBoolPtr opType = 436
opStructFieldPtrAnonymousHeadBoolPtr opType = 437
opStructFieldPtrAnonymousHeadOmitEmptyBoolPtr opType = 438
opStructFieldPtrAnonymousHeadStringTagBoolPtr opType = 439
opStructFieldNPtrHeadBoolPtr opType = 440
opStructFieldNPtrHeadOmitEmptyBoolPtr opType = 441
opStructFieldNPtrHeadStringTagBoolPtr opType = 442
opStructFieldNPtrAnonymousHeadBoolPtr opType = 443
opStructFieldNPtrAnonymousHeadOmitEmptyBoolPtr opType = 444
opStructFieldNPtrAnonymousHeadStringTagBoolPtr opType = 445
opStructFieldHeadStringPtr opType = 446
opStructFieldHeadOmitEmptyStringPtr opType = 447
opStructFieldHeadStringTagStringPtr opType = 448
opStructFieldAnonymousHeadStringPtr opType = 449
opStructFieldAnonymousHeadOmitEmptyStringPtr opType = 450
opStructFieldAnonymousHeadStringTagStringPtr opType = 451
opStructFieldPtrHeadStringPtr opType = 452
opStructFieldPtrHeadOmitEmptyStringPtr opType = 453
opStructFieldPtrHeadStringTagStringPtr opType = 454
opStructFieldPtrAnonymousHeadStringPtr opType = 455
opStructFieldPtrAnonymousHeadOmitEmptyStringPtr opType = 456
opStructFieldPtrAnonymousHeadStringTagStringPtr opType = 457
opStructFieldNPtrHeadStringPtr opType = 458
opStructFieldNPtrHeadOmitEmptyStringPtr opType = 459
opStructFieldNPtrHeadStringTagStringPtr opType = 460
opStructFieldNPtrAnonymousHeadStringPtr opType = 461
opStructFieldNPtrAnonymousHeadOmitEmptyStringPtr opType = 462
opStructFieldNPtrAnonymousHeadStringTagStringPtr opType = 463
opStructFieldHeadBytesPtr opType = 464
opStructFieldHeadOmitEmptyBytesPtr opType = 465
opStructFieldHeadStringTagBytesPtr opType = 466
opStructFieldAnonymousHeadBytesPtr opType = 467
opStructFieldAnonymousHeadOmitEmptyBytesPtr opType = 468
opStructFieldAnonymousHeadStringTagBytesPtr opType = 469
opStructFieldPtrHeadBytesPtr opType = 470
opStructFieldPtrHeadOmitEmptyBytesPtr opType = 471
opStructFieldPtrHeadStringTagBytesPtr opType = 472
opStructFieldPtrAnonymousHeadBytesPtr opType = 473
opStructFieldPtrAnonymousHeadOmitEmptyBytesPtr opType = 474
opStructFieldPtrAnonymousHeadStringTagBytesPtr opType = 475
opStructFieldNPtrHeadBytesPtr opType = 476
opStructFieldNPtrHeadOmitEmptyBytesPtr opType = 477
opStructFieldNPtrHeadStringTagBytesPtr opType = 478
opStructFieldNPtrAnonymousHeadBytesPtr opType = 479
opStructFieldNPtrAnonymousHeadOmitEmptyBytesPtr opType = 480
opStructFieldNPtrAnonymousHeadStringTagBytesPtr opType = 481
opStructFieldHeadIntNPtr opType = 482
opStructFieldHeadOmitEmptyIntNPtr opType = 483
opStructFieldHeadStringTagIntNPtr opType = 484
opStructFieldAnonymousHeadIntNPtr opType = 485
opStructFieldAnonymousHeadOmitEmptyIntNPtr opType = 486
opStructFieldAnonymousHeadStringTagIntNPtr opType = 487
opStructFieldPtrHeadIntNPtr opType = 488
opStructFieldPtrHeadOmitEmptyIntNPtr opType = 489
opStructFieldPtrHeadStringTagIntNPtr opType = 490
opStructFieldPtrAnonymousHeadIntNPtr opType = 491
opStructFieldPtrAnonymousHeadOmitEmptyIntNPtr opType = 492
opStructFieldPtrAnonymousHeadStringTagIntNPtr opType = 493
opStructFieldNPtrHeadIntNPtr opType = 494
opStructFieldNPtrHeadOmitEmptyIntNPtr opType = 495
opStructFieldNPtrHeadStringTagIntNPtr opType = 496
opStructFieldNPtrAnonymousHeadIntNPtr opType = 497
opStructFieldNPtrAnonymousHeadOmitEmptyIntNPtr opType = 498
opStructFieldNPtrAnonymousHeadStringTagIntNPtr opType = 499
opStructFieldHeadUintNPtr opType = 500
opStructFieldHeadOmitEmptyUintNPtr opType = 501
opStructFieldHeadStringTagUintNPtr opType = 502
opStructFieldAnonymousHeadUintNPtr opType = 503
opStructFieldAnonymousHeadOmitEmptyUintNPtr opType = 504
opStructFieldAnonymousHeadStringTagUintNPtr opType = 505
opStructFieldPtrHeadUintNPtr opType = 506
opStructFieldPtrHeadOmitEmptyUintNPtr opType = 507
opStructFieldPtrHeadStringTagUintNPtr opType = 508
opStructFieldPtrAnonymousHeadUintNPtr opType = 509
opStructFieldPtrAnonymousHeadOmitEmptyUintNPtr opType = 510
opStructFieldPtrAnonymousHeadStringTagUintNPtr opType = 511
opStructFieldNPtrHeadUintNPtr opType = 512
opStructFieldNPtrHeadOmitEmptyUintNPtr opType = 513
opStructFieldNPtrHeadStringTagUintNPtr opType = 514
opStructFieldNPtrAnonymousHeadUintNPtr opType = 515
opStructFieldNPtrAnonymousHeadOmitEmptyUintNPtr opType = 516
opStructFieldNPtrAnonymousHeadStringTagUintNPtr opType = 517
opStructFieldHeadFloat32NPtr opType = 518
opStructFieldHeadOmitEmptyFloat32NPtr opType = 519
opStructFieldHeadStringTagFloat32NPtr opType = 520
opStructFieldAnonymousHeadFloat32NPtr opType = 521
opStructFieldAnonymousHeadOmitEmptyFloat32NPtr opType = 522
opStructFieldAnonymousHeadStringTagFloat32NPtr opType = 523
opStructFieldPtrHeadFloat32NPtr opType = 524
opStructFieldPtrHeadOmitEmptyFloat32NPtr opType = 525
opStructFieldPtrHeadStringTagFloat32NPtr opType = 526
opStructFieldPtrAnonymousHeadFloat32NPtr opType = 527
opStructFieldPtrAnonymousHeadOmitEmptyFloat32NPtr opType = 528
opStructFieldPtrAnonymousHeadStringTagFloat32NPtr opType = 529
opStructFieldNPtrHeadFloat32NPtr opType = 530
opStructFieldNPtrHeadOmitEmptyFloat32NPtr opType = 531
opStructFieldNPtrHeadStringTagFloat32NPtr opType = 532
opStructFieldNPtrAnonymousHeadFloat32NPtr opType = 533
opStructFieldNPtrAnonymousHeadOmitEmptyFloat32NPtr opType = 534
opStructFieldNPtrAnonymousHeadStringTagFloat32NPtr opType = 535
opStructFieldHeadFloat64NPtr opType = 536
opStructFieldHeadOmitEmptyFloat64NPtr opType = 537
opStructFieldHeadStringTagFloat64NPtr opType = 538
opStructFieldAnonymousHeadFloat64NPtr opType = 539
opStructFieldAnonymousHeadOmitEmptyFloat64NPtr opType = 540
opStructFieldAnonymousHeadStringTagFloat64NPtr opType = 541
opStructFieldPtrHeadFloat64NPtr opType = 542
opStructFieldPtrHeadOmitEmptyFloat64NPtr opType = 543
opStructFieldPtrHeadStringTagFloat64NPtr opType = 544
opStructFieldPtrAnonymousHeadFloat64NPtr opType = 545
opStructFieldPtrAnonymousHeadOmitEmptyFloat64NPtr opType = 546
opStructFieldPtrAnonymousHeadStringTagFloat64NPtr opType = 547
opStructFieldNPtrHeadFloat64NPtr opType = 548
opStructFieldNPtrHeadOmitEmptyFloat64NPtr opType = 549
opStructFieldNPtrHeadStringTagFloat64NPtr opType = 550
opStructFieldNPtrAnonymousHeadFloat64NPtr opType = 551
opStructFieldNPtrAnonymousHeadOmitEmptyFloat64NPtr opType = 552
opStructFieldNPtrAnonymousHeadStringTagFloat64NPtr opType = 553
opStructFieldHeadBoolNPtr opType = 554
opStructFieldHeadOmitEmptyBoolNPtr opType = 555
opStructFieldHeadStringTagBoolNPtr opType = 556
opStructFieldAnonymousHeadBoolNPtr opType = 557
opStructFieldAnonymousHeadOmitEmptyBoolNPtr opType = 558
opStructFieldAnonymousHeadStringTagBoolNPtr opType = 559
opStructFieldPtrHeadBoolNPtr opType = 560
opStructFieldPtrHeadOmitEmptyBoolNPtr opType = 561
opStructFieldPtrHeadStringTagBoolNPtr opType = 562
opStructFieldPtrAnonymousHeadBoolNPtr opType = 563
opStructFieldPtrAnonymousHeadOmitEmptyBoolNPtr opType = 564
opStructFieldPtrAnonymousHeadStringTagBoolNPtr opType = 565
opStructFieldNPtrHeadBoolNPtr opType = 566
opStructFieldNPtrHeadOmitEmptyBoolNPtr opType = 567
opStructFieldNPtrHeadStringTagBoolNPtr opType = 568
opStructFieldNPtrAnonymousHeadBoolNPtr opType = 569
opStructFieldNPtrAnonymousHeadOmitEmptyBoolNPtr opType = 570
opStructFieldNPtrAnonymousHeadStringTagBoolNPtr opType = 571
opStructFieldHeadStringNPtr opType = 572
opStructFieldHeadOmitEmptyStringNPtr opType = 573
opStructFieldHeadStringTagStringNPtr opType = 574
opStructFieldAnonymousHeadStringNPtr opType = 575
opStructFieldAnonymousHeadOmitEmptyStringNPtr opType = 576
opStructFieldAnonymousHeadStringTagStringNPtr opType = 577
opStructFieldPtrHeadStringNPtr opType = 578
opStructFieldPtrHeadOmitEmptyStringNPtr opType = 579
opStructFieldPtrHeadStringTagStringNPtr opType = 580
opStructFieldPtrAnonymousHeadStringNPtr opType = 581
opStructFieldPtrAnonymousHeadOmitEmptyStringNPtr opType = 582
opStructFieldPtrAnonymousHeadStringTagStringNPtr opType = 583
opStructFieldNPtrHeadStringNPtr opType = 584
opStructFieldNPtrHeadOmitEmptyStringNPtr opType = 585
opStructFieldNPtrHeadStringTagStringNPtr opType = 586
opStructFieldNPtrAnonymousHeadStringNPtr opType = 587
opStructFieldNPtrAnonymousHeadOmitEmptyStringNPtr opType = 588
opStructFieldNPtrAnonymousHeadStringTagStringNPtr opType = 589
opStructFieldHeadBytesNPtr opType = 590
opStructFieldHeadOmitEmptyBytesNPtr opType = 591
opStructFieldHeadStringTagBytesNPtr opType = 592
opStructFieldAnonymousHeadBytesNPtr opType = 593
opStructFieldAnonymousHeadOmitEmptyBytesNPtr opType = 594
opStructFieldAnonymousHeadStringTagBytesNPtr opType = 595
opStructFieldPtrHeadBytesNPtr opType = 596
opStructFieldPtrHeadOmitEmptyBytesNPtr opType = 597
opStructFieldPtrHeadStringTagBytesNPtr opType = 598
opStructFieldPtrAnonymousHeadBytesNPtr opType = 599
opStructFieldPtrAnonymousHeadOmitEmptyBytesNPtr opType = 600
opStructFieldPtrAnonymousHeadStringTagBytesNPtr opType = 601
opStructFieldNPtrHeadBytesNPtr opType = 602
opStructFieldNPtrHeadOmitEmptyBytesNPtr opType = 603
opStructFieldNPtrHeadStringTagBytesNPtr opType = 604
opStructFieldNPtrAnonymousHeadBytesNPtr opType = 605
opStructFieldNPtrAnonymousHeadOmitEmptyBytesNPtr opType = 606
opStructFieldNPtrAnonymousHeadStringTagBytesNPtr opType = 607
opStructFieldHead opType = 608
opStructFieldHeadOmitEmpty opType = 609
opStructFieldHeadStringTag opType = 610
opStructFieldAnonymousHead opType = 611
opStructFieldAnonymousHeadOmitEmpty opType = 612
opStructFieldAnonymousHeadStringTag opType = 613
opStructFieldPtrHead opType = 614
opStructFieldPtrHeadOmitEmpty opType = 615
opStructFieldPtrHeadStringTag opType = 616
opStructFieldPtrAnonymousHead opType = 617
opStructFieldPtrAnonymousHeadOmitEmpty opType = 618
opStructFieldPtrAnonymousHeadStringTag opType = 619
opStructFieldNPtrHead opType = 620
opStructFieldNPtrHeadOmitEmpty opType = 621
opStructFieldNPtrHeadStringTag opType = 622
opStructFieldNPtrAnonymousHead opType = 623
opStructFieldNPtrAnonymousHeadOmitEmpty opType = 624
opStructFieldNPtrAnonymousHeadStringTag opType = 625
opStructFieldInt opType = 626
opStructFieldOmitEmptyInt opType = 627
opStructFieldStringTagInt opType = 628
opStructFieldUint opType = 629
opStructFieldOmitEmptyUint opType = 630
opStructFieldStringTagUint opType = 631
opStructFieldFloat32 opType = 632
opStructFieldOmitEmptyFloat32 opType = 633
opStructFieldStringTagFloat32 opType = 634
opStructFieldFloat64 opType = 635
opStructFieldOmitEmptyFloat64 opType = 636
opStructFieldStringTagFloat64 opType = 637
opStructFieldBool opType = 638
opStructFieldOmitEmptyBool opType = 639
opStructFieldStringTagBool opType = 640
opStructFieldString opType = 641
opStructFieldOmitEmptyString opType = 642
opStructFieldStringTagString opType = 643
opStructFieldBytes opType = 644
opStructFieldOmitEmptyBytes opType = 645
opStructFieldStringTagBytes opType = 646
opStructFieldArray opType = 647
opStructFieldOmitEmptyArray opType = 648
opStructFieldStringTagArray opType = 649
opStructFieldMap opType = 650
opStructFieldOmitEmptyMap opType = 651
opStructFieldStringTagMap opType = 652
opStructFieldMapLoad opType = 653
opStructFieldOmitEmptyMapLoad opType = 654
opStructFieldStringTagMapLoad opType = 655
opStructFieldSlice opType = 656
opStructFieldOmitEmptySlice opType = 657
opStructFieldStringTagSlice opType = 658
opStructFieldStruct opType = 659
opStructFieldOmitEmptyStruct opType = 660
opStructFieldStringTagStruct opType = 661
opStructFieldMarshalJSON opType = 662
opStructFieldOmitEmptyMarshalJSON opType = 663
opStructFieldStringTagMarshalJSON opType = 664
opStructFieldMarshalText opType = 665
opStructFieldOmitEmptyMarshalText opType = 666
opStructFieldStringTagMarshalText opType = 667
opStructFieldRecursive opType = 668
opStructFieldOmitEmptyRecursive opType = 669
opStructFieldStringTagRecursive opType = 670
opStructFieldIntString opType = 671
opStructFieldOmitEmptyIntString opType = 672
opStructFieldStringTagIntString opType = 673
opStructFieldUintString opType = 674
opStructFieldOmitEmptyUintString opType = 675
opStructFieldStringTagUintString opType = 676
opStructFieldIntPtr opType = 677
opStructFieldOmitEmptyIntPtr opType = 678
opStructFieldStringTagIntPtr opType = 679
opStructFieldUintPtr opType = 680
opStructFieldOmitEmptyUintPtr opType = 681
opStructFieldStringTagUintPtr opType = 682
opStructFieldFloat32Ptr opType = 683
opStructFieldOmitEmptyFloat32Ptr opType = 684
opStructFieldStringTagFloat32Ptr opType = 685
opStructFieldFloat64Ptr opType = 686
opStructFieldOmitEmptyFloat64Ptr opType = 687
opStructFieldStringTagFloat64Ptr opType = 688
opStructFieldBoolPtr opType = 689
opStructFieldOmitEmptyBoolPtr opType = 690
opStructFieldStringTagBoolPtr opType = 691
opStructFieldStringPtr opType = 692
opStructFieldOmitEmptyStringPtr opType = 693
opStructFieldStringTagStringPtr opType = 694
opStructFieldBytesPtr opType = 695
opStructFieldOmitEmptyBytesPtr opType = 696
opStructFieldStringTagBytesPtr opType = 697
opStructFieldIntNPtr opType = 698
opStructFieldOmitEmptyIntNPtr opType = 699
opStructFieldStringTagIntNPtr opType = 700
opStructFieldUintNPtr opType = 701
opStructFieldOmitEmptyUintNPtr opType = 702
opStructFieldStringTagUintNPtr opType = 703
opStructFieldFloat32NPtr opType = 704
opStructFieldOmitEmptyFloat32NPtr opType = 705
opStructFieldStringTagFloat32NPtr opType = 706
opStructFieldFloat64NPtr opType = 707
opStructFieldOmitEmptyFloat64NPtr opType = 708
opStructFieldStringTagFloat64NPtr opType = 709
opStructFieldBoolNPtr opType = 710
opStructFieldOmitEmptyBoolNPtr opType = 711
opStructFieldStringTagBoolNPtr opType = 712
opStructFieldStringNPtr opType = 713
opStructFieldOmitEmptyStringNPtr opType = 714
opStructFieldStringTagStringNPtr opType = 715
opStructFieldBytesNPtr opType = 716
opStructFieldOmitEmptyBytesNPtr opType = 717
opStructFieldStringTagBytesNPtr opType = 718
opStructField opType = 719
opStructFieldOmitEmpty opType = 720
opStructFieldStringTag opType = 721
opStructEndInt opType = 722
opStructEndOmitEmptyInt opType = 723
opStructEndStringTagInt opType = 724
opStructEndUint opType = 725
opStructEndOmitEmptyUint opType = 726
opStructEndStringTagUint opType = 727
opStructEndFloat32 opType = 728
opStructEndOmitEmptyFloat32 opType = 729
opStructEndStringTagFloat32 opType = 730
opStructEndFloat64 opType = 731
opStructEndOmitEmptyFloat64 opType = 732
opStructEndStringTagFloat64 opType = 733
opStructEndBool opType = 734
opStructEndOmitEmptyBool opType = 735
opStructEndStringTagBool opType = 736
opStructEndString opType = 737
opStructEndOmitEmptyString opType = 738
opStructEndStringTagString opType = 739
opStructEndBytes opType = 740
opStructEndOmitEmptyBytes opType = 741
opStructEndStringTagBytes opType = 742
opStructEndArray opType = 743
opStructEndOmitEmptyArray opType = 744
opStructEndStringTagArray opType = 745
opStructEndMap opType = 746
opStructEndOmitEmptyMap opType = 747
opStructEndStringTagMap opType = 748
opStructEndMapLoad opType = 749
opStructEndOmitEmptyMapLoad opType = 750
opStructEndStringTagMapLoad opType = 751
opStructEndSlice opType = 752
opStructEndOmitEmptySlice opType = 753
opStructEndStringTagSlice opType = 754
opStructEndStruct opType = 755
opStructEndOmitEmptyStruct opType = 756
opStructEndStringTagStruct opType = 757
opStructEndMarshalJSON opType = 758
opStructEndOmitEmptyMarshalJSON opType = 759
opStructEndStringTagMarshalJSON opType = 760
opStructEndMarshalText opType = 761
opStructEndOmitEmptyMarshalText opType = 762
opStructEndStringTagMarshalText opType = 763
opStructEndRecursive opType = 764
opStructEndOmitEmptyRecursive opType = 765
opStructEndStringTagRecursive opType = 766
opStructEndIntString opType = 767
opStructEndOmitEmptyIntString opType = 768
opStructEndStringTagIntString opType = 769
opStructEndUintString opType = 770
opStructEndOmitEmptyUintString opType = 771
opStructEndStringTagUintString opType = 772
opStructEndIntPtr opType = 773
opStructEndOmitEmptyIntPtr opType = 774
opStructEndStringTagIntPtr opType = 775
opStructEndUintPtr opType = 776
opStructEndOmitEmptyUintPtr opType = 777
opStructEndStringTagUintPtr opType = 778
opStructEndFloat32Ptr opType = 779
opStructEndOmitEmptyFloat32Ptr opType = 780
opStructEndStringTagFloat32Ptr opType = 781
opStructEndFloat64Ptr opType = 782
opStructEndOmitEmptyFloat64Ptr opType = 783
opStructEndStringTagFloat64Ptr opType = 784
opStructEndBoolPtr opType = 785
opStructEndOmitEmptyBoolPtr opType = 786
opStructEndStringTagBoolPtr opType = 787
opStructEndStringPtr opType = 788
opStructEndOmitEmptyStringPtr opType = 789
opStructEndStringTagStringPtr opType = 790
opStructEndBytesPtr opType = 791
opStructEndOmitEmptyBytesPtr opType = 792
opStructEndStringTagBytesPtr opType = 793
opStructEndIntNPtr opType = 794
opStructEndOmitEmptyIntNPtr opType = 795
opStructEndStringTagIntNPtr opType = 796
opStructEndUintNPtr opType = 797
opStructEndOmitEmptyUintNPtr opType = 798
opStructEndStringTagUintNPtr opType = 799
opStructEndFloat32NPtr opType = 800
opStructEndOmitEmptyFloat32NPtr opType = 801
opStructEndStringTagFloat32NPtr opType = 802
opStructEndFloat64NPtr opType = 803
opStructEndOmitEmptyFloat64NPtr opType = 804
opStructEndStringTagFloat64NPtr opType = 805
opStructEndBoolNPtr opType = 806
opStructEndOmitEmptyBoolNPtr opType = 807
opStructEndStringTagBoolNPtr opType = 808
opStructEndStringNPtr opType = 809
opStructEndOmitEmptyStringNPtr opType = 810
opStructEndStringTagStringNPtr opType = 811
opStructEndBytesNPtr opType = 812
opStructEndOmitEmptyBytesNPtr opType = 813
opStructEndStringTagBytesNPtr opType = 814
opStructEnd opType = 815
opStructEndOmitEmpty opType = 816
opStructEndStringTag opType = 817
2020-08-15 11:41:38 +03:00
)
func (t opType) String() string {
2021-02-23 10:16:44 +03:00
if int(t) >= 818 {
2021-01-17 16:23:28 +03:00
return ""
2021-01-10 14:21:58 +03:00
}
2021-01-17 16:23:28 +03:00
return opTypeStrings[int(t)]
2021-01-10 14:21:58 +03:00
}
func (t opType) codeType() codeType {
2021-01-10 18:48:20 +03:00
if strings.Contains(t.String(), "Struct") {
if strings.Contains(t.String(), "End") {
return codeStructEnd
}
return codeStructField
}
if strings.Contains(t.String(), "ArrayHead") {
2021-01-10 14:21:58 +03:00
return codeArrayHead
2021-01-10 18:48:20 +03:00
}
if strings.Contains(t.String(), "ArrayElem") {
2021-01-10 14:21:58 +03:00
return codeArrayElem
2021-01-10 18:48:20 +03:00
}
if strings.Contains(t.String(), "SliceHead") {
return codeSliceHead
}
if strings.Contains(t.String(), "SliceElem") {
return codeSliceElem
}
if strings.Contains(t.String(), "MapHead") {
2021-01-10 14:21:58 +03:00
return codeMapHead
2021-01-10 18:48:20 +03:00
}
if strings.Contains(t.String(), "MapKey") {
2021-01-10 14:21:58 +03:00
return codeMapKey
2021-01-10 18:48:20 +03:00
}
if strings.Contains(t.String(), "MapValue") {
2021-01-10 14:21:58 +03:00
return codeMapValue
2021-01-10 18:48:20 +03:00
}
if strings.Contains(t.String(), "MapEnd") {
return codeMapEnd
}
return codeOp
}
func (t opType) headToPtrHead() opType {
if strings.Index(t.String(), "PtrHead") > 0 {
return t
}
if strings.Index(t.String(), "PtrAnonymousHead") > 0 {
return t
}
idx := strings.Index(t.String(), "Field")
if idx == -1 {
return t
}
suffix := "Ptr" + t.String()[idx+len("Field"):]
const toPtrOffset = 12
if strings.Contains(opType(int(t)+toPtrOffset).String(), suffix) {
return opType(int(t) + toPtrOffset)
}
return t
}
func (t opType) headToNPtrHead() opType {
if strings.Index(t.String(), "PtrHead") > 0 {
return t
}
if strings.Index(t.String(), "PtrAnonymousHead") > 0 {
return t
}
idx := strings.Index(t.String(), "Field")
if idx == -1 {
return t
}
suffix := "NPtr" + t.String()[idx+len("Field"):]
const toPtrOffset = 24
if strings.Contains(opType(int(t)+toPtrOffset).String(), suffix) {
return opType(int(t) + toPtrOffset)
}
return t
}
func (t opType) headToAnonymousHead() opType {
const toAnonymousOffset = 6
if strings.Contains(opType(int(t)+toAnonymousOffset).String(), "Anonymous") {
return opType(int(t) + toAnonymousOffset)
}
return t
}
func (t opType) headToOmitEmptyHead() opType {
const toOmitEmptyOffset = 2
if strings.Contains(opType(int(t)+toOmitEmptyOffset).String(), "OmitEmpty") {
return opType(int(t) + toOmitEmptyOffset)
}
return t
}
func (t opType) headToStringTagHead() opType {
const toStringTagOffset = 4
if strings.Contains(opType(int(t)+toStringTagOffset).String(), "StringTag") {
return opType(int(t) + toStringTagOffset)
}
return t
}
func (t opType) ptrHeadToHead() opType {
idx := strings.Index(t.String(), "Ptr")
if idx == -1 {
return t
}
suffix := t.String()[idx+len("Ptr"):]
const toPtrOffset = 12
if strings.Contains(opType(int(t)-toPtrOffset).String(), suffix) {
return opType(int(t) - toPtrOffset)
}
return t
}
func (t opType) fieldToEnd() opType {
2021-01-10 14:21:58 +03:00
switch t {
case opStructFieldInt:
2021-01-10 18:48:20 +03:00
return opStructEndInt
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyInt:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyInt
case opStructFieldStringTagInt:
return opStructEndStringTagInt
2021-01-10 14:21:58 +03:00
case opStructFieldUint:
2021-01-10 18:48:20 +03:00
return opStructEndUint
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyUint:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyUint
case opStructFieldStringTagUint:
return opStructEndStringTagUint
2021-01-10 14:21:58 +03:00
case opStructFieldFloat32:
2021-01-10 18:48:20 +03:00
return opStructEndFloat32
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyFloat32:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyFloat32
case opStructFieldStringTagFloat32:
return opStructEndStringTagFloat32
2021-01-10 14:21:58 +03:00
case opStructFieldFloat64:
2021-01-10 18:48:20 +03:00
return opStructEndFloat64
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyFloat64:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyFloat64
case opStructFieldStringTagFloat64:
return opStructEndStringTagFloat64
2021-01-10 14:21:58 +03:00
case opStructFieldBool:
2021-01-10 18:48:20 +03:00
return opStructEndBool
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyBool:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyBool
case opStructFieldStringTagBool:
return opStructEndStringTagBool
2021-01-10 14:21:58 +03:00
case opStructFieldString:
2021-01-10 18:48:20 +03:00
return opStructEndString
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyString:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyString
case opStructFieldStringTagString:
return opStructEndStringTagString
2021-01-10 14:21:58 +03:00
case opStructFieldBytes:
2021-01-10 18:48:20 +03:00
return opStructEndBytes
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyBytes:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyBytes
case opStructFieldStringTagBytes:
return opStructEndStringTagBytes
2021-01-10 14:21:58 +03:00
case opStructFieldMarshalJSON:
2021-01-10 18:48:20 +03:00
return opStructEndMarshalJSON
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyMarshalJSON:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyMarshalJSON
case opStructFieldStringTagMarshalJSON:
return opStructEndStringTagMarshalJSON
2021-01-10 14:21:58 +03:00
case opStructFieldMarshalText:
2021-01-10 18:48:20 +03:00
return opStructEndMarshalText
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyMarshalText:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyMarshalText
case opStructFieldStringTagMarshalText:
return opStructEndStringTagMarshalText
2021-01-10 14:21:58 +03:00
case opStructFieldIntString:
2021-01-10 18:48:20 +03:00
return opStructEndIntString
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyIntString:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyIntString
case opStructFieldStringTagIntString:
return opStructEndStringTagIntString
2021-01-10 14:21:58 +03:00
case opStructFieldUintString:
2021-01-10 18:48:20 +03:00
return opStructEndUintString
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyUintString:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyUintString
case opStructFieldStringTagUintString:
return opStructEndStringTagUintString
2021-01-10 14:21:58 +03:00
case opStructFieldIntPtr:
2021-01-10 18:48:20 +03:00
return opStructEndIntPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyIntPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyIntPtr
case opStructFieldStringTagIntPtr:
return opStructEndStringTagIntPtr
2021-01-10 14:21:58 +03:00
case opStructFieldUintPtr:
2021-01-10 18:48:20 +03:00
return opStructEndUintPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyUintPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyUintPtr
case opStructFieldStringTagUintPtr:
return opStructEndStringTagUintPtr
2021-01-10 14:21:58 +03:00
case opStructFieldFloat32Ptr:
2021-01-10 18:48:20 +03:00
return opStructEndFloat32Ptr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyFloat32Ptr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyFloat32Ptr
case opStructFieldStringTagFloat32Ptr:
return opStructEndStringTagFloat32Ptr
2021-01-10 14:21:58 +03:00
case opStructFieldFloat64Ptr:
2021-01-10 18:48:20 +03:00
return opStructEndFloat64Ptr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyFloat64Ptr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyFloat64Ptr
case opStructFieldStringTagFloat64Ptr:
return opStructEndStringTagFloat64Ptr
2021-01-10 14:21:58 +03:00
case opStructFieldBoolPtr:
2021-01-10 18:48:20 +03:00
return opStructEndBoolPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyBoolPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyBoolPtr
case opStructFieldStringTagBoolPtr:
return opStructEndStringTagBoolPtr
2021-01-10 14:21:58 +03:00
case opStructFieldStringPtr:
2021-01-10 18:48:20 +03:00
return opStructEndStringPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyStringPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyStringPtr
case opStructFieldStringTagStringPtr:
return opStructEndStringTagStringPtr
2021-01-10 14:21:58 +03:00
case opStructFieldBytesPtr:
2021-01-10 18:48:20 +03:00
return opStructEndBytesPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyBytesPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyBytesPtr
case opStructFieldStringTagBytesPtr:
return opStructEndStringTagBytesPtr
2021-01-10 14:21:58 +03:00
case opStructFieldIntNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndIntNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyIntNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyIntNPtr
case opStructFieldStringTagIntNPtr:
return opStructEndStringTagIntNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldUintNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndUintNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyUintNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyUintNPtr
case opStructFieldStringTagUintNPtr:
return opStructEndStringTagUintNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldFloat32NPtr:
2021-01-10 18:48:20 +03:00
return opStructEndFloat32NPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyFloat32NPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyFloat32NPtr
case opStructFieldStringTagFloat32NPtr:
return opStructEndStringTagFloat32NPtr
2021-01-10 14:21:58 +03:00
case opStructFieldFloat64NPtr:
2021-01-10 18:48:20 +03:00
return opStructEndFloat64NPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyFloat64NPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyFloat64NPtr
case opStructFieldStringTagFloat64NPtr:
return opStructEndStringTagFloat64NPtr
2021-01-10 14:21:58 +03:00
case opStructFieldBoolNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndBoolNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyBoolNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyBoolNPtr
case opStructFieldStringTagBoolNPtr:
return opStructEndStringTagBoolNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldStringNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndStringNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyStringNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyStringNPtr
case opStructFieldStringTagStringNPtr:
return opStructEndStringTagStringNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldBytesNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndBytesNPtr
2021-01-10 14:21:58 +03:00
case opStructFieldOmitEmptyBytesNPtr:
2021-01-10 18:48:20 +03:00
return opStructEndOmitEmptyBytesNPtr
case opStructFieldStringTagBytesNPtr:
return opStructEndStringTagBytesNPtr
}
return t
}
func (t opType) fieldToOmitEmptyField() opType {
const toOmitEmptyOffset = 1
if strings.Contains(opType(int(t)+toOmitEmptyOffset).String(), "OmitEmpty") {
return opType(int(t) + toOmitEmptyOffset)
}
return t
}
func (t opType) fieldToStringTagField() opType {
const toStringTagOffset = 2
if strings.Contains(opType(int(t)+toStringTagOffset).String(), "StringTag") {
return opType(int(t) + toStringTagOffset)
2020-11-12 18:27:11 +03:00
}
return t
2020-08-19 13:55:06 +03:00
}