Match

scalus.sir.SIR.Match
case class Match(scrutinee: AnnotatedSIR, cases: List[Case], tp: SIRType, anns: AnnotationsDecl) extends AnnotatedSIR

Match expression.

Value parameters

tp

- resulting type of Match expression, can be calculated as max(tp of all cases)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AnnotatedSIR
trait SIR
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def ~=~(that: SIR): Boolean

Attributes

Inherited from:
SIR