File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
python/ql/src/experimental/dataflow/internal Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -372,13 +372,15 @@ private module ArgumentPassing {
372372 abstract int getParamN ( int argN ) ;
373373
374374 /** Gets a textual representation of this element. */
375- string toString ( ) { result = "ArgParamMapping" }
375+ abstract string toString ( ) ;
376376 }
377377
378378 /** A mapping that passes argument `n` to parameter `n`. */
379379 class NoShift extends ArgParamMapping , TNoShift {
380380 NoShift ( ) { this = TNoShift ( ) }
381381
382+ override string toString ( ) { result = "NoShift [n -> n]" }
383+
382384 bindingset [ argN]
383385 override int getParamN ( int argN ) { result = argN }
384386 }
@@ -387,6 +389,8 @@ private module ArgumentPassing {
387389 class ShiftOneUp extends ArgParamMapping , TShiftOneUp {
388390 ShiftOneUp ( ) { this = TShiftOneUp ( ) }
389391
392+ override string toString ( ) { result = "ShiftOneUp [n -> n+1]" }
393+
390394 bindingset [ argN]
391395 override int getParamN ( int argN ) { result = argN + 1 }
392396 }
You can’t perform that action at this time.
0 commit comments