Class ParameterDefinition
A definition of a variable by declaring it as a parameter
Import path
import semmle.python.essa.EssaDirect supertypes
Indirect supertypes
Predicates
| getAPrimaryQlClass | Gets the name of the primary QL class for this element. |
| getAnnotation | Gets the annotation control flow node of this parameter |
| getDefault | Gets the control flow node for the default value of this parameter |
| getName | Gets the name of this parameter definition |
| getParameter | Gets the |
| isKwargs | Holds if this parameter is a ‘kwargs’ parameter. The |
| isSelf | |
| isVarargs |
Inherited predicates
| definedBy | from EssaNodeDefinition | |
| getAUse | Gets a use of this definition as defined by the | from EssaNodeDefinition |
| getBasicBlock | from EssaNodeDefinition | |
| getDefiningNode | Gets the ControlFlowNode corresponding to this definition | from EssaNodeDefinition |
| 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 | from EssaNodeDefinition |
| getRepresentation | Gets a representation of this SSA definition for debugging purposes. Since this is primarily for debugging and testing, performance may be poor. | from EssaNodeDefinition |
| getScope | from EssaNodeDefinition | |
| getSourceVariable | Gets the source variable for which this a definition, either explicit or implicit. | from EssaNodeDefinition |
| getVariable | from EssaDefinition | |
| reachesEndOfBlock | Holds if this definition reaches the end of | from EssaNodeDefinition |
| toString | Gets a textual representation of this element. | from EssaNodeDefinition |