SumCaseClassRepresentation

scalus.sir.lowering.SumCaseClassRepresentation
See theSumCaseClassRepresentation companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

Representation for sum case classes that are represented as a Data with DataConstr and DataUnconstr operators to work with the data. the index of the constructor and x is a field.

Representation for sum case classes that are represented as a Data with DataConstr and DataUnconstr operators to work with the data. the index of the constructor and x is a field.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
DataConstr.type

packed in data representation as a list of data elements. i.e. unListData for unpacking into DataList

packed in data representation as a list of data elements. i.e. unListData for unpacking into DataList

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Representation for sum case classes that are represented as a Pair of Int and DataList.

Representation for sum case classes that are represented as a Pair of Int and DataList.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

SumDataPairList packed as AssocMap

SumDataPairList packed as AssocMap

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Representation for sum case classes that are represented as a list of data elements. unlike DataConstr, this representation does not use a constructor tag, but use unList and unListData to work with the data.

Representation for sum case classes that are represented as a list of data elements. unlike DataConstr, this representation does not use a constructor tag, but use unList and unListData to work with the data.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

List of pairs of data elements. result of unMapData

List of pairs of data elements. result of unMapData

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Representation as tern Constr(i,x1,...,xn) where i is the index of the constructor and x is a field

Representation as tern Constr(i,x1,...,xn) where i is the index of the constructor and x is a field

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
UplcConstr.type

Representation as Constr(i,x1,...,xn) where i is the index of the constructor and x is a field represented as data.

Representation as Constr(i,x1,...,xn) where i is the index of the constructor and x is a field represented as data.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror