Class MatchAllPatternExpr

All Implemented Interfaces:
NodeWithFinalModifier<MatchAllPatternExpr>, NodeWithModifiers<MatchAllPatternExpr>, NodeWithRange<Node>, NodeWithTokenRange<Node>, Observable, Visitable, HasParentNode<Node>, Cloneable

public class MatchAllPatternExpr extends ComponentPatternExpr implements NodeWithFinalModifier<MatchAllPatternExpr>
MatchAllPatternExpressions were added in JEP456. They are untyped pattern expressions that cannot be used as top-level patterns. MatchAllPatternExpr (`_`) should not be confused with an unnamed TypePatternExpr (`String _`) which does have a type, but does not introduce any variables to scope.