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

Member predicate ExprOrType::getEnclosingFunction

Gets the function in which this expression or type appears, if any.

Function getEnclosingFunction()