CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.0.3-dev (changelog, source)

Predicate DataFlow::reflectiveCallNode

Gets a data flow node representing the underlying call performed by the given call to or Function.prototype.apply.

For example, for an expression, y), this gets a call node with fn as the callee, x as the receiver, and y as the first argument.

Import path

import javascript
InvokeNode reflectiveCallNode(InvokeExpr expr)