<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>Hey
Dave,</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>Great work on
metaas! I have a couple of questions. </FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>First, have you
looked into using the parser from the SDK? It of course can parse any AS3 file,
but it's not clear to me how to use their CodeGenerator emitter class, or even
that it works. I'm wondering if you have been down this road.
</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>I'm having trouble
parsing namespace references with your current ANTLR grammar, although
everything else in metaas seems to work so well I may just avoid namespaces in
my generated code for now. The SDK option seems too complex for the amount of
time I have to spend on codegen frameworks if this is my only
glitch.</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>Another question I
have is regarding ASType.removeMethod(String). It seems to me that the type
signature for this method is insufficient. Consider the following
code:</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>public function get
foo():String {</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2> return
_foo;</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2>}</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>public function set
foo(afoo:String):void {</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2> _foo =
afoo;</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2>}</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>If I call
ASType.removeMethod("foo"), which one gets removed?? I assume from your JavaDoc
comment that modifying the array returned from ASType.getMethods() will not
serve my purpose.</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial size=2>Thanks for your
contribution.</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2>Brian</FONT></SPAN></DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=733552800-26062008><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>