SumCaseClassRepresentation

scalus.sir.lowering.SumCaseClassRepresentation
See theSumCaseClassRepresentation companion object
sealed trait SumCaseClassRepresentation(val isPackedData: Boolean, val isDataCentric: Boolean) extends LoweredValueRepresentation

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DataConstr
object SumDataList
object UplcConstr
Show all

Members list

Value members

Concrete methods

override def isCompatibleWithType(tp: SIRType): Boolean

Attributes

Definition Classes

Inherited methods

def doc: Doc

Attributes

Inherited from:
LoweredValueRepresentation
def isCompatibleOn(tp: SIRType, repr: LoweredValueRepresentation, pos: SIRPosition)(using lctx: LoweringContext): Boolean

Attributes

Inherited from:
LoweredValueRepresentation
def show: String

Attributes

Inherited from:
LoweredValueRepresentation

Concrete fields

override val isDataCentric: Boolean
override val isPackedData: Boolean