In other words:

has anyone implemented importing and using the FQ classname for any
OOO language?

The as3 port copies the java code generator. Makes sense since the
syntax is a lot like.

One gotcha in Java you do not need to use imports if you use the fully
qualified classname like:

some.thing.stuff mystuff= null;


Well AS3 does not like only:

Var mystuff:some.thing.stuff = null;


It seems it still needs the import if stuff is not in the same package.

like:

Import some.thing.stuff

Var mystuff:some.thing.stuff = null;



Did anyone had to implement traversing the parsed data to create imports b4?

Is there a nice piece of code we can borrow?

Aron

Reply via email to