Signatures

object Signatures
class Object
trait Matchable
class Any

Type members

Classlikes

case class Param(name: String, tpe: String, doc: Option[String], isImplicit: Boolean)

Represent a method's parameter.

Represent a method's parameter.

Value Params
doc

The documentation of this parameter

isImplicit

Is this parameter implicit?

name

The name of the parameter

tpe

The type of the parameter

case class Signature(name: String, tparams: List[String], paramss: List[List[Param]], returnType: Option[String], doc: Option[String])

Represent a method signature.

Represent a method signature.

Value Params
doc

The documentation for this method.

name

The name of the method

paramss

The parameter lists of this method

returnType

The return type of this method, if this is not a constructor.

tparams

The type parameters and their bounds

Value members

Concrete methods

def callInfo(path: List[Tree], span: Span)(using Context): (Int, Int, List[SingleDenotation])

Extract (current parameter index, function index, functions) out of a method call.

Extract (current parameter index, function index, functions) out of a method call.

Value Params
path

The path to the function application

span

The position of the cursor

Returns

A triple containing the index of the parameter being edited, the index of the function being called, the list of overloads of this function).