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

Member predicate DataFlow::SourceNode::getAMemberCall

Gets a function call that invokes method memberName on this node.

This includes both calls that have the syntactic shape of a method call (as in o.m(...)), and calls where the callee undergoes some additional data flow (as in tmp = o.m; tmp(...)).

CallNode getAMemberCall(string memberName)