"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const vscode = require("vscode");
const ParserManager_1 = require("../model/ParserManager");
class CodeHover {
    provideHover(document, position, token) {
        const offset = document.offsetAt(position);
        return ParserManager_1.default.getSingleInstance().showHoverMenu({ offset, position, document });
    }
}
function createCodeHover(ctx) {
    ctx.subscriptions.push(vscode.languages.registerHoverProvider({ pattern: '**/*.{ts,js,tsx,jsx}' }, new CodeHover()));
}
exports.default = createCodeHover;
//# sourceMappingURL=hover.js.map