Member predicate AST::StmtContainer::getEnclosingContainer

Gets the innermost enclosing container in which this container is nested.

StmtContainer getEnclosingContainer()