Member predicate Variables::Scope::getScopeElement

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

ASTNode getScopeElement()