Wrappers

scalus.compiler.sir.linking.Wrappers
See theWrappers companion class
object Wrappers

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Wrappers.type

Members list

Type members

Classlikes

final case class Decl(data: DataDecl) extends Layer

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Layer
class Object
trait Matchable
class Any
Show all
sealed trait Layer

One wrapper: a Decl or a Let without the term it is around.

One wrapper: a Decl or a Let without the term it is around.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Decl
class Let
final case class Let(bindings: List[Binding], flags: LetFlags, anns: AnnotationsDecl) extends Layer

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Layer
class Object
trait Matchable
class Any
Show all

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

Value members

Concrete methods

def definitions(sir: SIR): (Wrappers, SIR)

The definitions linking put around sir, and what they are around: the lets that sir starts with and that bind definitions only (SIRLinker.isDefinition). A let of the expression's own is part of the expression, and so is a data declaration: the ones linking put around a program are outside its definitions.

The definitions linking put around sir, and what they are around: the lets that sir starts with and that bind definitions only (SIRLinker.isDefinition). A let of the expression's own is part of the expression, and so is a data declaration: the ones linking put around a program are outside its definitions.

Attributes

def of(sir: SIR): (Wrappers, SIR)

Every data declaration and let that sir starts with, and what they are around. A let of the expression's own is taken like a definition's: this is for an expression whose lets are to stay around a part of it, as around the body of a function.

Every data declaration and let that sir starts with, and what they are around. A let of the expression's own is taken like a definition's: this is for an expression whose lets are to stay around a part of it, as around the body of a function.

Attributes