Skip to content

Commit 25f226e

Browse files
committed
Add comment to getVariableReal
1 parent b434d42 commit 25f226e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ql/src/codeql_ruby/ast/internal/Variable.qll

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,11 @@ class TVariableAccessReal =
508508
TClassVariableAccess;
509509

510510
abstract class VariableAccessReal extends VariableAccess, TVariableAccessReal {
511+
/**
512+
* Same as `getVariable()`, but restricted to non-synthesized variable accesses.
513+
*
514+
* The sole purpose of this predicate is to make AST synthesis monotonic.
515+
*/
511516
abstract VariableReal getVariableReal();
512517
}
513518

0 commit comments

Comments
 (0)