Index: mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart |
diff --git a/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart b/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart |
index 4b8f818df755c37b22b9da66968650eb4f6f5b9f..9aa3cfa10b25e542d5b6d5453f19ed14b66502ca 100644 |
--- a/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart |
+++ b/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart |
@@ -5,9 +5,12 @@ |
library test_structs_mojom; |
import 'dart:async'; |
+import 'dart:collection'; |
import 'package:mojo/bindings.dart' as bindings; |
import 'package:mojo/core.dart' as core; |
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer; |
import 'package:_mojo_for_test_only/mojo/test/rect.mojom.dart' as rect_mojom; |
@@ -225,6 +228,64 @@ class StructOfStructs extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_StructOfStructs__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'StructOfStructs' |
+ ..fullIdentifier = 'mojo.test.StructOfStructs') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Nr') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_NamedRegion__' |
+ ..typeKey = '_test_structs_NamedRegion__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ANr') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_NamedRegion__' |
+ ..typeKey = '_test_structs_NamedRegion__' |
+ )))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ARp') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_RectPair__' |
+ ..typeKey = '_test_structs_RectPair__' |
+ )))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MNdfv') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64) |
+ ..valueType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_NoDefaultFieldValues__' |
+ ..typeKey = '_test_structs_NoDefaultFieldValues__' |
+ )))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MHs') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64) |
+ ..valueType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_HandleStruct__' |
+ ..typeKey = '_test_structs_HandleStruct__' |
+ )))), |
+ ]; |
+} |
class NamedRegion extends bindings.Struct { |
@@ -320,6 +381,30 @@ class NamedRegion extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_NamedRegion__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'NamedRegion' |
+ ..fullIdentifier = 'mojo.test.NamedRegion') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Name') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rects') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )))), |
+ ]; |
+} |
class RectPair extends bindings.Struct { |
@@ -398,6 +483,35 @@ class RectPair extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_RectPair__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'RectPair' |
+ ..fullIdentifier = 'mojo.test.RectPair') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'First') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Second') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ ]; |
+} |
class EmptyStruct extends bindings.Struct { |
@@ -456,6 +570,13 @@ class EmptyStruct extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_EmptyStruct__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'EmptyStruct' |
+ ..fullIdentifier = 'mojo.test.EmptyStruct') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
class HandleStruct extends bindings.Struct { |
@@ -530,6 +651,28 @@ class HandleStruct extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_HandleStruct__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'HandleStruct' |
+ ..fullIdentifier = 'mojo.test.HandleStruct') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'H') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.messagePipe |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ArrayH') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.messagePipe |
+..nullable = false)))), |
+ ]; |
+} |
class NullableHandleStruct extends bindings.Struct { |
@@ -604,6 +747,24 @@ class NullableHandleStruct extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_NullableHandleStruct__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'NullableHandleStruct' |
+ ..fullIdentifier = 'mojo.test.NullableHandleStruct') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'H') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.messagePipe |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Data') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ ]; |
+} |
class NoDefaultFieldValues extends bindings.Struct { |
@@ -964,6 +1125,185 @@ class NoDefaultFieldValues extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_NoDefaultFieldValues__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'NoDefaultFieldValues' |
+ ..fullIdentifier = 'mojo.test.NoDefaultFieldValues') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F7') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F8') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F9') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F10') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F11') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F12') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F13') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.messagePipe |
+..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F14') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.dataPipeConsumer |
+..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F15') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.dataPipeProducer |
+..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F16') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.messagePipe |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F17') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.dataPipeConsumer |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F18') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.dataPipeProducer |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F19') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.unspecified |
+..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F20') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.unspecified |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F21') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.sharedBuffer |
+..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F22') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.sharedBuffer |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F23') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F24') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F25') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F26') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F27') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_EmptyStruct__' |
+ ..typeKey = '_test_structs_EmptyStruct__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F28') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_test_structs_EmptyStruct__' |
+ ..typeKey = '_test_structs_EmptyStruct__' |
+ )), |
+ ]; |
+} |
class DefaultFieldValues extends bindings.Struct { |
@@ -1178,7 +1518,95 @@ class DefaultFieldValues extends bindings.Struct { |
return map; |
} |
} |
- |
+mojom_types.MojomStruct _test_structs_DefaultFieldValues__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'DefaultFieldValues' |
+ ..fullIdentifier = 'mojo.test.DefaultFieldValues') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F7') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F8') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F9') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F10') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F11') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F12') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F13') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F14') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F15') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F16') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ ]; |
+} |
class ScopedConstantsEType extends bindings.MojoEnum { |
static const ScopedConstantsEType e0 = const ScopedConstantsEType._(0); |
@@ -1245,12 +1673,37 @@ class ScopedConstantsEType extends bindings.MojoEnum { |
return 'ScopedConstantsEType.e3'; |
case e4: |
return 'ScopedConstantsEType.e4'; |
+ default: |
+ return null; |
} |
} |
int toJson() => mojoEnumValue; |
} |
+mojom_types.MojomEnum _test_structs_EType__() { |
+ return new mojom_types.MojomEnum() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'ScopedConstantsEType' |
+ ..fullIdentifier = 'mojo.test.ScopedConstantsEType') |
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'E0') |
+ ..enumTypeKey = '_test_structs_EType__' |
+ ..intValue = 0,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'E1') |
+ ..enumTypeKey = '_test_structs_EType__' |
+ ..intValue = 1,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'E2') |
+ ..enumTypeKey = '_test_structs_EType__' |
+ ..intValue = 10,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'E3') |
+ ..enumTypeKey = '_test_structs_EType__' |
+ ..intValue = 10,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'E4') |
+ ..enumTypeKey = '_test_structs_EType__' |
+ ..intValue = 11,]; |
+} |
+ |
class ScopedConstants extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(40, 0) |
@@ -1392,6 +1845,66 @@ class ScopedConstants extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_ScopedConstants__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'ScopedConstants' |
+ ..fullIdentifier = 'mojo.test.ScopedConstants') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_EType__' |
+ ..typeKey = '_test_structs_EType__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_EType__' |
+ ..typeKey = '_test_structs_EType__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_EType__' |
+ ..typeKey = '_test_structs_EType__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_EType__' |
+ ..typeKey = '_test_structs_EType__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_EType__' |
+ ..typeKey = '_test_structs_EType__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ ]; |
+} |
class MapKeyTypes extends bindings.Struct { |
@@ -1898,6 +2411,87 @@ class MapKeyTypes extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_MapKeyTypes__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MapKeyTypes' |
+ ..fullIdentifier = 'mojo.test.MapKeyTypes') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint16) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint16))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F7') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F8') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F9') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F10') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double) |
+ ..valueType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F11') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))), |
+ ]; |
+} |
class MapValueTypes extends bindings.Struct { |
@@ -2983,6 +3577,144 @@ class MapValueTypes extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_MapValueTypes__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MapValueTypes' |
+ ..fullIdentifier = 'mojo.test.MapValueTypes') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 2 |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ ..fixedLength = 2 |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 1 |
+ ..elementType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 2 |
+ ..elementType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F7') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F8') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)))))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F9') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.unspecified |
+..nullable = false)))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F10') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.unspecified |
+..nullable = false)))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F11') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = false)) |
+ ..valueType = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.unspecified |
+..nullable = false)))))), |
+ ]; |
+} |
class ArrayValueTypes extends bindings.Struct { |
@@ -3095,6 +3827,43 @@ class ArrayValueTypes extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_ArrayValueTypes__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'ArrayValueTypes' |
+ ..fullIdentifier = 'mojo.test.ArrayValueTypes') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double))), |
+ ]; |
+} |
class FloatNumberValues extends bindings.Struct { |
@@ -3253,6 +4022,53 @@ class FloatNumberValues extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_FloatNumberValues__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'FloatNumberValues' |
+ ..fullIdentifier = 'mojo.test.FloatNumberValues') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F7') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F8') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F9') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.double), |
+ ]; |
+} |
class IntegerNumberValues extends bindings.Struct { |
@@ -3511,6 +4327,93 @@ class IntegerNumberValues extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_IntegerNumberValues__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'IntegerNumberValues' |
+ ..fullIdentifier = 'mojo.test.IntegerNumberValues') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F7') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F8') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F9') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F10') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F11') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F12') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F13') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F14') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F15') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F16') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F17') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F18') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F19') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64), |
+ ]; |
+} |
class UnsignedNumberValues extends bindings.Struct { |
@@ -3689,6 +4592,61 @@ class UnsignedNumberValues extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_UnsignedNumberValues__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'UnsignedNumberValues' |
+ ..fullIdentifier = 'mojo.test.UnsignedNumberValues') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint16), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F7') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F8') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F9') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F10') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F11') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint64), |
+ ]; |
+} |
class BitArrayValues extends bindings.Struct { |
@@ -3858,6 +4816,55 @@ class BitArrayValues extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_BitArrayValues__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'BitArrayValues' |
+ ..fullIdentifier = 'mojo.test.BitArrayValues') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F0') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 1 |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F1') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 7 |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F2') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 9 |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F3') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F4') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F5') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'F6') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ ..fixedLength = 2 |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool))))), |
+ ]; |
+} |
class MultiVersionStruct extends bindings.Struct { |
@@ -3978,6 +4985,55 @@ class MultiVersionStruct extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_MultiVersionStruct__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MultiVersionStruct' |
+ ..fullIdentifier = 'mojo.test.MultiVersionStruct') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FInt32') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FString') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FArray') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FMessagePipe') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.messagePipe |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FBool') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FInt16') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int16), |
+ ]; |
+} |
class MultiVersionStructV0 extends bindings.Struct { |
@@ -4045,6 +5101,17 @@ class MultiVersionStructV0 extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_MultiVersionStructV0__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MultiVersionStructV0' |
+ ..fullIdentifier = 'mojo.test.MultiVersionStructV0') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FInt32') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ ]; |
+} |
class MultiVersionStructV1 extends bindings.Struct { |
@@ -4123,6 +5190,28 @@ class MultiVersionStructV1 extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_MultiVersionStructV1__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MultiVersionStructV1' |
+ ..fullIdentifier = 'mojo.test.MultiVersionStructV1') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FInt32') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ ]; |
+} |
class MultiVersionStructV3 extends bindings.Struct { |
@@ -4211,6 +5300,33 @@ class MultiVersionStructV3 extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_MultiVersionStructV3__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MultiVersionStructV3' |
+ ..fullIdentifier = 'mojo.test.MultiVersionStructV3') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FInt32') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FString') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ ]; |
+} |
class MultiVersionStructV5 extends bindings.Struct { |
@@ -4309,6 +5425,40 @@ class MultiVersionStructV5 extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_MultiVersionStructV5__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MultiVersionStructV5' |
+ ..fullIdentifier = 'mojo.test.MultiVersionStructV5') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FInt32') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FString') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FArray') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8))), |
+ ]; |
+} |
class MultiVersionStructV7 extends bindings.Struct { |
@@ -4420,6 +5570,51 @@ class MultiVersionStructV7 extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_MultiVersionStructV7__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'MultiVersionStructV7' |
+ ..fullIdentifier = 'mojo.test.MultiVersionStructV7') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FInt32') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_rect_Rect__' |
+ ..typeKey = '_rect_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FString') |
+ ..type = (new mojom_types.Type() |
+..stringType = (new mojom_types.StringType()..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FArray') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..nullable = true |
+ |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int8))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FMessagePipe') |
+ ..type = (new mojom_types.Type() |
+..handleType = (new mojom_types.HandleType() |
+..kind = mojom_types.HandleTypeKind.messagePipe |
+..nullable = true)), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FBool') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool), |
+ ]; |
+} |
class ContainsInterface extends bindings.Struct { |
@@ -4486,6 +5681,22 @@ class ContainsInterface extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
+mojom_types.MojomStruct _test_structs_ContainsInterface__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'ContainsInterface' |
+ ..fullIdentifier = 'mojo.test.ContainsInterface') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SomeInterface') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_SomeInterface__' |
+ ..typeKey = '_test_structs_SomeInterface__' |
+ )), |
+ ]; |
+} |
class ContainsOther extends bindings.Struct { |
@@ -4553,6 +5764,17 @@ class ContainsOther extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_ContainsOther__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'ContainsOther' |
+ ..fullIdentifier = 'mojo.test.ContainsOther') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Other') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32), |
+ ]; |
+} |
class ContainsInterfaceRequest extends bindings.Struct { |
@@ -4627,7 +5849,35 @@ class ContainsInterfaceRequest extends bindings.Struct { |
'Object containing handles cannot be encoded to JSON.'); |
} |
} |
- |
+mojom_types.MojomStruct _test_structs_ContainsInterfaceRequest__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'ContainsInterfaceRequest' |
+ ..fullIdentifier = 'mojo.test.ContainsInterfaceRequest') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Req') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..isInterfaceRequest = true |
+ ..identifier = '_test_structs_SomeInterface__' |
+ ..typeKey = '_test_structs_SomeInterface__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NullableReq') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..isInterfaceRequest = true |
+ ..identifier = '_test_structs_SomeInterface__' |
+ ..typeKey = '_test_structs_SomeInterface__' |
+ )), |
+ ]; |
+} |
class DartKeywordStructKeywords extends bindings.MojoEnum { |
static const DartKeywordStructKeywords await_ = const DartKeywordStructKeywords._(0); |
@@ -4680,12 +5930,31 @@ class DartKeywordStructKeywords extends bindings.MojoEnum { |
return 'DartKeywordStructKeywords.is_'; |
case rethrow_: |
return 'DartKeywordStructKeywords.rethrow_'; |
+ default: |
+ return null; |
} |
} |
int toJson() => mojoEnumValue; |
} |
+mojom_types.MojomEnum _test_structs_Keywords__() { |
+ return new mojom_types.MojomEnum() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'DartKeywordStructKeywords' |
+ ..fullIdentifier = 'mojo.test.DartKeywordStructKeywords') |
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Await') |
+ ..enumTypeKey = '_test_structs_Keywords__' |
+ ..intValue = 0,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Is') |
+ ..enumTypeKey = '_test_structs_Keywords__' |
+ ..intValue = 1,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rethrow') |
+ ..enumTypeKey = '_test_structs_Keywords__' |
+ ..intValue = 2,]; |
+} |
+ |
class DartKeywordStruct extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -4781,6 +6050,40 @@ class DartKeywordStruct extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_DartKeywordStruct__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'DartKeywordStruct' |
+ ..fullIdentifier = 'mojo.test.DartKeywordStruct') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Await') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_Keywords__' |
+ ..typeKey = '_test_structs_Keywords__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Is') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_Keywords__' |
+ ..typeKey = '_test_structs_Keywords__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rethrow') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_Keywords__' |
+ ..typeKey = '_test_structs_Keywords__' |
+ )), |
+ ]; |
+} |
class _SomeInterfaceSomeMethodParams extends bindings.Struct { |
@@ -4849,6 +6152,22 @@ class _SomeInterfaceSomeMethodParams extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_SomeInterface_SomeMethod_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = '_SomeInterfaceSomeMethodParams' |
+ ..fullIdentifier = 'mojo.test._SomeInterfaceSomeMethodParams') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Pair') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_RectPair__' |
+ ..typeKey = '_test_structs_RectPair__' |
+ )), |
+ ]; |
+} |
class SomeInterfaceSomeMethodResponseParams extends bindings.Struct { |
@@ -4917,6 +6236,22 @@ class SomeInterfaceSomeMethodResponseParams extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _test_structs_SomeInterface_SomeMethod_ResponseParams__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'SomeInterfaceSomeMethodResponseParams' |
+ ..fullIdentifier = 'mojo.test.SomeInterfaceSomeMethodResponseParams') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'OtherPair') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_RectPair__' |
+ ..typeKey = '_test_structs_RectPair__' |
+ )), |
+ ]; |
+} |
@@ -5215,8 +6550,99 @@ class UnionOfStructs extends bindings.Union { |
return result; |
} |
} |
+ |
+mojom_types.MojomUnion _test_structs_UnionOfStructs__() { |
+ return new mojom_types.MojomUnion() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'UnionOfStructs' |
+ ..fullIdentifier = 'mojo.test.UnionOfStructs') |
+ ..fields = <mojom_types.UnionField>[ |
+ new mojom_types.UnionField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Nr') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_NamedRegion__' |
+ ..typeKey = '_test_structs_NamedRegion__' |
+ )) |
+ ..tag = 0, |
+ |
+ new mojom_types.UnionField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ANr') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_NamedRegion__' |
+ ..typeKey = '_test_structs_NamedRegion__' |
+ )))) |
+ ..tag = 1, |
+ |
+ new mojom_types.UnionField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ARp') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_RectPair__' |
+ ..typeKey = '_test_structs_RectPair__' |
+ )))) |
+ ..tag = 2, |
+ |
+ new mojom_types.UnionField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MNdfv') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64) |
+ ..valueType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_NoDefaultFieldValues__' |
+ ..typeKey = '_test_structs_NoDefaultFieldValues__' |
+ )))) |
+ ..tag = 3, |
+ |
+ new mojom_types.UnionField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MHs') |
+ ..type = (new mojom_types.Type()..mapType = (new mojom_types.MapType() |
+ ..keyType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int64) |
+ ..valueType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_test_structs_HandleStruct__' |
+ ..typeKey = '_test_structs_HandleStruct__' |
+ )))) |
+ ..tag = 4, |
+ ]; |
+} |
+ |
const int _SomeInterface_someMethodName = 0; |
+mojom_types.MojomInterface _test_structs_SomeInterface__() { |
+ return new mojom_types.MojomInterface() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'SomeInterface' |
+ ..fullIdentifier = 'mojo.test.SomeInterface') |
+ ..interfaceName = 'SomeInterface' |
+ ..methods = <int, mojom_types.MojomMethod>{ |
+_SomeInterface_someMethodName: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SomeMethod') |
+ ..ordinal = _SomeInterface_someMethodName |
+ ..responseParams = _test_structs_SomeInterface_SomeMethod_ResponseParams__()..parameters = _test_structs_SomeInterface_SomeMethod_Params__(), |
+ }; |
+} |
+ |
+class _SomeInterfaceServiceDescription implements service_describer.ServiceDescription { |
+dynamic getTopLevelInterface([Function responseFactory = null]) { |
+ return _test_structs_SomeInterface__(); |
+ } |
+ dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) { |
+ return getAllMojomTypeDefinitions()[typeKey]; |
+ } |
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) { |
+ return getAllMojomTypeDefinitions(); |
+ } |
+} |
+ |
abstract class SomeInterface { |
static const String serviceName = null; |
dynamic someMethod(RectPair pair,[Function responseFactory = null]); |
@@ -5238,6 +6664,9 @@ class _SomeInterfaceProxyImpl extends bindings.Proxy { |
return new _SomeInterfaceProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _SomeInterfaceServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _SomeInterface_someMethodName: |
@@ -5423,6 +6852,128 @@ class SomeInterfaceStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _SomeInterfaceServiceDescription(); |
} |
+ |
+ |
+ |
+ |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new HashMap<String, mojom_types.UserDefinedType>(); |
+map["_test_structs_StructOfStructs__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_StructOfStructs__(); |
+map["_test_structs_NamedRegion__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_NamedRegion__(); |
+map["_test_structs_RectPair__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_RectPair__(); |
+map["_test_structs_EmptyStruct__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_EmptyStruct__(); |
+map["_test_structs_HandleStruct__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_HandleStruct__(); |
+map["_test_structs_NullableHandleStruct__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_NullableHandleStruct__(); |
+map["_test_structs_NoDefaultFieldValues__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_NoDefaultFieldValues__(); |
+map["_test_structs_DefaultFieldValues__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_DefaultFieldValues__(); |
+map["_test_structs_ScopedConstants__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_ScopedConstants__(); |
+ map["_test_structs_EType__"] = |
+ new mojom_types.UserDefinedType() |
+ ..enumType = _test_structs_EType__(); |
+map["_test_structs_MapKeyTypes__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MapKeyTypes__(); |
+map["_test_structs_MapValueTypes__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MapValueTypes__(); |
+map["_test_structs_ArrayValueTypes__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_ArrayValueTypes__(); |
+map["_test_structs_FloatNumberValues__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_FloatNumberValues__(); |
+map["_test_structs_IntegerNumberValues__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_IntegerNumberValues__(); |
+map["_test_structs_UnsignedNumberValues__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_UnsignedNumberValues__(); |
+map["_test_structs_BitArrayValues__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_BitArrayValues__(); |
+map["_test_structs_MultiVersionStruct__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MultiVersionStruct__(); |
+map["_test_structs_MultiVersionStructV0__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MultiVersionStructV0__(); |
+map["_test_structs_MultiVersionStructV1__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MultiVersionStructV1__(); |
+map["_test_structs_MultiVersionStructV3__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MultiVersionStructV3__(); |
+map["_test_structs_MultiVersionStructV5__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MultiVersionStructV5__(); |
+map["_test_structs_MultiVersionStructV7__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_MultiVersionStructV7__(); |
+map["_test_structs_ContainsInterface__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_ContainsInterface__(); |
+map["_test_structs_ContainsOther__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_ContainsOther__(); |
+map["_test_structs_ContainsInterfaceRequest__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_ContainsInterfaceRequest__(); |
+map["_test_structs_DartKeywordStruct__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_DartKeywordStruct__(); |
+ map["_test_structs_Keywords__"] = |
+ new mojom_types.UserDefinedType() |
+ ..enumType = _test_structs_Keywords__(); |
+map["_test_structs_SomeInterface_SomeMethod_Params__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_SomeInterface_SomeMethod_Params__(); |
+map["_test_structs_SomeInterface_SomeMethod_ResponseParams__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _test_structs_SomeInterface_SomeMethod_ResponseParams__(); |
+map["_test_structs_UnionOfStructs__"] = |
+ new mojom_types.UserDefinedType() |
+ ..unionType = _test_structs_UnionOfStructs__(); |
+map["_test_structs_SomeInterface__"] = |
+ new mojom_types.UserDefinedType() |
+ ..interfaceType = _test_structs_SomeInterface__(); |
+rect_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) { |
+ map[s] = udt; |
+}); |
+ |
+ return map; |
+} |
+ |
+var _MojomDesc; |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ if (_MojomDesc == null) { |
+ _MojomDesc = _initDescriptions(); |
+ } |
+ return _MojomDesc; |
+} |
+ |