Class DependencyFile
java.lang.Object
com.google.javascript.jscomp.deps.DependencyFile
- All Implemented Interfaces:
SourceFile
SourceFile containing dependency information. Delegates file handling to
another SourceFile such that a VirtualFile, LocalFile or RemoteFile can be
used.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Ensures that the dependency graph is up to date and reloads the graph if necessary.getDependencyInfo
(String symbol) Gets the dependency info for the provided symbol, if contained in this dependency file.getName()
boolean
-
Constructor Details
-
DependencyFile
Creates a new dependency file.
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceSourceFile
-
getContent
- Specified by:
getContent
in interfaceSourceFile
-
wasModified
public boolean wasModified()- Specified by:
wasModified
in interfaceSourceFile
-
ensureUpToDate
Ensures that the dependency graph is up to date and reloads the graph if necessary.- Throws:
ServiceException
-
getDependencyInfo
Gets the dependency info for the provided symbol, if contained in this dependency file.
-