blob: 30b67482124aff3174232d2cd166d0db0e6d24ca [file] [log] [blame]
{
"version": "0.0.1",
"name": "test.name",
"library_dependencies": [],
"bits_declarations": [
{
"name": "test.name/MyBits",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/bits.test.test.fidl",
"line": 2,
"column": 6
},
"type": {
"kind": "primitive",
"subtype": "uint32"
},
"mask": "3",
"members": [
{
"name": "MY_FIRST_BIT",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/bits.test.test.fidl",
"line": 3,
"column": 5
},
"value": {
"kind": "literal",
"literal": {
"kind": "numeric",
"value": "1",
"expression": "1"
}
}
},
{
"name": "MY_OTHER_BIT",
"location": {
"filename": "garnet/go/src/fidl/compiler/backend/typestest/bits.test.test.fidl",
"line": 4,
"column": 5
},
"value": {
"kind": "literal",
"literal": {
"kind": "numeric",
"value": "2",
"expression": "2"
}
}
}
],
"strict": true
}
],
"const_declarations": [],
"enum_declarations": [],
"interface_declarations": [],
"service_declarations": [],
"struct_declarations": [],
"table_declarations": [],
"union_declarations": [],
"xunion_declarations": [],
"type_alias_declarations": [],
"declaration_order": [
"test.name/MyBits"
],
"declarations": {
"test.name/MyBits": "bits"
}
}