@@ -382,11 +382,17 @@ module API {
382382 bindingset [ this ]
383383 EntryPoint ( ) { any ( ) }
384384
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+
385391 /** Gets a data-flow node corresponding to a use-node for this entry point. */
386- DataFlow:: LocalSourceNode getAUse ( ) { none ( ) }
392+ DataFlow:: LocalSourceNode getASource ( ) { none ( ) }
387393
388394 /** Gets a data-flow node corresponding to a def-node for this entry point. */
389- DataFlow:: Node getARhs ( ) { none ( ) }
395+ DataFlow:: Node getASink ( ) { none ( ) }
390396
391397 /** Gets a call corresponding to a method access node for this entry point. */
392398 DataFlow:: CallNode getACall ( ) { none ( ) }
@@ -504,7 +510,7 @@ module API {
504510 or
505511 parameterStep ( _, defCand ( ) , nd )
506512 or
507- nd = any ( EntryPoint entry ) .getAUse ( )
513+ nd = any ( EntryPoint entry ) .getASource ( )
508514 or
509515 nd = any ( EntryPoint entry ) .getACall ( )
510516 }
@@ -553,7 +559,7 @@ module API {
553559 // If a call node is relevant as a use-node, treat its arguments as def-nodes
554560 argumentStep ( _, useCandFwd ( ) , rhs )
555561 or
556- rhs = any ( EntryPoint entry ) .getARhs ( )
562+ rhs = any ( EntryPoint entry ) .getASink ( )
557563 }
558564
559565 /** Gets a data flow node that flows to the RHS of a def-node. */
@@ -712,9 +718,9 @@ module API {
712718 pred = root ( ) and
713719 lbl = Label:: entryPoint ( entry )
714720 |
715- succ = MkDef ( entry .getARhs ( ) )
721+ succ = MkDef ( entry .getASink ( ) )
716722 or
717- succ = MkUse ( entry .getAUse ( ) )
723+ succ = MkUse ( entry .getASource ( ) )
718724 or
719725 succ = MkMethodAccessNode ( entry .getACall ( ) )
720726 )
0 commit comments