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

Member predicate DataFlow::ThisNode::getBindingContainer

Gets the function or top-level whose this binding this expression refers to, which is the nearest enclosing non-arrow function or top-level.

StmtContainer getBindingContainer()