SelectModule
scala.quoted.Quotes.reflectModule.SelectModule
trait SelectModule
Methods of the module object val Select
Attributes
- Source
- Quotes.scala
- Graph
-
- Supertypes
- Self 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
Select a term member by symbol
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
Call an overloaded method with the given type and term parameters
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
Call an overloaded method with the given type and term parameters
def unapply(x: Quotes.this.reflectModule.this.Select): (Quotes.this.reflectModule.this.Term, String)
Matches <qualifier: Term>.<name: String>
def unique(qualifier: Quotes.this.reflectModule.this.Term, name: String): Quotes.this.reflectModule.this.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
In this article