|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ASPackage
A package-declaration block within an ActionScript compilation-unit.
Method Summary | |
---|---|
void |
addImport(java.lang.String name)
Adds an import statement to this package block. |
java.util.List |
findImports()
Returns a list of strings specifying the names which are imported into this package by package-level import statements. |
java.lang.String |
getName()
Return the name of this package-block, or null if no name is present. |
ASType |
getType()
|
boolean |
removeImport(java.lang.String name)
Removes an import statement from this package block. |
void |
setName(java.lang.String name)
Sets the name of this package. |
Method Detail |
---|
java.lang.String getName()
package foo.bar { // ... }getName() will return the value "foo.bar".
void setName(java.lang.String name)
ASType getType()
java.util.List findImports()
void addImport(java.lang.String name)
boolean removeImport(java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |