all files / dist/binders/structure/class/ StructureClassPropertyBinder.js

100% Statements 24/24
100% Branches 13/13
100% Functions 7/7
100% Lines 21/21
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 29 30 31    10× 10×   10×   10×   10×          
"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 definitions_1 = require("./../../../definitions");
var base_1 = require("./../../base");
var base_2 = require("./../base");
var base_3 = require("./base");
var StructureClassPropertyBinder = (function (_super) {
    __extends(StructureClassPropertyBinder, _super);
    function StructureClassPropertyBinder(factory, structure) {
        _super.call(this, new base_3.StructureBaseClassPropertyBinder(factory, structure), new base_2.StructureAbstractableBinder(structure));
        this.structure = structure;
    }
    StructureClassPropertyBinder.prototype.getKind = function () {
        return this.structure.kind || definitions_1.ClassPropertyKind.Normal;
    };
    StructureClassPropertyBinder.prototype.getOnWriteGetBody = function () {
        return this.structure.onWriteGetBody || null;
    };
    StructureClassPropertyBinder.prototype.getOnWriteSetBody = function () {
        return this.structure.onWriteSetBody || null;
    };
    return StructureClassPropertyBinder;
}(base_1.ClassPropertyBinder));
exports.StructureClassPropertyBinder = StructureClassPropertyBinder;
 
//# sourceMappingURL=StructureClassPropertyBinder.js.map