mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Properties can also be specified in a protocol/overridden by subclasses, so they should also be classed as "dynamic" in these cases. Removed receiver USRs when *not* dynamic, since it's not used for anything in that case and should be equivalent to the container anyway. Resolves rdar://92882348.
168 lines
5.1 KiB
Plaintext
168 lines
5.1 KiB
Plaintext
{
|
|
key.dependencies: [
|
|
{
|
|
key.kind: source.lang.swift.import.module.swift,
|
|
key.name: "Swift",
|
|
key.filepath: Swift.swiftmodule,
|
|
key.is_system: 1
|
|
}
|
|
],
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.decl.class,
|
|
key.name: "ClassA",
|
|
key.usr: "s:15index_operators6ClassAC",
|
|
key.line: 4,
|
|
key.column: 7,
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.constructor,
|
|
key.name: "init()",
|
|
key.usr: "s:15index_operators6ClassACACycfc",
|
|
key.line: 5,
|
|
key.column: 5,
|
|
key.effective_access: source.decl.effective_access.internal
|
|
}
|
|
],
|
|
key.effective_access: source.decl.effective_access.internal
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.operator.infix,
|
|
key.name: "+(_:_:)",
|
|
key.usr: "s:15index_operators1poiyAA6ClassACAD_ADtF",
|
|
key.line: 8,
|
|
key.column: 6,
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.ref.class,
|
|
key.name: "ClassA",
|
|
key.usr: "s:15index_operators6ClassAC",
|
|
key.line: 8,
|
|
key.column: 13
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.class,
|
|
key.name: "ClassA",
|
|
key.usr: "s:15index_operators6ClassAC",
|
|
key.line: 8,
|
|
key.column: 26
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.class,
|
|
key.name: "ClassA",
|
|
key.usr: "s:15index_operators6ClassAC",
|
|
key.line: 8,
|
|
key.column: 37
|
|
}
|
|
],
|
|
key.effective_access: source.decl.effective_access.internal
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.struct,
|
|
key.name: "StructB",
|
|
key.usr: "s:15index_operators7StructBV",
|
|
key.line: 12,
|
|
key.column: 8,
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.name: "method()",
|
|
key.usr: "s:15index_operators7StructBV6methodyyF",
|
|
key.line: 13,
|
|
key.column: 10,
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.ref.class,
|
|
key.name: "ClassA",
|
|
key.usr: "s:15index_operators6ClassAC",
|
|
key.line: 14,
|
|
key.column: 17
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.function.constructor,
|
|
key.name: "init()",
|
|
key.usr: "s:15index_operators6ClassACACycfc",
|
|
key.line: 14,
|
|
key.column: 17
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.function.operator.infix,
|
|
key.name: "+(_:_:)",
|
|
key.usr: "s:15index_operators1poiyAA6ClassACAD_ADtF",
|
|
key.line: 15,
|
|
key.column: 19
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.name: "StructB",
|
|
key.usr: "s:15index_operators7StructBV",
|
|
key.line: 16,
|
|
key.column: 17
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.function.constructor,
|
|
key.name: "init()",
|
|
key.usr: "s:15index_operators7StructBVACycfc",
|
|
key.line: 16,
|
|
key.column: 17
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.function.operator.infix,
|
|
key.name: "-(_:_:)",
|
|
key.usr: "s:15index_operators7StructBV1soiyA2C_ACtFZ",
|
|
key.line: 17,
|
|
key.column: 19
|
|
}
|
|
],
|
|
key.effective_access: source.decl.effective_access.internal
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.operator.infix,
|
|
key.name: "-(_:_:)",
|
|
key.usr: "s:15index_operators7StructBV1soiyA2C_ACtFZ",
|
|
key.line: 20,
|
|
key.column: 24,
|
|
key.entities: [
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.name: "StructB",
|
|
key.usr: "s:15index_operators7StructBV",
|
|
key.line: 20,
|
|
key.column: 31
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.name: "StructB",
|
|
key.usr: "s:15index_operators7StructBV",
|
|
key.line: 20,
|
|
key.column: 45
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.ref.struct,
|
|
key.name: "StructB",
|
|
key.usr: "s:15index_operators7StructBV",
|
|
key.line: 20,
|
|
key.column: 57
|
|
}
|
|
],
|
|
key.attributes: [
|
|
{
|
|
key.attribute: source.decl.attribute.public
|
|
}
|
|
],
|
|
key.effective_access: source.decl.effective_access.internal
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.decl.function.constructor,
|
|
key.usr: "s:15index_operators7StructBVACycfc",
|
|
key.line: 12,
|
|
key.column: 8,
|
|
key.is_implicit: 1,
|
|
key.effective_access: source.decl.effective_access.internal
|
|
}
|
|
],
|
|
key.effective_access: source.decl.effective_access.internal
|
|
}
|
|
]
|
|
}
|