MatchModule

Methods of the module object val Match

Source:
Quotes.scala
class Object
trait Matchable
class Any

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]> }

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

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

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

Source:
Quotes.scala