On Tue, Mar 1, 2016 at 6:48 PM, Alex Harui <[email protected]> wrote:

>
>
> On 3/1/16, 3:43 PM, "Michael Schmalle" <[email protected]> wrote:
>
>
> >The problem as you have stated is there are multiple threads running and I
> >can't just go in a rip stuff apart. I don't see why the if blocks of the
> >children as data can't be separated. To me that would make things much
> >more
> >clear for future dev.
>
> If you have the time, go for it.
>

Well it's something I will think about. I can't see doing this right
without getting my hands dirty. It would be in a month or so probably April
but I think the best way for me to figure out what needs to be done is
complete a task like this, will server two purposes, one it will get me
into the code on a low level so I actually understand what I am doing, two
it will create a non cluttered surface so I can see what I want to do.


>
> >
> >Now I remember how this all works, the BURM is calling the directives
> >which
> >then are calling their builders. The BURM is actually traversing the AST
> >of
> >AS3.
>
> I think the Directives call the BURM which calls the reducer which calls
> the emitter.  But I could be wrong about that.
>

Yeah you are right, I really meant that the BURM traverses the dark
recesses of the AST like statements and expressions. But yeah, the
directives are calling BURM methods on it's contexts which just ends up
being recursive back on the directive.


>
> >
> >I can't remember without looking but what is parsing the MXML? Is that
> >JFlex?
>
> I don't know for sure, I think it is custom code in MXMLTreeBuilder.  I
> don't think it uses one of the parsing libraries but I could definitely be
> wrong.  I haven't come across a grammar or even a DTD + XML handler for it.
>
>
Yup it's JFlex

/**
 * This class is a scanner generated by
 * <a href="http://www.jflex.de/";>JFlex</a> 1.6.0
 * from the specification file
<tt>C:/Users/Teoti/Documents/ApacheFlex/git/flex-falcon/compiler/src/org/apache/flex/compiler/internal/parsing/mxml/RawMXMLTokenizer.lex</tt>
 */

for RawMXMLTokenizer.java

Mike



> -Alex
>
>

Reply via email to