We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ead64 commit 3146007Copy full SHA for 3146007
javascript/ql/lib/semmle/javascript/internal/NameResolution.qll
@@ -39,6 +39,10 @@ module NameResolution {
39
result = DataFlow::valueNode(this)
40
or
41
result = DataFlow::valueNode(this.(Variable).getAnAssignedExpr())
42
+ or
43
+ result = DataFlow::valueNode(any(ClassDefinition def | this = def.getVariable()))
44
45
+ result = DataFlow::valueNode(any(FunctionDeclStmt def | this = def.getVariable()))
46
}
47
48
DataFlow::Node toDataFlowNodeOut() {
0 commit comments