blob: 860b584e4b720e22a347659d292ae6269705bb88 [file] [log] [blame]
{
"version": "0.0.1",
"name": "test.name",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"interface_declarations": [],
"struct_declarations": [],
"table_declarations": [
{
"name": "test.name/EmptyTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 3,
"column": 6
},
"members": [],
"size": 16,
"max_out_of_line": 0,
"alignment": 8,
"max_handles": 0
},
{
"name": "test.name/SimpleTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 6,
"column": 6
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "x",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 7,
"column": 13
},
"size": 8,
"max_out_of_line": 0,
"alignment": 8,
"max_handles": 0
},
{
"ordinal": 2,
"reserved": true
},
{
"ordinal": 3,
"reserved": true
},
{
"ordinal": 4,
"reserved": true
},
{
"ordinal": 5,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 11,
"column": 13
},
"size": 8,
"max_out_of_line": 0,
"alignment": 8,
"max_handles": 0
}
],
"size": 16,
"max_out_of_line": 48,
"alignment": 8,
"max_handles": 0
},
{
"name": "test.name/OlderSimpleTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 14,
"column": 6
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "x",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 15,
"column": 13
},
"size": 8,
"max_out_of_line": 0,
"alignment": 8,
"max_handles": 0
},
{
"ordinal": 2,
"reserved": true
}
],
"size": 16,
"max_out_of_line": 24,
"alignment": 8,
"max_handles": 0
},
{
"name": "test.name/NewerSimpleTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 19,
"column": 6
},
"members": [
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "x",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 20,
"column": 13
},
"size": 8,
"max_out_of_line": 0,
"alignment": 8,
"max_handles": 0
},
{
"ordinal": 2,
"reserved": true
},
{
"ordinal": 3,
"reserved": true
},
{
"ordinal": 4,
"reserved": true
},
{
"ordinal": 5,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 24,
"column": 13
},
"size": 8,
"max_out_of_line": 0,
"alignment": 8,
"max_handles": 0
},
{
"ordinal": 6,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "z",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 25,
"column": 13
},
"size": 8,
"max_out_of_line": 0,
"alignment": 8,
"max_handles": 0
},
{
"ordinal": 7,
"reserved": true
}
],
"size": 16,
"max_out_of_line": 72,
"alignment": 8,
"max_handles": 0
}
],
"union_declarations": [],
"xunion_declarations": [],
"declaration_order": [
"test.name/OlderSimpleTable",
"test.name/NewerSimpleTable",
"test.name/SimpleTable",
"test.name/EmptyTable"
],
"declarations": {
"test.name/EmptyTable": "table",
"test.name/SimpleTable": "table",
"test.name/OlderSimpleTable": "table",
"test.name/NewerSimpleTable": "table"
}
}