We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bef5a7 commit 73071bdCopy full SHA for 73071bd
javascript/ql/lib/semmle/javascript/ApiGraphs.qll
@@ -187,8 +187,7 @@ module API {
187
}
188
189
/**
190
- * Gets a node representing a parameter or the receiver of the function represented by this
191
- * node.
+ * Gets a node representing a parameter of the function represented by this node.
192
*
193
* This predicate may result in a mix of parameters from different call sites in cases where
194
* there are multiple invocations of this API component.
@@ -198,8 +197,6 @@ module API {
198
197
Node getAParameter() {
199
Stages::ApiStage::ref() and
200
result = this.getParameter(_)
201
- or
202
- result = this.getReceiver()
203
204
205
0 commit comments