Deferred

oxygen.meta.K0.Entity.Child.Deferred
abstract class Deferred[ParentBound, B <: ParentBound, A](entity: Entity[Any, B]) extends Child[ParentBound, B, A]

Attributes

Graph
Supertypes
trait Child[ParentBound, B, A]
trait Entity[ParentBound, B]
class Object
trait Matchable
class Any
Known subtypes
class Case[B]

Members list

Type members

Inherited and Abstract types

override type SelfType[A2 <: ParentBound] <: Child[ParentBound, A2, A]

Attributes

Inherited from:
Child

Value members

Concrete methods

final override def annotations(using Quotes): AnnotationsTyped[B]

Attributes

Definition Classes
final override def pos: Position

Attributes

Definition Classes

Inherited methods

final def getExpr[F[_]](expressions: Expressions[F, A])(using Quotes): Expr[F[B]]

Attributes

Inherited from:
Child
final def name: String

Attributes

Inherited from:
Entity
override def summonTypeClass[TC[_] : Type](using evidence$1: Type[TC], quotes: Quotes): Expr[TC[B]]

Attributes

Definition Classes
Inherited from:
Child
final def summonTypeClassOrDerive[TC[_] : Type](f: => Type[B] ?=> Expr[TC[B]])(using evidence$1: Type[TC], quotes: Quotes): Expr[TC[B]]

Attributes

Inherited from:
Entity
final def typedAs[TypeName <: ParentBound]: SelfType[TypeName]

Meant to be used in the following manner:

Meant to be used in the following manner:

Entity in this entity could be any of Generic, ProductGeneric, SumGeneric, Field, Case

val untyped: Entity[?] = ???

type A
val typed: Entity[A] = untyped.typedAs[A]

Entity in this case could be any of Generic, ProductGeneric, SumGeneric, Field, Case

Attributes

Inherited from:
Entity

Inherited and Abstract methods

Attributes

Inherited from:
Child

Concrete fields

final override val label: String
final override val sym: Symbol
final override val typeRepr: TypeRepr

Inherited and Abstract fields

val childType: String

Attributes

Inherited from:
Child
val idx: Int

Attributes

Inherited from:
Child

Givens

Inherited givens

given tpe: Type[B]

Attributes

Inherited from:
Entity