"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VariableDriver = void 0;
class VariableDriver {
    static getVariable(sourceFile, variableName) {
        return sourceFile.getVariableDeclaration(variableName);
    }
    static getInitializerVariable(sourceFile, variableName) {
        var _a;
        return (_a = VariableDriver.getVariable(sourceFile, variableName)) === null || _a === void 0 ? void 0 : _a.getInitializer();
    }
}
exports.VariableDriver = VariableDriver;
