DefDefMethods

Extension methods of DefDef

Extensions

Extensions

extension (self: DefDef)

List of leading type paramters or Nil if the method does not have leading type paramters.

Note: Non leading type parameters can be found in extension methods such as scala extension (a: A) def f[T]() = ...

List of type and term parameter clauses

The tree of the return type of this def definition

def rhs: Option[Term]

The tree of the implementation of the method. Returns None if the method does not hava an implemetation.

List of term parameter clauses

List of parameter clauses following the leading type parameters or all clauses. Return all parameter clauses if there are no leading type paramters.

Non leading type parameters can be found in extension methods such as scala extension (a: A) def f[T]() = ...