mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We used to compute the mangled name in other cases, but document structure is a syntactic request and can't guarantee that the class/protocol we're getting the mangled name of is valid in any way so it often breaks assumptions in the mangler and causes it to crash. It's not clear if the runtime_name is actually being used anymore, so this change restricts reporting it to just the cases where we don't need to mangle. rdar://problem/40956377
1014 lines
29 KiB
Plaintext
1014 lines
29 KiB
Plaintext
{
|
|
key.offset: 0,
|
|
key.length: 1876,
|
|
key.diagnostic_stage: source.diagnostic.stage.swift.parse,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.class,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "DefAccess",
|
|
key.offset: 0,
|
|
key.length: 167,
|
|
key.nameoffset: 6,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 17,
|
|
key.bodylength: 149,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.setter_accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defProp",
|
|
key.offset: 20,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 24,
|
|
key.namelength: 7
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.setter_accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubProp",
|
|
key.offset: 51,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 55,
|
|
key.namelength: 7,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 44,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.setter_accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "privProp",
|
|
key.offset: 83,
|
|
key.length: 22,
|
|
key.typename: "Int",
|
|
key.nameoffset: 87,
|
|
key.namelength: 8,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 75,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "intFunc()",
|
|
key.offset: 117,
|
|
key.length: 17,
|
|
key.nameoffset: 122,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 133,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 108,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.fileprivate,
|
|
key.name: "fpFunc()",
|
|
key.offset: 149,
|
|
key.length: 16,
|
|
key.nameoffset: 154,
|
|
key.namelength: 8,
|
|
key.bodyoffset: 164,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 137,
|
|
key.length: 11,
|
|
key.attribute: source.decl.attribute.fileprivate
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.class,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "PubAccess",
|
|
key.offset: 176,
|
|
key.length: 211,
|
|
key.nameoffset: 182,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 193,
|
|
key.bodylength: 193,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 169,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
],
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.setter_accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defProp",
|
|
key.offset: 196,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 200,
|
|
key.namelength: 7
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.setter_accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubProp",
|
|
key.offset: 227,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 231,
|
|
key.namelength: 7,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 220,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.setter_accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "privProp",
|
|
key.offset: 259,
|
|
key.length: 22,
|
|
key.typename: "Int",
|
|
key.nameoffset: 263,
|
|
key.namelength: 8,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 251,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "intFunc()",
|
|
key.offset: 293,
|
|
key.length: 17,
|
|
key.nameoffset: 298,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 309,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 284,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.fileprivate,
|
|
key.name: "fpFunc()",
|
|
key.offset: 325,
|
|
key.length: 16,
|
|
key.nameoffset: 330,
|
|
key.namelength: 8,
|
|
key.bodyoffset: 340,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 313,
|
|
key.length: 11,
|
|
key.attribute: source.decl.attribute.fileprivate
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.class,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "Nested",
|
|
key.offset: 345,
|
|
key.length: 40,
|
|
key.nameoffset: 351,
|
|
key.namelength: 6,
|
|
key.bodyoffset: 359,
|
|
key.bodylength: 25,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defFunc()",
|
|
key.offset: 364,
|
|
key.length: 17,
|
|
key.nameoffset: 369,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 380,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.class,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "IntAccess",
|
|
key.offset: 398,
|
|
key.length: 167,
|
|
key.nameoffset: 404,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 415,
|
|
key.bodylength: 149,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 389,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
],
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.setter_accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defProp",
|
|
key.offset: 418,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 422,
|
|
key.namelength: 7
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.setter_accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubProp",
|
|
key.offset: 449,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 453,
|
|
key.namelength: 7,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 442,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.setter_accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "privProp",
|
|
key.offset: 481,
|
|
key.length: 22,
|
|
key.typename: "Int",
|
|
key.nameoffset: 485,
|
|
key.namelength: 8,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 473,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "intFunc()",
|
|
key.offset: 515,
|
|
key.length: 17,
|
|
key.nameoffset: 520,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 531,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 506,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.fileprivate,
|
|
key.name: "fpFunc()",
|
|
key.offset: 547,
|
|
key.length: 16,
|
|
key.nameoffset: 552,
|
|
key.namelength: 8,
|
|
key.bodyoffset: 562,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 535,
|
|
key.length: 11,
|
|
key.attribute: source.decl.attribute.fileprivate
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.class,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "PrivAccess",
|
|
key.offset: 575,
|
|
key.length: 212,
|
|
key.nameoffset: 581,
|
|
key.namelength: 10,
|
|
key.bodyoffset: 593,
|
|
key.bodylength: 193,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 567,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
],
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.setter_accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defProp",
|
|
key.offset: 596,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 600,
|
|
key.namelength: 7
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.setter_accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubProp",
|
|
key.offset: 627,
|
|
key.length: 21,
|
|
key.typename: "Int",
|
|
key.nameoffset: 631,
|
|
key.namelength: 7,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 620,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.instance,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.setter_accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "privProp",
|
|
key.offset: 659,
|
|
key.length: 22,
|
|
key.typename: "Int",
|
|
key.nameoffset: 663,
|
|
key.namelength: 8,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 651,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "intFunc()",
|
|
key.offset: 693,
|
|
key.length: 17,
|
|
key.nameoffset: 698,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 709,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 684,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.fileprivate,
|
|
key.name: "fpFunc()",
|
|
key.offset: 725,
|
|
key.length: 16,
|
|
key.nameoffset: 730,
|
|
key.namelength: 8,
|
|
key.bodyoffset: 740,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 713,
|
|
key.length: 11,
|
|
key.attribute: source.decl.attribute.fileprivate
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.class,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "Nested",
|
|
key.offset: 745,
|
|
key.length: 40,
|
|
key.nameoffset: 751,
|
|
key.namelength: 6,
|
|
key.bodyoffset: 759,
|
|
key.bodylength: 25,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defFunc()",
|
|
key.offset: 764,
|
|
key.length: 17,
|
|
key.nameoffset: 769,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 780,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defFunc()",
|
|
key.offset: 789,
|
|
key.length: 17,
|
|
key.nameoffset: 794,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 805,
|
|
key.bodylength: 0
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubFunc()",
|
|
key.offset: 814,
|
|
key.length: 17,
|
|
key.nameoffset: 819,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 830,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 807,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "privFunc()",
|
|
key.offset: 840,
|
|
key.length: 18,
|
|
key.nameoffset: 845,
|
|
key.namelength: 10,
|
|
key.bodyoffset: 857,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 832,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "intFunc()",
|
|
key.offset: 868,
|
|
key.length: 17,
|
|
key.nameoffset: 873,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 884,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 859,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.enum,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "PubEnum",
|
|
key.offset: 894,
|
|
key.length: 40,
|
|
key.nameoffset: 899,
|
|
key.namelength: 7,
|
|
key.bodyoffset: 908,
|
|
key.bodylength: 25,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 887,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
],
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.enumcase,
|
|
key.offset: 911,
|
|
key.length: 9,
|
|
key.nameoffset: 0,
|
|
key.namelength: 0,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.enumelement,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "Some",
|
|
key.offset: 916,
|
|
key.length: 4,
|
|
key.nameoffset: 916,
|
|
key.namelength: 4
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.enumcase,
|
|
key.offset: 923,
|
|
key.length: 9,
|
|
key.nameoffset: 0,
|
|
key.namelength: 0,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.enumelement,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "Else",
|
|
key.offset: 928,
|
|
key.length: 4,
|
|
key.nameoffset: 928,
|
|
key.namelength: 4
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.global,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.setter_accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "defPrivSetProp",
|
|
key.offset: 949,
|
|
key.length: 28,
|
|
key.typename: "Int",
|
|
key.nameoffset: 953,
|
|
key.namelength: 14,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 936,
|
|
key.length: 12,
|
|
key.attribute: source.decl.attribute.setter_access.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.global,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.setter_accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "pubPrivSetProp",
|
|
key.offset: 1000,
|
|
key.length: 58,
|
|
key.typename: "Int",
|
|
key.nameoffset: 1004,
|
|
key.namelength: 14,
|
|
key.bodyoffset: 1026,
|
|
key.bodylength: 31,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 987,
|
|
key.length: 12,
|
|
key.attribute: source.decl.attribute.setter_access.private
|
|
},
|
|
{
|
|
key.offset: 980,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.global,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.setter_accessibility: source.lang.swift.accessibility.fileprivate,
|
|
key.name: "pubFPSetProp",
|
|
key.offset: 1083,
|
|
key.length: 56,
|
|
key.typename: "Int",
|
|
key.nameoffset: 1087,
|
|
key.namelength: 12,
|
|
key.bodyoffset: 1107,
|
|
key.bodylength: 31,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1066,
|
|
key.length: 16,
|
|
key.attribute: source.decl.attribute.setter_access.fileprivate
|
|
},
|
|
{
|
|
key.offset: 1059,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.global,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.setter_accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "pubIntSetProp",
|
|
key.offset: 1161,
|
|
key.length: 57,
|
|
key.typename: "Int",
|
|
key.nameoffset: 1165,
|
|
key.namelength: 13,
|
|
key.bodyoffset: 1186,
|
|
key.bodylength: 31,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1147,
|
|
key.length: 13,
|
|
key.attribute: source.decl.attribute.setter_access.internal
|
|
},
|
|
{
|
|
key.offset: 1140,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.global,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubGetOnly",
|
|
key.offset: 1227,
|
|
key.length: 44,
|
|
key.typename: "Int",
|
|
key.nameoffset: 1231,
|
|
key.namelength: 10,
|
|
key.bodyoffset: 1249,
|
|
key.bodylength: 21,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1220,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.var.global,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubLetVar",
|
|
key.offset: 1280,
|
|
key.length: 19,
|
|
key.typename: "Int",
|
|
key.nameoffset: 1284,
|
|
key.namelength: 9,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1273,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defProt()",
|
|
key.offset: 1301,
|
|
key.length: 17,
|
|
key.nameoffset: 1306,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1317,
|
|
key.bodylength: 0
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubProt()",
|
|
key.offset: 1326,
|
|
key.length: 17,
|
|
key.nameoffset: 1331,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1342,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1319,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "privProt()",
|
|
key.offset: 1352,
|
|
key.length: 18,
|
|
key.nameoffset: 1357,
|
|
key.namelength: 10,
|
|
key.bodyoffset: 1369,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1344,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.free,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "intProt()",
|
|
key.offset: 1380,
|
|
key.length: 17,
|
|
key.nameoffset: 1385,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1396,
|
|
key.bodylength: 0,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1371,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.extension,
|
|
key.name: "DefAccess",
|
|
key.offset: 1399,
|
|
key.length: 43,
|
|
key.nameoffset: 1409,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1420,
|
|
key.bodylength: 21,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.name: "defFunc()",
|
|
key.offset: 1423,
|
|
key.length: 17,
|
|
key.nameoffset: 1428,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1439,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.extension,
|
|
key.name: "PubAccess",
|
|
key.offset: 1443,
|
|
key.length: 43,
|
|
key.nameoffset: 1453,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1464,
|
|
key.bodylength: 21,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.name: "defFunc()",
|
|
key.offset: 1467,
|
|
key.length: 17,
|
|
key.nameoffset: 1472,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1483,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.extension,
|
|
key.name: "IntAccess",
|
|
key.offset: 1487,
|
|
key.length: 43,
|
|
key.nameoffset: 1497,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1508,
|
|
key.bodylength: 21,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.name: "defFunc()",
|
|
key.offset: 1511,
|
|
key.length: 17,
|
|
key.nameoffset: 1516,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1527,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.extension,
|
|
key.name: "PrivAccess",
|
|
key.offset: 1531,
|
|
key.length: 44,
|
|
key.nameoffset: 1541,
|
|
key.namelength: 10,
|
|
key.bodyoffset: 1553,
|
|
key.bodylength: 21,
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.name: "defFunc()",
|
|
key.offset: 1556,
|
|
key.length: 17,
|
|
key.nameoffset: 1561,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1572,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.extension,
|
|
key.accessibility: source.lang.swift.accessibility.fileprivate,
|
|
key.name: "PubAccess",
|
|
key.offset: 1584,
|
|
key.length: 47,
|
|
key.nameoffset: 1594,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1605,
|
|
key.bodylength: 25,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1576,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
],
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.fileprivate,
|
|
key.name: "privExtFunc()",
|
|
key.offset: 1608,
|
|
key.length: 21,
|
|
key.nameoffset: 1613,
|
|
key.namelength: 13,
|
|
key.bodyoffset: 1628,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.extension,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "DefAccess",
|
|
key.offset: 1641,
|
|
key.length: 51,
|
|
key.nameoffset: 1651,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1662,
|
|
key.bodylength: 29,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1632,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
],
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "internalExtFunc()",
|
|
key.offset: 1665,
|
|
key.length: 25,
|
|
key.nameoffset: 1670,
|
|
key.namelength: 17,
|
|
key.bodyoffset: 1689,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.extension,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "PubAccess",
|
|
key.offset: 1700,
|
|
key.length: 49,
|
|
key.nameoffset: 1710,
|
|
key.namelength: 9,
|
|
key.bodyoffset: 1721,
|
|
key.bodylength: 27,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1693,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
],
|
|
key.substructure: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "publicExtFunc()",
|
|
key.offset: 1724,
|
|
key.length: 23,
|
|
key.nameoffset: 1729,
|
|
key.namelength: 15,
|
|
key.bodyoffset: 1746,
|
|
key.bodylength: 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.typealias,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "defAlias",
|
|
key.offset: 1751,
|
|
key.length: 24,
|
|
key.nameoffset: 1761,
|
|
key.namelength: 8
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.typealias,
|
|
key.accessibility: source.lang.swift.accessibility.public,
|
|
key.name: "pubAlias",
|
|
key.offset: 1783,
|
|
key.length: 24,
|
|
key.nameoffset: 1793,
|
|
key.namelength: 8,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1776,
|
|
key.length: 6,
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.typealias,
|
|
key.accessibility: source.lang.swift.accessibility.private,
|
|
key.name: "privAlias",
|
|
key.offset: 1816,
|
|
key.length: 25,
|
|
key.nameoffset: 1826,
|
|
key.namelength: 9,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1808,
|
|
key.length: 7,
|
|
key.attribute: source.decl.attribute.private
|
|
}
|
|
]
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.typealias,
|
|
key.accessibility: source.lang.swift.accessibility.internal,
|
|
key.name: "intAlias",
|
|
key.offset: 1851,
|
|
key.length: 24,
|
|
key.nameoffset: 1861,
|
|
key.namelength: 8,
|
|
key.attributes: [
|
|
{
|
|
key.offset: 1842,
|
|
key.length: 8,
|
|
key.attribute: source.decl.attribute.internal
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|