[metaas-dev] MetaAS: parsing/writing indenting issue and super.something issue

Daniel Fischer daniel at digital-freestyle.de
Mon Jun 23 17:51:10 BST 2008


Hi together,

today I stumbled across MetaAS and found it a very useful project for my 
problems. Unfortunately I encountered two problems:

1) I use the ActionScriptParser.parse(src) call to parse an existing
    ActionsScript file. Then I want to use the
    ActionScriptWriter.write(dst) to write the parsed ASCompilationUnit
    to a file again. Why? Pretty simple: I want to use the pretty
    printing capabilities to do auto indenting on the ActionScript file.
    Unfortunately ActionScriptWriter writes the AS code with the same
    indentation as the original file was. Can I somehow force it to
    "forget" the old indentation?

2) The parser fails to parse super.something calls. Regardless of it is
    a method call "super.something();" or a property access
    "super.something = 42;". As I saw in the archives the problem is
    known. Is it already fixed, maybe in SVN Head? Or is there a
    workaround?

Many thanks in advanced for your efforts.

Yours,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3344 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.badgers-in-foil.co.uk/pipermail/metaas-dev/attachments/20080623/0002d718/attachment.bin 


More information about the metaas-dev mailing list