Interface DependencyInfo

All Known Implementing Classes:
CompilerInput, JSChunk, LazyParsedDependencyInfo, SimpleDependencyInfo

public interface DependencyInfo
A data structure for JS dependency information for a single .js file.
  • Method Details Link icon

    • getName Link icon

      String getName()
      Gets the unique name / path of this file.
    • getPathRelativeToClosureBase Link icon

      String getPathRelativeToClosureBase()
      Gets the path of this file relative to Closure's base.js file.
    • getProvides Link icon

      com.google.common.collect.ImmutableList<String> getProvides()
      Gets the symbols provided by this file.
    • getRequires Link icon

      com.google.common.collect.ImmutableList<DependencyInfo.Require> getRequires()
      Gets the symbols required by this file.
    • getRequiredSymbols Link icon

      default com.google.common.collect.ImmutableList<String> getRequiredSymbols()
    • getTypeRequires Link icon

      com.google.common.collect.ImmutableList<String> getTypeRequires()
      Gets the symbols type-required by this file (i.e. for typechecking only).
    • getLoadFlags Link icon

      com.google.common.collect.ImmutableMap<String,String> getLoadFlags()
      Gets the loading information for this file.
    • isEs6Module Link icon

      default boolean isEs6Module()
      Whether the symbol is provided by an ES6 module
    • isGoogModule Link icon

      default boolean isGoogModule()
      Whether the symbol is provided by a goog module
    • getHasExternsAnnotation Link icon

      boolean getHasExternsAnnotation()
      Whether the file '@externs' annotation.
    • getHasNoCompileAnnotation Link icon

      boolean getHasNoCompileAnnotation()
      Whether the file has the '@nocompile' annotation.