File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
javascript/ql/lib/semmle/javascript/internal Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -408,6 +408,10 @@ module NameResolution {
408
408
*/
409
409
predicate trackModule = ValueFlow:: TrackNode< ModuleLike > :: track / 1 ;
410
410
411
+ predicate trackClassValue = ValueFlow:: TrackNode< ClassDefinition > :: track / 1 ;
412
+
413
+ predicate trackFunctionValue = ValueFlow:: TrackNode< Function > :: track / 1 ;
414
+
411
415
/**
412
416
* Holds if `moduleName` appears to start with a package name, as opposed to a relative file import.
413
417
*/
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ private import semmle.javascript.internal.UnderlyingTypes
4
4
private import semmle.javascript.dataflow.internal.sharedlib.SummaryTypeTracker as SummaryTypeTracker
5
5
6
6
module TypeResolution {
7
- predicate trackClassValue = ValueFlow:: TrackNode< ClassDefinition > :: track / 1 ;
8
-
9
7
predicate trackType = TypeFlow:: TrackNode< TypeDefinition > :: track / 1 ;
10
8
11
9
/**
@@ -24,8 +22,6 @@ module TypeResolution {
24
22
)
25
23
}
26
24
27
- predicate trackFunctionValue = ValueFlow:: TrackNode< Function > :: track / 1 ;
28
-
29
25
/**
30
26
* Gets the representative for the type containing the given member.
31
27
*
You can’t perform that action at this time.
0 commit comments