| { |
| "version": "0.0.1", |
| "name": "fidl.test.json", |
| "library_dependencies": [], |
| "bits_declarations": [], |
| "const_declarations": [], |
| "enum_declarations": [], |
| "interface_declarations": [ |
| { |
| "name": "fidl.test.json/Protocol", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 13, |
| "column": 10 |
| }, |
| "methods": [ |
| { |
| "ordinal": 1244088344447549440, |
| "generated_ordinal": 8264567585134801538, |
| "name": "RequestStrictResponseFlexible", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 14, |
| "column": 5 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/StrictFoo", |
| "nullable": false |
| }, |
| "name": "s", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 14, |
| "column": 45 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.json/SomeLongAnonymousPrefix0", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false, |
| "contains_union": true |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/FlexibleFoo", |
| "nullable": false |
| }, |
| "name": "f", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 14, |
| "column": 64 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.json/SomeLongAnonymousPrefix1", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": true, |
| "contains_union": true |
| }, |
| "is_composed": false |
| }, |
| { |
| "ordinal": 3546214166840737792, |
| "generated_ordinal": 4801763909694511442, |
| "name": "RequestFlexibleResponseStrict", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 15, |
| "column": 5 |
| }, |
| "has_request": true, |
| "maybe_request": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/FlexibleFoo", |
| "nullable": false |
| }, |
| "name": "s", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 15, |
| "column": 47 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_request_payload": "fidl.test.json/SomeLongAnonymousPrefix2", |
| "maybe_request_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": true, |
| "contains_union": true |
| }, |
| "has_response": true, |
| "maybe_response": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/StrictFoo", |
| "nullable": false |
| }, |
| "name": "f", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 15, |
| "column": 64 |
| }, |
| "field_shape_v1": { |
| "offset": 16, |
| "padding": 0 |
| } |
| } |
| ], |
| "maybe_response_payload": "fidl.test.json/SomeLongAnonymousPrefix3", |
| "maybe_response_type_shape_v1": { |
| "inline_size": 40, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false, |
| "contains_union": true |
| }, |
| "is_composed": false |
| } |
| ] |
| } |
| ], |
| "service_declarations": [], |
| "struct_declarations": [ |
| { |
| "name": "fidl.test.json/SomeLongAnonymousPrefix0", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 14, |
| "column": 34 |
| }, |
| "anonymous": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/StrictFoo", |
| "nullable": false |
| }, |
| "name": "s", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 14, |
| "column": 45 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false, |
| "contains_union": true |
| } |
| }, |
| { |
| "name": "fidl.test.json/SomeLongAnonymousPrefix1", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 14, |
| "column": 51 |
| }, |
| "anonymous": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/FlexibleFoo", |
| "nullable": false |
| }, |
| "name": "f", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 14, |
| "column": 64 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": true, |
| "contains_union": true |
| } |
| }, |
| { |
| "name": "fidl.test.json/SomeLongAnonymousPrefix2", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 15, |
| "column": 34 |
| }, |
| "anonymous": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/FlexibleFoo", |
| "nullable": false |
| }, |
| "name": "s", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 15, |
| "column": 47 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": true, |
| "contains_union": true |
| } |
| }, |
| { |
| "name": "fidl.test.json/SomeLongAnonymousPrefix3", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 15, |
| "column": 53 |
| }, |
| "anonymous": true, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "fidl.test.json/StrictFoo", |
| "nullable": false |
| }, |
| "name": "f", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 15, |
| "column": 64 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false, |
| "contains_union": true |
| } |
| } |
| ], |
| "table_declarations": [], |
| "union_declarations": [ |
| { |
| "name": "fidl.test.json/FlexibleFoo", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 3, |
| "column": 16 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "s", |
| "type": { |
| "kind": "string", |
| "nullable": false |
| }, |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 4, |
| "column": 15 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "i", |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32" |
| }, |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 5, |
| "column": 14 |
| } |
| } |
| ], |
| "strict": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": true, |
| "contains_union": true |
| } |
| }, |
| { |
| "name": "fidl.test.json/StrictFoo", |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 8, |
| "column": 7 |
| }, |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "s", |
| "type": { |
| "kind": "string", |
| "nullable": false |
| }, |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 9, |
| "column": 15 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "i", |
| "type": { |
| "kind": "primitive", |
| "subtype": "int32" |
| }, |
| "location": { |
| "filename": "request_flexible_envelope.test.fidl", |
| "line": 10, |
| "column": 14 |
| } |
| } |
| ], |
| "strict": true, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false, |
| "contains_union": true |
| } |
| } |
| ], |
| "type_alias_declarations": [], |
| "declaration_order": [ |
| "fidl.test.json/StrictFoo", |
| "fidl.test.json/FlexibleFoo", |
| "fidl.test.json/Protocol" |
| ], |
| "declarations": { |
| "fidl.test.json/Protocol": "interface", |
| "fidl.test.json/SomeLongAnonymousPrefix0": "struct", |
| "fidl.test.json/SomeLongAnonymousPrefix1": "struct", |
| "fidl.test.json/SomeLongAnonymousPrefix2": "struct", |
| "fidl.test.json/SomeLongAnonymousPrefix3": "struct", |
| "fidl.test.json/FlexibleFoo": "union", |
| "fidl.test.json/StrictFoo": "union" |
| } |
| } |