Find-references links

Author: LGTM

import definitions

external string selectedSourceFile();

from Locatable e, AstNode def, string kind
where
  def = definitionOf(e, kind) and def.getFile() = getFileBySourceArchiveName(selectedSourceFile())
select e, def, kind

Description

Generates use-definition pairs that provide the data for find-references in the code viewer.