public class ResourceModuleCompilationUnit extends CompilationUnitBase
ICompilationUnit.Operation, ICompilationUnit.UnitTypeabc, 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, waitForBuildFinishpublic 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 CompilationUnitBaseISyntaxTreeRequestResult for this compilation unit.InterruptedExceptionprotected IFileScopeRequestResult handleFileScopeRequest() throws InterruptedException
handleFileScopeRequest in class CompilationUnitBaseIFileScopeRequestResult for this compilation unit.InterruptedExceptionprotected IOutgoingDependenciesRequestResult handleOutgoingDependenciesRequest() throws InterruptedException
handleOutgoingDependenciesRequest in class CompilationUnitBaseInterruptedExceptionprotected IABCBytesRequestResult handleABCBytesRequest() throws InterruptedException
handleABCBytesRequest in class CompilationUnitBaseInterruptedExceptionprotected ISWFTagsRequestResult handleSWFTagsRequest() throws InterruptedException
CompilationUnitBaseCalled 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 CompilationUnitBaseInterruptedExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.