Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85403cd commit f02912bCopy full SHA for f02912b
1 file changed
ql/ql/src/codeql_ql/ast/Ast.qll
@@ -553,6 +553,9 @@ class VarDef extends TVarDef, AstNode {
553
554
Type getType() { none() }
555
556
+ /** Gets a variable access to this `VarDef` */
557
+ VarAccess getAnAccess() { result.getDeclaration() = this }
558
+
559
override string getAPrimaryQlClass() { result = "VarDef" }
560
561
override string toString() { result = this.getName() }
0 commit comments