OK, I've pushed changes that handle basic for loops and setting
properties.  And even += on XMLLists.

You can get a sense of what works by looking at the unit tests in
compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/js/flexjs/T
estFlexJSGlobalClasses.java


I'm sure there are lots of cases I haven't thought of, but it will
hopefully get you started.

-Alex

On 11/18/15, 3:12 PM, "Alex Harui" <aha...@adobe.com> wrote:

>I pushed changes to not use _as3_ on XML function calls and use child()
>for "." access.
>
>I'm going to look into:
>-for and foreach
>-setting properties on XML/XMLList
>
>-Alex
>
>On 11/16/15, 11:47 AM, "Alex Harui" <aha...@adobe.com> wrote:
>
>>
>>
>>On 11/16/15, 11:43 AM, "Harbs" <harbs.li...@gmail.com> wrote:
>>
>>>
>>>On Nov 16, 2015, at 9:40 PM, Harbs <harbs.li...@gmail.com> wrote:
>>>
>>>> 
>>>> On Nov 16, 2015, at 9:14 PM, Alex Harui <aha...@adobe.com> wrote:
>>>> 
>>>>> Hmm.  I wonder what other operators work.  Like “-=“.
>>>> 
>>>> It looks like -= does not work.
>>>> 
>>>>> And does xmlList1 + xmlList2 concatenate them?
>>>> 
>>>> Yes.
>>>
>>>+= also works for this.
>>
>>Hmm.  Easiest for the compiler might be an operator(op:String, data:*)
>>method.  Let’s table this stuff for now.  I might have a better idea once
>>I’m actually doing the other compiler work.
>>
>>-Alex
>>
>

Reply via email to