class LSProtocol::SignatureHelpParams
- LSProtocol::SignatureHelpParams
- Reference
- Object
Overview
Parameters for a SignatureHelpRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(position : Position | Nil, text_document : TextDocumentIdentifier | Nil, context : SignatureHelpContext | Nil = nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#context : SignatureHelpContext | Nil
The signature help context.
-
#position : Position
The position inside the text document.
-
#text_document : TextDocumentIdentifier
The text document.
-
#work_done_token : ProgressToken | Nil
An optional token that a server can use to report work done progress.
Constructor Detail
def self.new(position : Position | Nil, text_document : TextDocumentIdentifier | Nil, context : SignatureHelpContext | Nil = nil, work_done_token : ProgressToken | Nil = nil)
#
Instance Method Detail
def context : SignatureHelpContext | Nil
#
The signature help context. This is only available if the client specifies
to send this using the client capability textDocument.signatureHelp.contextSupport === true
@since 3.15.0
def work_done_token : ProgressToken | Nil
#
An optional token that a server can use to report work done progress.