Files
swift-mirror/test/SourceKit/DocSupport/doc_swift_module.swift.response
Nathan Hawes 51bace649b [IDE][SourceKit/DocSupport] Add members of underscored protocol extensions in extensions of conforming types.
We would previously hide the protocol, its extensions and members, but the '_'
prefix really just means the protocol itself isn't intended for clients, rather
than its members.

This also adds support for 'fully_annotated_decl' entries in doc-info for
extensions to be consistent with every other decl, and removes the
'fully_annotated_generic_signature' entry we supplied as a fallback.

Also fixes several bugs with the synthesized extensions mechanism:
- The type sustitutions applied to the extension's requirements were computed
  using the extension itself as the decl context rather than the extension's
  nominal. The meant the extension's requirements themselves were assumed to
  hold when determining the substitutions, so equality constraints were always
  met. Because of this extension members were incorrectly merged with the base
  nominal or its extensions despite having additional constraints.
- Types within the requirements weren't being transformed when printed (e.g.
  'Self.Element' was printed rather than 'T') both in the interface output and
  in the requirements list. We were also incorrectly printing requirements
  that were already satisfied once the base type was subsituted in.
- If both the protocol extension and 'enabling' extension of the base nominal
  that added the protocol conformance had conditional requirements, we were
  only printing the protocol extension's requirements in the synthesized
  extension.
- The USR and annotated decl output embedded in the 'key.doc.full_as_xml'
  string for synthesized members were printed to match their original context, rather than
  the synthesized one.

Resolves rdar://problem/57121937
2020-06-02 15:38:34 -07:00

3137 lines
89 KiB
Plaintext

