P package

scala.quoted.matching

extends Object with Serializable

Supertypes

Object, Serializable

Members

class 

Bind

[T]

Bind of an Expr[T] used to know if some Expr[T] is a reference to the binding

Bind of an Expr[T] used to know if some Expr[T] is a reference to the binding

object 

Bind

object 

Const

Matches expressions containing literal constant values and extracts the value. It may match expressions of type Boolean, Byte, Short, Int, Long, Float,...

Matches expressions containing literal constant values and extracts the value. It may match expressions of type Boolean, Byte, Short, Int, Long, Float, Double, Char, String, ClassTag, scala.Symbol, Null and Unit.

Usage:

(x: Expr[B]) match {
  case Const(value: B) => ...
}
object 

ConstSeq

Literal sequence of literal constant value expressions

Literal sequence of literal constant value expressions

object 

ExprSeq

Literal sequence of expressions

Literal sequence of expressions

def 

searchImplicitExpr

[T] ( implicit  tpe: Type[T] qctx: QuoteContext ) : Option[Expr[T]]

Find an implicit of type T in the current scope given by qctx. Return Some containing the expression of the implicit or None if implicit resolution fail...

Find an implicit of type T in the current scope given by qctx. Return Some containing the expression of the implicit or None if implicit resolution failed.