DartFileIndex constructor

const DartFileIndex({
  1. required String path,
  2. List<IndexedImport> imports = const [],
  3. List<IndexedImport> exports = const [],
  4. List<IndexedDeclaration> declarations = const [],
  5. List<IndexedInvocation> invocations = const [],
  6. List<IndexedReference> references = const [],
  7. List<IndexedMemberAccess> memberAccesses = const [],
})

Creates the index of the file at path.

Implementation

const DartFileIndex({
  required this.path,
  this.imports = const [],
  this.exports = const [],
  this.declarations = const [],
  this.invocations = const [],
  this.references = const [],
  this.memberAccesses = const [],
});