blob: 356c2a7bf7b7cdc572b6d235549d2be5c5fa6cfa [file] [log] [blame]
{
"version": "0.0.1",
"name": "fidl.test.json",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"interface_declarations": [
{
"name": "fidl.test.json/EmptyProtocol",
"location": {
"filename": "empty_struct.test.fidl",
"line": 6,
"column": 10
},
"methods": [
{
"ordinal": 1227695175833223168,
"generated_ordinal": 550167292114688515,
"name": "Send",
"location": {
"filename": "empty_struct.test.fidl",
"line": 7,
"column": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 7,
"column": 16
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_request_payload": "fidl.test.json/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,
"contains_union": false
},
"has_response": false,
"is_composed": false
},
{
"ordinal": 1669757317588975616,
"generated_ordinal": 7186107129703123093,
"name": "Receive",
"location": {
"filename": "empty_struct.test.fidl",
"line": 8,
"column": 8
},
"has_request": false,
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 8,
"column": 22
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_response_payload": "fidl.test.json/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,
"contains_union": false
},
"is_composed": false
},
{
"ordinal": 8898209322824105984,
"generated_ordinal": 2187042876758414869,
"name": "SendAndReceive",
"location": {
"filename": "empty_struct.test.fidl",
"line": 9,
"column": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 9,
"column": 26
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_request_payload": "fidl.test.json/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,
"contains_union": false
},
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 9,
"column": 39
},
"field_shape_v1": {
"offset": 16,
"padding": 7
}
}
],
"maybe_response_payload": "fidl.test.json/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,
"contains_union": false
},
"is_composed": false
}
]
}
],
"service_declarations": [],
"struct_declarations": [
{
"name": "fidl.test.json/SomeLongAnonymousPrefix0",
"location": {
"filename": "generated",
"line": 1,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 7,
"column": 16
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"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,
"contains_union": false
}
},
{
"name": "fidl.test.json/SomeLongAnonymousPrefix1",
"location": {
"filename": "generated",
"line": 2,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 8,
"column": 22
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"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,
"contains_union": false
}
},
{
"name": "fidl.test.json/SomeLongAnonymousPrefix2",
"location": {
"filename": "generated",
"line": 3,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 9,
"column": 26
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"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,
"contains_union": false
}
},
{
"name": "fidl.test.json/SomeLongAnonymousPrefix3",
"location": {
"filename": "generated",
"line": 4,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "identifier",
"identifier": "fidl.test.json/Empty",
"nullable": false
},
"name": "e",
"location": {
"filename": "empty_struct.test.fidl",
"line": 9,
"column": 39
},
"field_shape_v1": {
"offset": 0,
"padding": 7
}
}
],
"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,
"contains_union": false
}
},
{
"name": "fidl.test.json/Empty",
"location": {
"filename": "empty_struct.test.fidl",
"line": 3,
"column": 8
},
"anonymous": false,
"members": [],
"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,
"contains_union": false
}
}
],
"table_declarations": [],
"union_declarations": [],
"xunion_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"fidl.test.json/Empty",
"fidl.test.json/EmptyProtocol"
],
"declarations": {
"fidl.test.json/EmptyProtocol": "interface",
"fidl.test.json/SomeLongAnonymousPrefix0": "struct",
"fidl.test.json/SomeLongAnonymousPrefix1": "struct",
"fidl.test.json/SomeLongAnonymousPrefix2": "struct",
"fidl.test.json/SomeLongAnonymousPrefix3": "struct",
"fidl.test.json/Empty": "struct"
}
}