We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9db620 commit 37a76f4Copy full SHA for 37a76f4
2 files changed
javascript/ql/lib/semmle/javascript/dataflow/internal/FlowSteps.qll
@@ -139,7 +139,7 @@ private module CachedSteps {
139
* Holds if `invk` may invoke `f`.
140
*/
141
cached
142
- predicate calls(DataFlow::SourceNode invk, Function f) {
+ predicate calls(DataFlow::Node invk, Function f) {
143
f = invk.(DataFlow::InvokeNode).getACallee(0)
144
or
145
f = invk.(DataFlow::PropRef).getAnAccessorCallee().getFunction()
javascript/ql/test/library-tests/CallGraphs/AnnotatedTest/Test.ql
@@ -25,7 +25,7 @@ class AnnotatedFunction extends Function {
25
}
26
27
/** A function annotated with `calls:NAME` */
28
-class AnnotatedCall extends DataFlow::SourceNode {
+class AnnotatedCall extends DataFlow::Node {
29
string calls;
30
string kind;
31
0 commit comments