class LSProtocol::DocumentSymbolParams
- LSProtocol::DocumentSymbolParams
- Reference
- Object
Overview
Parameters for a DocumentSymbolRequest
.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
Instance Method Summary
-
#partial_result_token : ProgressToken | Nil
An optional token that a server can use to report partial results (e.g.
-
#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(text_document : TextDocumentIdentifier | Nil, partial_result_token : ProgressToken | Nil = nil, work_done_token : ProgressToken | Nil = nil)
#
Instance Method Detail
def partial_result_token : ProgressToken | Nil
#
An optional token that a server can use to report partial results (e.g. streaming) to the client.
def work_done_token : ProgressToken | Nil
#
An optional token that a server can use to report work done progress.