Skip to content

Commit 6e67e72

Browse files
committed
Update documentation for receiver instead of -1
1 parent 5c5949b commit 6e67e72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/ql/lib/semmle/go/dataflow/ExternalFlow.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* "Argument[n]", or "Argument[n1..n2]":
3131
* - "": Selects a write to the selected element in case this is a field.
3232
* - "Argument[n]": Selects an argument in a call to the selected element.
33-
* The arguments are zero-indexed, and `-1` specifies the qualifier.
33+
* The arguments are zero-indexed, and `receiver` specifies the receiver.
3434
* - "Argument[n1..n2]": Similar to "Argument[n]" but selects any argument
3535
* in the given range. The range is inclusive at both ends.
3636
*
@@ -40,12 +40,12 @@
4040
* - "": Selects a read of a selected field.
4141
* - "Argument[n]": Selects the post-update value of an argument in a call to the
4242
* selected element. That is, the value of the argument after the call returns.
43-
* The arguments are zero-indexed, and `-1` specifies the qualifier.
43+
* The arguments are zero-indexed, and `receiver` specifies the receiver.
4444
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
4545
* the given range. The range is inclusive at both ends.
4646
* - "Parameter": Selects the value of a parameter of the selected element.
4747
* - "Parameter[n]": Similar to "Parameter" but restricted to a specific
48-
* numbered parameter (zero-indexed, and `-1` specifies the value of `this`).
48+
* numbered parameter (zero-indexed, and `receiver` specifies the receiver).
4949
* - "Parameter[n1..n2]": Similar to "Parameter[n]" but selects any parameter
5050
* in the given range. The range is inclusive at both ends.
5151
* - "ReturnValue": Selects the first value being returned by the selected

0 commit comments

Comments
 (0)