@@ -305,6 +305,7 @@ module AccessPath {
305
305
* }
306
306
* ```
307
307
*/
308
+ pragma [ inline]
308
309
DataFlow:: Node getAReferenceTo ( Root root , string path ) {
309
310
path = fromReference ( result , root ) and
310
311
not root .isGlobal ( )
@@ -327,6 +328,7 @@ module AccessPath {
327
328
* })(NS = NS || {});
328
329
* ```
329
330
*/
331
+ pragma [ inline]
330
332
DataFlow:: Node getAReferenceTo ( string path ) {
331
333
path = fromReference ( result , DataFlow:: globalAccessPathRootPseudoNode ( ) )
332
334
}
@@ -347,6 +349,7 @@ module AccessPath {
347
349
* }
348
350
* ```
349
351
*/
352
+ pragma [ inline]
350
353
DataFlow:: Node getAnAssignmentTo ( Root root , string path ) {
351
354
path = fromRhs ( result , root ) and
352
355
not root .isGlobal ( )
@@ -367,6 +370,7 @@ module AccessPath {
367
370
* })(foo = foo || {});
368
371
* ```
369
372
*/
373
+ pragma [ inline]
370
374
DataFlow:: Node getAnAssignmentTo ( string path ) {
371
375
path = fromRhs ( result , DataFlow:: globalAccessPathRootPseudoNode ( ) )
372
376
}
@@ -376,6 +380,7 @@ module AccessPath {
376
380
*
377
381
* See `getAReferenceTo` and `getAnAssignmentTo` for more details.
378
382
*/
383
+ pragma [ inline]
379
384
DataFlow:: Node getAReferenceOrAssignmentTo ( string path ) {
380
385
result = getAReferenceTo ( path )
381
386
or
@@ -387,6 +392,7 @@ module AccessPath {
387
392
*
388
393
* See `getAReferenceTo` and `getAnAssignmentTo` for more details.
389
394
*/
395
+ pragma [ inline]
390
396
DataFlow:: Node getAReferenceOrAssignmentTo ( Root root , string path ) {
391
397
result = getAReferenceTo ( root , path )
392
398
or
0 commit comments