Member predicate Scope::getScopeElement

Gets the program element this scope is associated with, if any.

ASTNode getScopeElement()