trait PatternTree

Instances of this class are trees which are not terms but are legal parts of patterns.

Members

type ThisTree = Nothing <: [-T >: dotty.tools.dotc.ast.Trees.Untyped] => dotty.tools.dotc.ast.Trees.PatternTree[T] (not handled)
override def isPattern : Boolean

Is this a legal part of a pattern which is not at the same time a term?