Python: rearrange to minimize diff

also fix typo
This commit is contained in:
Rasmus Lerchedahl Petersen
2022-09-12 20:07:32 +02:00
parent efc5cfb852
commit 203481ad3e
2 changed files with 4 additions and 4 deletions

View File

@@ -450,9 +450,6 @@ abstract class DataFlowCall extends TDataFlowCall {
/** Gets a textual representation of this element. */
abstract string toString();
/** Gets the enclosing callable of this call. */
abstract DataFlowCallable getEnclosingCallable();
/** Get the callable to which this call goes, if such exists. */
abstract DataFlowCallable getCallable();
@@ -465,6 +462,9 @@ abstract class DataFlowCall extends TDataFlowCall {
/** Get the control flow node representing this call, if any. */
abstract ControlFlowNode getNode();
/** Gets the enclosing callable of this call. */
abstract DataFlowCallable getEnclosingCallable();
/** Gets the location of this dataflow call. */
abstract Location getLocation();

View File

@@ -155,7 +155,7 @@ module SyntheticPostUpdateNode {
)
}
/** Holds if `call` can be resolved as anormal call */
/** Holds if `call` can be resolved as a normal call */
private predicate resolvedCall(CallNode call) {
call = any(DataFlowCallableValue cv).getACall()
or