Member predicate Generated::ForEachStmt::getImmediatePattern
Gets the pattern of this for each statement.
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.