class LSProtocol::InlineValueParams
- LSProtocol::InlineValueParams
- Reference
- Object
Overview
A parameter literal used in inline value requests.
@since 3.17.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(context : InlineValueContext | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#context : InlineValueContext
Additional information about the context in which inline values were requested.
-
#range : Range
The document range for which inline values should be computed.
-
#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(context : InlineValueContext | Nil, range : Range | Nil, text_document : TextDocumentIdentifier | Nil, work_done_token : ProgressToken | Nil = nil)
#
Instance Method Detail
def context : InlineValueContext
#
Additional information about the context in which inline values were requested.
def work_done_token : ProgressToken | Nil
#
An optional token that a server can use to report work done progress.