Skip to content

Commit 4955f95

Browse files
aschackmullsmowton
andauthored
Apply suggestions from code review
Clarify documentation. Co-authored-by: Chris Smowton <[email protected]>
1 parent 41168e2 commit 4955f95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/src/semmle/code/java/dataflow/ExternalFlow.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* - "Argument[n]": Selects an argument in a call to the selected element.
3838
* The arguments are zero-indexed, and `-1` specifies the qualifier.
3939
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
40-
* the given range.
40+
* the given range. The range is inclusive at both ends.
4141
* - "ReturnValue": Selects a value being returned by the selected element.
4242
* This requires that the selected element is a method with a body.
4343
*
@@ -48,14 +48,14 @@
4848
* selected element. That is, the value of the argument after the call returns.
4949
* The arguments are zero-indexed, and `-1` specifies the qualifier.
5050
* - "Argument[n1..n2]": Similar to "Argument[n]" but select any argument in
51-
* the given range.
51+
* the given range. The range is inclusive at both ends.
5252
* - "Parameter": Selects the value of a parameter of the selected element.
5353
* "Parameter" is also allowed in case the selected element is already a
5454
* parameter itself.
5555
* - "Parameter[n]": Similar to "Parameter" but restricted to a specific
5656
* numbered parameter (zero-indexed, and `-1` specifies the value of `this`).
5757
* - "Parameter[n1..n2]": Similar to "Parameter[n]" but selects any parameter
58-
* in the given range.
58+
* in the given range. The range is inclusive at both ends.
5959
* - "ReturnValue": Selects the return value of a call to the selected element.
6060
* 8. The `kind` column is a tag that can be referenced from QL to determine to
6161
* which classes the interpreted elements should be added. For example, for

0 commit comments

Comments
 (0)