blob: 4da72a964ac45cbb3a6d3df79dd55fd073047287 [file] [log] [blame]
{
"version": "0.0.1",
"name": "fidl.test.emptystruct",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"experimental_resource_declarations": [],
"interface_declarations": [
{
"name": "fidl.test.emptystruct/EmptyProtocol",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 6,
"column": 10,
"length": 13
},
"methods": [
{
"ordinal": 2183815705502904104,
"name": "Send",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 7,
"column": 5,
"length": 4
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 7,
"column": 16,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_request_payload": "fidl.test.emptystruct/SomeLongAnonymousPrefix0",
"maybe_request_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
},
"has_response": false,
"is_composed": false
},
{
"ordinal": 5025214662316626400,
"name": "Receive",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 8,
"column": 8,
"length": 7
},
"has_request": false,
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 8,
"column": 22,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_response_payload": "fidl.test.emptystruct/SomeLongAnonymousPrefix1",
"maybe_response_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
},
"is_composed": false
},
{
"ordinal": 6253929606062814577,
"name": "SendAndReceive",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 9,
"column": 5,
"length": 14
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 9,
"column": 26,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_request_payload": "fidl.test.emptystruct/SomeLongAnonymousPrefix2",
"maybe_request_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
},
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 9,
"column": 39,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_response_payload": "fidl.test.emptystruct/SomeLongAnonymousPrefix3",
"maybe_response_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
},
"is_composed": false
}
]
}
],
"service_declarations": [],
"struct_declarations": [
{
"name": "fidl.test.emptystruct/SomeLongAnonymousPrefix0",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 7,
"column": 9,
"length": 9
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 7,
"column": 16,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
}
},
{
"name": "fidl.test.emptystruct/SomeLongAnonymousPrefix1",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 8,
"column": 15,
"length": 9
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 8,
"column": 22,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
}
},
{
"name": "fidl.test.emptystruct/SomeLongAnonymousPrefix2",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 9,
"column": 19,
"length": 9
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 9,
"column": 26,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
}
},
{
"name": "fidl.test.emptystruct/SomeLongAnonymousPrefix3",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 9,
"column": 32,
"length": 9
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.emptystruct/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 9,
"column": 39,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false
}
},
{
"name": "fidl.test.emptystruct/Empty",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/empty_struct.test.fidl",
"line": 3,
"column": 8,
"length": 5
},
"anonymous": false,
"members": [],
"resource": false,
"type_shape_v1": {
"inline_size": 1,
"alignment": 1,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_flexible_envelope": false
}
}
],
"table_declarations": [],
"union_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"fidl.test.emptystruct/Empty",
"fidl.test.emptystruct/EmptyProtocol"
],
"declarations": {
"fidl.test.emptystruct/EmptyProtocol": "interface",
"fidl.test.emptystruct/SomeLongAnonymousPrefix0": "struct",
"fidl.test.emptystruct/SomeLongAnonymousPrefix1": "struct",
"fidl.test.emptystruct/SomeLongAnonymousPrefix2": "struct",
"fidl.test.emptystruct/SomeLongAnonymousPrefix3": "struct",
"fidl.test.emptystruct/Empty": "struct"
}
}