SelectModule

scala.quoted.Quotes.reflectModule.SelectModule
trait SelectModule

Methods of the module object val Select

Attributes

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

Members list

Value members

Abstract methods

def apply(qualifier: Term, symbol: Symbol): Select

Select a term member by symbol

Select a term member by symbol

Attributes

Source
Quotes.scala
def copy(original: Tree)(qualifier: Term, name: String): Select

Attributes

Source
Quotes.scala
def overloaded(qualifier: Term, name: String, targs: List[TypeRepr], args: List[Term]): Term

Call an overloaded method with the given type and term parameters

Call an overloaded method with the given type and term parameters

Attributes

Source
Quotes.scala
def overloaded(qualifier: Term, name: String, targs: List[TypeRepr], args: List[Term], returnType: TypeRepr): Term

Call an overloaded method with the given type and term parameters

Call an overloaded method with the given type and term parameters

Attributes

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

Matches <qualifier: Term>.<name: String>

Matches <qualifier: Term>.<name: String>

Attributes

Source
Quotes.scala
def unique(qualifier: Term, name: String): Select

Select a field or a non-overloaded method by name

Select a field or a non-overloaded method by name

Attributes

Note

The method will produce an assertion error if the selected method is overloaded. The method overloaded should be used in that case.

Source
Quotes.scala