blob: 18eb12ebee2c45787e93343dc7274ecf88432b5c [file] [log] [blame]
{
"kind": "Root",
"name": "TopLevel",
"printedName": "TopLevel",
"children": [
{
"kind": "TypeDecl",
"name": "P1",
"printedName": "P1",
"children": [
{
"kind": "Function",
"name": "+",
"printedName": "+(_:_:)",
"children": [
{
"kind": "TypeNominal",
"name": "P1",
"printedName": "P1",
"usr": "s:4cake2P1P"
},
{
"kind": "TypeNominal",
"name": "P1",
"printedName": "P1",
"usr": "s:4cake2P1P"
},
{
"kind": "TypeNominal",
"name": "P1",
"printedName": "P1",
"usr": "s:4cake2P1P"
}
],
"declKind": "Func",
"usr": "s:4cake2P1PAAE1poiyAaB_pAaB_p_AaB_ptFZ",
"moduleName": "cake",
"genericSig": "<τ_0_0 where τ_0_0 : P1>",
"static": true,
"funcSelfKind": "NonMutating"
}
],
"declKind": "Protocol",
"usr": "s:4cake2P1P",
"moduleName": "cake"
},
{
"kind": "TypeDecl",
"name": "P2",
"printedName": "P2",
"declKind": "Protocol",
"usr": "s:4cake2P2P",
"moduleName": "cake"
},
{
"kind": "TypeDecl",
"name": "P3",
"printedName": "P3",
"declKind": "Protocol",
"usr": "s:4cake2P3P",
"moduleName": "cake",
"genericSig": "<τ_0_0 : P1, τ_0_0 : P2>",
"conformances": [
{
"kind": "Conformance",
"name": "P2",
"printedName": "P2"
},
{
"kind": "Conformance",
"name": "P1",
"printedName": "P1"
}
]
},
{
"kind": "TypeDecl",
"name": "S1",
"printedName": "S1",
"children": [
{
"kind": "Function",
"name": "foo1",
"printedName": "foo1()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake2S1V4foo1yyFZ",
"moduleName": "cake",
"static": true,
"funcSelfKind": "NonMutating"
},
{
"kind": "Function",
"name": "foo2",
"printedName": "foo2()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake2S1V4foo2yyF",
"moduleName": "cake",
"funcSelfKind": "Mutating"
},
{
"kind": "Function",
"name": "foo6",
"printedName": "foo6()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake2S1V4foo6yyF",
"moduleName": "cake",
"funcSelfKind": "NonMutating"
}
],
"declKind": "Struct",
"usr": "s:4cake2S1V",
"moduleName": "cake",
"declAttributes": [
"FixedLayout"
],
"conformances": [
{
"kind": "Conformance",
"name": "P1",
"printedName": "P1"
},
{
"kind": "Conformance",
"name": "P2",
"printedName": "P2"
}
]
},
{
"kind": "TypeDecl",
"name": "C0",
"printedName": "C0",
"children": [
{
"kind": "Function",
"name": "conditionalFooExt",
"printedName": "conditionalFooExt()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake2C0CA2A2S1VRszAERs_AERs0_rlE17conditionalFooExtyyF",
"moduleName": "cake",
"genericSig": "<τ_0_0, τ_0_1, τ_0_2 where τ_0_0 == S1, τ_0_1 == S1, τ_0_2 == S1>",
"funcSelfKind": "NonMutating"
},
{
"kind": "Function",
"name": "unconditionalFooExt",
"printedName": "unconditionalFooExt()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake2C0C19unconditionalFooExtyyF",
"moduleName": "cake",
"genericSig": "<τ_0_0, τ_0_1, τ_0_2>",
"funcSelfKind": "NonMutating"
}
],
"declKind": "Class",
"usr": "s:4cake2C0C",
"moduleName": "cake",
"genericSig": "<τ_0_0, τ_0_1, τ_0_2>"
},
{
"kind": "TypeDecl",
"name": "C1",
"printedName": "C1",
"children": [
{
"kind": "Function",
"name": "foo1",
"printedName": "foo1()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake2C1C4foo1yyFZ",
"moduleName": "cake",
"static": true,
"fixedbinaryorder": 0,
"funcSelfKind": "NonMutating"
},
{
"kind": "Var",
"name": "Ins",
"printedName": "Ins",
"children": [
{
"kind": "TypeNominal",
"name": "WeakStorage",
"printedName": "Optional<C1>"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Optional",
"printedName": "Optional<C1>",
"children": [
{
"kind": "TypeNominal",
"name": "C1",
"printedName": "C1",
"usr": "s:4cake2C1C"
}
],
"usr": "s:Sq"
}
],
"declKind": "Accessor",
"usr": "s:4cake2C1C3InsACSgvg",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Transparent"
]
},
{
"kind": "Setter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Optional",
"printedName": "Optional<C1>",
"children": [
{
"kind": "TypeNominal",
"name": "C1",
"printedName": "C1",
"usr": "s:4cake2C1C"
}
],
"usr": "s:Sq"
}
],
"declKind": "Accessor",
"usr": "s:4cake2C1C3InsACSgvs",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Transparent"
]
}
],
"declKind": "Var",
"usr": "s:4cake2C1C3InsACSgvp",
"moduleName": "cake",
"declAttributes": [
"HasInitialValue",
"ReferenceOwnership"
],
"fixedbinaryorder": 0,
"ownership": 1,
"hasStorage": true
},
{
"kind": "Var",
"name": "Ins2",
"printedName": "Ins2",
"children": [
{
"kind": "TypeNominal",
"name": "UnownedStorage",
"printedName": "C1"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "C1",
"printedName": "C1",
"usr": "s:4cake2C1C"
}
],
"declKind": "Accessor",
"usr": "s:4cake2C1C4Ins2ACvg",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Transparent"
]
},
{
"kind": "Setter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "C1",
"printedName": "C1",
"usr": "s:4cake2C1C"
}
],
"declKind": "Accessor",
"usr": "s:4cake2C1C4Ins2ACvs",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Transparent"
]
}
],
"declKind": "Var",
"usr": "s:4cake2C1C4Ins2ACvp",
"moduleName": "cake",
"declAttributes": [
"HasInitialValue",
"ReferenceOwnership"
],
"fixedbinaryorder": 1,
"ownership": 2,
"hasStorage": true
}
],
"declKind": "Class",
"usr": "s:4cake2C1C",
"moduleName": "cake",
"superclassUsr": "s:4cake2C0C",
"superclassNames": [
"C0<S1, S1, S1>"
]
},
{
"kind": "Function",
"name": "foo1",
"printedName": "foo1(_:b:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"hasDefaultArg": true,
"usr": "s:Si"
},
{
"kind": "TypeNominal",
"name": "S1",
"printedName": "S1",
"usr": "s:4cake2S1V"
}
],
"declKind": "Func",
"usr": "s:4cake4foo1_1bySi_AA2S1VtF",
"moduleName": "cake",
"funcSelfKind": "NonMutating"
},
{
"kind": "Function",
"name": "foo2",
"printedName": "foo2(_:b:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"hasDefaultArg": true,
"usr": "s:Si"
},
{
"kind": "TypeNominal",
"name": "S1",
"printedName": "S1",
"usr": "s:4cake2S1V"
}
],
"declKind": "Func",
"usr": "s:4cake4foo2_1bySi_AA2S1VtF",
"moduleName": "cake",
"funcSelfKind": "NonMutating"
},
{
"kind": "TypeDecl",
"name": "Number",
"printedName": "Number",
"children": [
{
"kind": "Var",
"name": "one",
"printedName": "one",
"children": [
{
"kind": "TypeFunc",
"name": "Function",
"printedName": "(Number.Type) -> Number",
"children": [
{
"kind": "TypeNominal",
"name": "Number",
"printedName": "Number",
"usr": "s:4cake6NumberO"
},
{
"kind": "TypeNominal",
"name": "Metatype",
"printedName": "Number.Type",
"children": [
{
"kind": "TypeNominal",
"name": "Number",
"printedName": "Number",
"usr": "s:4cake6NumberO"
}
]
}
]
}
],
"declKind": "EnumElement",
"usr": "s:4cake6NumberO3oneyA2CmF",
"moduleName": "cake",
"fixedbinaryorder": 0
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init(rawValue:)",
"children": [
{
"kind": "TypeNominal",
"name": "Optional",
"printedName": "Optional<Number>",
"children": [
{
"kind": "TypeNominal",
"name": "Number",
"printedName": "Number",
"usr": "s:4cake6NumberO"
}
],
"usr": "s:Sq"
},
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Constructor",
"usr": "s:4cake6NumberO8rawValueACSgSi_tcfc",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Inlinable"
]
},
{
"kind": "Var",
"name": "rawValue",
"printedName": "rawValue",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake6NumberO8rawValueSivg",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Inlinable"
]
}
],
"declKind": "Var",
"usr": "s:4cake6NumberO8rawValueSivp",
"moduleName": "cake",
"implicit": true
}
],
"declKind": "Enum",
"usr": "s:4cake6NumberO",
"moduleName": "cake",
"enumRawTypeName": "Int",
"conformances": [
{
"kind": "Conformance",
"name": "Equatable",
"printedName": "Equatable"
},
{
"kind": "Conformance",
"name": "Hashable",
"printedName": "Hashable"
},
{
"kind": "Conformance",
"name": "RawRepresentable",
"printedName": "RawRepresentable",
"children": [
{
"kind": "TypeWitness",
"name": "RawValue",
"printedName": "RawValue",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
]
}
]
}
]
},
{
"kind": "Function",
"name": "foo3",
"printedName": "foo3(_:)",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Dictionary",
"printedName": "Dictionary<Int, String>",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "TypeNominal",
"name": "String",
"printedName": "String",
"usr": "s:SS"
}
],
"usr": "s:SD"
}
],
"declKind": "Func",
"usr": "s:4cake4foo3yySDySiSSGF",
"moduleName": "cake",
"funcSelfKind": "NonMutating"
},
{
"kind": "TypeDecl",
"name": "fixedLayoutStruct",
"printedName": "fixedLayoutStruct",
"children": [
{
"kind": "Var",
"name": "a",
"printedName": "a",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake17fixedLayoutStructV1aSivg",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Transparent"
]
},
{
"kind": "Setter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
},
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake17fixedLayoutStructV1aSivs",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Transparent"
]
}
],
"declKind": "Var",
"usr": "s:4cake17fixedLayoutStructV1aSivp",
"moduleName": "cake",
"declAttributes": [
"HasInitialValue"
],
"fixedbinaryorder": 0,
"hasStorage": true
},
{
"kind": "Var",
"name": "b",
"printedName": "b",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake17fixedLayoutStructV1b33_3D8926C30F7417F2EF9A277D0C73FBDBLLSivg",
"moduleName": "cake",
"implicit": true,
"isInternal": true,
"declAttributes": [
"Transparent"
]
}
],
"declKind": "Var",
"usr": "s:4cake17fixedLayoutStructV1b33_3D8926C30F7417F2EF9A277D0C73FBDBLLSivp",
"moduleName": "cake",
"isInternal": true,
"declAttributes": [
"HasInitialValue"
],
"fixedbinaryorder": 1,
"hasStorage": true,
"hasDidset": true,
"hasWillset": true
},
{
"kind": "Var",
"name": "c",
"printedName": "c",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake17fixedLayoutStructV1cSivg",
"moduleName": "cake",
"implicit": true,
"isInternal": true,
"declAttributes": [
"Transparent"
]
}
],
"declKind": "Var",
"usr": "s:4cake17fixedLayoutStructV1cSivp",
"moduleName": "cake",
"isInternal": true,
"declAttributes": [
"HasInitialValue"
],
"fixedbinaryorder": 2,
"hasStorage": true
},
{
"kind": "Var",
"name": "unavailableProperty",
"printedName": "unavailableProperty",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake17fixedLayoutStructV19unavailablePropertySivg",
"moduleName": "cake",
"implicit": true,
"declAttributes": [
"Transparent"
]
}
],
"declKind": "Var",
"usr": "s:4cake17fixedLayoutStructV19unavailablePropertySivp",
"moduleName": "cake",
"declAttributes": [
"HasInitialValue",
"Available"
],
"fixedbinaryorder": 3,
"isLet": true,
"hasStorage": true
}
],
"declKind": "Struct",
"usr": "s:4cake17fixedLayoutStructV",
"moduleName": "cake",
"declAttributes": [
"FixedLayout"
]
},
{
"kind": "TypeDecl",
"name": "ProWithAssociatedType",
"printedName": "ProWithAssociatedType",
"children": [
{
"kind": "AssociatedType",
"name": "A",
"printedName": "A",
"declKind": "AssociatedType",
"usr": "s:4cake21ProWithAssociatedTypeP1AQa",
"moduleName": "cake",
"protocolReq": true
},
{
"kind": "AssociatedType",
"name": "B",
"printedName": "B",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "AssociatedType",
"usr": "s:4cake21ProWithAssociatedTypeP1BQa",
"moduleName": "cake",
"protocolReq": true
},
{
"kind": "Function",
"name": "NonReqFunc",
"printedName": "NonReqFunc()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake21ProWithAssociatedTypePAAE10NonReqFuncyyF",
"moduleName": "cake",
"genericSig": "<τ_0_0 where τ_0_0 : ProWithAssociatedType>",
"funcSelfKind": "NonMutating"
},
{
"kind": "Var",
"name": "NonReqVar",
"printedName": "NonReqVar",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake21ProWithAssociatedTypePAAE9NonReqVarSivg",
"moduleName": "cake",
"genericSig": "<τ_0_0 where τ_0_0 : ProWithAssociatedType>"
}
],
"declKind": "Var",
"usr": "s:4cake21ProWithAssociatedTypePAAE9NonReqVarSivp",
"moduleName": "cake"
}
],
"declKind": "Protocol",
"usr": "s:4cake21ProWithAssociatedTypeP",
"moduleName": "cake"
},
{
"kind": "TypeDecl",
"name": "SubsContainer",
"printedName": "SubsContainer",
"children": [
{
"kind": "Subscript",
"name": "subscript",
"printedName": "subscript(getter:)",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Subscript",
"usr": "s:4cake13SubsContainerP6getterS2i_tcip",
"moduleName": "cake",
"genericSig": "<τ_0_0 where τ_0_0 : SubsContainer>",
"protocolReq": true
},
{
"kind": "Subscript",
"name": "subscript",
"printedName": "subscript(setter:)",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Subscript",
"usr": "s:4cake13SubsContainerP6setterS2i_tcip",
"moduleName": "cake",
"genericSig": "<τ_0_0 where τ_0_0 : SubsContainer>",
"protocolReq": true,
"hasSetter": true
}
],
"declKind": "Protocol",
"usr": "s:4cake13SubsContainerP",
"moduleName": "cake"
},
{
"kind": "TypeDecl",
"name": "PSuper",
"printedName": "PSuper",
"children": [
{
"kind": "AssociatedType",
"name": "T",
"printedName": "T",
"declKind": "AssociatedType",
"usr": "s:4cake6PSuperP1TQa",
"moduleName": "cake",
"protocolReq": true
},
{
"kind": "Function",
"name": "foo",
"printedName": "foo()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake6PSuperP3fooyyF",
"moduleName": "cake",
"genericSig": "<τ_0_0 where τ_0_0 : PSuper>",
"protocolReq": true,
"funcSelfKind": "NonMutating"
}
],
"declKind": "Protocol",
"usr": "s:4cake6PSuperP",
"moduleName": "cake"
},
{
"kind": "TypeDecl",
"name": "PSub",
"printedName": "PSub",
"children": [
{
"kind": "AssociatedType",
"name": "T",
"printedName": "T",
"declKind": "AssociatedType",
"usr": "s:4cake4PSubP1TQa",
"moduleName": "cake",
"protocolReq": true,
"overriding": true
},
{
"kind": "Function",
"name": "foo",
"printedName": "foo()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:4cake4PSubP3fooyyF",
"moduleName": "cake",
"genericSig": "<τ_0_0 where τ_0_0 : PSub>",
"protocolReq": true,
"overriding": true,
"declAttributes": [
"Override"
],
"funcSelfKind": "NonMutating"
}
],
"declKind": "Protocol",
"usr": "s:4cake4PSubP",
"moduleName": "cake",
"genericSig": "<τ_0_0 : PSuper>",
"conformances": [
{
"kind": "Conformance",
"name": "PSuper",
"printedName": "PSuper"
}
]
},
{
"kind": "Var",
"name": "GlobalVar",
"printedName": "GlobalVar",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Var",
"usr": "s:4cake9GlobalVarSivp",
"moduleName": "cake",
"declAttributes": [
"HasInitialValue"
],
"isLet": true,
"hasStorage": true
},
{
"kind": "OperatorDecl",
"name": "..*..",
"printedName": "..*..",
"declKind": "InfixOperator",
"moduleName": "cake",
"declAttributes": [
"Infix"
]
},
{
"kind": "TypeDecl",
"name": "UsableFromInlineClass",
"printedName": "UsableFromInlineClass",
"children": [
{
"kind": "Var",
"name": "Prop",
"printedName": "Prop",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
},
{
"kind": "Getter",
"name": "_",
"printedName": "_()",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
],
"declKind": "Accessor",
"usr": "s:4cake21UsableFromInlineClassC4Prop33_3D8926C30F7417F2EF9A277D0C73FBDBLLSivg",
"moduleName": "cake",
"implicit": true,
"isInternal": true,
"declAttributes": [
"Transparent"
]
}
],
"declKind": "Var",
"usr": "s:4cake21UsableFromInlineClassC4Prop33_3D8926C30F7417F2EF9A277D0C73FBDBLLSivp",
"moduleName": "cake",
"isInternal": true,
"declAttributes": [
"HasInitialValue"
],
"fixedbinaryorder": 0,
"hasStorage": true
}
],
"declKind": "Class",
"usr": "s:4cake21UsableFromInlineClassC",
"moduleName": "cake",
"declAttributes": [
"FixedLayout",
"UsableFromInline"
]
},
{
"kind": "TypeDecl",
"name": "Int",
"printedName": "Int",
"children": [
{
"kind": "Function",
"name": "foo",
"printedName": "foo()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:Si4cakeE3fooyyF",
"moduleName": "cake",
"funcSelfKind": "NonMutating"
},
{
"kind": "Function",
"name": "bar",
"printedName": "bar()",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
],
"declKind": "Func",
"usr": "s:Si4cakeE3baryyF",
"moduleName": "cake",
"funcSelfKind": "NonMutating"
}
],
"declKind": "Struct",
"usr": "s:Si",
"moduleName": "Swift",
"declAttributes": [
"FixedLayout"
],
"conformances": [
{
"kind": "Conformance",
"name": "Comparable",
"printedName": "Comparable"
},
{
"kind": "Conformance",
"name": "SignedInteger",
"printedName": "SignedInteger"
},
{
"kind": "Conformance",
"name": "_ExpressibleByBuiltinIntegerLiteral",
"printedName": "_ExpressibleByBuiltinIntegerLiteral"
},
{
"kind": "Conformance",
"name": "BinaryInteger",
"printedName": "BinaryInteger",
"children": [
{
"kind": "TypeWitness",
"name": "Words",
"printedName": "Words",
"children": [
{
"kind": "TypeNominal",
"name": "Words",
"printedName": "Int.Words",
"usr": "s:Si5WordsV"
}
]
}
]
},
{
"kind": "Conformance",
"name": "LosslessStringConvertible",
"printedName": "LosslessStringConvertible"
},
{
"kind": "Conformance",
"name": "SignedNumeric",
"printedName": "SignedNumeric"
},
{
"kind": "Conformance",
"name": "Numeric",
"printedName": "Numeric",
"children": [
{
"kind": "TypeWitness",
"name": "Magnitude",
"printedName": "Magnitude",
"children": [
{
"kind": "TypeNominal",
"name": "UInt",
"printedName": "UInt",
"usr": "s:Su"
}
]
}
]
},
{
"kind": "Conformance",
"name": "CustomStringConvertible",
"printedName": "CustomStringConvertible"
},
{
"kind": "Conformance",
"name": "Strideable",
"printedName": "Strideable",
"children": [
{
"kind": "TypeWitness",
"name": "Stride",
"printedName": "Stride",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
]
}
]
},
{
"kind": "Conformance",
"name": "AdditiveArithmetic",
"printedName": "AdditiveArithmetic"
},
{
"kind": "Conformance",
"name": "ExpressibleByIntegerLiteral",
"printedName": "ExpressibleByIntegerLiteral",
"children": [
{
"kind": "TypeWitness",
"name": "IntegerLiteralType",
"printedName": "IntegerLiteralType",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
]
}
]
},
{
"kind": "Conformance",
"name": "FixedWidthInteger",
"printedName": "FixedWidthInteger"
},
{
"kind": "Conformance",
"name": "P1",
"printedName": "P1"
},
{
"kind": "Conformance",
"name": "Encodable",
"printedName": "Encodable"
},
{
"kind": "Conformance",
"name": "Decodable",
"printedName": "Decodable"
},
{
"kind": "Conformance",
"name": "Hashable",
"printedName": "Hashable"
},
{
"kind": "Conformance",
"name": "Equatable",
"printedName": "Equatable"
},
{
"kind": "Conformance",
"name": "_HasCustomAnyHashableRepresentation",
"printedName": "_HasCustomAnyHashableRepresentation"
},
{
"kind": "Conformance",
"name": "CustomReflectable",
"printedName": "CustomReflectable"
},
{
"kind": "Conformance",
"name": "_CustomPlaygroundQuickLookable",
"printedName": "_CustomPlaygroundQuickLookable"
},
{
"kind": "Conformance",
"name": "MirrorPath",
"printedName": "MirrorPath"
},
{
"kind": "Conformance",
"name": "SIMDScalar",
"printedName": "SIMDScalar",
"children": [
{
"kind": "TypeWitness",
"name": "SIMDMaskScalar",
"printedName": "SIMDMaskScalar",
"children": [
{
"kind": "TypeNominal",
"name": "Int",
"printedName": "Int",
"usr": "s:Si"
}
]
},
{
"kind": "TypeWitness",
"name": "SIMD2Storage",
"printedName": "SIMD2Storage",
"children": [
{
"kind": "TypeNominal",
"name": "SIMD2Storage",
"printedName": "Int.SIMD2Storage",
"usr": "s:Si12SIMD2StorageV"
}
]
},
{
"kind": "TypeWitness",
"name": "SIMD4Storage",
"printedName": "SIMD4Storage",
"children": [
{
"kind": "TypeNominal",
"name": "SIMD4Storage",
"printedName": "Int.SIMD4Storage",
"usr": "s:Si12SIMD4StorageV"
}
]
},
{
"kind": "TypeWitness",
"name": "SIMD8Storage",
"printedName": "SIMD8Storage",
"children": [
{
"kind": "TypeNominal",
"name": "SIMD8Storage",
"printedName": "Int.SIMD8Storage",
"usr": "s:Si12SIMD8StorageV"
}
]
},
{
"kind": "TypeWitness",
"name": "SIMD16Storage",
"printedName": "SIMD16Storage",
"children": [
{
"kind": "TypeNominal",
"name": "SIMD16Storage",
"printedName": "Int.SIMD16Storage",
"usr": "s:Si13SIMD16StorageV"
}
]
},
{
"kind": "TypeWitness",
"name": "SIMD32Storage",
"printedName": "SIMD32Storage",
"children": [
{
"kind": "TypeNominal",
"name": "SIMD32Storage",
"printedName": "Int.SIMD32Storage",
"usr": "s:Si13SIMD32StorageV"
}
]
},
{
"kind": "TypeWitness",
"name": "SIMD64Storage",
"printedName": "SIMD64Storage",
"children": [
{
"kind": "TypeNominal",
"name": "SIMD64Storage",
"printedName": "Int.SIMD64Storage",
"usr": "s:Si13SIMD64StorageV"
}
]
}
]
},
{
"kind": "Conformance",
"name": "CVarArg",
"printedName": "CVarArg"
}
]
}
]
}