all files / dist/binders/base/file/ ImportBinder.js

100% Statements 14/14
100% Branches 2/2
100% Functions 3/3
100% Lines 14/14
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24  10×   10× 10× 10× 10× 10×                
"use strict";
var ImportBinder = (function () {
    function ImportBinder(baseDefinitionBinder) {
        this.baseDefinitionBinder = baseDefinitionBinder;
    }
    ImportBinder.prototype.bind = function (def) {
        this.baseDefinitionBinder.bind(def);
        def.fileName = this.getFileName();
        def.moduleSpecifier = this.getModuleSpecifier();
        def.defaultImport = this.getDefaultImport();
        if (this.getIsStarImport()) {
            def.starImports = this.getStarImports();
            def.starImportName = this.getStarImportName();
        }
        else {
            def.namedImports = this.getNamedImports();
        }
    };
    return ImportBinder;
}());
exports.ImportBinder = ImportBinder;
 
//# sourceMappingURL=ImportBinder.js.map