Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0db438

Browse files
authored
python: rename getACall2 -> getANonLibraryCall
1 parent f6af248 commit a0db438

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowDispatchPointsTo.qll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,9 @@ abstract class NonLibraryDataFlowCallable extends DataFlowCallable {
332332
/** Gets a callable value for this callable, if one exists. */
333333
abstract CallableValue getCallableValue();
334334

335-
abstract CallNode getACall2();
335+
abstract CallNode getANonLibraryCall();
336336

337-
final override CallNode getACall() { result = this.getACall2() }
337+
final override CallNode getACall() { result = this.getANonLibraryCall() }
338338
}
339339

340340
/** A class representing a callable value. */
@@ -345,7 +345,7 @@ class DataFlowCallableValue extends NonLibraryDataFlowCallable, TCallableValue {
345345

346346
override string toString() { result = callable.toString() }
347347

348-
override CallNode getACall2() { result = callable.getACall() }
348+
override CallNode getANonLibraryCall() { result = callable.getACall() }
349349

350350
override Scope getScope() { result = callable.getScope() }
351351

@@ -364,7 +364,7 @@ class DataFlowLambda extends NonLibraryDataFlowCallable, TLambda {
364364

365365
override string toString() { result = lambda.toString() }
366366

367-
override CallNode getACall2() { result = this.getCallableValue().getACall() }
367+
override CallNode getANonLibraryCall() { result = this.getCallableValue().getACall() }
368368

369369
override Scope getScope() { result = lambda.getEvaluatingScope() }
370370

@@ -387,7 +387,7 @@ class DataFlowModuleScope extends NonLibraryDataFlowCallable, TModule {
387387

388388
override string toString() { result = mod.toString() }
389389

390-
override CallNode getACall2() { none() }
390+
override CallNode getANonLibraryCall() { none() }
391391

392392
override Scope getScope() { result = mod }
393393

0 commit comments

Comments
 (0)