NestedGeneric

oxygen.meta.K0.SumGeneric.NestedGeneric
trait NestedGeneric[A] extends SumGeneric[A]

Attributes

Graph
Supertypes
trait SumGeneric[A]
trait Generic[A]
trait Entity[Any, A]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class CacheVals

Attributes

Inherited from:
Generic
Supertypes
class Object
trait Matchable
class Any
final case class Case[B <: A](idx: Int, generic: Gen[B]) extends Deferred[A, B, A]

Attributes

Inherited from:
SumGeneric
Supertypes
trait Serializable
trait Product
trait Equals
class Deferred[A, B, A]
trait Child[A, B, A]
trait Entity[A, B]
class Object
trait Matchable
class Any
Show all

Attributes

Inherited from:
Generic
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
Generic
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
Generic
Supertypes
class Object
trait Matchable
class Any
class MapChildren

Attributes

Inherited from:
Generic
Supertypes
class Object
trait Matchable
class Any
class Matcher

Attributes

Inherited from:
SumGeneric
Supertypes
class Object
trait Matchable
class Any

Types

final override type Gen[b] = Generic[b]
final override type SelfType[A2] = NestedGeneric[A2]

Inherited types

final type AType = A

Attributes

Inherited from:
Generic
final type AnyChild = Child[ChildBound]

Attributes

Inherited from:
Generic
final override type Child[B <: A] = Case[B]

Attributes

Inherited from:
SumGeneric
final override type ChildBound = A

Attributes

Inherited from:
SumGeneric
type ChildFunction0[O[_ <: ChildBound]] = [b <: ChildBound] => (x$1: Quotes, x$2: Type[b]) ?=> Child[b] => O[b]

Attributes

Inherited from:
Generic
type ChildFunction1[I[_], O[_]] = [b <: ChildBound] => (x$1: Quotes, x$2: Type[b]) ?=> (Child[b], I[b]) => O[b]

Attributes

Inherited from:
Generic
type ChildFunction2[I1[_], I2[_], O[_]] = [b <: ChildBound] => (x$1: Quotes, x$2: Type[b]) ?=> (Child[b], I1[b], I2[b]) => O[b]

Attributes

Inherited from:
Generic
final type SelfBound = Any

Attributes

Inherited from:
Generic

Value members

Inherited methods

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

Attributes

Definition Classes
Inherited from:
Generic
final override def children: Contiguous[AnyChild]

Attributes

Definition Classes
Inherited from:
SumGeneric
final def name: String

Attributes

Inherited from:
Entity
final override def pos: Position

Attributes

Definition Classes
Inherited from:
Generic
final def showTypeClassInstances[F[_] : Type](using evidence$1: Type[F], Quotes): Unit

Attributes

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

Attributes

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

Attributes

Inherited from:
Entity
final def typedAs[TypeName]: 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

def cases: Contiguous[Case[_ <: A]]

Attributes

Inherited from:
SumGeneric

Inherited fields

Attributes

Inherited from:
Generic

Attributes

Inherited from:
Generic

Attributes

Inherited from:
SumGeneric

Inherited and Abstract fields

Attributes

Inherited from:
ProductOrSumGeneric
val label: String

Attributes

Inherited from:
Entity
val sym: Symbol

Attributes

Inherited from:
Entity
val typeRepr: TypeRepr

Attributes

Inherited from:
Entity
override val typeType: Sealed

Attributes

Inherited from:
SumGeneric

Givens

Inherited givens

given tpe: Type[A]

Attributes

Inherited from:
Entity