| { |
| "version": "0.0.1", |
| "name": "fidl.test.experimentalmaybefromtypealias", |
| "library_dependencies": [], |
| "bits_declarations": [], |
| "const_declarations": [], |
| "enum_declarations": [], |
| "experimental_resource_declarations": [], |
| "interface_declarations": [ |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 3, |
| "column": 10, |
| "length": 10 |
| }, |
| "methods": [] |
| } |
| ], |
| "service_declarations": [], |
| "struct_declarations": [ |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/Testing", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 17, |
| "column": 17, |
| "length": 7 |
| }, |
| "anonymous": false, |
| "members": [ |
| { |
| "type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/U64", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "u1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 18, |
| "column": 9, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 0, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "maybe_element_count": 1, |
| "nullable": false |
| }, |
| "name": "u2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 19, |
| "column": 19, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 8, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 1 |
| }, |
| "name": "u3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 20, |
| "column": 18, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 24, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "maybe_element_count": 1, |
| "nullable": false |
| }, |
| "nullable": false |
| }, |
| "name": "u4", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 21, |
| "column": 27, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 32, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 1 |
| }, |
| "nullable": false |
| }, |
| "name": "u5", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 22, |
| "column": 26, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 48, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "maybe_element_count": 1, |
| "nullable": false |
| }, |
| "element_count": 4 |
| }, |
| "name": "u6", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 23, |
| "column": 28, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 64, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 1 |
| }, |
| "element_count": 4 |
| }, |
| "name": "u7", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 24, |
| "column": 27, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 128, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "nullable": true |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/Vector", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "v1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 26, |
| "column": 12, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 160, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "nullable": true |
| }, |
| "nullable": false |
| }, |
| "name": "v2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 27, |
| "column": 20, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 176, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "nullable": true |
| }, |
| "element_count": 4 |
| }, |
| "name": "v3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 28, |
| "column": 21, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 192, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 1 |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfArray", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "a1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 30, |
| "column": 18, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 256, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 1 |
| }, |
| "nullable": false |
| }, |
| "name": "a2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 31, |
| "column": 26, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 264, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 1 |
| }, |
| "element_count": 4 |
| }, |
| "name": "a3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 32, |
| "column": 27, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 280, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": false |
| }, |
| "name": "p1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 34, |
| "column": 30, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 312, |
| "padding": 4 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": false |
| }, |
| "nullable": false |
| }, |
| "name": "p2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 35, |
| "column": 38, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 320, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": false |
| }, |
| "element_count": 4 |
| }, |
| "name": "p3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 36, |
| "column": 39, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 336, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": true |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfRequest", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "r1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 38, |
| "column": 20, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 352, |
| "padding": 4 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": true |
| }, |
| "nullable": false |
| }, |
| "name": "r2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 39, |
| "column": 28, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 360, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": true |
| }, |
| "element_count": 4 |
| }, |
| "name": "r3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 40, |
| "column": 29, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 376, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint8" |
| }, |
| "nullable": false |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfBytes", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "b1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 42, |
| "column": 18, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 392, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint8" |
| }, |
| "nullable": false |
| }, |
| "nullable": false |
| }, |
| "name": "b2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 43, |
| "column": 26, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 408, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint8" |
| }, |
| "nullable": false |
| }, |
| "element_count": 4 |
| }, |
| "name": "b3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 44, |
| "column": 27, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 424, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "string", |
| "nullable": false |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfString", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "s1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 46, |
| "column": 19, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 488, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "string", |
| "nullable": false |
| }, |
| "nullable": false |
| }, |
| "name": "s2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 47, |
| "column": 27, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 504, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "string", |
| "nullable": false |
| }, |
| "element_count": 4 |
| }, |
| "name": "s3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 48, |
| "column": 28, |
| "length": 2 |
| }, |
| "field_shape_v1": { |
| "offset": 520, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "maybe_element_count": 2, |
| "nullable": false |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfVectorContainingAliasOfVector", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "vv1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 50, |
| "column": 42, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 584, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "maybe_element_count": 2, |
| "nullable": false |
| }, |
| "maybe_element_count": 3, |
| "nullable": false |
| }, |
| "name": "vv2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 51, |
| "column": 52, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 600, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "maybe_element_count": 2, |
| "nullable": false |
| }, |
| "element_count": 3 |
| }, |
| "name": "vv3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 52, |
| "column": 51, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 616, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 2 |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfArrayContainingAliasOfArray", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "aa1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 54, |
| "column": 40, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 664, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 2 |
| }, |
| "maybe_element_count": 3, |
| "nullable": false |
| }, |
| "name": "aa2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 55, |
| "column": 50, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 680, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "primitive", |
| "subtype": "uint64" |
| }, |
| "element_count": 2 |
| }, |
| "element_count": 3 |
| }, |
| "name": "aa3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 56, |
| "column": 49, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 696, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": false |
| }, |
| "experimental_maybe_from_type_alias": { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfRequestContainingAliasOfProtocol", |
| "args": [], |
| "nullable": false |
| }, |
| "name": "rr1", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 58, |
| "column": 45, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 744, |
| "padding": 4 |
| } |
| }, |
| { |
| "type": { |
| "kind": "vector", |
| "element_type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": false |
| }, |
| "maybe_element_count": 3, |
| "nullable": false |
| }, |
| "name": "rr2", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 59, |
| "column": 55, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 752, |
| "padding": 0 |
| } |
| }, |
| { |
| "type": { |
| "kind": "array", |
| "element_type": { |
| "kind": "request", |
| "subtype": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "nullable": false |
| }, |
| "element_count": 3 |
| }, |
| "name": "rr3", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 60, |
| "column": 54, |
| "length": 3 |
| }, |
| "field_shape_v1": { |
| "offset": 768, |
| "padding": 4 |
| } |
| } |
| ], |
| "resource": true, |
| "type_shape_v1": { |
| "inline_size": 784, |
| "alignment": 8, |
| "depth": 2, |
| "max_handles": 4294967295, |
| "max_out_of_line": 4294967295, |
| "has_padding": true, |
| "has_flexible_envelope": false |
| } |
| } |
| ], |
| "table_declarations": [], |
| "union_declarations": [], |
| "type_alias_declarations": [ |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfBytes", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 6, |
| "column": 7, |
| "length": 12 |
| }, |
| "partial_type_ctor": { |
| "name": "vector", |
| "args": [], |
| "nullable": false |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfString", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 7, |
| "column": 7, |
| "length": 13 |
| }, |
| "partial_type_ctor": { |
| "name": "string", |
| "args": [], |
| "nullable": false |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/U64", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 8, |
| "column": 7, |
| "length": 3 |
| }, |
| "partial_type_ctor": { |
| "name": "uint64", |
| "args": [], |
| "nullable": false |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfProtocol", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 9, |
| "column": 7, |
| "length": 15 |
| }, |
| "partial_type_ctor": { |
| "name": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "args": [], |
| "nullable": false |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/Vector", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 10, |
| "column": 7, |
| "length": 6 |
| }, |
| "partial_type_ctor": { |
| "name": "vector", |
| "args": [ |
| { |
| "name": "uint64", |
| "args": [], |
| "nullable": false |
| } |
| ], |
| "nullable": true |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfArray", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 11, |
| "column": 7, |
| "length": 12 |
| }, |
| "partial_type_ctor": { |
| "name": "array", |
| "args": [ |
| { |
| "name": "uint64", |
| "args": [], |
| "nullable": false |
| } |
| ], |
| "nullable": false, |
| "maybe_size": { |
| "kind": "literal", |
| "value": "1", |
| "expression": "1", |
| "literal": { |
| "kind": "numeric", |
| "value": "1", |
| "expression": "1" |
| } |
| } |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfRequest", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 12, |
| "column": 7, |
| "length": 14 |
| }, |
| "partial_type_ctor": { |
| "name": "request", |
| "args": [ |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "args": [], |
| "nullable": true |
| } |
| ], |
| "nullable": true |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfVectorContainingAliasOfVector", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 13, |
| "column": 7, |
| "length": 36 |
| }, |
| "partial_type_ctor": { |
| "name": "vector", |
| "args": [ |
| { |
| "name": "uint64", |
| "args": [], |
| "nullable": false |
| } |
| ], |
| "nullable": false, |
| "maybe_size": { |
| "kind": "literal", |
| "value": "2", |
| "expression": "2", |
| "literal": { |
| "kind": "numeric", |
| "value": "2", |
| "expression": "2" |
| } |
| } |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfArrayContainingAliasOfArray", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 14, |
| "column": 7, |
| "length": 34 |
| }, |
| "partial_type_ctor": { |
| "name": "array", |
| "args": [ |
| { |
| "name": "uint64", |
| "args": [], |
| "nullable": false |
| } |
| ], |
| "nullable": false, |
| "maybe_size": { |
| "kind": "literal", |
| "value": "2", |
| "expression": "2", |
| "literal": { |
| "kind": "numeric", |
| "value": "2", |
| "expression": "2" |
| } |
| } |
| } |
| }, |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/AliasOfRequestContainingAliasOfProtocol", |
| "location": { |
| "filename": "../../tools/fidl/fidlc/testdata/type_aliases/experimental_maybe_from_type_alias.test.fidl", |
| "line": 15, |
| "column": 7, |
| "length": 39 |
| }, |
| "partial_type_ctor": { |
| "name": "request", |
| "args": [ |
| { |
| "name": "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "args": [], |
| "nullable": false |
| } |
| ], |
| "nullable": false |
| } |
| } |
| ], |
| "declaration_order": [ |
| "fidl.test.experimentalmaybefromtypealias/Vector", |
| "fidl.test.experimentalmaybefromtypealias/U64", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfVectorContainingAliasOfVector", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfArrayContainingAliasOfArray", |
| "fidl.test.experimentalmaybefromtypealias/MyProtocol", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfString", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfRequestContainingAliasOfProtocol", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfRequest", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfProtocol", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfBytes", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfArray", |
| "fidl.test.experimentalmaybefromtypealias/Testing" |
| ], |
| "declarations": { |
| "fidl.test.experimentalmaybefromtypealias/MyProtocol": "interface", |
| "fidl.test.experimentalmaybefromtypealias/Testing": "struct", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfBytes": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfString": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/U64": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfProtocol": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/Vector": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfArray": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfRequest": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfVectorContainingAliasOfVector": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfArrayContainingAliasOfArray": "type_alias", |
| "fidl.test.experimentalmaybefromtypealias/AliasOfRequestContainingAliasOfProtocol": "type_alias" |
| } |
| } |