A C D G I N P R S T U V W

A

ASArg - interface uk.co.badgersinfoil.metaas.ASArg.
Definition of a method parameter.
ASClassType - interface uk.co.badgersinfoil.metaas.ASClassType.
A handle on the definition of an ActionScript class
ASField - interface uk.co.badgersinfoil.metaas.ASField.
Represents an ActionScript field definition within an ActionScript class.
ASIfStatement - interface uk.co.badgersinfoil.metaas.ASIfStatement.
Obtained from StatementContainer.newIf(String), an ASIfStatement allows statements to be added to the 'then' and else' branches.
ASInterfaceType - interface uk.co.badgersinfoil.metaas.ASInterfaceType.
A handle on the definition of an ActionScript interface.
ASMember - interface uk.co.badgersinfoil.metaas.ASMember.
A member of a type; an ASMethod or ASField.
ASMethod - interface uk.co.badgersinfoil.metaas.ASMethod.
Represents an ActionScript method definition within an ActionScript class or interface.
ASMethod.AccessorRole - class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole.
Constants defined by this class denote whether a method is actually an acessor 'get' or 'set' function.
ASSourceFactory - class uk.co.badgersinfoil.metaas.ASSourceFactory.
Core class providing access to metaas functionality.
ASSourceFactory() - Constructor for class uk.co.badgersinfoil.metaas.ASSourceFactory
 
