[as2api-dev] error: No packages specified
David Holroyd
dave at badgers-in-foil.co.uk
Sat Sep 3 22:12:23 UTC 2005
On Fri, Sep 02, 2005 at 12:20:46AM -0400, Jim Kremens wrote:
> Sorry to bug you. I think I'm doing everything right at this point,
> but I'm still finding some issues. as2api seems to overlook some of
> the files in a given package.
>
> For example, a package might have 7 classes in it, all inheriting from
> the same parent, and the documentation will only show 4. Can you
> think of any reasons for this?
Looking at the error messages produced for the problem files, I see that
this sort of syntax is causing the problem,
private var a, b:String;
The parser as2api uses only expects a single variable to be declared in
such a statement. I didn't realise that a list of variables was
possible.
Given the usage I can see in your example code, it appears that the
type (String, in the above example) applies to all elements in the list.
I would have thought that it would be possible to apply a type to each
member, i.e.,
private var a:Number, b:String;
I don't have the necessary tools in front of me to check this though.
Can anyone confirm the exact syntax?
thanks,
dave
--
http://david.holroyd.me.uk/
More information about the as2api-dev
mailing list