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

Member predicate DataFlow::SourceNode::getAChainedMethodCall

Gets a chained method call that invokes methodName last.

The chain steps include only calls that have the syntactic shape of a method call, that is, o.m(...) or o[p](...).

CallNode getAChainedMethodCall(string methodName)