@@ -382,11 +382,17 @@ module API {
382
382
bindingset [ this ]
383
383
EntryPoint ( ) { any ( ) }
384
384
385
+ /** DEPRECATED. This predicate has been renamed to `getASource`. */
386
+ deprecated DataFlow:: LocalSourceNode getAUse ( ) { none ( ) }
387
+
388
+ /** DEPRECATED. This predicate has been renamed to `getASink`. */
389
+ deprecated DataFlow:: Node getARhs ( ) { none ( ) }
390
+
385
391
/** Gets a data-flow node corresponding to a use-node for this entry point. */
386
- DataFlow:: LocalSourceNode getAUse ( ) { none ( ) }
392
+ DataFlow:: LocalSourceNode getASource ( ) { none ( ) }
387
393
388
394
/** Gets a data-flow node corresponding to a def-node for this entry point. */
389
- DataFlow:: Node getARhs ( ) { none ( ) }
395
+ DataFlow:: Node getASink ( ) { none ( ) }
390
396
391
397
/** Gets a call corresponding to a method access node for this entry point. */
392
398
DataFlow:: CallNode getACall ( ) { none ( ) }
@@ -504,7 +510,7 @@ module API {
504
510
or
505
511
parameterStep ( _, defCand ( ) , nd )
506
512
or
507
- nd = any ( EntryPoint entry ) .getAUse ( )
513
+ nd = any ( EntryPoint entry ) .getASource ( )
508
514
or
509
515
nd = any ( EntryPoint entry ) .getACall ( )
510
516
}
@@ -553,7 +559,7 @@ module API {
553
559
// If a call node is relevant as a use-node, treat its arguments as def-nodes
554
560
argumentStep ( _, useCandFwd ( ) , rhs )
555
561
or
556
- rhs = any ( EntryPoint entry ) .getARhs ( )
562
+ rhs = any ( EntryPoint entry ) .getASink ( )
557
563
}
558
564
559
565
/** Gets a data flow node that flows to the RHS of a def-node. */
@@ -712,9 +718,9 @@ module API {
712
718
pred = root ( ) and
713
719
lbl = Label:: entryPoint ( entry )
714
720
|
715
- succ = MkDef ( entry .getARhs ( ) )
721
+ succ = MkDef ( entry .getASink ( ) )
716
722
or
717
- succ = MkUse ( entry .getAUse ( ) )
723
+ succ = MkUse ( entry .getASource ( ) )
718
724
or
719
725
succ = MkMethodAccessNode ( entry .getACall ( ) )
720
726
)
0 commit comments