| Package | Description |
|---|---|
| org.apache.royale.compiler.projects | |
| org.apache.royale.compiler.targets | |
| org.apache.royale.compiler.units | |
| org.apache.royale.compiler.workspaces |
| Modifier and Type | Method and Description |
|---|---|
ICompilationUnit |
ICompilerProject.resolveQNameToCompilationUnit(String qName)
Resolve a QName such as
mx.controls.Button to the containing
ICompilationUnit |
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilationUnit> |
ICompilerProject.getCompilationUnits() |
Collection<ICompilationUnit> |
ICompilerProject.getCompilationUnits(String filename)
Get all compilation units from the filename
|
Set<ICompilationUnit> |
ICompilerProject.getDirectDependencies(ICompilationUnit cu)
Gets the set of compilation units depended on directly
by the specified compilation unit.
|
Set<ICompilationUnit> |
ICompilerProject.getDirectReverseDependencies(ICompilationUnit cu,
DependencyTypeSet types)
Gets the set of compilation units that directly depend on the specified compilation unit.
|
Collection<ICompilationUnit> |
ICompilerProject.getIncludingCompilationUnits(String filename)
Get all compilation units from which the filename is included.
|
List<ICompilationUnit> |
ICompilerProject.getReachableCompilationUnitsInSWFOrder(Collection<ICompilationUnit> roots)
Given a set of roots node in the dependency graph, compute a list of
ICompilationUnit's that are reachable from the specified roots. |
| Modifier and Type | Method and Description |
|---|---|
Set<ICompilationUnit> |
ICompilerProject.getDirectDependencies(ICompilationUnit cu)
Gets the set of compilation units depended on directly
by the specified compilation unit.
|
Set<ICompilationUnit> |
ICompilerProject.getDirectReverseDependencies(ICompilationUnit cu,
DependencyTypeSet types)
Gets the set of compilation units that directly depend on the specified compilation unit.
|
| Modifier and Type | Method and Description |
|---|---|
List<ICompilationUnit> |
ICompilerProject.getReachableCompilationUnitsInSWFOrder(Collection<ICompilationUnit> roots)
Given a set of roots node in the dependency graph, compute a list of
ICompilationUnit's that are reachable from the specified roots. |
| Modifier and Type | Method and Description |
|---|---|
Set<ICompilationUnit> |
ITarget.getIncludesCompilationUnits()
Returns mixins.
|
| Modifier and Type | Method and Description |
|---|---|
IRequest<IABCBytesRequestResult,ICompilationUnit> |
ICompilationUnit.getABCBytesRequest()
Gets the request object from which the caller can extract the abc bytes
generated for this ICompilationUnit.
|
IRequest<IFileScopeRequestResult,ICompilationUnit> |
ICompilationUnit.getFileScopeRequest()
Gets the request object from which the caller can extract the root scope,
AST, and any parsing ICompilerProblems, for the CompilationUnit.
|
IRequest<IOutgoingDependenciesRequestResult,ICompilationUnit> |
ICompilationUnit.getOutgoingDependenciesRequest()
Gets the request object from which the caller cause the dependency graph to be updated
with all the dependencies from this compilation unit.
|
IRequest<ISWFTagsRequestResult,ICompilationUnit> |
ICompilationUnit.getSWFTagsRequest()
Gets the request object with which the caller can add the SWF tags
generated for this ICompilationUnit to a ISWF.
|
IRequest<ISyntaxTreeRequestResult,ICompilationUnit> |
ICompilationUnit.getSyntaxTreeRequest()
Gets the request object from which the caller can extract the syntax tree
and any source file parsing
ICompilerProblem's
for this ICompilationUnit. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ICompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope)
Removes all data created during a compile Clients should not call this
method directly, as it can potentially leave the ICompilationUnit in an
invalid state.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<ICompilerProject,Set<ICompilationUnit>> |
IWorkspace.NIL_COMPILATIONUNITS_TO_UPDATE
Empty map that can be passed to
IWorkspace.endIdleState(Map) by callers who do not have
a map containing ICompilationUnits whose updates to project
symbol tables have been deferred. |
| Modifier and Type | Method and Description |
|---|---|
Collection<ICompilationUnit> |
IWorkspace.getCompilationUnits(String path,
ICompilerProject project)
Get all compilation units in the specified project related to the
specified file name.
|
Iterable<ICompilationUnit> |
IWorkspace.getInvisibleAndVisibleCompilationUnits(String path,
ICompilerProject project)
Gets an iterator that iterates first over all invisible
ICompilationUnit's for the specified file path in the specified
ICompilerProject and then over all visible
ICompilationUnit's for the specified file path in the specified
ICompilerProject. |
| Modifier and Type | Method and Description |
|---|---|
void |
IWorkspaceProfilingDelegate.operationCompleted(ICompilationUnit cu,
ICompilationUnit.Operation operation)
Called when a ICompilationUnit operation completes executing.
|
void |
IWorkspaceProfilingDelegate.operationStarted(ICompilationUnit cu,
ICompilationUnit.Operation operation)
Called when a ICompilationUnit operation starts executing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IWorkspace.endIdleState(Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate)
Updates symbol table entries for all the
ICompilationUnits in the
specified map and unlocks the lock acquired by calling
IWorkspace.startIdleState(). |
Copyright © 2023 The Apache Software Foundation. All rights reserved.