File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
javascript/ql/test/library-tests/ThisExpr Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ | module-exports.js:3:1:3:4 | this | file://:0:0:0:0 | indefinite value (call) |
2
+ | module-exports.js:4:28:4:31 | this | file://:0:0:0:0 | indefinite value (call) |
3
+ | module-exports.js:4:28:4:31 | this | module-exports.js:1:1:8:0 | exports object of module module-exports |
4
+ | module-exports.js:4:28:4:31 | this | module-exports.js:4:15:4:34 | instance of anonymous function |
5
+ | module-exports.js:5:35:5:38 | this | file://:0:0:0:0 | indefinite value (call) |
6
+ | module-exports.js:5:35:5:38 | this | file://:0:0:0:0 | indefinite value (heap) |
7
+ | module-exports.js:5:35:5:38 | this | module-exports.js:1:1:8:0 | exports object of module module-exports |
8
+ | module-exports.js:5:35:5:38 | this | module-exports.js:5:22:5:41 | instance of anonymous function |
9
+ | module-exports.js:6:21:6:24 | this | file://:0:0:0:0 | indefinite value (call) |
10
+ | module-exports.js:7:28:7:31 | this | file://:0:0:0:0 | indefinite value (call) |
1
11
| tst.js:4:9:4:12 | this | file://:0:0:0:0 | indefinite value (call) |
2
12
| tst.js:4:9:4:12 | this | tst.js:1:1:11:1 | instance of class C_normal |
3
13
| tst.js:8:15:8:18 | this | file://:0:0:0:0 | indefinite value (call) |
Original file line number Diff line number Diff line change 1
1
missingBasicBlock
2
2
basicBlock
3
+ | module-exports.js:1:1:1:0 | this | module-exports.js:1:1:1:0 | entry node of <toplevel> |
4
+ | module-exports.js:4:15:4:14 | this | module-exports.js:4:15:4:14 | entry node of function() { this; } |
5
+ | module-exports.js:5:22:5:21 | this | module-exports.js:5:22:5:21 | entry node of function() { this; } |
3
6
| tst.js:1:1:1:0 | this | tst.js:1:1:1:0 | entry node of <toplevel> |
4
7
| tst.js:1:16:1:15 | this | tst.js:1:16:1:15 | entry node of () {} |
5
8
| tst.js:3:7:3:6 | this | tst.js:3:7:3:6 | entry node of () {\\n ... ;\\n } |
Original file line number Diff line number Diff line change
1
+ | module-exports.js:4:28:4:31 | this | module-exports.js:4:15:4:34 | function() { this; } |
2
+ | module-exports.js:5:35:5:38 | this | module-exports.js:5:22:5:41 | function() { this; } |
1
3
| tst.js:4:9:4:12 | this | tst.js:3:7:5:5 | () {\\n ... ;\\n } |
2
4
| tst.js:8:15:8:18 | this | tst.js:7:7:9:5 | () {\\n ... ;\\n } |
3
5
| tst.js:17:13:17:16 | this | tst.js:16:10:18:9 | functio ... } |
Original file line number Diff line number Diff line change
1
+ var fs = require ( 'fs' ) ;
2
+
3
+ this ;
4
+ exports . foo = function ( ) { this ; } ;
5
+ module . exports . bar = function ( ) { this ; } ;
6
+ exports . baz = ( ) => this ;
7
+ module . exports . qux = ( ) => this ;
You can’t perform that action at this time.
0 commit comments