C abstract class

Expr [+T]

extends Object

Quoted expression of type T

Supertypes

Object

Constructors

Expr

( )

Members

def 

asExprOf

[X] ( implicit  tp: Type[X] ) ( implicit  qctx: QuoteContext ) : Expr[X]

Convert this to an quoted.Expr[X] if this expression is a valid expression of type X or throws

Convert this to an quoted.Expr[X] if this expression is a valid expression of type X or throws

def 

cast

[U] ( implicit  tp: Type[U] ) ( implicit  qctx: QuoteContext ) : Expr[U]

Checked cast to a quoted.Expr[U]

Checked cast to a quoted.Expr[U]

final def 

matches

( that: Expr[Any] ) ( implicit  qctx: QuoteContext ) : Boolean

Pattern matches this against that. Effectively performing a deep equality check. It does the equivalent of

Pattern matches this against that. Effectively performing a deep equality check. It does the equivalent of

this match
  case '{...} => true // where the contents of the pattern are the contents of `that`
  case _ => false
def 

show

( implicit  qctx: QuoteContext ) : String

Show a source code like representation of this expression without syntax highlight

Show a source code like representation of this expression without syntax highlight

def 

showWith

( syntaxHighlight: SyntaxHighlight ) ( implicit  qctx: QuoteContext ) : String

Show a source code like representation of this expression

Show a source code like representation of this expression

def 

unseal

( implicit  qctx: QuoteContext ) : Term

View this expression quoted.Expr[T] as a Term

View this expression quoted.Expr[T] as a Term