blob: 4c18ad69271eeef821ff2c4340070fbbd0cc0da8 [file] [log] [blame]
{
"version": "0.0.1",
"name": "test.name",
"library_dependencies": [],
"bits_declarations": [],
"const_declarations": [],
"enum_declarations": [],
"interface_declarations": [],
"service_declarations": [],
"struct_declarations": [],
"table_declarations": [
{
"name": "test.name/EmptyTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 3,
"column": 7
},
"members": [],
"strict": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 1,
"max_handles": 0,
"max_out_of_line": 0,
"has_padding": false,
"has_flexible_envelope": true,
"contains_union": false
}
},
{
"name": "test.name/SimpleTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 6,
"column": 7
},
"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": 14
}
},
{
"ordinal": 2,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 8,
"column": 5
}
},
{
"ordinal": 3,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 9,
"column": 5
}
},
{
"ordinal": 4,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 10,
"column": 5
}
},
{
"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": 14
}
}
],
"strict": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 48,
"has_padding": false,
"has_flexible_envelope": true,
"contains_union": false
}
},
{
"name": "test.name/OlderSimpleTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 14,
"column": 7
},
"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": 14
}
},
{
"ordinal": 2,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 16,
"column": 5
}
}
],
"strict": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 24,
"has_padding": false,
"has_flexible_envelope": true,
"contains_union": false
}
},
{
"name": "test.name/NewerSimpleTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 19,
"column": 7
},
"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": 14
}
},
{
"ordinal": 2,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 21,
"column": 5
}
},
{
"ordinal": 3,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 22,
"column": 5
}
},
{
"ordinal": 4,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 23,
"column": 5
}
},
{
"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": 14
}
},
{
"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": 14
}
},
{
"ordinal": 7,
"reserved": true,
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 26,
"column": 5
}
}
],
"strict": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 72,
"has_padding": false,
"has_flexible_envelope": true,
"contains_union": false
}
},
{
"name": "test.name/ReverseOrdinalTable",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 29,
"column": 7
},
"members": [
{
"ordinal": 3,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "x",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 30,
"column": 14
}
},
{
"ordinal": 2,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "y",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 31,
"column": 14
}
},
{
"ordinal": 1,
"reserved": false,
"type": {
"kind": "primitive",
"subtype": "int64"
},
"name": "z",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/tables.test.fidl",
"line": 32,
"column": 14
}
}
],
"strict": false,
"type_shape_v1": {
"inline_size": 16,
"alignment": 8,
"depth": 2,
"max_handles": 0,
"max_out_of_line": 72,
"has_padding": false,
"has_flexible_envelope": true,
"contains_union": false
}
}
],
"union_declarations": [],
"xunion_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"test.name/SimpleTable",
"test.name/ReverseOrdinalTable",
"test.name/OlderSimpleTable",
"test.name/NewerSimpleTable",
"test.name/EmptyTable"
],
"declarations": {
"test.name/EmptyTable": "table",
"test.name/SimpleTable": "table",
"test.name/OlderSimpleTable": "table",
"test.name/NewerSimpleTable": "table",
"test.name/ReverseOrdinalTable": "table"
}
}