ReturnModule

scala.quoted.Quotes.reflectModule.ReturnModule

Methods of the module object val Return

Attributes

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

Members list

Concise view

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

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