File tree Expand file tree Collapse file tree 3 files changed +1
-28
lines changed
lib/semmle/javascript/dataflow
test/library-tests/RecursionPrevention Expand file tree Collapse file tree 3 files changed +1
-28
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,7 @@ private import semmle.javascript.internal.CachedStages
33
33
* import("fs")
34
34
* ```
35
35
*/
36
- class SourceNode extends DataFlow:: Node {
37
- SourceNode ( ) {
38
- this instanceof SourceNode:: Range
39
- or
40
- none ( ) and this instanceof SourceNode:: Internal:: RecursionGuard
41
- }
42
-
36
+ class SourceNode extends DataFlow:: Node instanceof SourceNode:: Range {
43
37
/**
44
38
* Holds if this node flows into `sink` in zero or more local (that is,
45
39
* intra-procedural) steps.
@@ -340,12 +334,6 @@ module SourceNode {
340
334
DataFlow:: functionReturnNode ( this , _)
341
335
}
342
336
}
343
-
344
- /** INTERNAL. DO NOT USE. */
345
- module Internal {
346
- /** An empty class that some tests are using to enforce that SourceNode is non-recursive. */
347
- abstract class RecursionGuard extends DataFlow:: Node { }
348
- }
349
337
}
350
338
351
339
private class NodeModuleSourcesNodes extends SourceNode:: Range {
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments