references method

Future<List<Location>> references(
  1. String path,
  2. int line,
  3. int character, {
  4. bool includeDeclaration = true,
})

References to the symbol at line:character in path.

Implementation

Future<List<Location>> references(
  String path,
  int line,
  int character, {
  bool includeDeclaration = true,
}) => _withDoc(
  path,
  (lsp, uri) => lsp.references(
    uri,
    Position(line, character),
    includeDeclaration: includeDeclaration,
  ),
);