Package uk.co.badgersinfoil.metaas

The metaas ActionScript source code generation / manipulation framework.

See:
          Description

Interface Summary
ASArg Definition of a method parameter.
ASClassType A handle on the definition of an ActionScript class
ASField Represents an ActionScript field definition within an ActionScript class.
ASIfStatement Obtained from StatementContainer.newIf(String), an ASIfStatement allows statements to be added to the 'then' and else' branches.
ASInterfaceType A handle on the definition of an ActionScript interface.
ASMember A member of a type; an ASMethod or ASField.
ASMethod Represents an ActionScript method definition within an ActionScript class or interface.
ASSwitchStatement Obtained from StatementContainer.newSwitch(String), an ASSwitchStatement allows 'case' and 'default' statements to be added to to the 'switch' statement.
ASType Superinterface for ASClassType and ASInterfaceType.
CompilationUnit A 'compilation unit' represents an entire file of ActionScript code.
StatementContainer Defines the common services provided by structures which can contain ActionScript 'statements'.
Visibility Represents the access to a class mamber allowed from other classes, as specified by the "public" and "private" modifiers (or lack of) in the member's definition.
 

Class Summary
ASMethod.AccessorRole Constants defined by this class denote whether a method is actually an acessor 'get' or 'set' function.
ASSourceFactory Core class providing access to metaas functionality.
 

Exception Summary
SyntaxException Thrown when ActionScript code which is syntactically invalid is encountered.
 

Package uk.co.badgersinfoil.metaas Description

The metaas ActionScript source code generation / manipulation framework.

The key class in the framework is ASSourceFactory, which can:

Many parts of the framework may potentially raise SyntaxException on encountering invalid ActionScript. Note that this is limited to checks on syntax; semantic checking (e.g. type-checks) is not performed.