Member predicate Generated::Pattern::getImmediateType
Gets the type of this pattern, 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.