Module DefinitionTracking
Definition tracking for jump-to-defn query.
Import path
import analysis.DefinitionTracking
Imports
IDEContextual | Provides shared predicates related to contextual queries in the code viewer. |
PointsTo | |
python |
Predicates
definitionOf | Gets the definition (of kind |
getADefinition | Gets a definition for ‘use’. This exists primarily for testing use |
getUniqueDefinition | Gets the unique definition for ‘use’, if one can be found. Helper for the jump-to-definition query. |
ssa_filter_defn | Holds if ESSA edge refinement, |
ssa_filter_jump_to_defn_attribute | Holds if ESSA edge refinement, |
ssa_variable_jump_to_defn_attribute | INTERNAL – Public for testing only. Holds if the attribute |
uni_edged_phi_defn | Holds if ESSA defn, |
Classes
Definition | A definition for the purposes of jump-to-definition. |
NiceLocationExpr | A helper class to get suitable locations for attributes |