scala.quoted.Quotes.reflectModule.MatchModule
Methods of the module object val Match.
Attributes
- Source
-
Quotes.scala
- Graph
-
- Supertypes
-
- Self type
-
Members list
Creates a pattern match match { }.
Creates a pattern match match { }.
Value parameters
- cases
-
the list of case definitions
- selector
-
the scrutinee expression being matched
Attributes
- Returns
-
a Match tree representing selector match { cases }
- Source
-
Quotes.scala
Matches a pattern match match { }.
Matches a pattern match match { }.
Value parameters
- x
-
the Match to match against
Attributes
- Returns
-
a tuple of the scrutinee term and the list of cases
- Source
-
Quotes.scala