Implementation of SignatureHelp
interface from Language Server Protocol
DO NOT add new properties or methods to this class that are specific to Moonshine IDE or to a particular language. Create a subclass for new properties or create a utility function for methods.
See also:
Static methods
Constructor
Variables
activeParameter:Int = -1
The active parameter of the active signature. If omitted or the value
lies outside the range of signatures[activeSignature].parameters
defaults to 0 if the active signature has parameters. If
the active signature has no parameters it is ignored.
In future version of the protocol this property might become
mandatory to better express the active parameter if the
active signature does have any.
activeSignature:Int = -1
The active signature. If omitted or the value lies outside the
range of signatures
the value defaults to zero or is ignore if
the SignatureHelp
as no signatures.
Whenever possible implementors should make an active decision about the active signature and shouldn't rely on a default value.
In future version of the protocol this property might become mandatory to better express this.
signatures:Array<SignatureInformation>
One or more signatures. If no signatures are available the signature
help request should return null
.