We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0accc8a commit 2bf2c71Copy full SHA for 2bf2c71
javascript/ql/lib/semmle/javascript/Variables.qll
@@ -27,6 +27,12 @@ class Scope extends @scope {
27
result = this.getAVariable() and
28
result.getName() = name
29
}
30
+
31
+ /** Gets the local type name with the given name declared in this scope. */
32
+ LocalTypeName getLocalTypeName(string name) {
33
+ result.getScope() = this and
34
+ result.getName() = name
35
+ }
36
37
38
/**
0 commit comments