| { |
| "name": "test.errorsyntax", |
| "library_dependencies": [ |
| { |
| "name": "test.errorsyntax.parent", |
| "declarations": { |
| "test.errorsyntax.parent/ParentUsesErrorSyntax": { |
| "kind": "protocol" |
| }, |
| "test.errorsyntax.parent/ParentUsesErrorSyntaxComposedCallWhichMayFailRequest": { |
| "kind": "struct", |
| "resource": false |
| }, |
| "test.errorsyntax.parent/ParentUsesErrorSyntaxComposedCallWhichMayFailTopResponse": { |
| "kind": "struct", |
| "resource": false |
| }, |
| "test.errorsyntax.parent/ParentUsesErrorSyntax_ComposedCallWhichMayFail_Response": { |
| "kind": "struct", |
| "resource": false |
| }, |
| "test.errorsyntax.parent/ParentUsesErrorSyntax_ComposedCallWhichMayFail_Result": { |
| "kind": "union", |
| "resource": false |
| } |
| } |
| } |
| ], |
| "bits_declarations": [], |
| "const_declarations": [], |
| "enum_declarations": [], |
| "experimental_resource_declarations": [], |
| "protocol_declarations": [ |
| { |
| "name": "test.errorsyntax/ExampleUseOfErrorSyntax", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 9, |
| "column": 10, |
| "length": 23 |
| }, |
| "composed_protocols": [ |
| { |
| "name": "test.errorsyntax.parent/ParentUsesErrorSyntax", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 10, |
| "column": 13, |
| "length": 45 |
| } |
| } |
| ], |
| "methods": [ |
| { |
| "ordinal": 3565108794310607393, |
| "name": "ComposedCallWhichMayFail", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/parent.test.fidl", |
| "line": 8, |
| "column": 5, |
| "length": 24 |
| }, |
| "has_request": true, |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax.parent/ParentUsesErrorSyntaxComposedCallWhichMayFailRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax.parent/ParentUsesErrorSyntaxComposedCallWhichMayFailTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": true, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax.parent/ParentUsesErrorSyntax_ComposedCallWhichMayFail_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax.parent/ParentUsesErrorSyntax_ComposedCallWhichMayFail_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| }, |
| { |
| "ordinal": 3757408930698888354, |
| "name": "CallWhichMayFail", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 11, |
| "column": 5, |
| "length": 16 |
| }, |
| "has_request": true, |
| "maybe_request_payload": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailRequest", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "has_response": true, |
| "maybe_response_payload": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailTopResponse", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "is_composed": false, |
| "has_error": true, |
| "maybe_response_result_type": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_success_type": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "maybe_response_err_type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| } |
| ] |
| } |
| ], |
| "service_declarations": [], |
| "struct_declarations": [ |
| { |
| "name": "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailRequest", |
| "naming_context": [ |
| "ExampleUseOfErrorSyntax", |
| "CallWhichMayFail", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 11, |
| "column": 22, |
| "length": 32 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "s", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 12, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "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_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailTopResponse", |
| "naming_context": [ |
| "ExampleUseOfErrorSyntax", |
| "CallWhichMayFail", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 13, |
| "column": 11, |
| "length": 37 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 6, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Response", |
| "naming_context": [ |
| "ExampleUseOfErrorSyntax", |
| "CallWhichMayFail", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 13, |
| "column": 12, |
| "length": 35 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "value", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 14, |
| "column": 9, |
| "length": 5 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "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_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| ], |
| "external_struct_declarations": [ |
| { |
| "name": "test.errorsyntax.parent/ParentUsesErrorSyntaxComposedCallWhichMayFailRequest", |
| "naming_context": [ |
| "ParentUsesErrorSyntax", |
| "ComposedCallWhichMayFail", |
| "Request" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/parent.test.fidl", |
| "line": 8, |
| "column": 30, |
| "length": 32 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "s", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/parent.test.fidl", |
| "line": 9, |
| "column": 9, |
| "length": 1 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "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_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.errorsyntax.parent/ParentUsesErrorSyntaxComposedCallWhichMayFailTopResponse", |
| "naming_context": [ |
| "ParentUsesErrorSyntax", |
| "ComposedCallWhichMayFail", |
| "Response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/parent.test.fidl", |
| "line": 10, |
| "column": 11, |
| "length": 37 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax.parent/ParentUsesErrorSyntax_ComposedCallWhichMayFail_Result", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "result", |
| "location": { |
| "filename": "generated", |
| "line": 1, |
| "column": 1, |
| "length": 6 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| }, |
| { |
| "name": "test.errorsyntax.parent/ParentUsesErrorSyntax_ComposedCallWhichMayFail_Response", |
| "naming_context": [ |
| "ParentUsesErrorSyntax", |
| "ComposedCallWhichMayFail", |
| "Response", |
| "result", |
| "response" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/parent.test.fidl", |
| "line": 10, |
| "column": 12, |
| "length": 35 |
| }, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "int64", |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "name": "value", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/parent.test.fidl", |
| "line": 11, |
| "column": 9, |
| "length": 5 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| }, |
| "field_shape_v2": { |
| "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_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| } |
| ], |
| "table_declarations": [], |
| "union_declarations": [ |
| { |
| "name": "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Result", |
| "naming_context": [ |
| "ExampleUseOfErrorSyntax", |
| "CallWhichMayFail", |
| "Response", |
| "result" |
| ], |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/error_syntax/child.test.fidl", |
| "line": 13, |
| "column": 11, |
| "length": 37 |
| }, |
| "maybe_attributes": [ |
| { |
| "name": "result", |
| "arguments": [] |
| } |
| ], |
| "members": [ |
| { |
| "ordinal": 1, |
| "reserved": false, |
| "name": "response", |
| "type": { |
| "kind": "identifier", |
| "identifier": "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Response", |
| "nullable": false, |
| "type_shape_v1": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 8, |
| "alignment": 8, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 7, |
| "column": 1, |
| "length": 8 |
| } |
| }, |
| { |
| "ordinal": 2, |
| "reserved": false, |
| "name": "err", |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint32", |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 4, |
| "alignment": 4, |
| "depth": 0, |
| "max_handles": 0, |
| "max_out_of_line": 0, |
| "has_padding": false, |
| "has_envelope": false, |
| "has_flexible_envelope": false |
| } |
| }, |
| "location": { |
| "filename": "generated", |
| "line": 8, |
| "column": 1, |
| "length": 3 |
| } |
| } |
| ], |
| "strict": true, |
| "resource": false, |
| "type_shape_v1": { |
| "inline_size": 24, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| }, |
| "type_shape_v2": { |
| "inline_size": 16, |
| "alignment": 8, |
| "depth": 1, |
| "max_handles": 0, |
| "max_out_of_line": 8, |
| "has_padding": true, |
| "has_envelope": true, |
| "has_flexible_envelope": false |
| } |
| } |
| ], |
| "type_alias_declarations": [], |
| "declaration_order": [ |
| "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Response", |
| "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Result", |
| "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailTopResponse", |
| "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailRequest", |
| "test.errorsyntax/ExampleUseOfErrorSyntax" |
| ], |
| "declarations": { |
| "test.errorsyntax/ExampleUseOfErrorSyntax": "protocol", |
| "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailRequest": "struct", |
| "test.errorsyntax/ExampleUseOfErrorSyntaxCallWhichMayFailTopResponse": "struct", |
| "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Response": "struct", |
| "test.errorsyntax/ExampleUseOfErrorSyntax_CallWhichMayFail_Result": "union" |
| } |
| } |