Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1148)

Unified Diff: mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/test_structs.mojom.dart

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 e983c5cb68d642c924a49fc3a1e56fb5cfe1cc78..9ba17e017bcae9cc792111ed56af18c74001d353 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
@@ -8,6 +8,8 @@ import 'dart:async';
import 'package:mojo/bindings.dart' as bindings;
import 'package:mojo/core.dart' as core;
+import 'package:mojo/mojo/mojom_types.mojom.dart' as mojom_types;
+import 'package:mojo/mojo/service_describer.mojom.dart' as service_describer;
import 'package:_mojo_for_test_only/mojo/test/rect.mojom.dart' as rect_mojom;
@@ -106,6 +108,29 @@ class NamedRegion extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_NamedRegion__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -184,6 +209,34 @@ class RectPair extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_RectPair__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -242,6 +295,12 @@ class EmptyStruct extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_EmptyStruct__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'EmptyStruct')
+ ..fields = <mojom_types.StructField>[];
+}
+
class HandleStruct extends bindings.Struct {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -316,6 +375,27 @@ class HandleStruct extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_HandleStruct__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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.MESSAGE_PIPE
+..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.MESSAGE_PIPE
+..nullable = false)))),
+ ];
+}
+
class NullableHandleStruct extends bindings.Struct {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -390,6 +470,23 @@ class NullableHandleStruct extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_NullableHandleStruct__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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.MESSAGE_PIPE
+..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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -750,6 +847,184 @@ class NoDefaultFieldValues extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_NoDefaultFieldValues__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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.MESSAGE_PIPE
+..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.DATA_PIPE_CONSUMER
+..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.DATA_PIPE_PRODUCER
+..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.MESSAGE_PIPE
+..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.DATA_PIPE_CONSUMER
+..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.DATA_PIPE_PRODUCER
+..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.SHARED_BUFFER
+..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.SHARED_BUFFER
+..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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -964,6 +1239,94 @@ class DefaultFieldValues extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_DefaultFieldValues__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 E0 = const ScopedConstantsEType._(0);
static const E1 = const ScopedConstantsEType._(1);
@@ -1029,12 +1392,35 @@ class ScopedConstantsEType extends bindings.MojoEnum {
return 'ScopedConstantsEType.E3';
case E4:
return 'ScopedConstantsEType.E4';
+ default:
+ return null;
}
}
int toJson() => value;
}
+mojom_types.MojomEnum _test_structs_EType__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()..shortName = "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)
@@ -1177,6 +1563,65 @@ class ScopedConstants extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_ScopedConstants__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -1683,6 +2128,86 @@ class MapKeyTypes extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MapKeyTypes__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -2768,6 +3293,143 @@ class MapValueTypes extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MapValueTypes__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -2880,6 +3542,42 @@ class ArrayValueTypes extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_ArrayValueTypes__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3038,6 +3736,52 @@ class FloatNumberValues extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_FloatNumberValues__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3296,6 +4040,92 @@ class IntegerNumberValues extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_IntegerNumberValues__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3474,6 +4304,60 @@ class UnsignedNumberValues extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_UnsignedNumberValues__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3643,6 +4527,54 @@ class BitArrayValues extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_BitArrayValues__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3763,6 +4695,54 @@ class MultiVersionStruct extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MultiVersionStruct__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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.MESSAGE_PIPE
+..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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3830,6 +4810,16 @@ class MultiVersionStructV0 extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MultiVersionStructV0__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3908,6 +4898,27 @@ class MultiVersionStructV1 extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MultiVersionStructV1__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -3996,6 +5007,32 @@ class MultiVersionStructV3 extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MultiVersionStructV3__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -4094,6 +5131,39 @@ class MultiVersionStructV5 extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MultiVersionStructV5__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -4205,6 +5275,50 @@ class MultiVersionStructV7 extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_MultiVersionStructV7__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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.MESSAGE_PIPE
+..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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -4271,6 +5385,21 @@ class ContainsInterface extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_ContainsInterface__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -4338,6 +5467,16 @@ class ContainsOther extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_ContainsOther__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -4412,6 +5551,34 @@ class ContainsInterfaceRequest extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_ContainsInterfaceRequest__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 SomeInterfaceSomeMethodParams extends bindings.Struct {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -4480,6 +5647,21 @@ class SomeInterfaceSomeMethodParams extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_SomeInterface_SomeMethod_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -4548,11 +5730,53 @@ class SomeInterfaceSomeMethodResponseParams extends bindings.Struct {
}
}
+mojom_types.MojomStruct _test_structs_SomeInterface_SomeMethod_ResponseParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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__'
+ )),
+ ];
+}
+
+
const int kSomeInterface_someMethod_name = 0;
const String SomeInterfaceName =
'mojo::test::SomeInterface';
+mojom_types.MojomInterface _test_structs_SomeInterface__() {
+ return new mojom_types.MojomInterface()
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SomeInterface")
+ ..interfaceName = "SomeInterface"
+ ..methods = <int, mojom_types.MojomMethod>{
+kSomeInterface_someMethod_name: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SomeMethod")
+ ..ordinal = kSomeInterface_someMethod_name
+ ..responseParams = _test_structs_SomeInterface_SomeMethod_ResponseParams__()..parameters = _test_structs_SomeInterface_SomeMethod_Params__(),
+ };
+}
+
+class _SomeInterfaceServiceDescription extends service_describer.ServiceDescription {
+ // Avoid infinite loop by overriding serviceDescription field.
+ final service_describer.ServiceDescription serviceDescription = null;
+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 {
dynamic someMethod(RectPair pair,[Function responseFactory = null]);
@@ -4576,6 +5800,9 @@ class SomeInterfaceProxyImpl extends bindings.Proxy {
String get name => SomeInterfaceName;
+ service_describer.ServiceDescription get serviceDescription =>
+ new _SomeInterfaceServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
case kSomeInterface_someMethod_name:
@@ -4762,6 +5989,533 @@ class SomeInterfaceStub extends bindings.Stub {
}
int get version => 0;
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _SomeInterfaceServiceDescription();
+}
+
+
+
+
+
+
+
+
+var _MojomDesc__ = _initDescriptions();
+
+Map<String, mojom_types.UserDefinedType> _initDescriptions() {
+ var map = new Map<String, mojom_types.UserDefinedType>();
+
+ 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_SomeInterface__"] =
+ new mojom_types.UserDefinedType()
+ ..interfaceType = _test_structs_SomeInterface__();
+
+
+
+
+ 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_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__();
+
+
+
+
+
+rect_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) {
+ map[s] = udt;
+});
+ return map;
+}
+
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
+ return _MojomDesc__;
}

Powered by Google App Engine
This is Rietveld 408576698