Package | Description |
---|---|
org.apache.flex.compiler.clients |
This package contains classes implementing four compiler command-line tools:
MXMLC , COMPC , ASC , and Optimizer . |
org.apache.flex.compiler.common |
This package contains miscellaneous classes and interfaces
used by other compiler packages.
|
org.apache.flex.compiler.css |
This package contains interfaces and classes representing various CSS concepts.
|
org.apache.flex.compiler.definitions.references |
This package contains interfaces related to inter-definition references.
|
org.apache.flex.compiler.driver | |
org.apache.flex.compiler.internal.codegen.as | |
org.apache.flex.compiler.internal.codegen.js | |
org.apache.flex.compiler.internal.codegen.mxml | |
org.apache.flex.compiler.internal.css |
This package is the internal extension of the external
org.apache.flex.compiler.css package. |
org.apache.flex.compiler.internal.css.semantics | |
org.apache.flex.compiler.internal.definitions.references | |
org.apache.flex.compiler.internal.driver.as | |
org.apache.flex.compiler.internal.driver.js | |
org.apache.flex.compiler.internal.driver.mxml | |
org.apache.flex.compiler.internal.driver.mxml.flexjs | |
org.apache.flex.compiler.internal.driver.mxml.jsc | |
org.apache.flex.compiler.internal.driver.mxml.vf2js | |
org.apache.flex.compiler.internal.graph | |
org.apache.flex.compiler.internal.parsing.as | |
org.apache.flex.compiler.internal.projects |
This package is the internal counterpart of the external
org.apache.flex.compiler.projects package. |
org.apache.flex.compiler.internal.resourcebundles | |
org.apache.flex.compiler.internal.scopes |
This package is the internal counterpart of the external
org.apache.flex.compiler.scopes package. |
org.apache.flex.compiler.internal.targets |
This package is the internal counterpart of the external
org.apache.flex.compiler.targets package. |
org.apache.flex.compiler.internal.units |
This package is the internal counterpart of the external
org.apache.flex.compiler.units package. |
org.apache.flex.compiler.internal.workspaces |
This package is the internal counterpart of the external
org.apache.flex.compiler.workspaces package. |
org.apache.flex.compiler.projects |
This package contains interfaces representing projects.
|
org.apache.flex.compiler.targets |
This package contains interfaces related to targets.
|
org.apache.flex.compiler.units |
This package contains interfaces representing a compilation unit.
|
org.apache.flex.compiler.visitor.as | |
org.apache.flex.compiler.visitor.mxml | |
org.apache.flex.compiler.workspaces |
This package contains classes and interface related to workspaces,
which cache project-independent information.
|
org.apache.flex.swc |
This package and its subpackages contain a support library
for reading, writing, and representing SWC files.
|
Modifier and Type | Field and Description |
---|---|
protected ICompilationUnit |
MXMLC.mainCU |
Modifier and Type | Method and Description |
---|---|
ICompilationUnit |
IEmbedResolver.resolveCompilationUnit(ICompilerProject project)
A variant of
resolveCompilationUnit() that ignores problems. |
ICompilationUnit |
IEmbedResolver.resolveCompilationUnit(ICompilerProject project,
Collection<ICompilerProblem> problems)
Resolve the ICompilationUnit which is related to the node which
implements this interface
|
Modifier and Type | Method and Description |
---|---|
Collection<ICompilationUnit> |
ICSSManager.getDependentCompilationUnitsFromCSS(CSSCompilationSession session,
ICSSDocument cssDocument,
Collection<IDefinition> definitions,
Collection<ICompilerProblem> problems)
Find all the compilation units that the given
definitions depend
on in the given cssDocument . |
Modifier and Type | Method and Description |
---|---|
IDefinition |
IResolvedQualifiersReference.resolve(ICompilerProject project,
ICompilationUnit referencingCompilationUnit,
DependencyType dependencyType)
Resolves this reference to a definition in the given project.
|
Modifier and Type | Method and Description |
---|---|
IASWriter |
IBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> errors,
ICompilationUnit compilationUnit,
boolean enableDebug) |
IASWriter |
IBackend.createWriter(IASProject project,
List<ICompilerProblem> errors,
ICompilationUnit compilationUnit,
boolean enableDebug) |
Modifier and Type | Method and Description |
---|---|
void |
ASBlockWalker.visitCompilationUnit(ICompilationUnit unit) |
Constructor and Description |
---|
ASWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug)
Create a JSApplication writer.
|
Modifier and Type | Field and Description |
---|---|
protected ICompilationUnit |
JSWriter.compilationUnit |
Constructor and Description |
---|
JSWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug)
Create a JSApplication writer.
|
Modifier and Type | Method and Description |
---|---|
void |
MXMLBlockWalker.visitCompilationUnit(ICompilationUnit unit) |
Constructor and Description |
---|
MXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug)
Create a JSApplication writer.
|
Modifier and Type | Method and Description |
---|---|
Collection<ICompilationUnit> |
CSSManager.getDependentCompilationUnitsFromCSS(CSSCompilationSession session,
ICSSDocument cssDocument,
Collection<IDefinition> definitions,
Collection<ICompilerProblem> problems) |
Modifier and Type | Method and Description |
---|---|
static void |
CSSSemanticAnalyzer.validate(Set<ICompilationUnit> linkingCompilationUnits,
CSSCompilationSession session,
Collection<ICompilerProblem> problems)
Validate a CSS model.
|
Modifier and Type | Method and Description |
---|---|
IDefinition |
ResolvedQualifiersReference.resolve(ICompilerProject project,
ICompilationUnit referencingCompilationUnit,
DependencyType dt) |
Modifier and Type | Method and Description |
---|---|
IASWriter |
ASBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
IASWriter |
ASBackend.createWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
Modifier and Type | Class and Description |
---|---|
class |
JSCompilationUnit
JSCompilationUnit is the CompilationUnit for compiling ActionScript source
files to JavasScript.
|
Modifier and Type | Method and Description |
---|---|
ICompilationUnit |
JSSourceFileHandler.createCompilationUnit(CompilerProject proj,
String path,
DefinitionPriority.BasePriority basePriority,
int order,
String qname,
String locale)
Creates a new
ICompilationUnit instance for the specified project
and file. |
Modifier and Type | Method and Description |
---|---|
IJSWriter |
JSBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
IJSWriter |
JSBackend.createWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
Modifier and Type | Method and Description |
---|---|
ICompilationUnit |
MXMLSourceFileHandler.createCompilationUnit(CompilerProject proj,
String path,
DefinitionPriority.BasePriority basePriority,
int order,
String qname,
String locale)
Creates a new
ICompilationUnit instance for the specified project
and file. |
Modifier and Type | Method and Description |
---|---|
IJSWriter |
MXMLFlexJSSWCBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
IJSWriter |
MXMLFlexJSBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
Modifier and Type | Method and Description |
---|---|
IJSWriter |
MXMLJSCJSSWCBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
IJSWriter |
MXMLJSCJSBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
Modifier and Type | Method and Description |
---|---|
IJSWriter |
MXMLVF2JSSWCBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
IJSWriter |
MXMLVF2JSBackend.createMXMLWriter(IASProject project,
List<ICompilerProblem> problems,
ICompilationUnit compilationUnit,
boolean enableDebug) |
Modifier and Type | Field and Description |
---|---|
protected Collection<ICompilationUnit> |
XMLGraphWriter.roots |
Modifier and Type | Method and Description |
---|---|
static Map<ICompilationUnit,Integer> |
InvalidationBytesCalculator.calculateBytesChanged(Collection<ICompilationUnit> units) |
static Map<ICompilationUnit,Integer> |
InvalidationBytesCalculator.calculateTotalInvalidatedBytesChanged(Collection<ICompilationUnit> units)
Calculates how many bytes needs to be recompiled for each unit in the list of units
This will walk through the graph for each unit and add up the number of bytes for
each unique compilation unit that needs to be changed.
|
Modifier and Type | Method and Description |
---|---|
static Map<ICompilationUnit,Integer> |
InvalidationBytesCalculator.calculateBytesChanged(Collection<ICompilationUnit> units) |
static Map<ICompilationUnit,Integer> |
InvalidationBytesCalculator.calculateTotalInvalidatedBytesChanged(Collection<ICompilationUnit> units)
Calculates how many bytes needs to be recompiled for each unit in the list of units
This will walk through the graph for each unit and add up the number of bytes for
each unique compilation unit that needs to be changed.
|
Constructor and Description |
---|
GraphMLWriter(DependencyGraph graph,
Collection<ICompilationUnit> roots,
boolean useExternalDependencies,
LinkageChecker linkageChecker)
GraphMLWriter constructor
|
LinkReportWriter(DependencyGraph graph,
List<ICompilationUnit> roots,
LinkageChecker linkageChecker) |
XMLGraphWriter(DependencyGraph graph,
Collection<ICompilationUnit> roots)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
IncludeHandler.setProjectAndCompilationUnit(IASProject project,
ICompilationUnit compilationUnit)
Set project reference.
|
Modifier and Type | Field and Description |
---|---|
ICompilationUnit |
FlexJSProject.mainCU |
Modifier and Type | Method and Description |
---|---|
static Set<ICompilationUnit> |
DependencyGraph.computeInvalidationSet(Iterable<ICompilationUnit> roots)
Computes the set of
ICompilationUnit 's that should be cleaned
given a collection of ICompilationUnit 's that are known to need
cleaning. |
Collection<ICompilationUnit> |
DependencyGraph.getCompilationUnits() |
Collection<ICompilationUnit> |
CompilerProject.getCompilationUnits() |
Collection<ICompilationUnit> |
CompilerProject.getCompilationUnits(String filename) |
Set<ICompilationUnit> |
CompilerProject.getDependencies(ICompilationUnit cu)
Gets the set of dependencies referenced by the specified
ICompilationUnit . in the absence of wierd things like
defaults/theme css, this is just the set of ICompilationUnit 's
that define definitions directly referenced by the specified
ICompilationUnit . |
Set<ICompilationUnit> |
CompilerProject.getDependenciesOnDefinition(String definitionBaseName) |
Set<ICompilationUnit> |
CompilerProject.getDependenciesOnUnfoundDefinition(String definitionBaseName) |
Set<ICompilationUnit> |
CompilerProject.getDependenciesOnUnfoundReferencedSourceFile(String sourceFilename)
gets the set of all compilation units that have an unsatisfied reference to a given file.
|
Set<ICompilationUnit> |
DependencyGraph.getDirectDependencies(ICompilationUnit cu)
Get the Set of
ICompilationUnit 's depended on directly by the specified ICompilationUnit . |
Set<ICompilationUnit> |
CompilerProject.getDirectDependencies(ICompilationUnit cu) |
Set<ICompilationUnit> |
DependencyGraph.getDirectReverseDependencies(ICompilationUnit cu,
DependencyTypeSet types)
Get the Set of
ICompilationUnit 's that directly depended on the specified ICompilationUnit . |
Set<ICompilationUnit> |
CompilerProject.getDirectReverseDependencies(ICompilationUnit cu,
DependencyTypeSet types) |
Collection<ICompilationUnit> |
CompilerProject.getIncludingCompilationUnits(String filename) |
List<ICompilationUnit> |
CompilerProject.getReachableCompilationUnitsInSWFOrder(Collection<ICompilationUnit> roots) |
List<ICompilationUnit> |
DependencyGraph.topologicalSort(Collection<ICompilationUnit> roots)
Computes the list of all
ICompilationUnit 's that the specified
collection of ICompilationUnit 's depends directly or indirectly. |
List<ICompilationUnit> |
DependencyGraph.topologicalSort(Collection<ICompilationUnit> roots,
Comparator<ICompilationUnit> comparator)
Computes the list of all
ICompilationUnit 's that the specified
collection of ICompilationUnit 's depends directly or indirectly. |
Modifier and Type | Method and Description |
---|---|
void |
DependencyGraph.addCompilationUnit(ICompilationUnit cu)
Add a
ICompilationUnit to the dependency graph. |
void |
CompilerProject.addCompilationUnit(ICompilationUnit unit)
Add a
ICompilationUnit to the project. |
void |
DependencyGraph.addDependency(ICompilationUnit depender,
ICompilationUnit dependee,
DependencyType dt)
Adds an anonymous dependency to the dependency graph.
|
void |
CompilerProject.addDependency(ICompilationUnit from,
ICompilationUnit to,
DependencyType dt)
Adds an anonymous dependency from one
ICompilationUnit to another
ICompilationUnit . |
void |
DependencyGraph.addDependency(ICompilationUnit depender,
ICompilationUnit dependee,
DependencyTypeSet dt,
String targetQName)
Adds a dependency to the dependency graph.
|
void |
CompilerProject.addDependency(ICompilationUnit from,
ICompilationUnit to,
DependencyTypeSet dt,
String qname)
Adds a dependency from one
ICompilationUnit to another
ICompilationUnit . |
void |
FlexJSProject.addDependency(ICompilationUnit from,
ICompilationUnit to,
DependencyType dt,
String qname) |
void |
DependencyGraph.addDependency(ICompilationUnit depender,
ICompilationUnit dependee,
DependencyType dt,
String targetQName)
Adds a dependency to the dependency graph.
|
void |
CompilerProject.addDependency(ICompilationUnit from,
ICompilationUnit to,
DependencyType dt,
String qname)
Adds a dependency from one
ICompilationUnit to another
ICompilationUnit . |
void |
CompilerProject.addUnfoundDefinitionDependency(String definitionBaseName,
ICompilationUnit compilationUnit) |
void |
CompilerProject.addUnfoundReferencedSourceFileDependency(String sourceFilename,
ICompilationUnit compilationUnit)
Notify project that a compilation unit could not find a referenced file.
|
void |
CompilerProject.clearScopeCacheForCompilationUnit(ICompilationUnit compilationUnit)
Clears all the
ASScopeCache s associated with the specified
ICompilationUnit and removes all the IASScope s build by
the ICompilationUnit from the list of scopes associated with the
ICompilationUnit . |
boolean |
DependencyGraph.contains(ICompilationUnit unit) |
Set<ICompilationUnit> |
CompilerProject.getDependencies(ICompilationUnit cu)
Gets the set of dependencies referenced by the specified
ICompilationUnit . in the absence of wierd things like
defaults/theme css, this is just the set of ICompilationUnit 's
that define definitions directly referenced by the specified
ICompilationUnit . |
Map<String,DependencyTypeSet> |
DependencyGraph.getDependencySet(ICompilationUnit from,
ICompilationUnit to)
Finds the named dependencies between two compilation unit
|
DependencyTypeSet |
DependencyGraph.getDependencyTypes(ICompilationUnit from,
ICompilationUnit to)
Finds the dependencies between two
ICompilationUnit s |
Set<ICompilationUnit> |
DependencyGraph.getDirectDependencies(ICompilationUnit cu)
Get the Set of
ICompilationUnit 's depended on directly by the specified ICompilationUnit . |
Set<ICompilationUnit> |
CompilerProject.getDirectDependencies(ICompilationUnit cu) |
Set<ICompilationUnit> |
DependencyGraph.getDirectReverseDependencies(ICompilationUnit cu,
DependencyTypeSet types)
Get the Set of
ICompilationUnit 's that directly depended on the specified ICompilationUnit . |
Set<ICompilationUnit> |
CompilerProject.getDirectReverseDependencies(ICompilationUnit cu,
DependencyTypeSet types) |
ArrayList<String> |
FlexJSProject.getExternalRequires(ICompilationUnit from) |
ArrayList<String> |
FlexJSProject.getInterfaces(ICompilationUnit from) |
ArrayList<String> |
FlexJSProject.getRequires(ICompilationUnit from) |
void |
CompilerProject.removeAnyUnfoundDependencies(ICompilationUnit compilationUnit) |
void |
DependencyGraph.removeCompilationUnit(ICompilationUnit cu)
Removes an
ICompilationUnit from the dependency graph. |
void |
CompilerProject.removeCompilationUnit(ICompilationUnit unit)
Removes a
ICompilationUnit from the project. |
void |
DependencyGraph.removeDependencies(ICompilationUnit cu)
Remove all of the outgoing dependencies on a compilation unit.
|
void |
CompilerProject.resetScopeCacheForCompilationUnit(ICompilationUnit compilationUnit)
Resets all the
ASScopeCache s associated with the specified
ICompilationUnit . |
void |
CompilerProject.unitTestingEntryPointForRemovingCompilationUnit(ICompilationUnit unit)
Don't call this from production code.
|
Modifier and Type | Method and Description |
---|---|
void |
DependencyGraph.addCompilationUnits(Collection<ICompilationUnit> c)
Add a Collection of
ICompilationUnit 's to the dependency graph. |
void |
CompilerProject.addCompilationUnits(Collection<ICompilationUnit> units)
Add compilation units to the project.
|
void |
CompilerProject.addCompilationUnitsAndUpdateDefinitions(Collection<ICompilationUnit> compilationUnits)
Adds compilation units to the project and updates the public and private
definitions.
|
void |
SourcePathManager.collectionCompilationUnitsForRootSourceFile(File rootSourceFile,
Collection<ICompilationUnit> units)
Adds all the
ICompilationUnit 's whose root source file is the
specified File to the specified collection. |
void |
ASProject.collectionCompilationUnitsForRootSourceFile(File rootSourceFile,
Collection<ICompilationUnit> units)
Finds all the
ICompilationUnit 's in this project whose root source file is the specified file. |
static Set<ICompilationUnit> |
DependencyGraph.computeInvalidationSet(Iterable<ICompilationUnit> roots)
Computes the set of
ICompilationUnit 's that should be cleaned
given a collection of ICompilationUnit 's that are known to need
cleaning. |
List<ICompilationUnit> |
CompilerProject.getReachableCompilationUnitsInSWFOrder(Collection<ICompilationUnit> roots) |
void |
CompilerProject.removeCompilationUnits(Collection<ICompilationUnit> unitsToRemove)
Removes a set of
ICompilationUnit 's from the project. |
void |
CompilerProject.removeDependencies(Collection<ICompilationUnit> units)
Removes the outgoing dependencies of a collection of
ICompilationUnit . |
void |
ASCProject.setCompilationUnits(Collection<ICompilationUnit> units)
Removes all
ICompilationUnit 's that are currently in the project
and adds the ICompilationUnit 's in the specified collection to
the project. |
List<ICompilationUnit> |
DependencyGraph.topologicalSort(Collection<ICompilationUnit> roots)
Computes the list of all
ICompilationUnit 's that the specified
collection of ICompilationUnit 's depends directly or indirectly. |
List<ICompilationUnit> |
DependencyGraph.topologicalSort(Collection<ICompilationUnit> roots,
Comparator<ICompilationUnit> comparator)
Computes the list of all
ICompilationUnit 's that the specified
collection of ICompilationUnit 's depends directly or indirectly. |
List<ICompilationUnit> |
DependencyGraph.topologicalSort(Collection<ICompilationUnit> roots,
Comparator<ICompilationUnit> comparator)
Computes the list of all
ICompilationUnit 's that the specified
collection of ICompilationUnit 's depends directly or indirectly. |
void |
CompilerProject.updatePublicAndInternalDefinitions(Collection<ICompilationUnit> units)
Updates the
ASProjectScope to contain reference to public and
internal definitions in those compilation units. |
Modifier and Type | Method and Description |
---|---|
static Collection<ICompilationUnit> |
ResourceBundleUtils.findCompilationUnits(String bundleName,
ICompilerProject project,
Collection<ICompilerProblem> errors)
Find all the compilation units associated with the specified resource bundle name.
|
Modifier and Type | Method and Description |
---|---|
static void |
ResourceBundleUtils.resolveDependencies(String bundleName,
ICompilationUnit refCompUnit,
ICompilerProject project,
ISourceLocation location,
Collection<ICompilerProblem> errors)
Resolving the references to the specified resourceBundleName and adds the
necessary dependency from the specified compilation unit to resolved
resource bundle's compilation unit.
|
Modifier and Type | Field and Description |
---|---|
protected WeakReference<ICompilationUnit> |
ASFileScope.compilationUnitReference |
Modifier and Type | Method and Description |
---|---|
ICompilationUnit |
SWCFileScopeProvider.SWCFileScope.getCompilationUnit() |
ICompilationUnit |
ASProjectScope.DefinitionPromise.getCompilationUnit()
Gets the
ICompilationUnit that can satisfy this promise. |
ICompilationUnit |
ASFileScope.getCompilationUnit()
Get the
ICompilationUnit related to this ASFileScope . |
ICompilationUnit |
ASProjectScope.getCompilationUnitForDefinition(IDefinition def)
Gets the
ICompilationUnit that contains the specified
IDefinition . |
ICompilationUnit |
ASProjectScope.getCompilationUnitForScope(IASScope scope)
Get the ICompilationUnit from which the scope is declared
|
Modifier and Type | Method and Description |
---|---|
Set<ICompilationUnit> |
ASProjectScope.getCompilationUnitsByDefinitionName(String name)
Finds all the compilation units in the project that define or should
define a symbol with the specified base name.
|
Set<ICompilationUnit> |
ASProjectScope.getCompilationUnitsForReferences(Iterable<IResolvedQualifiersReference> references)
Find the
ICompilationUnit 's in the project that define or should
define the definitions that the specified list of references refer to. |
Set<ICompilationUnit> |
ASProjectScope.getCompilationUnitsForReferences(Iterable<IResolvedQualifiersReference> references,
Collection<IResolvedQualifiersReference> unresolvedReferences)
Find the
ICompilationUnit 's in the project that define or should
define the definitions that the specified list of references refer to. |
static Set<ICompilationUnit> |
ASProjectScope.getCompilationUnitsWithConflictingDefinitions(IWorkspace workspace,
Iterable<ICompilationUnit> units)
Find all the
ICompilationUnit s that define definitions with the same qualified name as the definitions defined by the
specified Iterable of ICompilationUnit s. |
Modifier and Type | Method and Description |
---|---|
void |
ASProjectScope.addScopeForCompilationUnit(ICompilationUnit cu,
ASFileScope scope)
Associates an
IASScope for a file or package scope with a
ICompilationUnit . |
Collection<IASScope> |
ASProjectScope.clearCompilationUnitScopeList(ICompilationUnit compilationUnit)
Clears the list of
IASScope s associated with the specified
ICompilationUnit . |
static ASProjectScope.DefinitionPromise |
ASProjectScope.createDefinitionPromise(String qname,
ICompilationUnit compilationUnit) |
void |
ASProjectScope.findDefinitionByName(ICompilationUnit referencingCU,
Collection<IDefinition> defs,
String baseName,
Set<INamespaceDefinition> namespaceSet,
DependencyType dt) |
Collection<IASScope> |
ASProjectScope.getCompilationUnitScopeList(ICompilationUnit compilationUnit)
Gets the
List of IASScope s that have an associated ASScopeCache or define
IDefinition s currently in the ASProjectScope for the specified ICompilationUnit . |
boolean |
SWCFileScopeProvider.SWCFileScope.setCompilationUnit(ICompilationUnit compilationUnit) |
boolean |
ASFileScope.setCompilationUnit(ICompilationUnit compilationUnit)
Set the
ICompilationUnit related to this ASFileScope . |
Modifier and Type | Method and Description |
---|---|
void |
ASProjectScope.addAllExternallyVisibleDefinitions(ArrayList<IRequest<IFileScopeRequestResult,ICompilationUnit>> scopeRequests)
Adds public and internal definitions of the specified scope requests to
this ASProjectScope scope.
|
static Set<ICompilationUnit> |
ASProjectScope.getCompilationUnitsWithConflictingDefinitions(IWorkspace workspace,
Iterable<ICompilationUnit> units)
Find all the
ICompilationUnit s that define definitions with the same qualified name as the definitions defined by the
specified Iterable of ICompilationUnit s. |
void |
ASProjectScope.removeCompilationUnits(Collection<ICompilationUnit> compilationUnitsToRemove)
Removes a set of
ICompilationUnit 's from the project scope. |
Modifier and Type | Field and Description |
---|---|
protected ICompilationUnit |
JSTarget.mainCU |
protected ICompilationUnit |
FlexJSSWCTarget.mainCU |
Modifier and Type | Field and Description |
---|---|
com.google.common.collect.ImmutableSet<ICompilationUnit> |
Target.BuiltCompilationUnitSet.compilationUnits |
protected Set<ICompilationUnit> |
LibrarySWFTarget.rootedCompilationUnits |
Set<ICompilationUnit> |
SWFTarget.SWFFrameInfo.rootedUnits |
Modifier and Type | Method and Description |
---|---|
protected ICompilationUnit |
AppSWFTarget.getRootClassCompilationUnit() |
Modifier and Type | Method and Description |
---|---|
protected Set<ICompilationUnit> |
FlexJSTarget.findAllCompilationUnitsToLink(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Discovers dependent compilation units from a set of root compilation
units.
|
protected Set<ICompilationUnit> |
Target.findAllCompilationUnitsToLink(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Discovers dependent compilation units from a set of root compilation
units.
|
protected Set<ICompilationUnit> |
FlexAppSWFTarget.findAllCompilationUnitsToLink(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Discovers dependent compilation units from a set of root compilation
units.
|
com.google.common.collect.ImmutableSet<ICompilationUnit> |
LibrarySWFTarget.getCompilationUnits() |
com.google.common.collect.ImmutableSet<ICompilationUnit> |
ILibrarySWFTarget.getCompilationUnits()
Get the compilation units included in this SWF.
|
protected Set<ICompilationUnit> |
Target.getDependentCompilationUnits(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Computes the set of all all
ICompilationUnit 's whose output is
part of the output of this target. |
Collection<ICompilationUnit> |
Target.getIncludedResourceBundlesCompilationUnits(Collection<ICompilerProblem> problems) |
protected Collection<ICompilationUnit> |
Target.getIncludeLibrariesCompilationUnits()
Get a collection of compilation units for all of the classes found in
all of the libraries found in the -include-libraries path.
|
Set<ICompilationUnit> |
Target.getIncludesCompilationUnits()
Gets a set of
ICompilationUnit s that are included into the build
process by -include-classes compiler argument. |
com.google.common.collect.ImmutableList<ICompilationUnit> |
Target.getReachableCompilationUnits(Collection<ICompilerProblem> problems) |
Set<ICompilationUnit> |
Target.RootedCompilationUnits.getUnits() |
Modifier and Type | Method and Description |
---|---|
IJSApplication |
JSTarget.build(ICompilationUnit unit,
Collection<ICompilerProblem> problems) |
protected void |
SWFTarget.doAddMetadataNamesToTarget(ICompilationUnit cu,
boolean linkedIn)
Add metadata names to the target for this compilation unit.
|
Target.DirectDependencies |
FlexTarget.getAccessibilityDependencies(ICompilationUnit compilationUnit)
Find the accessible compilation units on a set of compilation units.
|
protected Target.DirectDependencies |
Target.getDirectDependencies(ICompilationUnit cu) |
protected Target.DirectDependencies |
FlexLibrarySWFTarget.getDirectDependencies(ICompilationUnit cu) |
protected Target.DirectDependencies |
FlexAppSWFTarget.getDirectDependencies(ICompilationUnit cu) |
boolean |
LinkageChecker.isExternal(ICompilationUnit cu)
Test if a compilation is should be included in the target or not.
|
protected boolean |
Target.isLinkageExternal(ICompilationUnit cu,
ITargetSettings targetSettings)
Determine if a compilation unit should be linked into the target.
|
protected boolean |
SWFTarget.shouldAddMetadataNamesToTarget(ICompilationUnit cu,
boolean linkedIn)
Test if any metadata names associated with the compilation unit should be
added to the target.
|
protected boolean |
LibrarySWFTarget.shouldAddMetadataNamesToTarget(ICompilationUnit cu,
boolean linkage) |
protected boolean |
SWFTarget.testCompilationUnitLinkage(ICompilationUnit cu,
boolean allowExternals)
Test if a compilation unit should be include in this target.
|
protected boolean |
LibrarySWFTarget.testCompilationUnitLinkage(ICompilationUnit cu,
boolean allowExternals) |
protected void |
Target.waitForCompilationUnitToFinish(ICompilationUnit cu,
Collection<ICompilerProblem> problems)
Waits for the specified
ICompilationUnit to finish building and
add any problems found in the specified ICompilationUnit to the
specified Collection . |
protected void |
FlexLibrarySWFTarget.waitForCompilationUnitToFinish(ICompilationUnit cu,
Collection<ICompilerProblem> problems) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
SWFTarget.addCompilationUnitsAndDependenciesToFrame(SWFFrame frame,
Collection<ICompilationUnit> rootedUnitsForFrame,
boolean allowExternals,
Set<ICompilationUnit> emittedCompilationUnits) |
protected boolean |
SWFTarget.addCompilationUnitsAndDependenciesToFrame(SWFFrame frame,
Collection<ICompilationUnit> rootedUnitsForFrame,
boolean allowExternals,
Set<ICompilationUnit> emittedCompilationUnits) |
protected void |
JSTarget.buildAndCollectProblems(Set<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems) |
void |
FlexJSTarget.collectMixinMetaData(TreeSet<String> mixinClassNames,
List<ICompilationUnit> units) |
protected SWFFrame |
SWFTarget.FramesInformation.createFrame(SWFTarget swfTarget,
SWFTarget.SWFFrameInfo frameInfo,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates a
SWFFrame for a SWFTarget.SWFFrameInfo . |
protected SWFFrame |
SWFTarget.FramesInformation.createFrame(SWFTarget swfTarget,
SWFTarget.SWFFrameInfo frameInfo,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates a
SWFFrame for a SWFTarget.SWFFrameInfo . |
protected void |
SWFTarget.FramesInformation.createFrames(SWFTarget swfTarget,
ISWF swf,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates all the
SWFFrame s for the SWF skeleton represented by
this SWFTarget.FramesInformation and adds them to the specified
ISWF . |
protected void |
SWFTarget.FramesInformation.createFrames(SWFTarget swfTarget,
ISWF swf,
com.google.common.collect.ImmutableSet<ICompilationUnit> builtCompilationUnits,
Set<ICompilationUnit> emittedCompilationUnits,
Collection<ICompilerProblem> problems)
Creates all the
SWFFrame s for the SWF skeleton represented by
this SWFTarget.FramesInformation and adds them to the specified
ISWF . |
protected SWFFrame |
SWFTarget.createWithClassesAndItsDependencies(SWFFrame frame,
Collection<ClassDefinition> frameRootClasses,
ASProjectScope projectScope,
boolean allowExternals,
Set<ICompilationUnit> emittedCompilationUnits)
Add a set of root classes and its dependencies to a new frame or to an existing
frame.
|
protected void |
SWFTarget.doPostBuildWork(com.google.common.collect.ImmutableSet<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Check the build and analyze the results before the SWF target is
initialized.
|
protected void |
LibrarySWFTarget.doPostBuildWork(com.google.common.collect.ImmutableSet<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems) |
protected Set<ICompilationUnit> |
FlexJSTarget.findAllCompilationUnitsToLink(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Discovers dependent compilation units from a set of root compilation
units.
|
protected Set<ICompilationUnit> |
Target.findAllCompilationUnitsToLink(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Discovers dependent compilation units from a set of root compilation
units.
|
protected Set<ICompilationUnit> |
FlexAppSWFTarget.findAllCompilationUnitsToLink(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Discovers dependent compilation units from a set of root compilation
units.
|
static com.google.common.collect.ImmutableList<IDefinition> |
Target.getAllExternallyVisibleDefinitions(Collection<ICompilationUnit> compilationUnits)
Find all the externally visible definitions in the given compilation unit
list.
|
protected Set<ICompilationUnit> |
Target.getDependentCompilationUnits(Collection<ICompilationUnit> compilationUnits,
Collection<ICompilerProblem> problems)
Computes the set of all all
ICompilationUnit 's whose output is
part of the output of this target. |
protected IJSApplication |
JSTarget.initializeApplication(List<ICompilationUnit> reachableCompilationUnits) |
protected ISWF |
SWFTarget.initializeSWF(List<ICompilationUnit> reachableCompilationUnits)
Initialize SWF model with default header values from the target settings
when not overridden by the target attributes.
|
protected ISWF |
FlexLibrarySWFTarget.initializeSWF(List<ICompilationUnit> reachableCompilationUnits) |
protected ISWF |
FlexAppSWFTarget.initializeSWF(List<ICompilationUnit> reachableCompilationUnits) |
Constructor and Description |
---|
AppSWFTarget(CompilerProject project,
ITargetSettings targetSettings,
ITargetProgressMonitor progressMonitor,
Set<ICompilationUnit> additionalRootedCompilationUnits)
Constructor
|
FlexLibrarySWFTarget(FlexProject project,
ITargetSettings targetSettings,
Set<ICompilationUnit> rootedCompilationUnits) |
LibrarySWFTarget(CompilerProject project,
ITargetSettings targetSettings,
Set<ICompilationUnit> rootedCompilationUnits) |
SWFTarget.SWFFrameInfo(Set<ICompilationUnit> rootedUnits,
Iterable<ICompilerProblem> problems) |
SWFTarget.SWFFrameInfo(String frameLabel,
boolean allowExternals,
Set<ICompilationUnit> rootedUnits,
Iterable<ICompilerProblem> problems) |
Target.RootedCompilationUnits(Set<ICompilationUnit> units,
Iterable<ICompilerProblem> problems) |
Modifier and Type | Class and Description |
---|---|
class |
ABCCompilationUnit
This class represents a compilation unit for an ABC file.
|
class |
ASCompilationUnit |
class |
CompilationUnitBase
Abstract class used to share implementation of some ICompilationUnit methods
across multiple concrete implementation classes.
|
class |
EmbedCompilationUnit
This is a Compilation Unit which handles transcoding and embedding of embed
meta data.
|
class |
FXGCompilationUnit
This is a Compilation Unit which handles FXG compilation
|
class |
ImportedASCompilationUnit
A compilation unit for AS files that are imported into ASC using the
-import option.
|
class |
InvisibleCompilationUnit
Implementation of
IInvisibleCompilationUnit . |
class |
MXMLCompilationUnit |
class |
ResourceBundleCompilationUnit
This is a compilation unit that handles .properties file compilation.
|
class |
ResourceModuleCompilationUnit
The main compilation unit for a Resource module project.
|
class |
ServicesXMLCompilationUnit
A compilation unit used to compile Flex dependencies from BlazeDS.
|
class |
StyleModuleCompilationUnit
The main compilation unit for a CSS module project.
|
class |
SWCCompilationUnit
This is a compilation unit for a script in a SWC library.
|
Modifier and Type | Field and Description |
---|---|
protected AtomicReference<IRequest<IABCBytesRequestResult,ICompilationUnit>> |
CompilationUnitBase.abc |
protected AtomicReference<IRequest<IFileScopeRequestResult,ICompilationUnit>> |
CompilationUnitBase.fileScopeRequest |
protected AtomicReference<IRequest<IOutgoingDependenciesRequestResult,ICompilationUnit>> |
CompilationUnitBase.problems |
protected AtomicReference<IRequest<ISyntaxTreeRequestResult,ICompilationUnit>> |
CompilationUnitBase.syntaxTreeRequest |
Modifier and Type | Method and Description |
---|---|
ICompilationUnit |
SourceCompilationUnitFactory.createCompilationUnit(File file,
DefinitionPriority.BasePriority basePriority,
int order,
String qname,
String locale)
Constructs an
ICompilationUnit that can process the specified
file, if there is a registered handler that can handle the specified
file. |
Modifier and Type | Method and Description |
---|---|
Collection<WeakReference<ICompilationUnit>> |
StringToCompilationUnitMap.get(String sortKey)
Gets a
Collection of ICompilationUnit 's that refer to
the specified file as their root source file. |
Collection<WeakReference<ICompilationUnit>> |
StringToCompilationUnitMap.get(String sortKey,
ICompilerProject project)
Gets the a
Collection of ICompilationUnit 's that refer to
the specified file as their root source file for a specific project |
IRequest<IABCBytesRequestResult,ICompilationUnit> |
InvisibleCompilationUnit.getABCBytesRequest() |
IRequest<IABCBytesRequestResult,ICompilationUnit> |
CompilationUnitBase.getABCBytesRequest() |
IRequest<IFileScopeRequestResult,ICompilationUnit> |
InvisibleCompilationUnit.getFileScopeRequest() |
IRequest<IFileScopeRequestResult,ICompilationUnit> |
CompilationUnitBase.getFileScopeRequest() |
Collection<WeakReference<ICompilationUnit>> |
StringToCompilationUnitMap.getInvisible(String sortKey)
Gets a
Collection of invisible ICompilationUnit 's that refer to
the specified file as their root source file. |
Collection<WeakReference<ICompilationUnit>> |
StringToCompilationUnitMap.getInvisible(String sortKey,
ICompilerProject project)
Gets the a
Collection of invisible ICompilationUnit 's that refer to
the specified file as their root source file for a specific project |
IRequest<IOutgoingDependenciesRequestResult,ICompilationUnit> |
InvisibleCompilationUnit.getOutgoingDependenciesRequest() |
IRequest<IOutgoingDependenciesRequestResult,ICompilationUnit> |
CompilationUnitBase.getOutgoingDependenciesRequest() |
IRequest<ISWFTagsRequestResult,ICompilationUnit> |
InvisibleCompilationUnit.getSWFTagsRequest() |
IRequest<ISWFTagsRequestResult,ICompilationUnit> |
CompilationUnitBase.getSWFTagsRequest() |
IRequest<ISyntaxTreeRequestResult,ICompilationUnit> |
InvisibleCompilationUnit.getSyntaxTreeRequest() |
IRequest<ISyntaxTreeRequestResult,ICompilationUnit> |
CompilationUnitBase.getSyntaxTreeRequest() |
Collection<WeakReference<ICompilationUnit>> |
StringToCompilationUnitMap.getVisibleAndInvisible(String sortKey)
Gets a
Collection of visible and invisible ICompilationUnit 's that refer to
the specified file as their root source file. |
Collection<ICompilationUnit> |
StringToCompilationUnitMap.remove(String sortKey,
ICompilationUnit cuToRemove)
Removes the specified CompilationUnit from the path to compilation unit map, removing
the path only when there are no compilation units remaining
|
Modifier and Type | Method and Description |
---|---|
void |
StringToCompilationUnitMap.add(String[] files,
ICompilationUnit cu)
Adds entries for multiple file names all referenced from the same compilation unit.
|
void |
StringToCompilationUnitMap.add(String sortKey,
ICompilationUnit cu)
Adds the specified
ICompilationUnit whose root source file
is the specified File to the map. |
protected static String |
SWCCompilationUnit.getLinkReportName(ICompilationUnit cu) |
ICompilationUnit.Operation[] |
ABCCompilationUnit.notifyDependencyOperationResultsInvalid(ICompilationUnit dependency,
ICompilationUnit.Operation[] invalidatedOperations) |
Collection<ICompilationUnit> |
StringToCompilationUnitMap.remove(String sortKey,
ICompilationUnit cuToRemove)
Removes the specified CompilationUnit from the path to compilation unit map, removing
the path only when there are no compilation units remaining
|
Modifier and Type | Method and Description |
---|---|
boolean |
ServicesXMLCompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
boolean |
InvisibleCompilationUnit.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
boolean |
CompilationUnitBase.clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles,
Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate,
boolean clearFileScope) |
Constructor and Description |
---|
ResourceModuleCompilationUnit(CompilerProject project,
String qname,
Collection<ICompilationUnit> resourceBundleCompUnits,
DefinitionPriority.BasePriority basePriority)
Create a
ResourceModuleCompilationUnit . |
Modifier and Type | Method and Description |
---|---|
Collection<WeakReference<ICompilationUnit>> |
Workspace.getCompilationUnits(String path)
Get all compilation units from the filename across all projects
|
Collection<ICompilationUnit> |
Workspace.getCompilationUnits(String path,
ICompilerProject project) |
Collection<ICompilationUnit> |
Workspace.getIncludingCompilationUnits(String path,
ICompilerProject project)
Get all compilation units from which the filename is included related to the specified
project
|
Iterable<ICompilationUnit> |
Workspace.getInvisibleAndVisibleCompilationUnits(String path,
ICompilerProject project) |
Collection<WeakReference<ICompilationUnit>> |
Workspace.getInvisibleCompilationUnits(String path)
Get all invisible compilation units from the filename across all projects
|
Modifier and Type | Method and Description |
---|---|
void |
Workspace.addCompilationUnit(ICompilationUnit compilationUnit)
Maintain a mapping between filenames and compilation units.
|
void |
Workspace.addIncludedFilesToCompilationUnit(ICompilationUnit includingCompilationUnit,
Collection<String> includedFiles)
Specifies that the specified compilation unit includes the specified list
of files.
|
IFileSpecification |
Workspace.getFileSpecificationForCompilationUnit(ICompilationUnit compilationUnit)
Gets the
IFileSpecification for the root source file of the
specified ICompilationUnit . |
void |
Workspace.removeCompilationUnit(ICompilationUnit compilationUnit)
Remove a compilation unit from the filename to compilation unit map
|
void |
Workspace.removeIncludedFilesToCompilationUnit(ICompilationUnit includingCompilationUnit,
Collection<String> includedFiles)
Remove any references to the compilation unit to the collection of include files it includes.
|
Modifier and Type | Method and Description |
---|---|
void |
Workspace.endIdleState(Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate) |
void |
Workspace.swcChanged(Collection<ICompilationUnit> unitsRemoved,
Collection<ICompilationUnit> unitsAdded,
Runnable runWhileIdle)
When an ISWC has changed in memory, invalidate any compilation units which depend on the
units which depend on the SWC
|
void |
Workspace.swcChanged(Collection<ICompilationUnit> unitsRemoved,
Collection<ICompilationUnit> unitsAdded,
Runnable runWhileIdle)
When an ISWC has changed in memory, invalidate any compilation units which depend on the
units which depend on the SWC
|
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 | Interface and Description |
---|---|
interface |
IInvisibleCompilationUnit
A public interface clients may use to compile a transient version of a file.
|
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 | Method and Description |
---|---|
void |
IASBlockVisitor.visitCompilationUnit(ICompilationUnit unit) |
Modifier and Type | Method and Description |
---|---|
void |
IMXMLBlockVisitor.visitCompilationUnit(ICompilationUnit unit) |
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 ICompilationUnit s 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
ICompilationUnit s in the
specified map and unlocks the lock acquired by calling
IWorkspace.startIdleState() . |
Modifier and Type | Field and Description |
---|---|
protected ICompilationUnit |
SWCDepends.mainCU |
Copyright © 2016 The Apache Software Foundation. All rights reserved.