Quoting Alex Harui <aha...@adobe.com>:
Either do I, the way I see it is we traverse the MXML AST. I just have
to look at what you have done to know what "state" needs to be saved
as we are walking the MXML AST.
I think all "state" is kept as a variables in the "Context" class. The
"state" is mostly trying to remember what the parent nodes are. I assume
there is some other convention for doing that in the visitors?
There is no state in the visitors, I use the IDefinition API to get
what I need, which is a model but, I never save state in a visitor.
Mike
--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui
--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com