driverForPath method

AnalysisDriverGeneric? driverForPath(
  1. String path
)
inherited

Return the driver being used to analyze the file with the given path.

Implementation

AnalysisDriverGeneric? driverForPath(String path) {
  var contextRoot = contextRootContaining(path);
  if (contextRoot == null) {
    return null;
  }
  return driverMap[contextRoot];
}