all files / dist/writers/ ClassConstructorParameterScopeWriter.js

100% Statements 15/15
100% Branches 4/4
100% Functions 3/3
100% Lines 15/15
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  16×                      
"use strict";
var definitions_1 = require("./../definitions");
var ClassConstructorParameterScopeWriter = (function () {
    function ClassConstructorParameterScopeWriter(writer) {
        this.writer = writer;
    }
    ClassConstructorParameterScopeWriter.prototype.writeScope = function (scope) {
        switch (scope) {
            case definitions_1.ClassConstructorParameterScope.Public:
                this.writer.write("public ");
                break;
            case definitions_1.ClassConstructorParameterScope.Protected:
                this.writer.write("protected ");
                break;
            case definitions_1.ClassConstructorParameterScope.Private:
                this.writer.write("private ");
                break;
            default:
                break;
        }
    };
    return ClassConstructorParameterScopeWriter;
}());
exports.ClassConstructorParameterScopeWriter = ClassConstructorParameterScopeWriter;
 
//# sourceMappingURL=ClassConstructorParameterScopeWriter.js.map