CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.10-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()