import { ILocation } from "ui5plugin-linter/dist/classes/js/parts/util/ReferenceFinder" ; import * as vscode from "vscode" ; import { RangeAdapter } from "../../adapters/vscode/RangeAdapter" ; export class VSCodeLocationAdapter extends vscode . Location { constructor ( location ) { const uri = vscode . Uri . file ( location . filePath ) ; const range = RangeAdapter . rangeToVSCodeRange ( location . range ) ; super ( uri , range ) ; } }