trait PatternTree [ -T ]
extends Tree

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

Constructors

Members

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

The type constructor at the root of the tree

The type constructor at the root of the tree

[+] override def isPattern : Boolean

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

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