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

Class EscapingGlobalVariable

Import path

import python

Direct supertypes

Indirect supertypes

Known direct subtypes

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
getScope from SsaSourceVariable
global_variable_callnode from ModuleVariable
global_variable_import from ModuleVariable
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