mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Semantically, these are not superclass/refined-protocol members. If I have a generic parameter <T : P & Q>, then when looking at a value of type T, members of P and Q are at the same "level" as if I had a value of type (P & Q).
25 lines
742 B
Plaintext
25 lines
742 B
Plaintext
{
|
|
key.results: [
|
|
{
|
|
key.kind: source.lang.swift.decl.function.method.instance,
|
|
key.name: "optionalMethod()",
|
|
key.sourcetext: "optionalMethod?()",
|
|
key.description: "optionalMethod?()",
|
|
key.typename: "Int",
|
|
key.context: source.codecompletion.context.thisclass,
|
|
key.num_bytes_to_erase: 0,
|
|
key.associated_usrs: "c:@M@complete_optionalmethod@objc(pl)Proto(im)optionalMethod",
|
|
key.modulename: "complete_optionalmethod"
|
|
},
|
|
{
|
|
key.kind: source.lang.swift.keyword,
|
|
key.name: "self",
|
|
key.sourcetext: "self",
|
|
key.description: "self",
|
|
key.typename: "T",
|
|
key.context: source.codecompletion.context.thisclass,
|
|
key.num_bytes_to_erase: 0
|
|
}
|
|
]
|
|
}
|