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

Class NonLocalVariable

Import path

import python

Direct supertypes

Indirect supertypes

Predicates

Inherited predicates

getASourceUse

Gets a use of this variable that corresponds to an explicit use in the source.

from SsaSourceVariable
getAUse

Gets a use of this variable, either explicit or implicit.

from SsaSourceVariable
getName

Gets the name of this variable

from SsaSourceVariable
getScopefrom SsaSourceVariable
hasDefiningNode

Holds if def defines an ESSA variable for this variable.

from SsaSourceVariable
hasRefinement

Holds if def defines an ESSA variable for this variable in such a way that the new variable is a refinement in some way of the variable used at use.

from SsaSourceVariable
hasRefinementEdge

Holds if the edge pred->succ defines an ESSA variable for this variable in such a way that the new variable is a refinement in some way of the variable used at use.

from SsaSourceVariable
toString

Gets a textual representation of this element.

from SsaSourceVariable

Charpred