InlineMatch

tastyquery.Trees.InlineMatch
final case class InlineMatch(selector: Option[TermTree], cases: List[CaseDef])(pos: SourcePosition) extends TermTree

Attributes

Graph
Supertypes
trait Serializable
class TermTree
class TopLevelTree
class Tree
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final override def withPos(pos: SourcePosition): InlineMatch

Attributes

Definition Classes

Inherited methods

Compute the prefix represented by this tree.

Compute the prefix represented by this tree.

The default implementation throws an InvalidProgramStructureException to indicate that this term tree is not a valid type prefix.

Attributes

Inherited from:
TermTree
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
final def showBasic: String

Attributes

Inherited from:
Tree
final def showMultiline: String

Attributes

Inherited from:
Tree
final def tpe(using Context): TermType

The term type of this tree.

The term type of this tree.

Attributes

Inherited from:
TermTree