blob: e8666decdb1213b3d45fe904aa52496084e02b4c [file] [log] [blame]
{
"version": "0.0.1",
"name": "fidl.test.inheritancewithrecursivedecl",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"experimental_resource_declarations": [],
"interface_declarations": [
{
"name": "fidl.test.inheritancewithrecursivedecl/Parent",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 3,
"column": 10,
"length": 6
},
"methods": [
{
"ordinal": 3051519745671742363,
"name": "First",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 5,
"length": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.inheritancewithrecursivedecl/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 27,
"length": 7
},
"field_shape_v1": {
"offset": 16,
"padding": 4
}
}
],
"maybe_request_payload": "fidl.test.inheritancewithrecursivedecl/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
},
"has_response": false,
"is_composed": false
}
]
},
{
"name": "fidl.test.inheritancewithrecursivedecl/Child",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 7,
"column": 10,
"length": 5
},
"methods": [
{
"ordinal": 3051519745671742363,
"name": "First",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 5,
"length": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.inheritancewithrecursivedecl/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 27,
"length": 7
},
"field_shape_v1": {
"offset": 16,
"padding": 4
}
}
],
"maybe_request_payload": "fidl.test.inheritancewithrecursivedecl/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
},
"has_response": false,
"is_composed": true
},
{
"ordinal": 489667253787160198,
"name": "Second",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 9,
"column": 5,
"length": 6
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.inheritancewithrecursivedecl/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 9,
"column": 28,
"length": 7
},
"field_shape_v1": {
"offset": 16,
"padding": 4
}
}
],
"maybe_request_payload": "fidl.test.inheritancewithrecursivedecl/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
},
"has_response": false,
"is_composed": false
}
]
}
],
"service_declarations": [],
"struct_declarations": [
{
"name": "fidl.test.inheritancewithrecursivedecl/SomeLongAnonymousPrefix0",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 10,
"length": 25
},
"anonymous": true,
"members": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.inheritancewithrecursivedecl/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 27,
"length": 7
},
"field_shape_v1": {
"offset": 0,
"padding": 4
}
}
],
"resource": true,
"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
}
},
{
"name": "fidl.test.inheritancewithrecursivedecl/SomeLongAnonymousPrefix1",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 9,
"column": 11,
"length": 25
},
"anonymous": true,
"members": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.inheritancewithrecursivedecl/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 9,
"column": 28,
"length": 7
},
"field_shape_v1": {
"offset": 0,
"padding": 4
}
}
],
"resource": true,
"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
}
},
{
"name": "fidl.test.inheritancewithrecursivedecl/SomeLongAnonymousPrefix0",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 10,
"length": 25
},
"anonymous": true,
"members": [
{
"type": {
"kind": "request",
"subtype": "fidl.test.inheritancewithrecursivedecl/Parent",
"nullable": false
},
"name": "request",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance_with_recursive_decl.test.fidl",
"line": 4,
"column": 27,
"length": 7
},
"field_shape_v1": {
"offset": 0,
"padding": 4
}
}
],
"resource": true,
"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
}
}
],
"table_declarations": [],
"union_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"fidl.test.inheritancewithrecursivedecl/Parent",
"fidl.test.inheritancewithrecursivedecl/Child"
],
"declarations": {
"fidl.test.inheritancewithrecursivedecl/Parent": "interface",
"fidl.test.inheritancewithrecursivedecl/Child": "interface",
"fidl.test.inheritancewithrecursivedecl/SomeLongAnonymousPrefix0": "struct",
"fidl.test.inheritancewithrecursivedecl/SomeLongAnonymousPrefix1": "struct"
}
}