scala.quoted.Quotes.reflectModule.DefDefModule
Methods of the module object val DefDef
Create a method definition def f[..](...)
with the signature defined in the symbol.
Create a method definition def f[..](...)
with the signature defined in the symbol.
The rhsFn
is a function that receives references to its parameters, and should return Some
containing the implementation of the method, or None
if the method has no implementation. Any definition directly inside the implementation should have symbol
as owner.
Use Symbol.asQuotes
to create the rhs using quoted code.
See also: Tree.changeOwner
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4