NamedArgModule

scala.quoted.Quotes.reflectModule.NamedArgModule

Methods of the module object val NamedArg

Attributes

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

Members list

Value members

Abstract methods

def apply(name: String, arg: Term): NamedArg

Create a named argument <name: String> = <value: Term>

Create a named argument <name: String> = <value: Term>

Attributes

Source
Quotes.scala
def copy(original: Tree)(name: String, arg: Term): NamedArg

Attributes

Source
Quotes.scala
def unapply(x: NamedArg): (String, Term)

Matches a named argument <name: String> = <value: Term>

Matches a named argument <name: String> = <value: Term>

Attributes

Source
Quotes.scala