ASSwitchStatement - interface uk.co.badgersinfoil.metaas.ASSwitchStatement.
Obtained from StatementContainer.newSwitch(String), an ASSwitchStatement allows 'case' and 'default' statements to be added to to the 'switch' statement.
ASType - interface uk.co.badgersinfoil.metaas.ASType.
Superinterface for ASClassType and ASInterfaceType.
addComment(String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds a single-line comment to list of statements being generated
addImplementedInterface(String) - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Adds an interface name to the list of interfaces which this ActionScript class implements.
addParam(String, String) - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Adds a formal parameter to the list of parameters supported by this ActionScript method.
addStmt(String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Checks the syntax of the given code, and then adds the statement to the end of the current block.
addSuperInterface(String) - Method in interface uk.co.badgersinfoil.metaas.ASInterfaceType
Adds the given ActionScript interface name to the list of interfaces which this ActionScript interface extends.

C

CompilationUnit - interface uk.co.badgersinfoil.metaas.CompilationUnit.
A 'compilation unit' represents an entire file of ActionScript code.

D

DEFAULT - Static variable in interface uk.co.badgersinfoil.metaas.Visibility
Default access, as specified by the lack of either a "public or "private" modifier.

G

GETTER - Static variable in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
The method is a 'set' accessor
getAccessorRole() - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Returns on of ASMethod.AccessorRole.NORMAL_METHOD, ASMethod.AccessorRole.GETTER or ASMethod.AccessorRole.SETTER, with NORMAL_METHOD being the default for newly synthesized methods.
getArgs() - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Returns a list of the formal arguments accepted by this ActionScript method.
getDocComment() - Method in interface uk.co.badgersinfoil.metaas.ASMember
Returns the contents of the documentation comment for this method.
getDocComment() - Method in interface uk.co.badgersinfoil.metaas.ASType
Returns the contents of the documentation comment for this type.
getElse() - Method in interface uk.co.badgersinfoil.metaas.ASIfStatement
Returns a reference to an object which can populate the else-clause of this ActionScript if-statement with new code.
getField(String) - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Returns a reference to the ActionScript field with the given name, or null, if no such field exists.
getFields() - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Returns a list of ASField objects representing the fields this ActionScript class defines.
getImplementedInterfaces() - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Returns the list of names of the interfaces that this ActionScript class implements.
getMethod(String) - Method in interface uk.co.badgersinfoil.metaas.ASType
Returns a reference to the ActionScript method with the given name, or null, if no such method exists.
getMethods() - Method in interface uk.co.badgersinfoil.metaas.ASType
Returns a list of ASMethod objects.
getName() - Method in interface uk.co.badgersinfoil.metaas.ASArg
Returns the name of this ActionScript method argument
getName() - Method in interface uk.co.badgersinfoil.metaas.ASMember
Returns the name of this field.
getName() - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Returns the name of this method.
getName() - Method in interface uk.co.badgersinfoil.metaas.ASType
Returns the name of this class or interface, excluding any package prefix.
getPackage() - Method in interface uk.co.badgersinfoil.metaas.CompilationUnit
Returns the name of the package, or null if the contents of the file are in the 'default' (top-level) package.
getSuperInterfaces() - Method in interface uk.co.badgersinfoil.metaas.ASInterfaceType
Returns a list of Strings which are the names of ActionScript interfaces which this ActionScript interface extends.
getSuperclass() - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Returns the name of this ActionScript class' superclass, or null of the superclass is not specified.
getType() - Method in interface uk.co.badgersinfoil.metaas.ASArg
Returns the name of this parameter's type, or null if the parameter is untyped.
getType() - Method in interface uk.co.badgersinfoil.metaas.ASMember
Returns the name of the return type of value this ActionScript field may contain, or null if it is untyped.
getType() - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Returns the name of the return type of this ActionScript method, or null if it is untyped.
getType() - Method in interface uk.co.badgersinfoil.metaas.CompilationUnit
Returns the type (ASClassType or ASInterfaceType) which this file defines.
getVisibility() - Method in interface uk.co.badgersinfoil.metaas.ASMember
Returns a value representing any protection-against-access defined for this ActionScript field.
getVisibility() - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Returns a value representing any protection-against-access defined for this ActionScript method.
getVisibility() - Method in interface uk.co.badgersinfoil.metaas.ASType
Returns an object representing the visibility of this ActionScript type definition within the enclosing ActionScript3 package.

I

isStatic() - Method in interface uk.co.badgersinfoil.metaas.ASMember
Returns true if this ActionScript field is static (i.e.
isStatic() - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Returns true if this ActionScript method is static (i.e.

N

NORMAL_METHOD - Static variable in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
A standard method; not a getter or setter.
newCase(String) - Method in interface uk.co.badgersinfoil.metaas.ASSwitchStatement
Returns the statements to be executed in the given case for this switch statement.
newClass(String) - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
Creates a new CompilationUnit which defines a class with the given name.
newDefault() - Method in interface uk.co.badgersinfoil.metaas.ASSwitchStatement
Returns the statements to be executed in the default case for this switch statement.
newDoWhile(String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds a do-while-loop to the code.
newField(String, Visibility, String) - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Adds a new ActionScript field definition to this ActionScript class.
newFor(String, String, String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds a C-style for-loop to the code.
newForIn(String, String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds a for-in-loop to the code.
newIf(String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds an if-statement to the code.
newInterface(String) - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
Creates a new CompilationUnit which defines an interface with the given name.
newMethod(String, Visibility, String) - Method in interface uk.co.badgersinfoil.metaas.ASType
Creates a new ActionScript method definition, adds it to the list of methods supported by this tyoe, and returns a reference to the method.
newSwitch(String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds a switch-statement to the code.
newWhile(String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds a while-loop to the code.

P

PRIVATE - Static variable in interface uk.co.badgersinfoil.metaas.Visibility
Private access, as specified by the "private" modifier.
PUBLIC - Static variable in interface uk.co.badgersinfoil.metaas.Visibility
Public access, as specified by the "public" modifier.
parse(Reader) - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
Parse an entire ActionScript source file from the given Reader, returning a from CompilationUnit which details of the type contained in the file can be obtained.

R

removeField(String) - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Removes the named field from the list of fields which this ActionScript class defines.
removeImplementedInterface(String) - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Removes an interface name from the list of interfaces which this ActionScript class implements.
removeMethod(String) - Method in interface uk.co.badgersinfoil.metaas.ASType
Removes the named ActionScript method from the list of methods supported by this ActionScript class.
removeSuperInterface(String) - Method in interface uk.co.badgersinfoil.metaas.ASInterfaceType
Removes the given ActionScript interface name from the list of interfaces which this ActionScript interface extends.

S

SETTER - Static variable in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
The method is a 'get' accessor
StatementContainer - interface uk.co.badgersinfoil.metaas.StatementContainer.
Defines the common services provided by structures which can contain ActionScript 'statements'.
SyntaxException - exception uk.co.badgersinfoil.metaas.SyntaxException.
Thrown when ActionScript code which is syntactically invalid is encountered.
SyntaxException(String) - Constructor for class uk.co.badgersinfoil.metaas.SyntaxException
Constructs a new SyntaxException with the specified detail message.
SyntaxException(Exception) - Constructor for class uk.co.badgersinfoil.metaas.SyntaxException
Constructs a new SyntaxException with the specified cause.
setAccessorRole(ASMethod.AccessorRole) - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Allows the role of a method to be changed.
setDocComment(String) - Method in interface uk.co.badgersinfoil.metaas.ASMember
Set the contents of the 'documentation comment' for this ActionScript method.
setDocComment(String) - Method in interface uk.co.badgersinfoil.metaas.ASType
Set the contents of the 'documentation comment' for this ActionScript type.
setInitializer(String) - Method in interface uk.co.badgersinfoil.metaas.ASField
Sets the ActionScript expression defining the initial value for this ActionScript field.
setName(String) - Method in interface uk.co.badgersinfoil.metaas.ASMember
Changes the name of this ActionScript field to the given value.
setName(String) - Method in interface uk.co.badgersinfoil.metaas.ASType
Sets the name by which this type is identified.
setPackage(String) - Method in interface uk.co.badgersinfoil.metaas.CompilationUnit
Modifies the name of the package containing the code of this compilation-unit.
setStatic(boolean) - Method in interface uk.co.badgersinfoil.metaas.ASMember
Defines this method to be static, or not.
setStatic(boolean) - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Defines whether this ActionScript method is static or not.
setSuperclass(String) - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Defines the name of the superclass for this ActionScript class.
setType(String) - Method in interface uk.co.badgersinfoil.metaas.ASMember
Defines the name of the type of object this ActionScript field may contain.
setType(String) - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Defines the name of the type of object returned by this ActionScript method.
setVisibility(Visibility) - Method in interface uk.co.badgersinfoil.metaas.ASMember
Defines the level of protection-against-external-access for this ActionScript field.
setVisibility(Visibility) - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Defines the level of protection-against-external-access for this ActionScript method.
setVisibility(Visibility) - Method in interface uk.co.badgersinfoil.metaas.ASType
Defines the visibility of this ActionScript type definition within the enclosing ActionScript3 package.

T

toString() - Method in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
 

U

uk.co.badgersinfoil.metaas - package uk.co.badgersinfoil.metaas
The metaas ActionScript source code generation / manipulation framework.

V

Visibility - interface uk.co.badgersinfoil.metaas.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.

W

write(Writer, CompilationUnit) - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
Writes the ActionScript code in the given CompilationUnit to the given Writer.

A C D G I N P R S T U V W