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

A

addComment(String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Adds a single-line comment to list of statements being generated
addCompilationUnit(CompilationUnit) - Method in interface uk.co.badgersinfoil.metaas.ASProject
 
addImplementedInterface(String) - Method in interface uk.co.badgersinfoil.metaas.ASClassType
Adds an interface name to the list of interfaces which this ActionScript class implements.
addImport(String) - Method in interface uk.co.badgersinfoil.metaas.ASPackage
Adds an import statement to this package block.
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.
ASArg - Interface in uk.co.badgersinfoil.metaas
Definition of a method parameter.
ASBlock - Interface in uk.co.badgersinfoil.metaas
A code-block, as used for a while-loop body or if-statement branch.
ASClassType - Interface in uk.co.badgersinfoil.metaas
A handle on the definition of an ActionScript class
ASConstants - Interface in uk.co.badgersinfoil.metaas
Constant values giving the names of the fundamental ActionScript types
ASField - Interface in uk.co.badgersinfoil.metaas
Represents an ActionScript field definition within an ActionScript class.
ASIfStatement - Interface in uk.co.badgersinfoil.metaas
Obtained from StatementContainer.newIf(String), an ASIfStatement allows statements to be added to the 'then' and else' branches.
ASInterfaceType - Interface in uk.co.badgersinfoil.metaas
A handle on the definition of an ActionScript interface.
ASMember - Interface in uk.co.badgersinfoil.metaas
A member of a type; an ASMethod or ASField.
ASMethod - Interface in uk.co.badgersinfoil.metaas
Represents an ActionScript method definition within an ActionScript class or interface.
ASMethod.AccessorRole - Class in uk.co.badgersinfoil.metaas
Constants defined by this class denote whether a method is actually an acessor 'get' or 'set' function.
ASPackage - Interface in uk.co.badgersinfoil.metaas
A package-declaration block within an ActionScript compilation-unit.
ASParser - Interface in uk.co.badgersinfoil.metaas
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.
ASProject - Interface in uk.co.badgersinfoil.metaas
 
ASSourceFactory - Class in uk.co.badgersinfoil.metaas
Core class providing access to metaas functionality.
ASSourceFactory() - Constructor for class uk.co.badgersinfoil.metaas.ASSourceFactory
 
ASSwitchStatement - Interface in uk.co.badgersinfoil.metaas
Obtained from StatementContainer.newSwitch(String), an ASSwitchStatement allows 'case' and 'default' statements to be added to to the 'switch' statement.
ASType - Interface in uk.co.badgersinfoil.metaas
Superinterface for ASClassType and ASInterfaceType.
ASWriter - Interface in uk.co.badgersinfoil.metaas
Writes the ActionScript code in the given CompilationUnit to the given Writer.

C

CompilationUnit - Interface in uk.co.badgersinfoil.metaas
A 'compilation unit' represents an entire file of ActionScript code.
containsCode() - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
Returns true if if this container currently contains at least one statement, and false if it is empty, or contains only comments and whitespace.

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.

F

findImports() - Method in interface uk.co.badgersinfoil.metaas.ASPackage
Returns a list of strings specifying the names which are imported into this package by package-level import statements.

G

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.
getCompilationUnits() - Method in interface uk.co.badgersinfoil.metaas.ASProject
 
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.ASPackage
Return the name of this package-block, or null if no name is present.
getName() - Method in interface uk.co.badgersinfoil.metaas.ASType
Returns the name of this class or interface, excluding any package prefix.
getOutputLocation() - Method in interface uk.co.badgersinfoil.metaas.ASProject
 
getPackage() - Method in interface uk.co.badgersinfoil.metaas.CompilationUnit
Returns the first ActionScript package-block declaired in this compilation-unit.
getPackageName() - 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.
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.
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.
GETTER - Static variable in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
The method is a 'set' accessor
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.ASPackage
 
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

isConst() - Method in interface uk.co.badgersinfoil.metaas.ASField
 
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

newBlock() - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
 
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 interface uk.co.badgersinfoil.metaas.ASProject
Shortcode for ASSourceFactory.newClass(String) that also adds the resulting CompilationUnit to the list managed by this project.
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.
newEmptyASProject(String) - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
 
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.
newForEachIn(String, String) - Method in interface uk.co.badgersinfoil.metaas.StatementContainer
 
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 interface uk.co.badgersinfoil.metaas.ASProject
Shortcode for ASSourceFactory.newInterface(String) that also adds the resulting CompilationUnit to the list managed by this project.
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.
newParser() - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
 
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.
newWriter() - Method in class uk.co.badgersinfoil.metaas.ASSourceFactory
 
NORMAL_METHOD - Static variable in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
A standard method; not a getter or setter.

P

parse(Reader) - Method in interface uk.co.badgersinfoil.metaas.ASParser
 
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.

R

removeCompilationUnit(CompilationUnit) - Method in interface uk.co.badgersinfoil.metaas.ASProject
 
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.
removeImport(String) - Method in interface uk.co.badgersinfoil.metaas.ASPackage
Removes an import statement from this package block.
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.
removeParam(String) - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Removes the named parameter from this ActionScript methods formal parameter list.
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

setAccessorRole(ASMethod.AccessorRole) - Method in interface uk.co.badgersinfoil.metaas.ASMethod
Allows the role of a method to be changed.
setConst(boolean) - Method in interface uk.co.badgersinfoil.metaas.ASField
 
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.ASPackage
Sets the name of this package.
setName(String) - Method in interface uk.co.badgersinfoil.metaas.ASType
Sets the name by which this type is identified.
setOutputLocation(String) - Method in interface uk.co.badgersinfoil.metaas.ASProject
 
setPackageName(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.
SETTER - Static variable in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
The method is a 'get' accessor
setThen(ASBlock) - Method in interface uk.co.badgersinfoil.metaas.ASIfStatement
 
setType(String) - Method in interface uk.co.badgersinfoil.metaas.ASArg
Defines the name of the type of object this parameter may reference.
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.
StatementContainer - Interface in uk.co.badgersinfoil.metaas
Defines the common services provided by structures which can contain ActionScript 'statements'.
str(String) - Static method in class uk.co.badgersinfoil.metaas.ASSourceFactory
Escape the given String and place within double quotes so that it will be a valid ActionScript string literal.
SyntaxException - Exception in uk.co.badgersinfoil.metaas
Thrown when ActionScript code which is syntactically invalid is encountered.
SyntaxException(String) - Constructor for exception uk.co.badgersinfoil.metaas.SyntaxException
Constructs a new SyntaxException with the specified detail message.
SyntaxException(Exception) - Constructor for exception uk.co.badgersinfoil.metaas.SyntaxException
Constructs a new SyntaxException with the specified cause.

T

toString() - Method in class uk.co.badgersinfoil.metaas.ASMethod.AccessorRole
 
TYPE_ARRAY - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 
TYPE_BOOLEAN - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 
TYPE_DATE - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 
TYPE_INT - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 
TYPE_NUMBER - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 
TYPE_STRING - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 
TYPE_UINT - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 
TYPE_VOID - Static variable in interface uk.co.badgersinfoil.metaas.ASConstants
 

U

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

V

Visibility - Interface in uk.co.badgersinfoil.metaas
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 interface uk.co.badgersinfoil.metaas.ASWriter
 
writeAll() - Method in interface uk.co.badgersinfoil.metaas.ASProject
Writes all CompilationUnits that have been added to this project to the output location.

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

Copyright © 2006 null. All Rights Reserved.