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

Member predicate For::getLastStatement

Gets the final statement in this statement, ordered by location. Will be this statement if not a compound statement.

Stmt getLastStatement()