DefinitionsPlatform
Attributes
- Graph
-
- Supertypes
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Existentials (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Existentials (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Existentials (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ExprsPlatform (hidden)
- Supertypes
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Expr.type
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Allow us to use Expr[A] before we would either: know how we would initiate it, or: what the final shape of a whole expression would be.
Allow us to use Expr[A] before we would either: know how we would initiate it, or: what the final shape of a whole expression would be.
In situations like '{ val a = sth; ${ useA('{ a }) } } you know both how a would be created as well as the shape of the final tree. In cases when you would e.g. use expression in some context-dependent derivation which could return Either[Expr[B], Expr[F[B]], ExprPromise allows you to calculate that result and THEN decide how to turn it into final Expr value.
Type parameters
- A
-
type of the current result we created using Expr[From]
- From
-
type of the promised expression
Attributes
- Inherited from:
- ExprPromises (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ExprPromisesPlatform (hidden)
- Supertypes
Attributes
- Inherited from:
- ExprPromises (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ExprPromise.type
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ExprPromises (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
When we decide that expression would be crated in patter-match binding, we would receive this wrapper around the results, which would ensure that definition is only used inside the scope and allow combining several cases into a single pattern matching.
When we decide that expression would be crated in patter-match binding, we would receive this wrapper around the results, which would ensure that definition is only used inside the scope and allow combining several cases into a single pattern matching.
Attributes
- Inherited from:
- ExprPromises (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ExprPromisesPlatform (hidden)
- Supertypes
Attributes
- Inherited from:
- ExprPromises (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object PatternMatchCase.type
When we decide that promised expression would be used as val/lazy val/var/def, we receive this wrapper around the results, which would ensure that: initialization of a definition would happen before its use, you can only use the definition inside its scope.
When we decide that promised expression would be used as val/lazy val/var/def, we receive this wrapper around the results, which would ensure that: initialization of a definition would happen before its use, you can only use the definition inside its scope.
Attributes
- Inherited from:
- ExprPromises (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- ExprPromisesPlatform (hidden)
- Supertypes
Attributes
- Inherited from:
- ExprPromises (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object PrependDefinitionsTo.type
Attributes
- Inherited from:
- Exprs (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- TypesPlatform (hidden)
- Supertypes
Attributes
- Inherited from:
- Types (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Type.type
Attributes
- Inherited from:
- Types (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- Types (hidden)
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- Existentials (hidden)
Attributes
- Inherited from:
- Existentials (hidden)
Attributes
- Inherited from:
- Existentials (hidden)
Attributes
- Inherited from:
- Existentials (hidden)
Represents value with some existential type t both for Type[t] as well as F[t].
Represents value with some existential type t both for Type[t] as well as F[t].
Since Scala 3 removed a lot of cases for existential types we cannot just use Type[?] in shared code. Additionally, we might need to have something to prove that our Type[?] is has the same ? as some Value[?]. For that, this utility would be useful.
Attributes
- Inherited from:
- Existentials (hidden)
Convenient utility to represent Expr[?] with erased inner type with accompanying Type[?] of the same ?.
Convenient utility to represent Expr[?] with erased inner type with accompanying Type[?] of the same ?.
Attributes
- Inherited from:
- Existentials (hidden)
Convenient utility to represent Type[?] with erased inner type, but without any accompanying value.
Convenient utility to represent Type[?] with erased inner type, but without any accompanying value.
Attributes
- Inherited from:
- Existentials (hidden)
Platform-specific expression representation (c.Expr[A] in 2, scala.quoted.Expr[A] in 3
Platform-specific expression representation (c.Expr[A] in 2, scala.quoted.Expr[A] in 3
Attributes
- Inherited from:
- ExprsPlatform (hidden)
In Scala 2 it's c.universe.TermName, in Scala 3 Symbol of a val
In Scala 2 it's c.universe.TermName, in Scala 3 Symbol of a val
Attributes
- Inherited from:
- ExprPromisesPlatform (hidden)
Platform-specific type representation (c.WeakTypeTag[A] in 2, scala.quoted.Type[A] in 3)
Platform-specific type representation (c.WeakTypeTag[A] in 2, scala.quoted.Type[A] in 3)
Attributes
- Inherited from:
- TypesPlatform (hidden)
Value members
Inherited methods
Throws AssertionFailed exception
Throws AssertionFailed exception
Attributes
- Inherited from:
- Results (hidden)
Prints error at current macro expansion AND throw exception for aborting macro expansion
Prints error at current macro expansion AND throw exception for aborting macro expansion
Attributes
- Inherited from:
- ResultsPlatform (hidden)
Prints info at current macro expansion - assume it can only be called once
Prints info at current macro expansion - assume it can only be called once
Attributes
- Inherited from:
- ResultsPlatform (hidden)
Givens
Givens
Implicits
Inherited implicits
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- ExprPromises (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- ExprPromises (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- ExprPromises (hidden)
Attributes
- Inherited from:
- Exprs (hidden)
Attributes
- Inherited from:
- Types (hidden)
Attributes
- Inherited from:
- Types (hidden)