Oh yeah, the .as for this is;


package com.model
{

import randori.webkit.page.Window;

public class ClassA
{
    private var _property:String = "init";

    public function get property():String
    {
        return _property;
    }

    public function set property(value:String):void
    {
        _property = value;
    }

    public function ClassA()
    {
    }

    public function showValue():void
    {
        Window.alert(_property);
    }
}
}


Mike





On Fri, May 29, 2015 at 4:31 PM, Michael Schmalle <teotigraphix...@gmail.com
> wrote:

> 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