all files / dist/binders/structure/base/ StructureExportableBinder.js

100% Statements 21/21
100% Branches 13/13
100% Functions 7/7
100% Lines 18/18
2 statements, 3 branches Ignored     
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28    160× 160×   160×   160×   160×          
"use strict";
var __extends = (this && this.__extends)/* istanbul ignore next */ || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var base_1 = require("./../../base");
var StructureExportableBinder = (function (_super) {
    __extends(StructureExportableBinder, _super);
    function StructureExportableBinder(structure) {
        _super.call(this);
        this.structure = structure;
    }
    StructureExportableBinder.prototype.getIsExported = function () {
        return this.structure.isExported || false;
    };
    StructureExportableBinder.prototype.getIsDefaultExportOfFile = function () {
        return this.structure.isDefaultExportOfFile || false;
    };
    StructureExportableBinder.prototype.getIsNamedExportOfFile = function () {
        return this.structure.isNamedExportOfFile || false;
    };
    return StructureExportableBinder;
}(base_1.ExportableBinder));
exports.StructureExportableBinder = StructureExportableBinder;
 
//# sourceMappingURL=StructureExportableBinder.js.map