SelectModule

Methods of the module object val Select

Source:
Quotes.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

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

Select a term member by symbol

Select a term member by symbol

Source:
Quotes.scala
def copy(original: Tree)(qualifier: Term, name: String): Select
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

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

Source:
Quotes.scala

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

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

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

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