MatchModule

scala.quoted.Quotes.reflectModule.MatchModule

Methods of the module object val Match

Attributes

Source:
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

def apply(selector: Term, cases: List[CaseDef]): Match

Creates a pattern match <scrutinee: Term> match { <cases: List[CaseDef]> }

Creates a pattern match <scrutinee: Term> match { <cases: List[CaseDef]> }

Attributes

Source:
Quotes.scala
def copy(original: Tree)(selector: Term, cases: List[CaseDef]): Match

Attributes

Source:
Quotes.scala

Matches a pattern match <scrutinee: Term> match { <cases: List[CaseDef]> }

Matches a pattern match <scrutinee: Term> match { <cases: List[CaseDef]> }

Attributes

Source:
Quotes.scala