class

LSProtocol::DocumentSymbolRequest

Inherits JSON::Serializable / Reference / Object

A request to list all symbols found in a given text document. The request's parameter is of type TextDocumentIdentifier the response is of type Array(SymbolInformation) or a Thenable that resolves to such.

Constructors

new(id : Int32 | String, params : DocumentSymbolParams)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The request id.

Source
jsonrpc
Source
method

The method to be invoked.

Source
params
Source