Expr

scala.quoted.runtime.Expr
object Expr

Attributes

Source
Expr.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Expr.type

Members list

Value members

Concrete methods

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

Attributes

Source
Expr.scala
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

Attributes

Source
Expr.scala
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

Attributes

Source
Expr.scala