class C1 : Prot { typealias Element = Int var p: Int func foo() subscript(_ index: Int) -> Int { get } subscript(index i: Float) -> Int { get } func extfoo() func foo1() } enum MyEnum : Int { case Blah static func addWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool) static func subtractWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool) static func multiplyWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool) static func divideWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool) static func remainderWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool) func toIntMax() -> IntMax init(_ v: UInt8) init(_ v: Int8) init(_ v: UInt16) init(_ v: Int16) init(_ v: UInt32) init(_ v: Int32) init(_ v: UInt64) init(truncatingBitPattern truncatingBitPattern: UInt64) init(_ v: Int64) init(truncatingBitPattern truncatingBitPattern: Int64) init(_ v: UInt) init(bitPattern bitPattern: UInt) init(_ other: Float) init(_ other: Double) init(_ other: Float80) init?(_ text: String, radix radix: Int = default) init(_ objectID: ObjectIdentifier) init(bitPattern bitPattern: UnsafeMutablePointer) init(bitPattern bitPattern: UnsafePointer) } extension MyEnum : CustomStringConvertible { var description: String { get } } extension MyEnum : RandomAccessIndex { func successor() -> Int func predecessor() -> Int func distance(to other: Int) -> Distance func advanced(by n: Distance) -> Int } extension MyEnum : Hashable { var hashValue: Int { get } } extension MyEnum : SignedNumber { } extension MyEnum : BitwiseOperations { static var allZeros: Int { get } } extension MyEnum : CustomReflectable { var customMirror: Mirror { get } } extension MyEnum : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension MyEnum : CVarArg { } @objc protocol P2 { optional func foo1() } protocol Prot { associatedtype Element var p: Int { get } func foo() func foo1() } extension Prot { func foo1() } extension Prot where Self.Element == Int { func extfoo() } struct S1 { enum SE { case a case b case c } func foo1() struct S2 { let b: Int } } func genfoo(x ix: T1, y iy: T2) [ { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 7, key.length: 2 }, { key.kind: source.lang.swift.ref.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot", key.offset: 12, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 24, key.length: 9 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 34, key.length: 7 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 44, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 53, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 57, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 60, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 69, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 74, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 85, key.length: 9 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 95, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 97, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 97, key.length: 5 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 104, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 112, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 118, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 129, key.length: 9 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 139, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 145, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 139, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 145, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Float", key.usr: "s:Sf", key.offset: 148, key.length: 5 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 158, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 164, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 175, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 180, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 194, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 199, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 209, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 214, key.length: 6 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 223, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 234, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 239, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 249, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 256, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 261, key.length: 15 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 277, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 279, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 279, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 284, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 289, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 291, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 291, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 296, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 305, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 310, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "Bool", key.usr: "s:Sb", key.offset: 320, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 331, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 338, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 343, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 364, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 366, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 366, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 371, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 376, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 378, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 378, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 383, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 392, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 397, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "Bool", key.usr: "s:Sb", key.offset: 407, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 418, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 425, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 430, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 451, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 453, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 453, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 458, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 463, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 465, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 465, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 470, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 479, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 484, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "Bool", key.usr: "s:Sb", key.offset: 494, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 505, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 512, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 517, key.length: 18 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 536, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 538, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 538, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 543, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 548, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 550, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 550, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 555, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 564, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 569, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "Bool", key.usr: "s:Sb", key.offset: 579, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 590, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 597, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 602, key.length: 21 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 624, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 626, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 626, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 631, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 636, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 638, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 638, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 643, key.length: 3 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 652, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 657, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "Bool", key.usr: "s:Sb", key.offset: 667, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 678, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 683, key.length: 8 }, { key.kind: source.lang.swift.ref.typealias, key.name: "IntMax", key.usr: "s:s6IntMax", key.offset: 697, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 709, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 714, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 716, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 716, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "UInt8", key.usr: "s:Vs5UInt8", key.offset: 719, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 731, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 736, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 738, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 738, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int8", key.usr: "s:Vs4Int8", key.offset: 741, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 752, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 757, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 759, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 759, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "UInt16", key.usr: "s:Vs6UInt16", key.offset: 762, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 775, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 780, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 782, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 782, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int16", key.usr: "s:Vs5Int16", key.offset: 785, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 797, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 802, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 804, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 804, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "UInt32", key.usr: "s:Vs6UInt32", key.offset: 807, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 820, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 825, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 827, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 827, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int32", key.usr: "s:Vs5Int32", key.offset: 830, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 842, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 847, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 849, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 849, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "UInt64", key.usr: "s:Vs6UInt64", key.offset: 852, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 865, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 870, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 891, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 870, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 891, key.length: 20 }, { key.kind: source.lang.swift.ref.struct, key.name: "UInt64", key.usr: "s:Vs6UInt64", key.offset: 913, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 926, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 931, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 933, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 933, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int64", key.usr: "s:Vs5Int64", key.offset: 936, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 948, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 953, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 974, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 953, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 974, key.length: 20 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int64", key.usr: "s:Vs5Int64", key.offset: 996, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1008, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1013, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1015, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1015, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "UInt", key.usr: "s:Su", key.offset: 1018, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1029, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1034, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1045, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1034, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1045, key.length: 10 }, { key.kind: source.lang.swift.ref.struct, key.name: "UInt", key.usr: "s:Su", key.offset: 1057, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1068, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1073, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1075, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1075, key.length: 5 }, { key.kind: source.lang.swift.ref.struct, key.name: "Float", key.usr: "s:Sf", key.offset: 1082, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1094, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1099, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1101, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1101, key.length: 5 }, { key.kind: source.lang.swift.ref.struct, key.name: "Double", key.usr: "s:Sd", key.offset: 1108, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1121, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1126, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1128, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1128, key.length: 5 }, { key.kind: source.lang.swift.ref.struct, key.name: "Float80", key.usr: "s:Vs7Float80", key.offset: 1135, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1149, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1155, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1157, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1157, key.length: 4 }, { key.kind: source.lang.swift.ref.struct, key.name: "String", key.usr: "s:SS", key.offset: 1163, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1171, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1177, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1171, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1177, key.length: 5 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 1184, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1190, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1204, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1209, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1211, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1211, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "ObjectIdentifier", key.usr: "s:Vs16ObjectIdentifier", key.offset: 1221, key.length: 16 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1244, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1249, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1252, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1263, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1252, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1263, key.length: 10 }, { key.kind: source.lang.swift.ref.struct, key.name: "UnsafeMutablePointer", key.usr: "s:Sp", key.offset: 1275, key.length: 20 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 1296, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1305, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1310, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1313, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1324, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1313, key.length: 10 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1324, key.length: 10 }, { key.kind: source.lang.swift.ref.struct, key.name: "UnsafePointer", key.usr: "s:SP", key.offset: 1336, key.length: 13 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 1350, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1357, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 1367, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "CustomStringConvertible", key.usr: "s:Ps23CustomStringConvertible", key.offset: 1376, key.length: 23 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1407, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1411, key.length: 11 }, { key.kind: source.lang.swift.ref.struct, key.name: "String", key.usr: "s:SS", key.offset: 1424, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1433, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1442, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 1452, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "RandomAccessIndex", key.usr: "s:Ps17RandomAccessIndex", key.offset: 1461, key.length: 17 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1486, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1491, key.length: 9 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 1506, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1515, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1520, key.length: 11 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 1537, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1546, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1551, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1560, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1563, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1560, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1563, key.length: 5 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 1570, key.length: 3 }, { key.kind: source.lang.swift.ref.typealias, key.name: "Distance", key.usr: "s:Si8Distance", key.offset: 1578, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1592, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1597, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 1606, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 1609, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1606, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1609, key.length: 1 }, { key.kind: source.lang.swift.ref.typealias, key.name: "Distance", key.usr: "s:Si8Distance", key.offset: 1612, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 1625, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1632, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 1642, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "Hashable", key.usr: "s:Ps8Hashable", key.offset: 1651, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1667, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1671, key.length: 9 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 1682, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1688, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1697, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 1707, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "SignedNumber", key.usr: "s:Ps12SignedNumber", key.offset: 1716, key.length: 12 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1734, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 1744, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "BitwiseOperations", key.usr: "s:Ps17BitwiseOperations", key.offset: 1753, key.length: 17 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1778, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1785, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1789, key.length: 8 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 1799, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1805, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1814, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 1824, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "CustomReflectable", key.usr: "s:Ps17CustomReflectable", key.offset: 1833, key.length: 17 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1858, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1862, key.length: 12 }, { key.kind: source.lang.swift.ref.struct, key.name: "Mirror", key.usr: "s:Vs6Mirror", key.offset: 1876, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1885, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1894, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 1904, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "CustomPlaygroundQuickLookable", key.usr: "s:Ps29CustomPlaygroundQuickLookable", key.offset: 1913, key.length: 29 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 1950, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 1954, key.length: 25 }, { key.kind: source.lang.swift.ref.enum, key.name: "PlaygroundQuickLook", key.usr: "s:Os19PlaygroundQuickLook", key.offset: 1981, key.length: 19 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2003, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2012, key.length: 9 }, { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 2022, key.length: 6 }, { key.kind: source.lang.swift.ref.protocol, key.name: "CVarArg", key.usr: "s:Ps7CVarArg", key.offset: 2031, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.attribute.builtin, key.offset: 2044, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2050, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2059, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.attribute.builtin, key.offset: 2069, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2078, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2083, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2093, key.length: 8 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2102, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2114, key.length: 14 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2129, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2142, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2146, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 2149, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2155, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2166, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2171, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2182, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2187, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2197, key.length: 9 }, { key.kind: source.lang.swift.ref.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot", key.offset: 2207, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2219, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2224, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2234, key.length: 9 }, { key.kind: source.lang.swift.ref.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot", key.offset: 2244, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2249, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2255, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2260, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2271, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2282, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2287, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2299, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2306, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2316, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2321, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2335, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2340, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2351, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2356, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2367, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2372, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2385, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2390, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2402, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2409, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2423, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2427, key.length: 1 }, { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si", key.offset: 2430, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2443, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2448, key.length: 6 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2455, key.length: 2 }, { key.kind: source.lang.swift.ref.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot", key.offset: 2460, key.length: 4 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2466, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2471, key.length: 4 }, { key.kind: source.lang.swift.ref.class, key.name: "C1", key.usr: "s:C4cake2C1", key.offset: 2476, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.keyword, key.offset: 2479, key.length: 5 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2485, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2488, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2499, key.length: 3 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2504, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2507, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2518, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2521, key.length: 7 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 2530, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 2532, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2530, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2532, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2536, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.argument, key.offset: 2540, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.parameter, key.offset: 2542, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2540, key.length: 1 }, { key.kind: source.lang.swift.syntaxtype.identifier, key.offset: 2542, key.length: 2 }, { key.kind: source.lang.swift.syntaxtype.typeidentifier, key.offset: 2546, key.length: 2 } ] [ { key.kind: source.lang.swift.decl.class, key.name: "C1", key.usr: "s:C4cake2C1", key.offset: 1, key.length: 206, key.fully_annotated_decl: "class C1 : Prot", key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot" } ], key.entities: [ { key.kind: source.lang.swift.decl.typealias, key.name: "Element", key.usr: "s:C4cake2C17Element", key.offset: 24, key.length: 23, key.fully_annotated_decl: "typealias Element = Int", key.conforms: [ { key.kind: source.lang.swift.ref.associatedtype, key.name: "Element", key.usr: "s:P4cake4Prot7Element" }, { key.kind: source.lang.swift.ref.associatedtype, key.name: "Element", key.usr: "s:P4cake4Prot7Element" } ] }, { key.kind: source.lang.swift.decl.var.instance, key.name: "p", key.usr: "s:vC4cake2C11pSi", key.offset: 53, key.length: 10, key.fully_annotated_decl: "var p: Int", key.conforms: [ { key.kind: source.lang.swift.ref.var.instance, key.name: "p", key.usr: "s:vP4cake4Prot1pSi" }, { key.kind: source.lang.swift.ref.var.instance, key.name: "p", key.usr: "s:vP4cake4Prot1pSi" } ] }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "foo()", key.usr: "s:FC4cake2C13fooFT_T_", key.offset: 69, key.length: 10, key.fully_annotated_decl: "func foo()", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.instance, key.name: "foo()", key.usr: "s:FP4cake4Prot3fooFT_T_" }, { key.kind: source.lang.swift.ref.function.method.instance, key.name: "foo()", key.usr: "s:FP4cake4Prot3fooFT_T_" } ] }, { key.kind: source.lang.swift.decl.function.subscript, key.name: "subscript(_:)", key.usr: "s:iC4cake2C19subscriptFSiSi", key.offset: 85, key.length: 38, key.fully_annotated_decl: "subscript(index: Int) -> Int { get }", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "index", key.offset: 104, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.subscript, key.name: "subscript(index:)", key.usr: "s:iC4cake2C19subscriptFT5indexSf_Si", key.offset: 129, key.length: 40, key.fully_annotated_decl: "subscript(index i: Float) -> Int { get }", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "index", key.name: "i", key.offset: 148, key.length: 5 } ] }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "extfoo()", key.usr: "s:Fe4cakeRxS_4Protwx7ElementzSirS0_6extfooFT_T_::SYNTHESIZED::s:C4cake2C1", key.original_usr: "s:Fe4cakeRxS_4Protwx7ElementzSirS0_6extfooFT_T_", key.offset: 175, key.length: 13, key.fully_annotated_decl: "func extfoo()" }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "foo1()", key.usr: "s:FE4cakePS_4Prot4foo1FT_T_::SYNTHESIZED::s:C4cake2C1", key.original_usr: "s:FE4cakePS_4Prot4foo1FT_T_", key.offset: 194, key.length: 11, key.fully_annotated_decl: "func foo1()" } ] }, { key.kind: source.lang.swift.decl.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum", key.offset: 209, key.length: 1146, key.fully_annotated_decl: "enum MyEnum : Int", key.inherits: [ { key.kind: source.lang.swift.ref.struct, key.name: "Int", key.usr: "s:Si" } ], key.entities: [ { key.kind: source.lang.swift.decl.enumelement, key.name: "Blah", key.usr: "s:FO4cake6MyEnum4BlahFMS0_S0_", key.offset: 234, key.length: 9, key.fully_annotated_decl: "case Blah" }, { key.kind: source.lang.swift.decl.function.method.static, key.name: "addWithOverflow(_:_:)", key.usr: "s:ZFSi15addWithOverflowFTSiSi_TSi8overflowSb_::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:ZFSi15addWithOverflowFTSiSi_TSi8overflowSb_", key.doc.full_as_xml: "addWithOverflow(_:_:)s:ZFSi15addWithOverflowFTSiSi_TSi8overflowSb_static func addWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)Add lhs and rhs, returning a result and a Bool that is true iff the operation caused an arithmetic overflow.", key.offset: 249, key.length: 76, key.fully_annotated_decl: "static func addWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.static, key.name: "addWithOverflow(_:_:)", key.usr: "s:ZFPs18_IntegerArithmetic15addWithOverflowFTxx_Tx8overflowSb_" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "lhs", key.offset: 284, key.length: 3 }, { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "rhs", key.offset: 296, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.method.static, key.name: "subtractWithOverflow(_:_:)", key.usr: "s:ZFSi20subtractWithOverflowFTSiSi_TSi8overflowSb_::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:ZFSi20subtractWithOverflowFTSiSi_TSi8overflowSb_", key.doc.full_as_xml: "subtractWithOverflow(_:_:)s:ZFSi20subtractWithOverflowFTSiSi_TSi8overflowSb_static func subtractWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)Subtract lhs and rhs, returning a result and a Bool that is true iff the operation caused an arithmetic overflow.", key.offset: 331, key.length: 81, key.fully_annotated_decl: "static func subtractWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.static, key.name: "subtractWithOverflow(_:_:)", key.usr: "s:ZFPs18_IntegerArithmetic20subtractWithOverflowFTxx_Tx8overflowSb_" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "lhs", key.offset: 371, key.length: 3 }, { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "rhs", key.offset: 383, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.method.static, key.name: "multiplyWithOverflow(_:_:)", key.usr: "s:ZFSi20multiplyWithOverflowFTSiSi_TSi8overflowSb_::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:ZFSi20multiplyWithOverflowFTSiSi_TSi8overflowSb_", key.doc.full_as_xml: "multiplyWithOverflow(_:_:)s:ZFSi20multiplyWithOverflowFTSiSi_TSi8overflowSb_static func multiplyWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)Multiply lhs and rhs, returning a result and a Bool that is true iff the operation caused an arithmetic overflow.", key.offset: 418, key.length: 81, key.fully_annotated_decl: "static func multiplyWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.static, key.name: "multiplyWithOverflow(_:_:)", key.usr: "s:ZFPs18_IntegerArithmetic20multiplyWithOverflowFTxx_Tx8overflowSb_" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "lhs", key.offset: 458, key.length: 3 }, { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "rhs", key.offset: 470, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.method.static, key.name: "divideWithOverflow(_:_:)", key.usr: "s:ZFSi18divideWithOverflowFTSiSi_TSi8overflowSb_::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:ZFSi18divideWithOverflowFTSiSi_TSi8overflowSb_", key.doc.full_as_xml: "divideWithOverflow(_:_:)s:ZFSi18divideWithOverflowFTSiSi_TSi8overflowSb_static func divideWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)Divide lhs and rhs, returning a result and a Bool that is true iff the operation caused an arithmetic overflow.", key.offset: 505, key.length: 79, key.fully_annotated_decl: "static func divideWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.static, key.name: "divideWithOverflow(_:_:)", key.usr: "s:ZFPs18_IntegerArithmetic18divideWithOverflowFTxx_Tx8overflowSb_" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "lhs", key.offset: 543, key.length: 3 }, { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "rhs", key.offset: 555, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.method.static, key.name: "remainderWithOverflow(_:_:)", key.usr: "s:ZFSi21remainderWithOverflowFTSiSi_TSi8overflowSb_::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:ZFSi21remainderWithOverflowFTSiSi_TSi8overflowSb_", key.doc.full_as_xml: "remainderWithOverflow(_:_:)s:ZFSi21remainderWithOverflowFTSiSi_TSi8overflowSb_static func remainderWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)Divide lhs and rhs, returning the remainder and a Bool that is true iff the operation caused an arithmetic overflow.", key.offset: 590, key.length: 82, key.fully_annotated_decl: "static func remainderWithOverflow(_ lhs: Int, _ rhs: Int) -> (Int, overflow: Bool)", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.static, key.name: "remainderWithOverflow(_:_:)", key.usr: "s:ZFPs18_IntegerArithmetic21remainderWithOverflowFTxx_Tx8overflowSb_" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "lhs", key.offset: 631, key.length: 3 }, { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "rhs", key.offset: 643, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "toIntMax()", key.usr: "s:FSi8toIntMaxFT_Vs5Int64::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSi8toIntMaxFT_Vs5Int64", key.doc.full_as_xml: "toIntMax()s:FSi8toIntMaxFT_Vs5Int64func toIntMax() -> IntMaxRepresent this number using Swift’s widest native signed integer type.", key.offset: 678, key.length: 25, key.fully_annotated_decl: "func toIntMax() -> IntMax", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.instance, key.name: "toIntMax()", key.usr: "s:FPs17IntegerArithmetic8toIntMaxFT_Vs5Int64" }, { key.kind: source.lang.swift.ref.function.method.instance, key.name: "toIntMax()", key.usr: "s:FPs13SignedInteger8toIntMaxFT_Vs5Int64" }, { key.kind: source.lang.swift.ref.function.method.instance, key.name: "toIntMax()", key.usr: "s:FPs14_SignedInteger8toIntMaxFT_Vs5Int64" } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs5UInt8Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs5UInt8Si", key.offset: 709, key.length: 16, key.fully_annotated_decl: "init(_ v: UInt8)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 719, key.length: 5 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs4Int8Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs4Int8Si", key.offset: 731, key.length: 15, key.fully_annotated_decl: "init(_ v: Int8)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 741, key.length: 4 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs6UInt16Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs6UInt16Si", key.offset: 752, key.length: 17, key.fully_annotated_decl: "init(_ v: UInt16)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 762, key.length: 6 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs5Int16Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs5Int16Si", key.offset: 775, key.length: 16, key.fully_annotated_decl: "init(_ v: Int16)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 785, key.length: 5 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs6UInt32Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs6UInt32Si", key.offset: 797, key.length: 17, key.fully_annotated_decl: "init(_ v: UInt32)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 807, key.length: 6 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs5Int32Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs5Int32Si", key.offset: 820, key.length: 16, key.fully_annotated_decl: "init(_ v: Int32)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 830, key.length: 5 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs6UInt64Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs6UInt64Si", key.offset: 842, key.length: 17, key.fully_annotated_decl: "init(_ v: UInt64)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 852, key.length: 6 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(truncatingBitPattern:)", key.usr: "s:FSicFT20truncatingBitPatternVs6UInt64_Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFT20truncatingBitPatternVs6UInt64_Si", key.doc.full_as_xml: "init(truncatingBitPattern:)s:FSicFT20truncatingBitPatternVs6UInt64_Siinit(truncatingBitPattern: UInt64)Construct a Int having the same bitwise representation as the least significant bits of the provided bit pattern.No range or overflow checking occurs.", key.offset: 865, key.length: 55, key.fully_annotated_decl: "init(truncatingBitPattern: UInt64)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "truncatingBitPattern", key.name: "truncatingBitPattern", key.offset: 913, key.length: 6 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs5Int64Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs5Int64Si", key.offset: 926, key.length: 16, key.fully_annotated_decl: "init(_ v: Int64)", key.conforms: [ { key.kind: source.lang.swift.ref.function.constructor, key.name: "init(_:)", key.usr: "s:FPs13SignedIntegercFVs5Int64x" }, { key.kind: source.lang.swift.ref.function.constructor, key.name: "init(_:)", key.usr: "s:FPs14_SignedIntegercFVs5Int64x" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 936, key.length: 5 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(truncatingBitPattern:)", key.usr: "s:FSicFT20truncatingBitPatternVs5Int64_Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFT20truncatingBitPatternVs5Int64_Si", key.doc.full_as_xml: "init(truncatingBitPattern:)s:FSicFT20truncatingBitPatternVs5Int64_Siinit(truncatingBitPattern: Int64)Construct a Int having the same bitwise representation as the least significant bits of the provided bit pattern.No range or overflow checking occurs.", key.offset: 948, key.length: 54, key.fully_annotated_decl: "init(truncatingBitPattern: Int64)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "truncatingBitPattern", key.name: "truncatingBitPattern", key.offset: 996, key.length: 5 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFSuSi::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFSuSi", key.offset: 1008, key.length: 15, key.fully_annotated_decl: "init(_ v: UInt)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "v", key.offset: 1018, key.length: 4 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(bitPattern:)", key.usr: "s:FSicFT10bitPatternSu_Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFT10bitPatternSu_Si", key.doc.full_as_xml: "init(bitPattern:)s:FSicFT10bitPatternSu_Siinit(bitPattern: UInt)Construct a Int having the same memory representation as the UInt bitPattern. No range or overflow checking occurs, and the resulting Int may not have the same numeric value as bitPattern–it is only guaranteed to use the same pattern of bits.", key.offset: 1029, key.length: 33, key.fully_annotated_decl: "init(bitPattern: UInt)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "bitPattern", key.name: "bitPattern", key.offset: 1057, key.length: 4 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFSfSi::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFSfSi", key.doc.full_as_xml: "init(_:)s:FSicFSfSiinit(_ other: Float)Construct an instance that approximates other.", key.offset: 1068, key.length: 20, key.fully_annotated_decl: "init(_ other: Float)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "other", key.offset: 1082, key.length: 5 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFSdSi::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFSdSi", key.doc.full_as_xml: "init(_:)s:FSicFSdSiinit(_ other: Double)Construct an instance that approximates other.", key.offset: 1094, key.length: 21, key.fully_annotated_decl: "init(_ other: Double)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "other", key.offset: 1108, key.length: 6 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs7Float80Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs7Float80Si", key.doc.full_as_xml: "init(_:)s:FSicFVs7Float80Siinit(_ other: Float80)Construct an instance that approximates other.", key.offset: 1121, key.length: 22, key.fully_annotated_decl: "init(_ other: Float80)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "other", key.offset: 1135, key.length: 7 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:radix:)", key.usr: "s:FSicFTSS5radixSi_GSqSi_::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFTSS5radixSi_GSqSi_", key.doc.full_as_xml: "init(_:radix:)s:FSicFTSS5radixSi_GSqSi_init?(_ text: String, radix: Int = default)Construct from an ASCII representation in the given radix.If text does not match the regular expression “[+-]?[0-9a-zA-Z]+”, or the value it denotes in the given radix is not representable, the result is nil.", key.offset: 1149, key.length: 49, key.fully_annotated_decl: "init?(_ text: String, radix: Int = default)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "text", key.offset: 1163, key.length: 6 }, { key.kind: source.lang.swift.decl.var.local, key.keyword: "radix", key.name: "radix", key.offset: 1184, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(_:)", key.usr: "s:FSicFVs16ObjectIdentifierSi::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicFVs16ObjectIdentifierSi", key.doc.full_as_xml: "init(_:)s:FSicFVs16ObjectIdentifierSiinit(_ objectID: ObjectIdentifier)Create an Int that captures the full value of objectID.", key.offset: 1204, key.length: 34, key.fully_annotated_decl: "init(_ objectID: ObjectIdentifier)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "_", key.name: "objectID", key.offset: 1221, key.length: 16 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(bitPattern:)", key.usr: "s:FSicurFT10bitPatternGSpx__Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicurFT10bitPatternGSpx__Si", key.generic_params: [ { key.name: "U" } ], key.offset: 1244, key.length: 55, key.fully_annotated_decl: "init<U>(bitPattern: UnsafeMutablePointer<U>)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "bitPattern", key.name: "bitPattern", key.offset: 1275, key.length: 23 } ] }, { key.kind: source.lang.swift.decl.function.constructor, key.name: "init(bitPattern:)", key.usr: "s:FSicurFT10bitPatternGSPx__Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSicurFT10bitPatternGSPx__Si", key.generic_params: [ { key.name: "U" } ], key.offset: 1305, key.length: 48, key.fully_annotated_decl: "init<U>(bitPattern: UnsafePointer<U>)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "bitPattern", key.name: "bitPattern", key.offset: 1336, key.length: 16 } ] } ] }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 1357, key.length: 83, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "CustomStringConvertible", key.usr: "s:Ps23CustomStringConvertible" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" }, key.entities: [ { key.kind: source.lang.swift.decl.var.instance, key.name: "description", key.usr: "s:vSi11descriptionSS::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:vSi11descriptionSS", key.doc.full_as_xml: "descriptions:vSi11descriptionSSvar description: String { get }A textual representation of self.", key.offset: 1407, key.length: 31, key.fully_annotated_decl: "var description: String { get }", key.conforms: [ { key.kind: source.lang.swift.ref.var.instance, key.name: "description", key.usr: "s:vPs23CustomStringConvertible11descriptionSS" } ] } ] }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 1442, key.length: 188, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "RandomAccessIndex", key.usr: "s:Ps17RandomAccessIndex" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" }, key.entities: [ { key.kind: source.lang.swift.decl.function.method.instance, key.name: "successor()", key.usr: "s:FSi9successorFT_Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSi9successorFT_Si", key.doc.full_as_xml: "successor()s:FSi9successorFT_Sifunc successor() -> IntReturns the next consecutive value after self.The next value is representable.", key.offset: 1486, key.length: 23, key.fully_annotated_decl: "func successor() -> Int", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.instance, key.name: "successor()", key.usr: "s:FPs14_Incrementable9successorFT_x" } ] }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "predecessor()", key.usr: "s:FSi11predecessorFT_Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSi11predecessorFT_Si", key.doc.full_as_xml: "predecessor()s:FSi11predecessorFT_Sifunc predecessor() -> IntReturns the previous consecutive value before self.The previous value is representable.", key.offset: 1515, key.length: 25, key.fully_annotated_decl: "func predecessor() -> Int", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.instance, key.name: "predecessor()", key.usr: "s:FPs18BidirectionalIndex11predecessorFT_x" } ] }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "distance(to:)", key.usr: "s:FSi8distanceFT2toSi_Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSi8distanceFT2toSi_Si", key.offset: 1546, key.length: 40, key.fully_annotated_decl: "func distance(to other: Int) -> Distance", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.instance, key.name: "distance(to:)", key.usr: "s:FPs12ForwardIndex8distanceFT2tox_wx8Distance" }, { key.kind: source.lang.swift.ref.function.method.instance, key.name: "distance(to:)", key.usr: "s:FPs17RandomAccessIndex8distanceFT2tox_wx8Distance" }, { key.kind: source.lang.swift.ref.function.method.instance, key.name: "distance(to:)", key.usr: "s:FPs10Strideable8distanceFT2tox_wx6Stride" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "to", key.name: "other", key.offset: 1570, key.length: 3 } ] }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "advanced(by:)", key.usr: "s:FSi8advancedFT2bySi_Si::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:FSi8advancedFT2bySi_Si", key.offset: 1592, key.length: 36, key.fully_annotated_decl: "func advanced(by n: Distance) -> Int", key.conforms: [ { key.kind: source.lang.swift.ref.function.method.instance, key.name: "advanced(by:)", key.usr: "s:FPs12ForwardIndex8advancedFT2bywx8Distance_x" }, { key.kind: source.lang.swift.ref.function.method.instance, key.name: "advanced(by:)", key.usr: "s:FPs17RandomAccessIndex8advancedFT2bywx8Distance_x" }, { key.kind: source.lang.swift.ref.function.method.instance, key.name: "advanced(by:)", key.usr: "s:FPs10Strideable8advancedFT2bywx6Stride_x" } ], key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "by", key.name: "n", key.offset: 1612, key.length: 8 } ] } ] }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 1632, key.length: 63, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "Hashable", key.usr: "s:Ps8Hashable" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" }, key.entities: [ { key.kind: source.lang.swift.decl.var.instance, key.name: "hashValue", key.usr: "s:vSi9hashValueSi::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:vSi9hashValueSi", key.doc.full_as_xml: "hashValues:vSi9hashValueSivar hashValue: Int { get }The hash value.Axiom: x == y implies x.hashValue == y.hashValue.The hash value is not guaranteed to be stable across different invocations of the same program. Do not persist the hash value across program runs.", key.offset: 1667, key.length: 26, key.fully_annotated_decl: "var hashValue: Int { get }", key.conforms: [ { key.kind: source.lang.swift.ref.var.instance, key.name: "hashValue", key.usr: "s:vPs8Hashable9hashValueSi" } ] } ] }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 1697, key.length: 35, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "SignedNumber", key.usr: "s:Ps12SignedNumber" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" } }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 1734, key.length: 78, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "BitwiseOperations", key.usr: "s:Ps17BitwiseOperations" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" }, key.entities: [ { key.kind: source.lang.swift.decl.var.static, key.name: "allZeros", key.usr: "s:ZvSi8allZerosSi::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:ZvSi8allZerosSi", key.doc.full_as_xml: "allZeross:ZvSi8allZerosSistatic var allZeros: Int { get }The empty bitset of type Int.", key.offset: 1778, key.length: 32, key.fully_annotated_decl: "static var allZeros: Int { get }", key.conforms: [ { key.kind: source.lang.swift.ref.var.static, key.name: "allZeros", key.usr: "s:ZvPs17BitwiseOperations8allZerosx" } ] } ] }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 1814, key.length: 78, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "CustomReflectable", key.usr: "s:Ps17CustomReflectable" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" }, key.entities: [ { key.kind: source.lang.swift.decl.var.instance, key.name: "customMirror", key.usr: "s:vSi12customMirrorVs6Mirror::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:vSi12customMirrorVs6Mirror", key.doc.full_as_xml: "customMirrors:vSi12customMirrorVs6Mirrorvar customMirror: Mirror { get }Returns a mirror that reflects self.", key.offset: 1858, key.length: 32, key.fully_annotated_decl: "var customMirror: Mirror { get }", key.conforms: [ { key.kind: source.lang.swift.ref.var.instance, key.name: "customMirror", key.usr: "s:vPs17CustomReflectable12customMirrorVs6Mirror" } ] } ] }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 1894, key.length: 116, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "CustomPlaygroundQuickLookable", key.usr: "s:Ps29CustomPlaygroundQuickLookable" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" }, key.entities: [ { key.kind: source.lang.swift.decl.var.instance, key.name: "customPlaygroundQuickLook", key.usr: "s:vSi25customPlaygroundQuickLookOs19PlaygroundQuickLook::SYNTHESIZED::s:O4cake6MyEnum", key.original_usr: "s:vSi25customPlaygroundQuickLookOs19PlaygroundQuickLook", key.offset: 1950, key.length: 58, key.fully_annotated_decl: "var customPlaygroundQuickLook: PlaygroundQuickLook { get }", key.conforms: [ { key.kind: source.lang.swift.ref.var.instance, key.name: "customPlaygroundQuickLook", key.usr: "s:vPs29CustomPlaygroundQuickLookable25customPlaygroundQuickLookOs19PlaygroundQuickLook" } ] } ] }, { key.kind: source.lang.swift.decl.extension.enum, key.offset: 2012, key.length: 30, key.conforms: [ { key.kind: source.lang.swift.ref.protocol, key.name: "CVarArg", key.usr: "s:Ps7CVarArg" } ], key.extends: { key.kind: source.lang.swift.ref.enum, key.name: "MyEnum", key.usr: "s:O4cake6MyEnum" } }, { key.kind: source.lang.swift.decl.protocol, key.name: "P2", key.usr: "s:P4cake2P2", key.offset: 2044, key.length: 47, key.fully_annotated_decl: "@objc protocol P2", key.entities: [ { key.kind: source.lang.swift.decl.function.method.instance, key.name: "foo1()", key.usr: "s:FP4cake2P24foo1FT_T_", key.offset: 2069, key.length: 20, key.fully_annotated_decl: "optional func foo1()", key.is_optional: 1 } ] }, { key.kind: source.lang.swift.decl.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot", key.offset: 2093, key.length: 102, key.fully_annotated_decl: "protocol Prot", key.entities: [ { key.kind: source.lang.swift.decl.associatedtype, key.name: "Element", key.usr: "s:P4cake4Prot7Element", key.offset: 2114, key.length: 22, key.fully_annotated_decl: "associatedtype Element" }, { key.kind: source.lang.swift.decl.var.instance, key.name: "p", key.usr: "s:vP4cake4Prot1pSi", key.offset: 2142, key.length: 18, key.fully_annotated_decl: "var p: Int { get }" }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "foo()", key.usr: "s:FP4cake4Prot3fooFT_T_", key.offset: 2166, key.length: 10, key.fully_annotated_decl: "func foo()" }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "foo1()", key.usr: "s:FP4cake4Prot4foo1FT_T_", key.offset: 2182, key.length: 11, key.fully_annotated_decl: "func foo1()" } ] }, { key.kind: source.lang.swift.decl.extension.protocol, key.offset: 2197, key.length: 35, key.extends: { key.kind: source.lang.swift.ref.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot" }, key.entities: [ { key.kind: source.lang.swift.decl.function.method.instance, key.name: "foo1()", key.usr: "s:FE4cakePS_4Prot4foo1FT_T_", key.default_implementation_of: "s:FP4cake4Prot4foo1FT_T_", key.offset: 2219, key.length: 11, key.fully_annotated_decl: "func foo1()" } ] }, { key.kind: source.lang.swift.decl.extension.protocol, key.generic_requirements: [ { key.description: "Self.Element == Int" } ], key.offset: 2234, key.length: 63, key.extends: { key.kind: source.lang.swift.ref.protocol, key.name: "Prot", key.usr: "s:P4cake4Prot" }, key.entities: [ { key.kind: source.lang.swift.decl.function.method.instance, key.name: "extfoo()", key.usr: "s:Fe4cakeRxS_4Protwx7ElementzSirS0_6extfooFT_T_", key.offset: 2282, key.length: 13, key.fully_annotated_decl: "func extfoo()" } ] }, { key.kind: source.lang.swift.decl.struct, key.name: "S1", key.usr: "s:V4cake2S1", key.offset: 2299, key.length: 142, key.fully_annotated_decl: "struct S1", key.entities: [ { key.kind: source.lang.swift.decl.enum, key.name: "SE", key.usr: "s:OV4cake2S12SE", key.offset: 2316, key.length: 63, key.fully_annotated_decl: "enum SE", key.entities: [ { key.kind: source.lang.swift.decl.enumelement, key.name: "a", key.usr: "s:FOV4cake2S12SE1aFMS1_S1_", key.offset: 2335, key.length: 6, key.fully_annotated_decl: "case a" }, { key.kind: source.lang.swift.decl.enumelement, key.name: "b", key.usr: "s:FOV4cake2S12SE1bFMS1_S1_", key.offset: 2351, key.length: 6, key.fully_annotated_decl: "case b" }, { key.kind: source.lang.swift.decl.enumelement, key.name: "c", key.usr: "s:FOV4cake2S12SE1cFMS1_S1_", key.offset: 2367, key.length: 6, key.fully_annotated_decl: "case c" } ] }, { key.kind: source.lang.swift.decl.function.method.instance, key.name: "foo1()", key.usr: "s:FV4cake2S14foo1FT_T_", key.offset: 2385, key.length: 11, key.fully_annotated_decl: "func foo1()" }, { key.kind: source.lang.swift.decl.struct, key.name: "S2", key.usr: "s:VV4cake2S12S2", key.offset: 2402, key.length: 37, key.fully_annotated_decl: "struct S2", key.entities: [ { key.kind: source.lang.swift.decl.var.instance, key.name: "b", key.usr: "s:vVV4cake2S12S21bSi", key.offset: 2423, key.length: 10, key.fully_annotated_decl: "let b: Int" } ] } ] }, { key.kind: source.lang.swift.decl.function.free, key.name: "genfoo(x:y:)", key.usr: "s:F4cake6genfoou0_RxS_4Prot_CS_2C1wx7ElementzSirFT1xx1yq__T_", key.generic_params: [ { key.name: "T1", key.inherits: "Prot" }, { key.name: "T2", key.inherits: "C1" } ], key.generic_requirements: [ { key.description: "T1.Element == Int" }, { key.description: "T2.Element == T1.Element" } ], key.offset: 2443, key.length: 106, key.fully_annotated_decl: "func genfoo<T1 : Prot, T2 : C1 where T1.Element == Int, T2.Element == T1.Element>(x ix: T1, y iy: T2)", key.entities: [ { key.kind: source.lang.swift.decl.var.local, key.keyword: "x", key.name: "ix", key.offset: 2536, key.length: 2 }, { key.kind: source.lang.swift.decl.var.local, key.keyword: "y", key.name: "iy", key.offset: 2546, key.length: 2 } ] } ]