We're getting very close to having generated ActionScript Service and Listener

interfaces, and Marshallers for same. The remaining snag has to do with the
annoyance of ActionScript not supporting inner classes, which means that
ChatService.TellListener for example has to become ChatService_TellListener.

The code for generating the Java marshaller knows to add an import for
ChatService if some random invocation service interface happens to reference
ChatService.TellListener, but now it needs to be made to know to add an import
for ChatService_TellListener in ActionScript land and it has to do it in a way
that doesn't fuck up the Java code generation. Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4397 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-10-04 18:12:56 +00:00
parent 3305c1b922
commit d25d5e53f1
8 changed files with 421 additions and 24 deletions
@@ -0,0 +1,20 @@
package $package {
#foreach ($import in $imports)
import $import;
#end
/**
* An ActionScript version of the Java ${name}Service interface.
*/
public interface ${name}Service extends InvocationService
{
#foreach ($m in $methods)
#if ($velocityCount > 1)
#end
// from Java interface ${name}Service
function $m.method.name ($m.getASArgList(false)) :void;
#end
}
}