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

Class StmtList

A list of statements

Import path

import python

Direct supertypes

Indirect supertypes

Predicates

contains

Holds if this list of statements contains the AST node a

getLastItem

Gets the last item in this list of statements, if any.

Inherited predicates

getAnItem

Gets an item of this statement list

from StmtList_
getItem

Gets the nth item of this statement list

from StmtList_
getParent

Gets a parent of this statement list

from StmtList_
toString

Gets a textual representation of this element.

from StmtList_