blob: 8d09b8a3ef8816f02ee6d9a9acaeebe99daf0c4d [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/super",
"location": {
"filename": "inheritance.test.fidl",
"line": 4,
"column": 10
},
"maybe_attributes": [
{
"name": "FragileBase",
"value": ""
}
],
"methods": [
{
"ordinal": 3393112382468259840,
"generated_ordinal": 5722958650322615442,
"name": "foo",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 16
},
"field_shape_v1": {
"offset": 16,
"padding": 0
},
"size": 16
}
],
"maybe_request_payload": "fidl.test.json/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,
"contains_union": false
},
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 29
},
"field_shape_v1": {
"offset": 16,
"padding": 0
},
"size": 8
}
],
"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": false,
"has_flexible_envelope": false,
"contains_union": false
},
"is_composed": false
}
]
},
{
"name": "fidl.test.json/sub",
"location": {
"filename": "inheritance.test.fidl",
"line": 8,
"column": 10
},
"methods": [
{
"ordinal": 3393112382468259840,
"generated_ordinal": 5722958650322615442,
"name": "foo",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 5
},
"has_request": true,
"maybe_request": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 16
},
"field_shape_v1": {
"offset": 16,
"padding": 0
},
"size": 16
}
],
"maybe_request_payload": "fidl.test.json/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,
"contains_union": false
},
"has_response": true,
"maybe_response": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 29
},
"field_shape_v1": {
"offset": 16,
"padding": 0
},
"size": 8
}
],
"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": false,
"has_flexible_envelope": false,
"contains_union": false
},
"is_composed": true
}
]
}
],
"service_declarations": [],
"struct_declarations": [
{
"name": "fidl.test.json/SomeLongAnonymousPrefix0",
"location": {
"filename": "generated",
"line": 1,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 16
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"size": 16
}
],
"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,
"contains_union": false
}
},
{
"name": "fidl.test.json/SomeLongAnonymousPrefix1",
"location": {
"filename": "generated",
"line": 2,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 29
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"size": 8
}
],
"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,
"contains_union": false
}
},
{
"name": "fidl.test.json/SomeLongAnonymousPrefix0",
"location": {
"filename": "generated",
"line": 1,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "string",
"nullable": false
},
"name": "s",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 16
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"size": 16
}
],
"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,
"contains_union": false
}
},
{
"name": "fidl.test.json/SomeLongAnonymousPrefix1",
"location": {
"filename": "generated",
"line": 2,
"column": 1
},
"anonymous": true,
"members": [
{
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "inheritance.test.fidl",
"line": 5,
"column": 29
},
"field_shape_v1": {
"offset": 0,
"padding": 0
},
"size": 8
}
],
"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,
"contains_union": false
}
}
],
"table_declarations": [],
"union_declarations": [],
"xunion_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"fidl.test.json/super",
"fidl.test.json/sub"
],
"declarations": {
"fidl.test.json/super": "interface",
"fidl.test.json/sub": "interface",
"fidl.test.json/SomeLongAnonymousPrefix0": "struct",
"fidl.test.json/SomeLongAnonymousPrefix1": "struct"
}
}