public class ServicesXMLCompilationUnit extends ASCompilationUnit
ICompilationUnit.Operation, ICompilationUnit.UnitTypeabc, DEFAULT_DO_ABC_TAG_NAME, fileScopeRequest, problems, syntaxTreeRequest| Constructor and Description |
|---|
ServicesXMLCompilationUnit(CompilerProject project,
String path,
String contextRoot)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
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.
|
static String |
getQname(String path)
Get the Qname of a ServciesXMLCompilation unit based on path of the
services-config.xml file.
|
protected IFileSpecification |
getRootFileSpecification() |
addProblemsToProject, createFileNode, createMainCompilationUnitForASC, getCompilationUnitType, getRootClassName, handleABCBytesRequest, handleFileScopeRequest, handleOutgoingDependenciesRequest, handleSWFTagsRequest, handleSyntaxTreeRequest, removeASTaddScopeToProjectScope, clearIncludedFilesFromWorkspace, clearProject, getABCBytesRequest, getAbsoluteFilename, getDefinitionPriority, getDefinitionPromises, getEmbeddedFilenames, getEncodedDebugFiles, getFilenameNoPath, getFileScopeRequest, getFileSpecificationGetter, getName, getOutgoingDependenciesRequest, getProject, getQualifiedNames, getShortNames, getSWFTagsRequest, getSyntaxTreeRequest, handleClean, isInvisible, makeInvisible, operationsCompleted, setFileSpecificationGetter, startBuildAsync, startParsingImports, startProfile, stopProfile, toString, updateEmbedCompilationUnitDependencies, updateStyleCompilationUnitDependencies, verifyAST, waitForBuildFinishpublic ServicesXMLCompilationUnit(CompilerProject project, String path, String contextRoot)
project - the project.path - the absolute path of the services configuration file.contextRoot - the string to substitute for "{content.root}" in
the services configuration file.public static String getQname(String path)
path - the absolute path of the services-config.xml file.protected final IFileSpecification getRootFileSpecification()
getRootFileSpecification in class CompilationUnitBasepublic boolean clean(Map<ICompilerProject,Set<File>> invalidatedSWCFiles, Map<ICompilerProject,Set<ICompilationUnit>> cusToUpdate, boolean clearFileScope)
ICompilationUnitclean in interface ICompilationUnitclean in class CompilationUnitBaseinvalidatedSWCFiles - Map of SWC filenames and depending projects
which have been invalidated by this callcusToUpdate - Map from ICompilerProject to
Set of ICompilationUnits in the project whose externally
visible symbols need to be re-registered with the symbol table of the
containing ICompilerProject when cleaning is complete.clearFileScope - Whether to clear the file scopeCopyright © 2016 The Apache Software Foundation. All rights reserved.