Class SimpleDependencyInfo

java.lang.Object
com.google.javascript.jscomp.deps.SimpleDependencyInfo
All Implemented Interfaces:
DependencyInfo

public class SimpleDependencyInfo extends Object implements DependencyInfo
A class to hold JS dependency information for a single .js file.
  • Constructor Details

    • SimpleDependencyInfo

      public SimpleDependencyInfo(String srcPathRelativeToClosure, String pathOfDefiningFile, List<String> provides, List<String> requires)
      Constructs a DependencyInfo object with the given list of provides & requires. This does *not* copy the given lists, but uses them directly.
      Parameters:
      srcPathRelativeToClosure - The closure-relative path of the file associated with this DependencyInfo.
      pathOfDefiningFile - The path to the file from which this dependency information was extracted.
      provides - List of provided symbols.
      requires - List of required symbols.
  • Method Details