File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/semmle/javascript/dataflow/internal
test/library-tests/CallGraphs/AnnotatedTest Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ private module CachedSteps {
139
139
* Holds if `invk` may invoke `f`.
140
140
*/
141
141
cached
142
- predicate calls ( DataFlow:: SourceNode invk , Function f ) {
142
+ predicate calls ( DataFlow:: Node invk , Function f ) {
143
143
f = invk .( DataFlow:: InvokeNode ) .getACallee ( 0 )
144
144
or
145
145
f = invk .( DataFlow:: PropRef ) .getAnAccessorCallee ( ) .getFunction ( )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ class AnnotatedFunction extends Function {
25
25
}
26
26
27
27
/** A function annotated with `calls:NAME` */
28
- class AnnotatedCall extends DataFlow:: SourceNode {
28
+ class AnnotatedCall extends DataFlow:: Node {
29
29
string calls ;
30
30
string kind ;
31
31
You can’t perform that action at this time.
0 commit comments