all files / dist/writers/ ScopeWriter.js

100% Statements 13/13
100% Branches 3/3
100% Functions 3/3
100% Lines 13/13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24  16×                    
"use strict";
var definitions_1 = require("./../definitions");
var ScopeWriter = (function () {
    function ScopeWriter(writer) {
        this.writer = writer;
    }
    ScopeWriter.prototype.writeScope = function (scope) {
        switch (scope) {
            case definitions_1.Scope.Protected:
                this.writer.write("protected ");
                break;
            case definitions_1.Scope.Private:
                this.writer.write("private ");
                break;
            default:
                break;
        }
    };
    return ScopeWriter;
}());
exports.ScopeWriter = ScopeWriter;
 
//# sourceMappingURL=ScopeWriter.js.map