Member predicate AstNode::AstNode::getEnclosingUnit

Get the unit containing this element.

Unit getEnclosingUnit()