class LSP::DocumentSymbolsRequest

Overview

The document symbol request is sent from the client to the server.

Included Modules

Defined in:

requests/language_features/document_symbols.cr

Constructors

Instance Method Summary

Instance methods inherited from class LSP::RequestMessage(Array(LSP::DocumentSymbol) | Array(LSP::SymbolInformation) | Nil)

id : RequestId id, id=(id : RequestId) id=, method : String method, method=(method : String) method=, on_response(raw : JSON::Any | Nil, e : ResponseError | Nil)
on_response(&block : Proc(Result(LSP::DocumentSymbol) | Result(LSP::SymbolInformation) | Result | Nil, ResponseError | Nil, Nil))
on_response
, on_response? : Proc(Result(LSP::DocumentSymbol) | Result(LSP::SymbolInformation) | Result | Nil, ResponseError | Nil, Nil) | Nil on_response?

Constructor methods inherited from class LSP::RequestMessage(Array(LSP::DocumentSymbol) | Array(LSP::SymbolInformation) | Nil)

new(pull : JSON::PullParser)
new(**args)
new

Constructor Detail

def self.new(pull : JSON::PullParser) #

The document symbol request is sent from the client to the server.


def self.new(**args) #

Instance Method Detail

def params : DocumentSymbolParams #

def params=(params : DocumentSymbolParams) #