blob: c33ac2085cde4c8bd27ee7936580e586c2c3499a [file] [log] [blame]
{
"version": "0.0.1",
"name": "fidl.test.inheritance",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"experimental_resource_declarations": [],
"interface_declarations": [
{
"name": "fidl.test.inheritance/super",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 3,
"column": 10,
"length": 5
},
"methods": [
{
"ordinal": 4999045011615110827,
"name": "foo",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 5,
"length": 3
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 16,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 0
}
}
],
"maybe_request_payload": "fidl.test.inheritance/SomeLongAnonymousPrefix0",
"maybe_request_type_shape_v1": {
"inline_size": 32,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 4294967295,
"has_padding": true,
"has_flexible_envelope": false
},
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 29,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 0
}
}
],
"maybe_response_payload": "fidl.test.inheritance/SomeLongAnonymousPrefix1",
"maybe_response_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_flexible_envelope": false
},
"is_composed": false
}
]
},
{
"name": "fidl.test.inheritance/sub",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 7,
"column": 10,
"length": 3
},
"methods": [
{
"ordinal": 4999045011615110827,
"name": "foo",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 5,
"length": 3
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 16,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 0
}
}
],
"maybe_request_payload": "fidl.test.inheritance/SomeLongAnonymousPrefix0",
"maybe_request_type_shape_v1": {
"inline_size": 32,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 4294967295,
"has_padding": true,
"has_flexible_envelope": false
},
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 29,
"length": 1
},
"field_shape_v1": {
"offset": 16,
"padding": 0
}
}
],
"maybe_response_payload": "fidl.test.inheritance/SomeLongAnonymousPrefix1",
"maybe_response_type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_flexible_envelope": false
},
"is_composed": true
}
]
}
],
"service_declarations": [],
"struct_declarations": [
{
"name": "fidl.test.inheritance/SomeLongAnonymousPrefix0",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 8,
"length": 10
},
"anonymous": true,
"members": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 16,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 4294967295,
"has_padding": true,
"has_flexible_envelope": false
}
},
{
"name": "fidl.test.inheritance/SomeLongAnonymousPrefix1",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 22,
"length": 9
},
"anonymous": true,
"members": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 29,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"depth": 0,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_flexible_envelope": false
}
},
{
"name": "fidl.test.inheritance/SomeLongAnonymousPrefix0",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 8,
"length": 10
},
"anonymous": true,
"members": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 16,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 4294967295,
"has_padding": true,
"has_flexible_envelope": false
}
},
{
"name": "fidl.test.inheritance/SomeLongAnonymousPrefix1",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 22,
"length": 9
},
"anonymous": true,
"members": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "../../tools/fidl/fidlc/testdata/inheritance.test.fidl",
"line": 4,
"column": 29,
"length": 1
},
"field_shape_v1": {
"offset": 0,
"padding": 0
}
}
],
"resource": false,
"type_shape_v1": {
"inline_size": 8,
"alignment": 8,
"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.inheritance/super",
"fidl.test.inheritance/sub"
],
"declarations": {
"fidl.test.inheritance/super": "interface",
"fidl.test.inheritance/sub": "interface",
"fidl.test.inheritance/SomeLongAnonymousPrefix0": "struct",
"fidl.test.inheritance/SomeLongAnonymousPrefix1": "struct"
}
}