CodeQL library for Python
codeql/python-all 0.6.4 (changelog, source)
Search

Predicate compact_location

Returns the location of an AST node in compact form: basename:line:column

Import path

import semmle.python.TestUtils
string compact_location(AstNode a)