import SwiftOnoneSupport
struct Box<Wrapped> {
func boxes() -> [cake.Box<Wrapped.Element>] where Wrapped : Sequence
}
class C1 : cake.Prot {
typealias Element = Int
var p: Int
func foo()
func foo1(i0 i0: Int, i1 i1: Int)
subscript(_ index: Int) -> Int { get }
subscript(index i: Float) -> Int { get }
enum C1Cases : Int {
case case1
}
func extfoo()
func foo1()
subscript(_ index: Int) -> Int { get }
}
extension C1 {
func addition()
}
extension C1 : cake.P4 {
func C1foo()
struct C1S1 {
func C1S1foo(a a: cake.P4)
}
}
extension C1.C1Cases {
@inlinable var hashValue: Int { get }
@inlinable func hash(into hasher: inout Hasher)
static func != (_ lhs: C1.C1Cases, _ rhs: C1.C1Cases) -> Bool
}
class C2 : cake.C1 {
func C2foo()
enum C1Cases : Int {
case case1
}
func extfoo()
func foo1()
subscript(_ index: Int) -> Int { get }
}
extension C2 {
func addition()
}
extension C2 : P4 {
func C1foo()
struct C1S1 {
func C1S1foo(a a: P4)
}
}
enum MyEnum : Int {
case Blah
@inlinable var hashValue: Int { get }
@inlinable func hash(into hasher: inout Hasher)
static func != (_ lhs: MyEnum, _ rhs: MyEnum) -> Bool
}
protocol P {
func foo()
}
extension P {
func bar() where Self : Equatable
}
@objc protocol P2 {
@objc optional func foo1()
}
protocol P3 {
associatedtype T
}
protocol P4 {
}
protocol P5 {
associatedtype Element
}
protocol P6 : cake.P5 {
}
extension P6 {
var null: Self.Element? { get }
}
protocol Prot {
associatedtype Element
var p: Int { get }
func foo()
func foo1()
}
extension Prot {
func foo1()
subscript(_ index: Int) -> Int { get }
}
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
}
}
extension S1.SE {
static func != (_ lhs: S1.SE, _ rhs: S1.SE) -> Bool
}
struct S2 : cake.P3 {
typealias T = cake.S2
}
struct S3<Wrapped> : cake.P5 where Wrapped : cake.P5 {
typealias Element = Wrapped.Element
}
extension S3 where Wrapped : P6 {
var null: Wrapped.Element? { get }
}
func genfoo<T1, T2>(x ix: T1, y iy: T2) where T1 : cake.Prot, T2 : cake.C1, T1.Element == Int
func shouldPrintAnyAsKeyword(x x: Any)
[
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 0,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 7,
key.length: 17
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 26,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 33,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 37,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 53,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 58,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 70,
key.length: 4
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Box",
key.usr: "s:4cake3BoxV",
key.offset: 75,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 79,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 87,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 97,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 103,
key.length: 7
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "Sequence",
key.usr: "s:ST",
key.offset: 113,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 125,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 131,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 136,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP",
key.offset: 141,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 153,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 163,
key.length: 7
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 173,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 182,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 186,
key.length: 1
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 189,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 198,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 203,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 214,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 219,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 224,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 227,
key.length: 2
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 231,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 236,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 239,
key.length: 2
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 243,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 253,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 263,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 265,
key.length: 5
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 272,
key.length: 3
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 280,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 286,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 297,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 307,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 313,
key.length: 1
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Float",
key.usr: "s:Sf",
key.offset: 316,
key.length: 5
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 326,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 332,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 343,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 348,
key.length: 7
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 358,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 373,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 378,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 395,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 400,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 414,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 419,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 431,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 441,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 443,
key.length: 5
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 450,
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.keyword,
key.offset: 464,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 473,
key.length: 9
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 483,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 493,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 498,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 512,
key.length: 9
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 522,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 527,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P4",
key.usr: "s:4cake2P4P",
key.offset: 532,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 542,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 547,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 560,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 567,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 583,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 588,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 596,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 598,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 601,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P4",
key.usr: "s:4cake2P4P",
key.offset: 606,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 619,
key.length: 9
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 629,
key.length: 2
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "C1Cases",
key.usr: "s:4cake2C1C0B5CasesO",
key.offset: 632,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 647,
key.length: 10
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 658,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 662,
key.length: 9
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 673,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 679,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 690,
key.length: 10
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 701,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 706,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 711,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 716,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 724,
key.length: 5
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Hasher",
key.usr: "s:s6HasherV",
key.offset: 730,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 743,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 750,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 759,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 761,
key.length: 3
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 766,
key.length: 2
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "C1Cases",
key.usr: "s:4cake2C1C0B5CasesO",
key.offset: 769,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 778,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 780,
key.length: 3
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 785,
key.length: 2
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "C1Cases",
key.usr: "s:4cake2C1C0B5CasesO",
key.offset: 788,
key.length: 7
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Bool",
key.usr: "s:Sb",
key.offset: 800,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 808,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 814,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 819,
key.length: 4
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 824,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 834,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 839,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 852,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 857,
key.length: 7
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 867,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 882,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 887,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 904,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 909,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 923,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 928,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 940,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 950,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 952,
key.length: 5
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 959,
key.length: 3
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 967,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 973,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 982,
key.length: 9
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C2",
key.usr: "s:4cake2C2C",
key.offset: 992,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1002,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1007,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1021,
key.length: 9
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C2",
key.usr: "s:4cake2C2C",
key.offset: 1031,
key.length: 2
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P4",
key.usr: "s:4cake2P4P",
key.offset: 1036,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1046,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1051,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1064,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1071,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1087,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1092,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 1100,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 1102,
key.length: 1
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P4",
key.usr: "s:4cake2P4P",
key.offset: 1105,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1118,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1123,
key.length: 6
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 1132,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1143,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1148,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 1158,
key.length: 10
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1169,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1173,
key.length: 9
},
{
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: 3
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 1201,
key.length: 10
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1212,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1217,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 1222,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 1227,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1235,
key.length: 5
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Hasher",
key.usr: "s:s6HasherV",
key.offset: 1241,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1254,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1261,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 1270,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 1272,
key.length: 3
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "MyEnum",
key.usr: "s:4cake6MyEnumO",
key.offset: 1277,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 1285,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 1287,
key.length: 3
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "MyEnum",
key.usr: "s:4cake6MyEnumO",
key.offset: 1292,
key.length: 6
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Bool",
key.usr: "s:Sb",
key.offset: 1303,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1311,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1320,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1329,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1334,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1343,
key.length: 9
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P",
key.usr: "s:4cake1PP",
key.offset: 1353,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1362,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1367,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1373,
key.length: 5
},
{
key.kind: source.lang.swift.ref.generic_type_param,
key.name: "Self",
key.usr: "s:4cake1PP4Selfxmfp",
key.offset: 1379,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "Equatable",
key.usr: "s:SQ",
key.offset: 1386,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 1399,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1405,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1414,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 1424,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.attribute.builtin,
key.offset: 1430,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1439,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1444,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1454,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1463,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1473,
key.length: 14
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1488,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1493,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1502,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1510,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1519,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1529,
key.length: 14
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1544,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1555,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1564,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 1569,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P5",
key.usr: "s:4cake2P5P",
key.offset: 1574,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1582,
key.length: 9
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P6",
key.usr: "s:4cake2P6P",
key.offset: 1592,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1602,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1606,
key.length: 4
},
{
key.kind: source.lang.swift.ref.generic_type_param,
key.name: "Self",
key.usr: "s:4cake2P6P4Selfxmfp",
key.offset: 1612,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 1617,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1628,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1637,
key.length: 8
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1646,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1658,
key.length: 14
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1673,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1686,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1690,
key.length: 1
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 1693,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1699,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1710,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1715,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1726,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1731,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1741,
key.length: 9
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP",
key.offset: 1751,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1763,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1768,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1780,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 1790,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 1792,
key.length: 5
},
{
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.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 1807,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1813,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1822,
key.length: 9
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP",
key.offset: 1832,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1837,
key.length: 5
},
{
key.kind: source.lang.swift.ref.generic_type_param,
key.name: "Self",
key.usr: "s:4cake4ProtPAASi7ElementRtzrlE4Selfxmfp",
key.offset: 1843,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 1848,
key.length: 7
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 1859,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1870,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1875,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1887,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1894,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1904,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1909,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1923,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1928,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1939,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1944,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1955,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1960,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1973,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1978,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 1990,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 1997,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2011,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2015,
key.length: 1
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 2018,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2031,
key.length: 9
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "S1",
key.usr: "s:4cake2S1V",
key.offset: 2041,
key.length: 2
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "SE",
key.usr: "s:4cake2S1V2SEO",
key.offset: 2044,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2054,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2061,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 2070,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 2072,
key.length: 3
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "S1",
key.usr: "s:4cake2S1V",
key.offset: 2077,
key.length: 2
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "SE",
key.usr: "s:4cake2S1V2SEO",
key.offset: 2080,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 2084,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 2086,
key.length: 3
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "S1",
key.usr: "s:4cake2S1V",
key.offset: 2091,
key.length: 2
},
{
key.kind: source.lang.swift.ref.enum,
key.name: "SE",
key.usr: "s:4cake2S1V2SEO",
key.offset: 2094,
key.length: 2
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Bool",
key.usr: "s:Sb",
key.offset: 2101,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2109,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2116,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2121,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P3",
key.usr: "s:4cake2P3P",
key.offset: 2126,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2136,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2146,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2150,
key.length: 4
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "S2",
key.usr: "s:4cake2S2V",
key.offset: 2155,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2161,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2168,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2171,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2182,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P5",
key.usr: "s:4cake2P5P",
key.offset: 2187,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2190,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2196,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2206,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P5",
key.usr: "s:4cake2P5P",
key.offset: 2211,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2221,
key.length: 9
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2231,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2241,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2249,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2260,
key.length: 9
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "S3",
key.usr: "s:4cake2S3V",
key.offset: 2270,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2273,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2279,
key.length: 7
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P6",
key.usr: "s:4cake2P6P",
key.offset: 2289,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2299,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2303,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2309,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2317,
key.length: 7
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2328,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2337,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2342,
key.length: 6
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2349,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2353,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 2357,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 2359,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2363,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 2367,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 2369,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2373,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2377,
key.length: 5
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2383,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2388,
key.length: 4
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP",
key.offset: 2393,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2399,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2404,
key.length: 4
},
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 2409,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2413,
key.length: 2
},
{
key.kind: source.lang.swift.syntaxtype.typeidentifier,
key.offset: 2416,
key.length: 7
},
{
key.kind: source.lang.swift.ref.struct,
key.name: "Int",
key.usr: "s:Si",
key.offset: 2427,
key.length: 3
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2432,
key.length: 4
},
{
key.kind: source.lang.swift.syntaxtype.identifier,
key.offset: 2437,
key.length: 23
},
{
key.kind: source.lang.swift.syntaxtype.argument,
key.offset: 2461,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.parameter,
key.offset: 2463,
key.length: 1
},
{
key.kind: source.lang.swift.syntaxtype.keyword,
key.offset: 2466,
key.length: 3
}
]
[
{
key.kind: source.lang.swift.decl.struct,
key.name: "Box",
key.usr: "s:4cake3BoxV",
key.generic_params: [
{
key.name: "Wrapped"
}
],
key.offset: 26,
key.length: 97,
key.fully_annotated_decl: "<decl.struct><syntaxtype.keyword>struct</syntaxtype.keyword> <decl.name>Box</decl.name>&lt;<decl.generic_type_param usr=\"s:4cake3BoxV7Wrappedxmfp\"><decl.generic_type_param.name>Wrapped</decl.generic_type_param.name></decl.generic_type_param>&gt;</decl.struct>",
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "boxes()",
key.usr: "s:4cake3BoxV5boxesSayACy7ElementQzGGySTRzlF",
key.generic_requirements: [
{
key.description: "Wrapped : Sequence"
}
],
key.offset: 53,
key.length: 68,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>boxes</decl.name>() -&gt; <decl.function.returntype>[<ref.struct usr=\"s:4cake3BoxV\">Box</ref.struct>&lt;Wrapped.Element&gt;]</decl.function.returntype> <syntaxtype.keyword>where</syntaxtype.keyword> <decl.generic_type_requirement>Wrapped : <ref.protocol usr=\"s:ST\">Sequence</ref.protocol></decl.generic_type_requirement></decl.function.method.instance>"
}
]
},
{
key.kind: source.lang.swift.decl.class,
key.name: "C1",
key.usr: "s:4cake2C1C",
key.offset: 125,
key.length: 346,
key.fully_annotated_decl: "<decl.class><syntaxtype.keyword>class</syntaxtype.keyword> <decl.name>C1</decl.name> : <ref.protocol usr=\"s:4cake4ProtP\">Prot</ref.protocol></decl.class>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP"
}
],
key.entities: [
{
key.kind: source.lang.swift.decl.typealias,
key.name: "Element",
key.usr: "s:4cake2C1C7Elementa",
key.offset: 153,
key.length: 23,
key.fully_annotated_decl: "<decl.typealias><syntaxtype.keyword>typealias</syntaxtype.keyword> <ref.class usr=\"s:4cake2C1C\">C1</ref.class>.<decl.name>Element</decl.name> = <ref.struct usr=\"s:Si\">Int</ref.struct></decl.typealias>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "FixedWidthInteger",
key.usr: "s:s17FixedWidthIntegerP"
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "SignedInteger",
key.usr: "s:SZ"
},
{
key.kind: source.lang.swift.ref.protocol,
key.name: "_ExpressibleByBuiltinIntegerLiteral",
key.usr: "s:s35_ExpressibleByBuiltinIntegerLiteralP"
}
]
},
{
key.kind: source.lang.swift.decl.var.instance,
key.name: "p",
key.usr: "s:4cake2C1C1pSivp",
key.offset: 182,
key.length: 10,
key.fully_annotated_decl: "<decl.var.instance><syntaxtype.keyword>var</syntaxtype.keyword> <decl.name>p</decl.name>: <decl.var.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.type></decl.var.instance>",
key.conforms: [
{
key.kind: source.lang.swift.ref.var.instance,
key.name: "p",
key.usr: "s:4cake4ProtP1pSivp"
}
]
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo()",
key.usr: "s:4cake2C1C3fooyyF",
key.offset: 198,
key.length: 10,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo</decl.name>()</decl.function.method.instance>",
key.conforms: [
{
key.kind: source.lang.swift.ref.function.method.instance,
key.name: "foo()",
key.usr: "s:4cake4ProtP3fooyyF"
}
]
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo1(i0:i1:)",
key.usr: "s:4cake2C1C4foo12i02i1ySin_SihtF",
key.offset: 214,
key.length: 33,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>(<decl.var.parameter><decl.var.parameter.argument_label>i0</decl.var.parameter.argument_label>: <decl.var.parameter.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.parameter.type></decl.var.parameter>, <decl.var.parameter><decl.var.parameter.argument_label>i1</decl.var.parameter.argument_label>: <decl.var.parameter.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.parameter.type></decl.var.parameter>)</decl.function.method.instance>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "i0",
key.name: "i0",
key.offset: 231,
key.length: 3
},
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "i1",
key.name: "i1",
key.offset: 243,
key.length: 3
}
]
},
{
key.kind: source.lang.swift.decl.function.subscript,
key.name: "subscript(_:)",
key.usr: "s:4cake2C1CyS2icip",
key.offset: 253,
key.length: 38,
key.fully_annotated_decl: "<decl.function.subscript><syntaxtype.keyword>subscript</syntaxtype.keyword>(<decl.var.parameter><decl.var.parameter.name>index</decl.var.parameter.name>: <decl.var.parameter.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Si\">Int</ref.struct></decl.function.returntype> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.function.subscript>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "index",
key.offset: 272,
key.length: 3
}
]
},
{
key.kind: source.lang.swift.decl.function.subscript,
key.name: "subscript(index:)",
key.usr: "s:4cake2C1C5indexSiSf_tcip",
key.offset: 297,
key.length: 40,
key.fully_annotated_decl: "<decl.function.subscript><syntaxtype.keyword>subscript</syntaxtype.keyword>(<decl.var.parameter><decl.var.parameter.argument_label>index</decl.var.parameter.argument_label> <decl.var.parameter.name>i</decl.var.parameter.name>: <decl.var.parameter.type><ref.struct usr=\"s:Sf\">Float</ref.struct></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Si\">Int</ref.struct></decl.function.returntype> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.function.subscript>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "index",
key.name: "i",
key.offset: 316,
key.length: 5
}
]
},
{
key.kind: source.lang.swift.decl.enum,
key.name: "C1Cases",
key.usr: "s:4cake2C1C0B5CasesO",
key.offset: 343,
key.length: 46,
key.fully_annotated_decl: "<decl.enum><syntaxtype.keyword>enum</syntaxtype.keyword> <decl.name>C1Cases</decl.name> : <ref.struct usr=\"s:Si\">Int</ref.struct></decl.enum>",
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: "case1",
key.usr: "s:4cake2C1C0B5CasesO5case1yA2EmF",
key.offset: 373,
key.length: 10,
key.fully_annotated_decl: "<decl.enumelement><syntaxtype.keyword>case</syntaxtype.keyword> <decl.name>case1</decl.name></decl.enumelement>"
}
]
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "extfoo()",
key.usr: "s:4cake4ProtPAASi7ElementRtzrlE6extfooyyF::SYNTHESIZED::s:4cake2C1C",
key.original_usr: "s:4cake4ProtPAASi7ElementRtzrlE6extfooyyF",
key.offset: 395,
key.length: 13,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>extfoo</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo1()",
key.usr: "s:4cake4ProtPAAE4foo1yyF::SYNTHESIZED::s:4cake2C1C",
key.original_usr: "s:4cake4ProtPAAE4foo1yyF",
key.offset: 414,
key.length: 11,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.function.subscript,
key.name: "subscript(_:)",
key.usr: "s:4cake4ProtPAAEyS2icip::SYNTHESIZED::s:4cake2C1C",
key.original_usr: "s:4cake4ProtPAAEyS2icip",
key.offset: 431,
key.length: 38,
key.fully_annotated_decl: "<decl.function.subscript><syntaxtype.keyword>subscript</syntaxtype.keyword>(<decl.var.parameter><decl.var.parameter.name>index</decl.var.parameter.name>: <decl.var.parameter.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Si\">Int</ref.struct></decl.function.returntype> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.function.subscript>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "index",
key.offset: 450,
key.length: 3
}
]
}
]
},
{
key.kind: source.lang.swift.decl.extension.class,
key.doc.full_as_xml: "<Other><Name></Name><Declaration>@available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)\nextension C1</Declaration><CommentParts><Abstract><Para>some comments</Para></Abstract></CommentParts></Other>",
key.offset: 473,
key.length: 37,
key.fully_annotated_decl: "<decl.extension.class>extension <decl.name><ref.class usr=\"s:4cake2C1C\">C1</ref.class></decl.name></decl.extension.class>",
key.extends: {
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "addition()",
key.usr: "s:4cake2C1C8additionyyF",
key.offset: 493,
key.length: 15,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>addition</decl.name>()</decl.function.method.instance>"
}
],
key.attributes: [
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.tvos,
key.introduced: "10.0"
},
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.watchos,
key.introduced: "3.0"
},
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.ios,
key.introduced: "10.0"
},
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.osx,
key.introduced: "10.12"
}
]
},
{
key.kind: source.lang.swift.decl.extension.class,
key.offset: 512,
key.length: 105,
key.fully_annotated_decl: "<decl.extension.class>extension <decl.name><ref.class usr=\"s:4cake2C1C\">C1</ref.class></decl.name> : <ref.protocol usr=\"s:4cake2P4P\">P4</ref.protocol></decl.extension.class>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P4",
key.usr: "s:4cake2P4P"
}
],
key.extends: {
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "C1foo()",
key.usr: "s:4cake2C1C5C1fooyyF",
key.offset: 542,
key.length: 12,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>C1foo</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.struct,
key.name: "C1S1",
key.usr: "s:4cake2C1C0B2S1V",
key.offset: 560,
key.length: 55,
key.fully_annotated_decl: "<decl.struct><syntaxtype.keyword>struct</syntaxtype.keyword> <decl.name>C1S1</decl.name></decl.struct>",
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "C1S1foo(a:)",
key.usr: "s:4cake2C1C0B2S1V0B5S1foo1ayAA2P4_p_tF",
key.offset: 583,
key.length: 26,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>C1S1foo</decl.name>(<decl.var.parameter><decl.var.parameter.argument_label>a</decl.var.parameter.argument_label>: <decl.var.parameter.type><ref.protocol usr=\"s:4cake2P4P\">P4</ref.protocol></decl.var.parameter.type></decl.var.parameter>)</decl.function.method.instance>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "a",
key.name: "a",
key.offset: 601,
key.length: 7
}
]
}
]
}
]
},
{
key.kind: source.lang.swift.decl.extension.enum,
key.offset: 619,
key.length: 187,
key.fully_annotated_decl: "<syntaxtype.keyword>extension</syntaxtype.keyword> <ref.class usr=\"s:4cake2C1C\">C1</ref.class>.<ref.enum usr=\"s:4cake2C1C0B5CasesO\">C1Cases</ref.enum>",
key.extends: {
key.kind: source.lang.swift.ref.enum,
key.name: "C1Cases",
key.usr: "s:4cake2C1C0B5CasesO"
},
key.entities: [
{
key.kind: source.lang.swift.decl.var.instance,
key.name: "hashValue",
key.usr: "s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:4cake2C1C0B5CasesO",
key.original_usr: "s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp",
key.offset: 647,
key.length: 37,
key.fully_annotated_decl: "<decl.var.instance><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@inlinable</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>var</syntaxtype.keyword> <decl.name>hashValue</decl.name>: <decl.var.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.type> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.var.instance>"
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "hash(into:)",
key.usr: "s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:4cake2C1C0B5CasesO",
key.original_usr: "s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF",
key.offset: 690,
key.length: 47,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@inlinable</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>hash</decl.name>(<decl.var.parameter><decl.var.parameter.argument_label>into</decl.var.parameter.argument_label> <decl.var.parameter.name>hasher</decl.var.parameter.name>: <syntaxtype.keyword>inout</syntaxtype.keyword> <decl.var.parameter.type><ref.struct usr=\"s:s6HasherV\">Hasher</ref.struct></decl.var.parameter.type></decl.var.parameter>)</decl.function.method.instance>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "into",
key.name: "hasher",
key.offset: 730,
key.length: 6
}
]
},
{
key.kind: source.lang.swift.decl.function.operator.infix,
key.name: "!=(_:_:)",
key.usr: "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:4cake2C1C0B5CasesO",
key.original_usr: "s:SQsE2neoiySbx_xtFZ",
key.offset: 743,
key.length: 61,
key.fully_annotated_decl: "<decl.function.operator.infix><syntaxtype.keyword>static</syntaxtype.keyword> <syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>!= </decl.name>(<decl.var.parameter><decl.var.parameter.name>lhs</decl.var.parameter.name>: <decl.var.parameter.type><ref.class usr=\"s:4cake2C1C\">C1</ref.class>.<ref.enum usr=\"s:4cake2C1C0B5CasesO\">C1Cases</ref.enum></decl.var.parameter.type></decl.var.parameter>, <decl.var.parameter><decl.var.parameter.name>rhs</decl.var.parameter.name>: <decl.var.parameter.type><ref.class usr=\"s:4cake2C1C\">C1</ref.class>.<ref.enum usr=\"s:4cake2C1C0B5CasesO\">C1Cases</ref.enum></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Sb\">Bool</ref.struct></decl.function.returntype></decl.function.operator.infix>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "lhs",
key.offset: 766,
key.length: 10
},
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "rhs",
key.offset: 785,
key.length: 10
}
]
}
]
},
{
key.kind: source.lang.swift.decl.class,
key.name: "C2",
key.usr: "s:4cake2C2C",
key.offset: 808,
key.length: 172,
key.fully_annotated_decl: "<decl.class><syntaxtype.keyword>class</syntaxtype.keyword> <decl.name>C2</decl.name> : <ref.class usr=\"s:4cake2C1C\">C1</ref.class></decl.class>",
key.inherits: [
{
key.kind: source.lang.swift.ref.class,
key.name: "C1",
key.usr: "s:4cake2C1C"
}
],
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "C2foo()",
key.usr: "s:4cake2C2C5C2fooyyF",
key.offset: 834,
key.length: 12,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>C2foo</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.enum,
key.name: "C1Cases",
key.usr: "s:4cake2C1C0B5CasesO::SYNTHESIZED::s:4cake2C2C",
key.original_usr: "s:4cake2C1C0B5CasesO",
key.offset: 852,
key.length: 46,
key.fully_annotated_decl: "<decl.enum><syntaxtype.keyword>enum</syntaxtype.keyword> <decl.name>C1Cases</decl.name> : <ref.struct usr=\"s:Si\">Int</ref.struct></decl.enum>",
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: "case1",
key.usr: "s:4cake2C1C0B5CasesO5case1yA2EmF",
key.offset: 882,
key.length: 10,
key.fully_annotated_decl: "<decl.enumelement><syntaxtype.keyword>case</syntaxtype.keyword> <decl.name>case1</decl.name></decl.enumelement>"
}
]
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "extfoo()",
key.usr: "s:4cake4ProtPAASi7ElementRtzrlE6extfooyyF::SYNTHESIZED::s:4cake2C2C",
key.original_usr: "s:4cake4ProtPAASi7ElementRtzrlE6extfooyyF",
key.offset: 904,
key.length: 13,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>extfoo</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo1()",
key.usr: "s:4cake4ProtPAAE4foo1yyF::SYNTHESIZED::s:4cake2C2C",
key.original_usr: "s:4cake4ProtPAAE4foo1yyF",
key.offset: 923,
key.length: 11,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.function.subscript,
key.name: "subscript(_:)",
key.usr: "s:4cake4ProtPAAEyS2icip::SYNTHESIZED::s:4cake2C2C",
key.original_usr: "s:4cake4ProtPAAEyS2icip",
key.offset: 940,
key.length: 38,
key.fully_annotated_decl: "<decl.function.subscript><syntaxtype.keyword>subscript</syntaxtype.keyword>(<decl.var.parameter><decl.var.parameter.name>index</decl.var.parameter.name>: <decl.var.parameter.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Si\">Int</ref.struct></decl.function.returntype> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.function.subscript>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "index",
key.offset: 959,
key.length: 3
}
]
}
]
},
{
key.kind: source.lang.swift.decl.extension.class,
key.doc.full_as_xml: "<Other><Name></Name><Declaration>@available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)\nextension C2</Declaration><CommentParts><Abstract><Para>some comments</Para></Abstract></CommentParts></Other>",
key.offset: 982,
key.length: 37,
key.fully_annotated_decl: "<syntaxtype.keyword>extension</syntaxtype.keyword> <ref.class usr=\"s:4cake2C2C\">C2</ref.class>",
key.extends: {
key.kind: source.lang.swift.ref.class,
key.name: "C2",
key.usr: "s:4cake2C2C"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "addition()",
key.usr: "s:4cake2C1C8additionyyF::SYNTHESIZED::s:4cake2C2C",
key.original_usr: "s:4cake2C1C8additionyyF",
key.offset: 1002,
key.length: 15,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>addition</decl.name>()</decl.function.method.instance>"
}
],
key.attributes: [
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.tvos,
key.introduced: "10.0"
},
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.watchos,
key.introduced: "3.0"
},
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.ios,
key.introduced: "10.0"
},
{
key.kind: source.lang.swift.attribute.availability,
key.platform: source.availability.platform.osx,
key.introduced: "10.12"
}
]
},
{
key.kind: source.lang.swift.decl.extension.class,
key.offset: 1021,
key.length: 95,
key.fully_annotated_decl: "<syntaxtype.keyword>extension</syntaxtype.keyword> <ref.class usr=\"s:4cake2C2C\">C2</ref.class> : <ref.protocol usr=\"s:4cake2P4P\">P4</ref.protocol>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P4",
key.usr: "s:4cake2P4P"
}
],
key.extends: {
key.kind: source.lang.swift.ref.class,
key.name: "C2",
key.usr: "s:4cake2C2C"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "C1foo()",
key.usr: "s:4cake2C1C5C1fooyyF::SYNTHESIZED::s:4cake2C2C",
key.original_usr: "s:4cake2C1C5C1fooyyF",
key.offset: 1046,
key.length: 12,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>C1foo</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.struct,
key.name: "C1S1",
key.usr: "s:4cake2C1C0B2S1V::SYNTHESIZED::s:4cake2C2C",
key.original_usr: "s:4cake2C1C0B2S1V",
key.offset: 1064,
key.length: 50,
key.fully_annotated_decl: "<decl.struct><syntaxtype.keyword>struct</syntaxtype.keyword> <decl.name>C1S1</decl.name></decl.struct>",
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "C1S1foo(a:)",
key.usr: "s:4cake2C1C0B2S1V0B5S1foo1ayAA2P4_p_tF",
key.offset: 1087,
key.length: 21,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>C1S1foo</decl.name>(<decl.var.parameter><decl.var.parameter.argument_label>a</decl.var.parameter.argument_label>: <decl.var.parameter.type><ref.protocol usr=\"s:4cake2P4P\">P4</ref.protocol></decl.var.parameter.type></decl.var.parameter>)</decl.function.method.instance>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "a",
key.name: "a",
key.offset: 1105,
key.length: 2
}
]
}
]
}
]
},
{
key.kind: source.lang.swift.decl.enum,
key.name: "MyEnum",
key.usr: "s:4cake6MyEnumO",
key.offset: 1118,
key.length: 191,
key.fully_annotated_decl: "<decl.enum><syntaxtype.keyword>enum</syntaxtype.keyword> <decl.name>MyEnum</decl.name> : <ref.struct usr=\"s:Si\">Int</ref.struct></decl.enum>",
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:4cake6MyEnumO4BlahyA2CmF",
key.offset: 1143,
key.length: 9,
key.fully_annotated_decl: "<decl.enumelement><syntaxtype.keyword>case</syntaxtype.keyword> <decl.name>Blah</decl.name></decl.enumelement>"
},
{
key.kind: source.lang.swift.decl.var.instance,
key.name: "hashValue",
key.usr: "s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp::SYNTHESIZED::s:4cake6MyEnumO",
key.original_usr: "s:SYsSHRzSH8RawValueSYRpzrlE04hashB0Sivp",
key.offset: 1158,
key.length: 37,
key.fully_annotated_decl: "<decl.var.instance><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@inlinable</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>var</syntaxtype.keyword> <decl.name>hashValue</decl.name>: <decl.var.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.type> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.var.instance>"
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "hash(into:)",
key.usr: "s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF::SYNTHESIZED::s:4cake6MyEnumO",
key.original_usr: "s:SYsSHRzSH8RawValueSYRpzrlE4hash4intoys6HasherVz_tF",
key.offset: 1201,
key.length: 47,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@inlinable</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>hash</decl.name>(<decl.var.parameter><decl.var.parameter.argument_label>into</decl.var.parameter.argument_label> <decl.var.parameter.name>hasher</decl.var.parameter.name>: <syntaxtype.keyword>inout</syntaxtype.keyword> <decl.var.parameter.type><ref.struct usr=\"s:s6HasherV\">Hasher</ref.struct></decl.var.parameter.type></decl.var.parameter>)</decl.function.method.instance>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "into",
key.name: "hasher",
key.offset: 1241,
key.length: 6
}
]
},
{
key.kind: source.lang.swift.decl.function.operator.infix,
key.name: "!=(_:_:)",
key.usr: "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:4cake6MyEnumO",
key.original_usr: "s:SQsE2neoiySbx_xtFZ",
key.offset: 1254,
key.length: 53,
key.fully_annotated_decl: "<decl.function.operator.infix><syntaxtype.keyword>static</syntaxtype.keyword> <syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>!= </decl.name>(<decl.var.parameter><decl.var.parameter.name>lhs</decl.var.parameter.name>: <decl.var.parameter.type><ref.enum usr=\"s:4cake6MyEnumO\">MyEnum</ref.enum></decl.var.parameter.type></decl.var.parameter>, <decl.var.parameter><decl.var.parameter.name>rhs</decl.var.parameter.name>: <decl.var.parameter.type><ref.enum usr=\"s:4cake6MyEnumO\">MyEnum</ref.enum></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Sb\">Bool</ref.struct></decl.function.returntype></decl.function.operator.infix>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "lhs",
key.offset: 1277,
key.length: 6
},
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "rhs",
key.offset: 1292,
key.length: 6
}
]
}
]
},
{
key.kind: source.lang.swift.decl.protocol,
key.name: "P",
key.usr: "s:4cake1PP",
key.offset: 1311,
key.length: 30,
key.fully_annotated_decl: "<decl.protocol><syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>P</decl.name></decl.protocol>",
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo()",
key.usr: "s:4cake1PP3fooyyF",
key.offset: 1329,
key.length: 10,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo</decl.name>()</decl.function.method.instance>"
}
]
},
{
key.kind: source.lang.swift.decl.extension.protocol,
key.offset: 1343,
key.length: 54,
key.fully_annotated_decl: "<decl.extension.protocol>extension <decl.name><ref.protocol usr=\"s:4cake1PP\">P</ref.protocol></decl.name></decl.extension.protocol>",
key.extends: {
key.kind: source.lang.swift.ref.protocol,
key.name: "P",
key.usr: "s:4cake1PP"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "bar()",
key.usr: "s:4cake1PPAAE3baryySQRzrlF",
key.generic_requirements: [
{
key.description: "Self : Equatable"
}
],
key.offset: 1362,
key.length: 33,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>bar</decl.name>() <syntaxtype.keyword>where</syntaxtype.keyword> <decl.generic_type_requirement><ref.generic_type_param usr=\"s:4cake1PP4Selfxmfp\">Self</ref.generic_type_param> : <ref.protocol usr=\"s:SQ\">Equatable</ref.protocol></decl.generic_type_requirement></decl.function.method.instance>"
}
]
},
{
key.kind: source.lang.swift.decl.protocol,
key.name: "P2",
key.usr: "c:@M@cake@objc(pl)P2",
key.offset: 1399,
key.length: 53,
key.fully_annotated_decl: "<decl.protocol><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@objc</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>P2</decl.name></decl.protocol>",
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo1()",
key.usr: "c:@M@cake@objc(pl)P2(im)foo1",
key.offset: 1424,
key.length: 26,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.attribute.builtin><syntaxtype.attribute.name>@objc</syntaxtype.attribute.name></syntaxtype.attribute.builtin> <syntaxtype.keyword>optional</syntaxtype.keyword> <syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>()</decl.function.method.instance>",
key.is_optional: 1
}
]
},
{
key.kind: source.lang.swift.decl.protocol,
key.name: "P3",
key.usr: "s:4cake2P3P",
key.offset: 1454,
key.length: 37,
key.fully_annotated_decl: "<decl.protocol><syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>P3</decl.name></decl.protocol>",
key.entities: [
{
key.kind: source.lang.swift.decl.associatedtype,
key.name: "T",
key.usr: "s:4cake2P3P1TQa",
key.offset: 1473,
key.length: 16,
key.fully_annotated_decl: "<decl.associatedtype><syntaxtype.keyword>associatedtype</syntaxtype.keyword> <decl.name>T</decl.name></decl.associatedtype>"
}
]
},
{
key.kind: source.lang.swift.decl.protocol,
key.name: "P4",
key.usr: "s:4cake2P4P",
key.offset: 1493,
key.length: 15,
key.fully_annotated_decl: "<decl.protocol><syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>P4</decl.name></decl.protocol>"
},
{
key.kind: source.lang.swift.decl.protocol,
key.name: "P5",
key.usr: "s:4cake2P5P",
key.offset: 1510,
key.length: 43,
key.fully_annotated_decl: "<decl.protocol><syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>P5</decl.name></decl.protocol>",
key.entities: [
{
key.kind: source.lang.swift.decl.associatedtype,
key.name: "Element",
key.usr: "s:4cake2P5P7ElementQa",
key.offset: 1529,
key.length: 22,
key.fully_annotated_decl: "<decl.associatedtype><syntaxtype.keyword>associatedtype</syntaxtype.keyword> <decl.name>Element</decl.name></decl.associatedtype>"
}
]
},
{
key.kind: source.lang.swift.decl.protocol,
key.name: "P6",
key.usr: "s:4cake2P6P",
key.offset: 1555,
key.length: 25,
key.fully_annotated_decl: "<decl.protocol><syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>P6</decl.name> : <ref.protocol usr=\"s:4cake2P5P\">P5</ref.protocol></decl.protocol>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P5",
key.usr: "s:4cake2P5P"
}
]
},
{
key.kind: source.lang.swift.decl.extension.protocol,
key.offset: 1582,
key.length: 53,
key.fully_annotated_decl: "<decl.extension.protocol>extension <decl.name><ref.protocol usr=\"s:4cake2P6P\">P6</ref.protocol></decl.name></decl.extension.protocol>",
key.extends: {
key.kind: source.lang.swift.ref.protocol,
key.name: "P6",
key.usr: "s:4cake2P6P"
},
key.entities: [
{
key.kind: source.lang.swift.decl.var.instance,
key.name: "null",
key.usr: "s:4cake2P6PAAE4null7ElementQzSgvp",
key.offset: 1602,
key.length: 31,
key.fully_annotated_decl: "<decl.var.instance><syntaxtype.keyword>var</syntaxtype.keyword> <decl.name>null</decl.name>: <decl.var.type><ref.generic_type_param usr=\"s:4cake2P6P4Selfxmfp\">Self</ref.generic_type_param>.Element?</decl.var.type> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.var.instance>"
}
]
},
{
key.kind: source.lang.swift.decl.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP",
key.offset: 1637,
key.length: 102,
key.fully_annotated_decl: "<decl.protocol><syntaxtype.keyword>protocol</syntaxtype.keyword> <decl.name>Prot</decl.name></decl.protocol>",
key.entities: [
{
key.kind: source.lang.swift.decl.associatedtype,
key.name: "Element",
key.usr: "s:4cake4ProtP7ElementQa",
key.offset: 1658,
key.length: 22,
key.fully_annotated_decl: "<decl.associatedtype><syntaxtype.keyword>associatedtype</syntaxtype.keyword> <decl.name>Element</decl.name></decl.associatedtype>"
},
{
key.kind: source.lang.swift.decl.var.instance,
key.name: "p",
key.usr: "s:4cake4ProtP1pSivp",
key.offset: 1686,
key.length: 18,
key.fully_annotated_decl: "<decl.var.instance><syntaxtype.keyword>var</syntaxtype.keyword> <decl.name>p</decl.name>: <decl.var.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.type> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.var.instance>"
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo()",
key.usr: "s:4cake4ProtP3fooyyF",
key.offset: 1710,
key.length: 10,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo1()",
key.usr: "s:4cake4ProtP4foo1yyF",
key.offset: 1726,
key.length: 11,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>()</decl.function.method.instance>"
}
]
},
{
key.kind: source.lang.swift.decl.extension.protocol,
key.offset: 1741,
key.length: 79,
key.fully_annotated_decl: "<decl.extension.protocol>extension <decl.name><ref.protocol usr=\"s:4cake4ProtP\">Prot</ref.protocol></decl.name></decl.extension.protocol>",
key.extends: {
key.kind: source.lang.swift.ref.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo1()",
key.usr: "s:4cake4ProtPAAE4foo1yyF",
key.default_implementation_of: "s:4cake4ProtP4foo1yyF",
key.offset: 1763,
key.length: 11,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.function.subscript,
key.name: "subscript(_:)",
key.usr: "s:4cake4ProtPAAEyS2icip",
key.offset: 1780,
key.length: 38,
key.fully_annotated_decl: "<decl.function.subscript><syntaxtype.keyword>subscript</syntaxtype.keyword>(<decl.var.parameter><decl.var.parameter.name>index</decl.var.parameter.name>: <decl.var.parameter.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Si\">Int</ref.struct></decl.function.returntype> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.function.subscript>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "index",
key.offset: 1799,
key.length: 3
}
]
}
]
},
{
key.kind: source.lang.swift.decl.extension.protocol,
key.generic_requirements: [
{
key.description: "Self.Element == Int"
}
],
key.offset: 1822,
key.length: 63,
key.fully_annotated_decl: "<decl.extension.protocol>extension <decl.name><ref.protocol usr=\"s:4cake4ProtP\">Prot</ref.protocol></decl.name> <syntaxtype.keyword>where</syntaxtype.keyword> <decl.generic_type_requirement><ref.generic_type_param usr=\"s:4cake4ProtPAASi7ElementRtzrlE4Selfxmfp\">Self</ref.generic_type_param>.Element == <ref.struct usr=\"s:Si\">Int</ref.struct></decl.generic_type_requirement></decl.extension.protocol>",
key.extends: {
key.kind: source.lang.swift.ref.protocol,
key.name: "Prot",
key.usr: "s:4cake4ProtP"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "extfoo()",
key.usr: "s:4cake4ProtPAASi7ElementRtzrlE6extfooyyF",
key.offset: 1870,
key.length: 13,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>extfoo</decl.name>()</decl.function.method.instance>"
}
]
},
{
key.kind: source.lang.swift.decl.struct,
key.name: "S1",
key.usr: "s:4cake2S1V",
key.offset: 1887,
key.length: 142,
key.fully_annotated_decl: "<decl.struct><syntaxtype.keyword>struct</syntaxtype.keyword> <decl.name>S1</decl.name></decl.struct>",
key.entities: [
{
key.kind: source.lang.swift.decl.enum,
key.name: "SE",
key.usr: "s:4cake2S1V2SEO",
key.offset: 1904,
key.length: 63,
key.fully_annotated_decl: "<decl.enum><syntaxtype.keyword>enum</syntaxtype.keyword> <ref.struct usr=\"s:4cake2S1V\">S1</ref.struct>.<decl.name>SE</decl.name></decl.enum>",
key.entities: [
{
key.kind: source.lang.swift.decl.enumelement,
key.name: "a",
key.usr: "s:4cake2S1V2SEO1ayA2EmF",
key.offset: 1923,
key.length: 6,
key.fully_annotated_decl: "<decl.enumelement><syntaxtype.keyword>case</syntaxtype.keyword> <decl.name>a</decl.name></decl.enumelement>"
},
{
key.kind: source.lang.swift.decl.enumelement,
key.name: "b",
key.usr: "s:4cake2S1V2SEO1byA2EmF",
key.offset: 1939,
key.length: 6,
key.fully_annotated_decl: "<decl.enumelement><syntaxtype.keyword>case</syntaxtype.keyword> <decl.name>b</decl.name></decl.enumelement>"
},
{
key.kind: source.lang.swift.decl.enumelement,
key.name: "c",
key.usr: "s:4cake2S1V2SEO1cyA2EmF",
key.offset: 1955,
key.length: 6,
key.fully_annotated_decl: "<decl.enumelement><syntaxtype.keyword>case</syntaxtype.keyword> <decl.name>c</decl.name></decl.enumelement>"
}
]
},
{
key.kind: source.lang.swift.decl.function.method.instance,
key.name: "foo1()",
key.usr: "s:4cake2S1V4foo1yyF",
key.offset: 1973,
key.length: 11,
key.fully_annotated_decl: "<decl.function.method.instance><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>foo1</decl.name>()</decl.function.method.instance>"
},
{
key.kind: source.lang.swift.decl.struct,
key.name: "S2",
key.usr: "s:4cake2S1V2S2V",
key.offset: 1990,
key.length: 37,
key.fully_annotated_decl: "<decl.struct><syntaxtype.keyword>struct</syntaxtype.keyword> <decl.name>S2</decl.name></decl.struct>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.instance,
key.name: "b",
key.usr: "s:4cake2S1V2S2V1bSivp",
key.offset: 2011,
key.length: 10,
key.fully_annotated_decl: "<decl.var.instance><syntaxtype.keyword>let</syntaxtype.keyword> <decl.name>b</decl.name>: <decl.var.type><ref.struct usr=\"s:Si\">Int</ref.struct></decl.var.type></decl.var.instance>"
}
]
}
]
},
{
key.kind: source.lang.swift.decl.extension.enum,
key.offset: 2031,
key.length: 76,
key.fully_annotated_decl: "<syntaxtype.keyword>extension</syntaxtype.keyword> <ref.struct usr=\"s:4cake2S1V\">S1</ref.struct>.<ref.enum usr=\"s:4cake2S1V2SEO\">SE</ref.enum>",
key.extends: {
key.kind: source.lang.swift.ref.enum,
key.name: "SE",
key.usr: "s:4cake2S1V2SEO"
},
key.entities: [
{
key.kind: source.lang.swift.decl.function.operator.infix,
key.name: "!=(_:_:)",
key.usr: "s:SQsE2neoiySbx_xtFZ::SYNTHESIZED::s:4cake2S1V2SEO",
key.original_usr: "s:SQsE2neoiySbx_xtFZ",
key.offset: 2054,
key.length: 51,
key.fully_annotated_decl: "<decl.function.operator.infix><syntaxtype.keyword>static</syntaxtype.keyword> <syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>!= </decl.name>(<decl.var.parameter><decl.var.parameter.name>lhs</decl.var.parameter.name>: <decl.var.parameter.type><ref.struct usr=\"s:4cake2S1V\">S1</ref.struct>.<ref.enum usr=\"s:4cake2S1V2SEO\">SE</ref.enum></decl.var.parameter.type></decl.var.parameter>, <decl.var.parameter><decl.var.parameter.name>rhs</decl.var.parameter.name>: <decl.var.parameter.type><ref.struct usr=\"s:4cake2S1V\">S1</ref.struct>.<ref.enum usr=\"s:4cake2S1V2SEO\">SE</ref.enum></decl.var.parameter.type></decl.var.parameter>) -&gt; <decl.function.returntype><ref.struct usr=\"s:Sb\">Bool</ref.struct></decl.function.returntype></decl.function.operator.infix>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "lhs",
key.offset: 2077,
key.length: 5
},
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "_",
key.name: "rhs",
key.offset: 2091,
key.length: 5
}
]
}
]
},
{
key.kind: source.lang.swift.decl.struct,
key.name: "S2",
key.usr: "s:4cake2S2V",
key.offset: 2109,
key.length: 50,
key.fully_annotated_decl: "<decl.struct><syntaxtype.keyword>struct</syntaxtype.keyword> <decl.name>S2</decl.name> : <ref.protocol usr=\"s:4cake2P3P\">P3</ref.protocol></decl.struct>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P3",
key.usr: "s:4cake2P3P"
}
],
key.entities: [
{
key.kind: source.lang.swift.decl.typealias,
key.name: "T",
key.usr: "s:4cake2S2V1Ta",
key.offset: 2136,
key.length: 21,
key.fully_annotated_decl: "<decl.typealias><syntaxtype.keyword>typealias</syntaxtype.keyword> <ref.struct usr=\"s:4cake2S2V\">S2</ref.struct>.<decl.name>T</decl.name> = <ref.struct usr=\"s:4cake2S2V\">S2</ref.struct></decl.typealias>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P3",
key.usr: "s:4cake2P3P"
}
]
}
]
},
{
key.kind: source.lang.swift.decl.struct,
key.name: "S3",
key.usr: "s:4cake2S3V",
key.generic_params: [
{
key.name: "Wrapped"
}
],
key.generic_requirements: [
{
key.description: "Wrapped : P5"
}
],
key.offset: 2161,
key.length: 97,
key.fully_annotated_decl: "<decl.struct><syntaxtype.keyword>struct</syntaxtype.keyword> <decl.name>S3</decl.name>&lt;<decl.generic_type_param usr=\"s:4cake2S3V7Wrappedxmfp\"><decl.generic_type_param.name>Wrapped</decl.generic_type_param.name></decl.generic_type_param>&gt; : <ref.protocol usr=\"s:4cake2P5P\">P5</ref.protocol> <syntaxtype.keyword>where</syntaxtype.keyword> <decl.generic_type_requirement>Wrapped : <ref.protocol usr=\"s:4cake2P5P\">P5</ref.protocol></decl.generic_type_requirement></decl.struct>",
key.conforms: [
{
key.kind: source.lang.swift.ref.protocol,
key.name: "P5",
key.usr: "s:4cake2P5P"
}
],
key.entities: [
{
key.kind: source.lang.swift.decl.typealias,
key.name: "Element",
key.usr: "s:4cake2S3V7Elementa",
key.offset: 2221,
key.length: 35,
key.fully_annotated_decl: "<decl.typealias><syntaxtype.keyword>typealias</syntaxtype.keyword> <ref.struct usr=\"s:4cake2S3V\">S3</ref.struct>&lt;Wrapped&gt;.<decl.name>Element</decl.name> = Wrapped.Element</decl.typealias>",
key.conforms: [
{
key.kind: source.lang.swift.ref.associatedtype,
key.name: "Element",
key.usr: "s:4cake2P5P7ElementQa"
}
]
}
]
},
{
key.kind: source.lang.swift.decl.extension.struct,
key.generic_requirements: [
{
key.description: "Wrapped : P6"
}
],
key.offset: 2260,
key.length: 75,
key.fully_annotated_decl: "<syntaxtype.keyword>extension</syntaxtype.keyword> <ref.struct usr=\"s:4cake2S3V\">S3</ref.struct> <syntaxtype.keyword>where</syntaxtype.keyword> <decl.generic_type_requirement>Wrapped : <ref.protocol usr=\"s:4cake2P6P\">P6</ref.protocol></decl.generic_type_requirement>",
key.extends: {
key.kind: source.lang.swift.ref.struct,
key.name: "S3",
key.usr: "s:4cake2S3V"
},
key.entities: [
{
key.kind: source.lang.swift.decl.var.instance,
key.name: "null",
key.usr: "s:4cake2P6PAAE4null7ElementQzSgvp::SYNTHESIZED::s:4cake2S3V",
key.original_usr: "s:4cake2P6PAAE4null7ElementQzSgvp",
key.offset: 2299,
key.length: 34,
key.fully_annotated_decl: "<decl.var.instance><syntaxtype.keyword>var</syntaxtype.keyword> <decl.name>null</decl.name>: <decl.var.type>Wrapped.Element?</decl.var.type> { <syntaxtype.keyword>get</syntaxtype.keyword> }</decl.var.instance>"
}
]
},
{
key.kind: source.lang.swift.decl.function.free,
key.name: "genfoo(x:y:)",
key.usr: "s:4cake6genfoo1x1yyx_q_tAA4ProtRzAA2C1CRb_Si7ElementRtzr0_lF",
key.generic_params: [
{
key.name: "T1"
},
{
key.name: "T2"
}
],
key.generic_requirements: [
{
key.description: "T1 : Prot"
},
{
key.description: "T2 : C1"
},
{
key.description: "T1.Element == Int"
}
],
key.offset: 2337,
key.length: 93,
key.fully_annotated_decl: "<decl.function.free><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>genfoo</decl.name>&lt;<decl.generic_type_param usr=\"s:4cake6genfoo1x1yyx_q_tAA4ProtRzAA2C1CRb_Si7ElementRtzr0_lF2T1L_xmfp\"><decl.generic_type_param.name>T1</decl.generic_type_param.name></decl.generic_type_param>, <decl.generic_type_param usr=\"s:4cake6genfoo1x1yyx_q_tAA4ProtRzAA2C1CRb_Si7ElementRtzr0_lF2T2L_q_mfp\"><decl.generic_type_param.name>T2</decl.generic_type_param.name></decl.generic_type_param>&gt;(<decl.var.parameter><decl.var.parameter.argument_label>x</decl.var.parameter.argument_label> <decl.var.parameter.name>ix</decl.var.parameter.name>: <decl.var.parameter.type>T1</decl.var.parameter.type></decl.var.parameter>, <decl.var.parameter><decl.var.parameter.argument_label>y</decl.var.parameter.argument_label> <decl.var.parameter.name>iy</decl.var.parameter.name>: <decl.var.parameter.type>T2</decl.var.parameter.type></decl.var.parameter>) <syntaxtype.keyword>where</syntaxtype.keyword> <decl.generic_type_requirement>T1 : <ref.protocol usr=\"s:4cake4ProtP\">Prot</ref.protocol></decl.generic_type_requirement>, <decl.generic_type_requirement>T2 : <ref.class usr=\"s:4cake2C1C\">C1</ref.class></decl.generic_type_requirement>, <decl.generic_type_requirement>T1.Element == <ref.struct usr=\"s:Si\">Int</ref.struct></decl.generic_type_requirement></decl.function.free>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "x",
key.name: "ix",
key.offset: 2363,
key.length: 2
},
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "y",
key.name: "iy",
key.offset: 2373,
key.length: 2
}
]
},
{
key.kind: source.lang.swift.decl.function.free,
key.name: "shouldPrintAnyAsKeyword(x:)",
key.usr: "s:4cake23shouldPrintAnyAsKeyword1xyyp_tF",
key.offset: 2432,
key.length: 38,
key.fully_annotated_decl: "<decl.function.free><syntaxtype.keyword>func</syntaxtype.keyword> <decl.name>shouldPrintAnyAsKeyword</decl.name>(<decl.var.parameter><decl.var.parameter.argument_label>x</decl.var.parameter.argument_label>: <decl.var.parameter.type><syntaxtype.keyword>Any</syntaxtype.keyword></decl.var.parameter.type></decl.var.parameter>)</decl.function.free>",
key.entities: [
{
key.kind: source.lang.swift.decl.var.local,
key.keyword: "x",
key.name: "x",
key.offset: 2466,
key.length: 3
}
]
}
]