src/vs/workbench/api/common/extHostLanguageFeatures.ts/InlineValuesAdapter/provideInlineValues
class InlineValuesAdapter:	public provideInlineValues(resource: URI, viewPort: IRange, context: extHostProtocol.IInlineValueContextDto, token: CancellationToken): Promise<modes.InlineValue[] | undefined> {
		const doc = this._documents.getDocument(resource);
		return asPromise(() => this._provider.provideInlineValues(doc, typeConvert.Range.to(viewPort), typeConvert.InlineValueContext.to(context), token)).then(value => {
			if (Array.isArray(value)) {
				return value.map(iv => typeConvert.InlineValue.from(iv));
			}
			return undefined;
		});
	}