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

Class EssaAttributeDeletion

A deletion of an attribute del obj.attr.

Import path

import python

Direct supertypes

Indirect supertypes

Predicates

getAPrimaryQlClass

Gets the name of the primary QL class for this element.

getName

Inherited predicates

definedByfrom EssaNodeRefinement
getAUse

Gets a use of this definition as defined by the SsaSourceVariable class.

from EssaNodeRefinement
getBasicBlockfrom EssaNodeRefinement
getDefiningNode

Gets the ControlFlowNode corresponding to this definition

from EssaNodeRefinement
getInput

Gets the SSA variable to which this refinement applies.

from EssaNodeRefinement
getLocation

Gets the location of a control flow node that is indicative of this definition. Since definitions may occur on edges of the control flow graph, the given location may be imprecise. Distinct EssaDefinitions may return the same ControlFlowNode even for the same variable.

from EssaNodeRefinement
getRepresentation

Gets a representation of this SSA definition for debugging purposes. Since this is primarily for debugging and testing, performance may be poor.

from EssaNodeRefinement
getScopefrom EssaNodeRefinement
getSourceVariable

Gets the source variable for which this a definition, either explicit or implicit.

from EssaNodeRefinement
getVariablefrom EssaDefinition
reachesEndOfBlock

Holds if this definition reaches the end of b.

from EssaNodeRefinement
toString

Gets a textual representation of this element.

from EssaNodeRefinement

Charpred