Use ArgumentPosition instead of int

This matches what all of the other languages do.
This commit is contained in:
Owen Mansel-Chan
2022-11-30 10:53:54 +00:00
parent 55c4643b20
commit 635c202ced

View File

@@ -17,7 +17,7 @@ class SummarizedCallableBase = FlowSummary::SummarizedCallableBase;
DataFlowCallable inject(SummarizedCallable c) { result.asSummarizedCallable() = c }
/** Gets the parameter position of the instance parameter. */
int instanceParameterPosition() { result = -1 }
ArgumentPosition instanceParameterPosition() { result = -1 }
/** Gets the synthesized summary data-flow node for the given values. */
Node summaryNode(SummarizedCallable c, SummaryNodeState state) { result = getSummaryNode(c, state) }