blob: 5ce5e9fd51b7c1ff9c0d249daf51a13b650ae147 [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/Parent",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 10
},
"maybe_attributes": [
{
"name": "FragileBase",
"value": ""
}
],
"methods": [
{
"ordinal": 7397547062406938624,
"generated_ordinal": 2566928499103139852,
"name": "First",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 5,
"column": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.json/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 5,
"column": 27
},
"field_shape_v1": {
"offset": 16,
"padding": 4
},
"size": 4
}
],
"maybe_request_payload": "fidl.test.json/SomeLongAnonymousPrefix0",
"maybe_request_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 1,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false,
"contains_union": false
},
"has_response": false,
"is_composed": false
}
]
},
{
"name": "fidl.test.json/Child",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 8,
"column": 10
},
"methods": [
{
"ordinal": 7397547062406938624,
"generated_ordinal": 2566928499103139852,
"name": "First",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 5,
"column": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.json/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 5,
"column": 27
},
"field_shape_v1": {
"offset": 16,
"padding": 4
},
"size": 4
}
],
"maybe_request_payload": "fidl.test.json/SomeLongAnonymousPrefix0",
"maybe_request_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 1,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false,
"contains_union": false
},
"has_response": false,
"is_composed": true
},
{
"ordinal": 82204669023092736,
"generated_ordinal": 2628306304378964143,
"name": "Second",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 10,
"column": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.json/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 10,
"column": 28
},
"field_shape_v1": {
"offset": 16,
"padding": 4
},
"size": 4
}
],
"maybe_request_payload": "fidl.test.json/SomeLongAnonymousPrefix1",
"maybe_request_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 1,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false,
"contains_union": false
},
"has_response": 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": "request",
"subtype": "fidl.test.json/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 5,
"column": 27
},
"field_shape_v1": {
"offset": 0,
"padding": 4
},
"size": 4
}
],
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 1,
"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": "request",
"subtype": "fidl.test.json/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 10,
"column": 28
},
"field_shape_v1": {
"offset": 0,
"padding": 4
},
"size": 4
}
],
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 1,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false,
"contains_union": false
}
},
{
"name": "fidl.test.json/SomeLongAnonymousPrefix0",
"location": {
"filename": "generated",
"line": 1,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.json/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "inheritance_with_recursive_decl.test.fidl",
"line": 5,
"column": 27
},
"field_shape_v1": {
"offset": 0,
"padding": 4
},
"size": 4
}
],
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 1,
"max_out_of_line": 0,
"has_padding": true,
"has_flexible_envelope": false,
"contains_union": false
}
}
],
"table_declarations": [],
"union_declarations": [],
"xunion_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"fidl.test.json/Parent",
"fidl.test.json/Child"
],
"declarations": {
"fidl.test.json/Parent": "interface",
"fidl.test.json/Child": "interface",
"fidl.test.json/SomeLongAnonymousPrefix0": "struct",
"fidl.test.json/SomeLongAnonymousPrefix1": "struct"
}
}