Add opcode for sorted map

This commit is contained in:
Masaaki Goshima 2020-09-16 01:23:36 +09:00
parent fd37152010
commit 5c3efd11af
2 changed files with 866 additions and 761 deletions

View File

@ -237,6 +237,13 @@ func (t opType) fieldToStringTagField() opType {
{"RootMapKey", "RootMapKeyIndent", "MapKey"}, {"RootMapKey", "RootMapKeyIndent", "MapKey"},
{"MapValue", "MapValueIndent", "MapValue"}, {"MapValue", "MapValueIndent", "MapValue"},
{"MapEnd", "MapEndIndent", "Op"}, {"MapEnd", "MapEndIndent", "Op"},
{"SortedMapHead", "SortedMapHeadIndent", "MapHead"},
{"SortedMapHeadLoad", "SortedMapHeadLoadIndent", "MapHead"},
{"SortedRootMapHead", "SortedRootMapHeadIndent", "MapHead"},
{"SortedMapKey", "SortedMapKeyIndent", "MapKey"},
{"SortedRootMapKey", "SortedRootMapKeyIndent", "MapKey"},
{"SortedMapValue", "SortedMapValueIndent", "MapValue"},
{"SortedMapEnd", "SortedMapEndIndent", "Op"},
{"StructFieldHead", "StructFieldHeadIndent", "StructField"}, {"StructFieldHead", "StructFieldHeadIndent", "StructField"},
{"StructFieldHeadOmitEmpty", "StructFieldHeadOmitEmptyIndent", "StructField"}, {"StructFieldHeadOmitEmpty", "StructFieldHeadOmitEmptyIndent", "StructField"},
{"StructFieldHeadStringTag", "StructFieldHeadStringTagIndent", "StructField"}, {"StructFieldHeadStringTag", "StructFieldHeadStringTagIndent", "StructField"},

File diff suppressed because it is too large Load Diff