File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
javascript/ql/src/semmle/javascript/dataflow Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,11 @@ module DataFlow {
67
67
/**
68
68
* Gets the expression enclosing this data flow node.
69
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`.
70
+ * additionally includes the `InvokeExpr` corresponding to reflective calls.
72
71
*/
73
72
Expr getEnclosingExpr ( ) {
74
73
result = asExpr ( ) or
75
- this = DataFlow:: reflectiveCallNode ( result ) or
76
- result = this .( ParameterNode ) .getParameter ( )
74
+ this = DataFlow:: reflectiveCallNode ( result )
77
75
}
78
76
79
77
/** Gets the AST node corresponding to this data flow node, if any. */
You can’t perform that action at this time.
0 commit comments