Member predicate Impl::Pattern::getImmediateMatchingExpr
Gets the expression that this top-level pattern is matched against, if any.
For example, in switch e { case p: ... }
, the pattern p
is immediately matched against the expression e
.
Gets the expression that this top-level pattern is matched against, if any.
For example, in switch e { case p: ... }
, the pattern p
is immediately matched against the expression e
.