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

Member predicate Location::getStartLine

Gets the 1-based line number (inclusive) where this location starts.

int getStartLine()