Update python/ql/src/experimental/dataflow/internal/DataFlowPublic.qll

Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
This commit is contained in:
yoff
2020-07-03 13:32:03 +02:00
committed by GitHub
parent 8891fbf006
commit 59d611ddd5

View File

@@ -115,8 +115,8 @@ class ParameterNode extends EssaNode {
ParameterNode() { var instanceof ParameterDefinition }
/**
* Holds if this node is the parameter of callable `c` at the specified
* (zero-based) position.
* Holds if this node is the parameter of callable `c` at the
* (zero-based) index `i`.
*/
predicate isParameterOf(DataFlowCallable c, int i) {
var.(ParameterDefinition).getDefiningNode() = c.getParameter(i)