public class EmbedCompilationUnit extends CompilationUnitBase
ICompilationUnit.Operation, ICompilationUnit.UnitTypeabc, DEFAULT_DO_ABC_TAG_NAME, fileScopeRequest, problems, syntaxTreeRequest| Constructor and Description |
|---|
EmbedCompilationUnit(CompilerProject project,
EmbedData data) |
| Modifier and Type | Method and Description |
|---|---|
ICompilationUnit.UnitType |
getCompilationUnitType() |
EmbedData |
getEmbedData() |
String |
getName()
Gets a string that is unique to the compilation unit instance and can be
used to produce an ordering of compilation units that is stable across
different compilation runs.
|
protected IABCBytesRequestResult |
handleABCBytesRequest()
Builds a IABCBytesRequestResult.
|
protected IFileScopeRequestResult |
handleFileScopeRequest()
Builds a
IFileScopeRequestResult. |
protected IOutgoingDependenciesRequestResult |
handleOutgoingDependenciesRequest()
Builds a IOutgoingDependenciesRequestResult.
|
protected ISWFTagsRequestResult |
handleSWFTagsRequest()
Builds a ISWFTagsRequestResult.
|
protected ISyntaxTreeRequestResult |
handleSyntaxTreeRequest()
Builds a
ISyntaxTreeRequestResult. |
protected void |
verifyAST(IASNode ast) |
addScopeToProjectScope, clean, clearIncludedFilesFromWorkspace, clearProject, getABCBytesRequest, getAbsoluteFilename, getDefinitionPriority, getDefinitionPromises, getEmbeddedFilenames, getEncodedDebugFiles, getFilenameNoPath, getFileScopeRequest, getFileSpecificationGetter, getOutgoingDependenciesRequest, getProject, getQualifiedNames, getRootFileSpecification, getShortNames, getSWFTagsRequest, getSyntaxTreeRequest, handleClean, isInvisible, makeInvisible, operationsCompleted, removeAST, setFileSpecificationGetter, startBuildAsync, startParsingImports, startProfile, stopProfile, toString, updateEmbedCompilationUnitDependencies, updateStyleCompilationUnitDependencies, waitForBuildFinishpublic EmbedCompilationUnit(CompilerProject project, EmbedData data)
public ICompilationUnit.UnitType getCompilationUnitType()
public String getName()
ICompilationUnitgetName in interface ICompilationUnitgetName in class CompilationUnitBaseprotected ISyntaxTreeRequestResult handleSyntaxTreeRequest() throws InterruptedException
CompilationUnitBaseISyntaxTreeRequestResult. In many cases the ISyntaxTreeRequestResult
is built by parsing a source file into a syntax tree.
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.
handleSyntaxTreeRequest in class CompilationUnitBaseISyntaxTreeRequestResult for this compilation unit.InterruptedExceptionprotected void verifyAST(IASNode ast)
verifyAST in class CompilationUnitBaseprotected IFileScopeRequestResult handleFileScopeRequest() throws InterruptedException
CompilationUnitBaseIFileScopeRequestResult. In many cases the
IFileScopeRequestResult is built by walking an AST produced by a parser.
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.
handleFileScopeRequest in class CompilationUnitBaseIFileScopeRequestResult for this compilation unit.InterruptedExceptionprotected IABCBytesRequestResult handleABCBytesRequest() 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.
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 CompilationUnitBaseInterruptedExceptionprotected IOutgoingDependenciesRequestResult handleOutgoingDependenciesRequest() 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.
handleOutgoingDependenciesRequest in class CompilationUnitBaseInterruptedExceptionpublic EmbedData getEmbedData()
Copyright © 2016 The Apache Software Foundation. All rights reserved.