Member predicate Generated::VarDecl::getImmediateParentPattern
Gets the parent pattern of this variable declaration, if it exists.
This includes nodes from the “hidden” AST. It can be overridden in subclasses to change the
behavior of both the Immediate
and non-Immediate
versions.