mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Now * NotApplicable: The result is not relevant for type relation (e.g. keywords, and overloads) * Unknown: the relation was not calculated (e.g. cached results), or the context type is unknown. * Invalid: The result type is invalid for this context (i.e. 'Void' for non-'Void' context) * Unrelated: The result type has no relation to the context type * Convertible: The result type is convertible to the context type * Identical: The result type is identical to the context type
27 lines
880 B
Plaintext
27 lines
880 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.typerelation: source.codecompletion.typerelation.unrelated,
|
|
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.typerelation: source.codecompletion.typerelation.unknown,
|
|
key.num_bytes_to_erase: 0
|
|
}
|
|
]
|
|
}
|