Mike et al., I have a reasonably big commit lined up. To make AS embedded in MXML work without doing duplicate work, I figured I could best use the existing ASEmitter and subclases. To make this work, I needed to add an ASBlockWalker to the MXMLBlockWalker and make adjustments to some existing code (refactoring of interfaces and method signatures, mostly). I was able to keep most of this trickery limited to MXML classes, but I needed to make some changes to these 'common' and AS classes:
- renamed IASNodeStrategy to INodeStrategy, as it is now 'common' and used by both AS and MXML; this renaming touches 'a few' other classes, like IJSEmitter and the classes in 'org.apache.flex.compiler.internal.as.codegen' - created IBlockVisitor and IBlockWalker as 'common' interfaces - refactored IASBlockVisitor and IASBlockWalker to extend these new interfaces All tests pass (I even managed to get a few more done for FlexJS) and the road ahead seems clear... Let me know if any of this will break anything beyond repair - or at least beyond a little time spend adjusting code to the new - if I commit these changes, EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl