variablesreferred
Variablesreferred is a term used in programming language theory and software tooling to denote the set of variables that are referenced by a given program element. A variable is referred to when its identifier appears in an expression, statement, or block and may influence the computation at runtime or during interpretation.
Definition: For a program point p, VariablesReferred(p) denotes the set of variables that occur in the syntactic
Scope and usage: The concept is used in static analysis and compiler design to reason about dependencies,
Examples: In a code snippet, x = a + b; VariablesReferred at this statement are {a, b}. In
Relationship: VariablesReferred is related to, but distinct from, declared variables, defined variables, and live variables. It
See also: variable reference, symbol table, binding, free variable, live variable analysis, alias analysis.