Files
codeql/python/ql/test/library-tests/jump_to_defn/test.ql
2018-11-19 15:15:54 +00:00

12 lines
254 B
Plaintext

/**
* @name test
*/
import python
import analysis.DefinitionTracking
from Expr use, Definition defn
where defn = getADefinition(use)
and use.getEnclosingModule().getName() = "test"
select use.getLocation().toString(), use.toString(), defn.toString()