src/vs/workbench/api/common/extHostLanguageFeatures.ts/DefinitionAdapter/provideDefinition
class DefinitionAdapter:	async provideDefinition(resource: URI, position: IPosition, token: CancellationToken): Promise<languages.LocationLink[]> {
		const doc = this._documents.getDocument(resource);
		const pos = typeConvert.Position.to(position);
		const value = await this._provider.provideDefinition(doc, pos, token);
		return convertToLocationLinks(value);
	}