| { |
| "version": "0.0.1", |
| "name": "example", |
| "library_dependencies": [ |
| { |
| "name": "dependent", |
| "declarations": { |
| "dependent/MyEnum": "enum" |
| } |
| } |
| ], |
| "bits_declarations": [], |
| "const_declarations": [], |
| "enum_declarations": [], |
| "interface_declarations": [], |
| "service_declarations": [], |
| "struct_declarations": [ |
| { |
| "name": "example/Foo", |
| "location": { |
| "filename": "example.test.fidl", |
| "line": 5, |
| "column": 8 |
| }, |
| "anonymous": false, |
| "members": [ |
| { |
| "type": { |
| "kind": "identifier", |
| "identifier": "dependent/MyEnum", |
| "nullable": false |
| }, |
| "name": "field", |
| "location": { |
| "filename": "example.test.fidl", |
| "line": 6, |
| "column": 22 |
| }, |
| "maybe_default_value": { |
| "kind": "identifier", |
| "value": "1", |
| "expression": "dependent.MyEnum.A", |
| "identifier": "dependent/MyEnum.A" |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| } |
| } |
| ], |
| "type_shape_v1": { |
| "inline_size": 4, |
| "alignment": 4, |
| "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": [ |
| "example/Foo" |
| ], |
| "declarations": { |
| "example/Foo": "struct" |
| } |
| } |