Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12cc228 commit d5d08daCopy full SHA for d5d08da
1 file changed
javascript/ql/src/semmle/javascript/dataflow/DataFlow.qll
@@ -67,13 +67,11 @@ module DataFlow {
67
/**
68
* Gets the expression enclosing this data flow node.
69
* In most cases the result is the same as `asExpr()`, however this method
70
- * additionally the `InvokeExpr` corresponding to reflective calls, and the `Parameter`
71
- * for a `DataFlow::ParameterNode`.
+ * additionally includes the `InvokeExpr` corresponding to reflective calls.
72
*/
73
Expr getEnclosingExpr() {
74
result = asExpr() or
75
- this = DataFlow::reflectiveCallNode(result) or
76
- result = this.(ParameterNode).getParameter()
+ this = DataFlow::reflectiveCallNode(result)
77
}
78
79
/** Gets the AST node corresponding to this data flow node, if any. */
0 commit comments