blob: 4a6b8212245c1ebd0249007e97ef470b474db312 [file] [log] [blame]
{
"version": "0.0.1",
"name": "test.name",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"interface_declarations": [],
"service_declarations": [],
"struct_declarations": [
{
"name": "test.name/BasicStruct",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/struct_inline.test.fidl",
"line": 3,
"column": 8
},
"anonymous": false,
"members": [
{
"type": {
"kind": "primitive",
"subtype": "uint32"
},
"name": "x",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/struct_inline.test.fidl",
"line": 4,
"column": 12
},
"field_shape_v1": {
"offset": 0,
"padding": 4
}
},
{
"type": {
"kind": "string",
"nullable": false
},
"name": "y",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/struct_inline.test.fidl",
"line": 5,
"column": 12
},
"field_shape_v1": {
"offset": 8,
"padding": 0
}
}
],
"type_shape_v1": {
"inline_size": 24,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 4294967295,
"has_padding": true,
"has_flexible_envelope": false,
"contains_union": false
}
}
],
"table_declarations": [],
"union_declarations": [],
"xunion_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"test.name/BasicStruct"
],
"declarations": {
"test.name/BasicStruct": "struct"
}
}