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.

Value parameters

qualifier

the term on which the member is selected

symbol

the symbol of the member to select

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.

Value parameters

args

the term arguments for overload resolution

name

the name of the overloaded method

qualifier

the term on which the method is called

targs

the type arguments for overload resolution

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.

Value parameters

args

the term arguments for overload resolution

name

the name of the overloaded method

qualifier

the term on which the method is called

returnType

the expected return type for overload resolution

targs

the type arguments for overload resolution

Attributes

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

Matches ..

Matches ..

Value parameters

x

the select tree to match against

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

Value parameters

name

the name of the field or non-overloaded method

qualifier

the term on which the member is selected

Attributes

Returns

a Select tree for the named member

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