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

Member predicate Stmt::getLastStatement

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

Stmt getLastStatement()