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 parameters:
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 parameters:
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 parameters:
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).

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