|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ASCompilationUnit
A 'compilation unit' represents an entire file of ActionScript code.
ActionScriptProject.newClass(String),
ActionScriptProject.newInterface(String)| Method Summary | |
|---|---|
ASPackage |
getPackage()
Returns the first ActionScript package-block declaired in this compilation-unit. |
java.lang.String |
getPackageName()
Returns the name of the package, or null if the contents of the file are in the 'default' (top-level) package. |
ASType |
getType()
Returns the type ( ASClassType or ASInterfaceType)
which this file defines. |
void |
setPackageName(java.lang.String name)
Modifies the name of the package containing the code of this compilation-unit. |
| Method Detail |
|---|
java.lang.String getPackageName()
ASType getType()
ASClassType or ASInterfaceType)
which this file defines.
void setPackageName(java.lang.String name)
ASPackage getPackage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||