blob: 8fc6fe9102f860f9e0b268e88886acb4e7e2768e [file] [log] [blame]
{
"name": "test.foreigntypeinresponseusedthroughcompose",
"lib_declarations": [
{
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/top.test.fidl",
"data": "test.foreigntypeinresponseusedthroughcompose",
"start_offset": 8,
"end_offset": 52
}
],
"using_declarations": [
{
"library_name": "test.middle",
"referenced_at": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/top.test.fidl",
"data": "test.middle",
"start_offset": 61,
"end_offset": 72
}
}
],
"dependencies": [
{
"library_name": "test.bottom",
"library_location": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/bottom.test.fidl",
"data": "library test.bottom",
"start_offset": 0,
"end_offset": 19
}
},
{
"library_name": "test.middle",
"library_location": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/middle.test.fidl",
"data": "library test.middle",
"start_offset": 0,
"end_offset": 19
}
}
],
"dependency_identifiers": [
{
"identifier": "test.bottom/Foo",
"location": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/bottom.test.fidl",
"data": "Foo",
"start_offset": 27,
"end_offset": 30
}
},
{
"identifier": "test.middle/MiddleGetFooResponse",
"location": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/middle.test.fidl",
"data": "struct {\n foo test.bottom.Foo;\n }",
"start_offset": 91,
"end_offset": 134
}
},
{
"identifier": "test.middle/Middle",
"location": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/middle.test.fidl",
"data": "Middle",
"start_offset": 58,
"end_offset": 64
}
}
],
"consts": [],
"enums": [],
"unions": [],
"tables": [],
"structs": [],
"protocols": [
{
"identifier": "test.foreigntypeinresponseusedthroughcompose/Top",
"location": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/top.test.fidl",
"data": "Top",
"start_offset": 239,
"end_offset": 242
},
"methods": [
{
"identifier": "GetFoo",
"location": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/middle.test.fidl",
"data": "GetFoo",
"start_offset": 78,
"end_offset": 84
},
"response_type": {
"kind": "identifier",
"is_anonymous": true
}
}
],
"composed_protocols": [
{
"identifier": "test.middle/Middle",
"referenced_at": {
"is_virtual": false,
"file": "../../tools/fidl/fidlc/testdata/foreign_type_in_response_used_through_compose/top.test.fidl",
"data": "test.middle.Middle",
"start_offset": 257,
"end_offset": 275
}
}
]
}
]
}