Expr

@compileTimeOnly("Illegal reference to `scala.quoted.runtime.Expr`") object Expr
class Object
trait Matchable
class Any

Value members

Concrete methods

@compileTimeOnly("Illegal reference to `scala.quoted.runtime.Expr.nestedSplice`")
def nestedSplice[T](q: Quotes)(x: Quotes => Expr[T]): T

A term splice nested within a quote is desugared by the compiler into a call to this method. ctx is the Quotes that the quote of this splice uses.

A term splice nested within a quote is desugared by the compiler into a call to this method. ctx is the Quotes that the quote of this splice uses.

Calling this method in source has undefined behavior at compile-time

@compileTimeOnly("Illegal reference to `scala.quoted.runtime.Expr.quote`")
def quote[T](x: T): Quotes => Expr[T]

A term quote is desugared by the compiler into a call to this method

A term quote is desugared by the compiler into a call to this method

Calling this method in source has undefined behavior at compile-time

@compileTimeOnly("Illegal reference to `scala.quoted.runtime.Expr.splice`")
def splice[T](x: Quotes => Expr[T]): T

A term splice is desugared by the compiler into a call to this method

A term splice is desugared by the compiler into a call to this method

Calling this method in source has undefined behavior at compile-time