Methods of the module objectval DefDef
Create a method definitiondef f[..](...) with the signature defined in the symbol.
Create a method definitiondef f[..](...) with the signature defined in the symbol.
TherhsFn is a function that receives references to its parameters, and should returnSome containing the implementation of the method, orNone if the method has no implementation. Any definition directly inside the implementation should havesymbol as owner.
UseSymbol.asQuotes to create the rhs using quoted code.
See also:Tree.changeOwner