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