Signatures

dotty.tools.dotc.util.Signatures$
object Signatures

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Signatures.type

Members list

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class Signature(name: String, tparams: List[String], paramss: List[List[Param]], returnType: Option[String], doc: Option[String], denot: Option[SingleDenotation])

Represent a method signature.

Represent a method signature.

Value parameters

denot

The function denotation

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def computeSignatureHelp(path: List[Tree], span: Span)(using Context): (Int, Int, List[Signature])

Computes call info (current parameter index, function index, functions) for a method call.

Computes call info (current parameter index, function index, functions) for a method call.

Value parameters

path

The path to the function application

span

The position of the cursor

Attributes

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 signatureHelp(path: List[Tree], pos: Span)(using Context): (Int, Int, List[Signature])

Extract (current parameter index, function index, functions) method call for given position.

Extract (current parameter index, function index, functions) method call for given position.

Value parameters

path

The path to the function application

span

The position of the cursor

Attributes

Returns

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

Deprecated 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

Attributes

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

Deprecated
true

Attributes

Deprecated
true