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

Member predicate ThisExpr::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()