Hi,

I have been throwing stuff at the wall today and one thing I wanted a POC
of is the output of Babble since it "seems" to have an implementation of
super accessor calls.

So using the same JXEmitter, I have composed sub emitters and I have only
overridden 2 (ClassEmitter, MethodEmitter) to get this output from the
previous I showed with TypeScript output.

So it seems baring all the stuff that comes with this, we have a couple
options which will need to be hashed out later about "what" is going to be
output.

These emitters can easily be configured, so we can have different types of
output for people's use cases.

var ClassA = (function () {
    function ClassA() {
        _classCallCheck(this, ClassA);

        this._property = "init";
    }

    _createClass(ClassA, [
        {
        key: "property",
        get: function () {
            return this._property;
        },
        ",
        set: function (value) {
            this._property = value;
        }
        },
        {
        key: "showValue",
        value: function showValue() {
            alert(this._property);
        }
        }

    ]);
})();

Mike

Reply via email to