@@ -2537,13 +2537,12 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
25372537 TStagePathNodeSinkGrp ( )
25382538
25392539 class StagePathNodeImpl extends TStagePathNode {
2540+ abstract NodeEx getNodeEx ( ) ;
2541+
25402542 abstract string toString ( ) ;
25412543
25422544 abstract Location getLocation ( ) ;
25432545
2544- /** Gets the corresponding `Node`, if any. */
2545- Node getNode ( ) { none ( ) }
2546-
25472546 predicate isSource ( ) { none ( ) }
25482547
25492548 predicate isSink ( ) { none ( ) }
@@ -2557,12 +2556,16 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
25572556 override string toString ( ) { result = "<any source>" }
25582557
25592558 override Location getLocation ( ) { result .hasLocationInfo ( "" , 0 , 0 , 0 , 0 ) }
2559+
2560+ override NodeEx getNodeEx ( ) { none ( ) }
25602561 }
25612562
25622563 class StagePathNodeSinkGrp extends StagePathNodeImpl , TStagePathNodeSinkGrp {
25632564 override string toString ( ) { result = "<any sink>" }
25642565
25652566 override Location getLocation ( ) { result .hasLocationInfo ( "" , 0 , 0 , 0 , 0 ) }
2567+
2568+ override NodeEx getNodeEx ( ) { none ( ) }
25662569 }
25672570
25682571 class StagePathNodeMid extends StagePathNodeImpl , TStagePathNodeMid {
@@ -2579,15 +2582,15 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
25792582 this = TStagePathNodeMid ( node , state , cc , summaryCtx , argT , argAp , t , ap )
25802583 }
25812584
2585+ override NodeEx getNodeEx ( ) { result = node }
2586+
25822587 override string toString ( ) {
25832588 result =
25842589 node .toString ( ) + " " + cc .toString ( ) + " " + t .toString ( ) + " " + ap .toString ( )
25852590 }
25862591
25872592 override Location getLocation ( ) { result = node .getLocation ( ) }
25882593
2589- override Node getNode ( ) { result = node .asNode ( ) }
2590-
25912594 override predicate isSource ( ) {
25922595 sourceNode ( node , state ) and
25932596 ( if hasSourceCallCtx ( ) then cc = ccSomeCall ( ) else cc = ccNone ( ) ) and
0 commit comments