public class ResourceModuleCompilationUnit extends CompilationUnitBase
ICompilationUnit.Operation, ICompilationUnit.UnitType
abc, DEFAULT_DO_ABC_TAG_NAME, fileScopeRequest, problems, syntaxTreeRequest
Constructor and Description |
---|
ResourceModuleCompilationUnit(CompilerProject project,
String qname,
Collection<ICompilationUnit> resourceBundleCompUnits,
DefinitionPriority.BasePriority basePriority)
Create a
ResourceModuleCompilationUnit . |
Modifier and Type | Method and Description |
---|---|
ICompilationUnit.UnitType |
getCompilationUnitType() |
protected IABCBytesRequestResult |
handleABCBytesRequest()
Get the ABC byte code generated from this module class.
|
protected IFileScopeRequestResult |
handleFileScopeRequest()
Synthesize a file scope with a public definition of module main class.
|
protected IOutgoingDependenciesRequestResult |
handleOutgoingDependenciesRequest()
Manually add dependencies to all the classes/interfaces used in the module class
that will be generated for this compilation unit.
|
protected ISWFTagsRequestResult |
handleSWFTagsRequest()
Builds a ISWFTagsRequestResult.
|
protected ISyntaxTreeRequestResult |
handleSyntaxTreeRequest()
ResourceModuleCompilationUnit does not provide an AST. |
addScopeToProjectScope, clean, clearIncludedFilesFromWorkspace, clearProject, getABCBytesRequest, getAbsoluteFilename, getDefinitionPriority, getDefinitionPromises, getEmbeddedFilenames, getEncodedDebugFiles, getFilenameNoPath, getFileScopeRequest, getFileSpecificationGetter, getName, getOutgoingDependenciesRequest, getProject, getQualifiedNames, getRootFileSpecification, getShortNames, getSWFTagsRequest, getSyntaxTreeRequest, handleClean, isInvisible, makeInvisible, operationsCompleted, removeAST, setFileSpecificationGetter, startBuildAsync, startParsingImports, startProfile, stopProfile, toString, updateEmbedCompilationUnitDependencies, updateStyleCompilationUnitDependencies, verifyAST, waitForBuildFinish
public ResourceModuleCompilationUnit(CompilerProject project, String qname, Collection<ICompilationUnit> resourceBundleCompUnits, DefinitionPriority.BasePriority basePriority)
ResourceModuleCompilationUnit
.project
- owner project.resourceBundleCompUnits
- list of resource bundle compilation units
to include in this resource modulebasePriority
- base priority.public ICompilationUnit.UnitType getCompilationUnitType()
protected ISyntaxTreeRequestResult handleSyntaxTreeRequest() throws InterruptedException
ResourceModuleCompilationUnit
does not provide an AST.handleSyntaxTreeRequest
in class CompilationUnitBase
ISyntaxTreeRequestResult
for this compilation unit.InterruptedException
protected IFileScopeRequestResult handleFileScopeRequest() throws InterruptedException
handleFileScopeRequest
in class CompilationUnitBase
IFileScopeRequestResult
for this compilation unit.InterruptedException
protected IOutgoingDependenciesRequestResult handleOutgoingDependenciesRequest() throws InterruptedException
handleOutgoingDependenciesRequest
in class CompilationUnitBase
InterruptedException
protected IABCBytesRequestResult handleABCBytesRequest() throws InterruptedException
handleABCBytesRequest
in class CompilationUnitBase
InterruptedException
protected ISWFTagsRequestResult handleSWFTagsRequest() throws InterruptedException
CompilationUnitBase
Called by this class from potentially any thread. This class guarantees that this method will only be entered from one thread at a time for a given instance of this class, so implementations do not need to make this a synchronized method.
handleSWFTagsRequest
in class CompilationUnitBase
InterruptedException
Copyright © 2016 The Apache Software Foundation. All rights reserved.