ReturnModule

scala.quoted.Quotes.reflectModule.ReturnModule
trait ReturnModule

Methods of the module object val Return

Attributes

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

Members list

Value members

Abstract methods

def apply(expr: Term, from: Symbol): Return

Creates return <expr: Term>

Creates return <expr: Term>

Attributes

Source
Quotes.scala
def copy(original: Tree)(expr: Term, from: Symbol): Return

Attributes

Source
Quotes.scala
def unapply(x: Return): (Term, Symbol)

Matches return <expr: Term> and extracts the expression and symbol of the method

Matches return <expr: Term> and extracts the expression and symbol of the method

Attributes

Source
Quotes.scala