public class StyleModuleCompilationUnit extends CompilationUnitBase
ICompilationUnit.Operation, ICompilationUnit.UnitTypeabc, DEFAULT_DO_ABC_TAG_NAME, fileScopeRequest, problems, syntaxTreeRequest| Constructor and Description |
|---|
StyleModuleCompilationUnit(CompilerProject project,
IFileSpecification cssFile,
DefinitionPriority.BasePriority basePriority)
Create a
StyleModuleCompilationUnit. |
| Modifier and Type | Method and Description |
|---|---|
ICompilationUnit.UnitType |
getCompilationUnitType() |
protected IABCBytesRequestResult |
handleABCBytesRequest()
Get the ABC byte code generated from the CSS file.
|
protected IFileScopeRequestResult |
handleFileScopeRequest()
Synthesize a file scope with a public definition of module main class.
|
protected IOutgoingDependenciesRequestResult |
handleOutgoingDependenciesRequest()
Collect CSS semantic problems.
|
protected ISWFTagsRequestResult |
handleSWFTagsRequest()
Get a
DoABCTag that contains the generated ABC byte code. |
protected ISyntaxTreeRequestResult |
handleSyntaxTreeRequest()
StyleModuleCompilationUnit does not provide an AST, unless we
decided to start CMP-879. |
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 StyleModuleCompilationUnit(CompilerProject project, IFileSpecification cssFile, DefinitionPriority.BasePriority basePriority)
StyleModuleCompilationUnit.project - Owner project.cssFile - Path to the source file.basePriority - Base priority.public ICompilationUnit.UnitType getCompilationUnitType()
protected ISyntaxTreeRequestResult handleSyntaxTreeRequest() throws InterruptedException
StyleModuleCompilationUnit does not provide an AST, unless we
decided to start CMP-879. However, the return value will contain the CSS
syntax errors in IRequestResult.getProblems().handleSyntaxTreeRequest in class CompilationUnitBaseISyntaxTreeRequestResult for this compilation unit.InterruptedExceptionprotected IFileScopeRequestResult handleFileScopeRequest() throws InterruptedException
handleFileScopeRequest in class CompilationUnitBaseIFileScopeRequestResult for this compilation unit.InterruptedExceptionprotected IABCBytesRequestResult handleABCBytesRequest() throws InterruptedException
This request depends on handleOutgoingDependenciesRequest().
handleABCBytesRequest in class CompilationUnitBaseInterruptedExceptionprotected ISWFTagsRequestResult handleSWFTagsRequest() throws InterruptedException
DoABCTag that contains the generated ABC byte code.handleSWFTagsRequest in class CompilationUnitBaseInterruptedExceptionprotected IOutgoingDependenciesRequestResult handleOutgoingDependenciesRequest() throws InterruptedException
This request depends on handleSyntaxTreeRequest().
handleOutgoingDependenciesRequest in class CompilationUnitBaseInterruptedExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.