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
Quotes.this.reflectModule.this.Select.type

Members list

Value members

Abstract methods

def apply(qualifier: Quotes.this.reflectModule.this.Term, symbol: Quotes.this.reflectModule.this.Symbol): Quotes.this.reflectModule.this.Select

Selects a term member by symbol.

Selects a term member by symbol.

Attributes

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

Attributes

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

Calls an overloaded method with the given type and term parameters.

Calls an overloaded method with the given type and term parameters.

Attributes

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

Calls an overloaded method with the given type and term parameters.

Calls an overloaded method with the given type and term parameters.

Attributes

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

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

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

Attributes

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

Selects a field or a non-overloaded method by name

Selects 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