contextFor method

AnalysisContext contextFor(
  1. String filePath
)

Returns the AnalysisContext for the given filePath.

Implementation

AnalysisContext contextFor(String filePath) {
  final absPath = p.normalize(p.absolute(filePath));
  return collection.contextFor(absPath);
}