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

Member predicate Function::getThisBindingContainer

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

StmtContainer getThisBindingContainer()