class Mint::LS::Definition

Overview

This is the class that handles the "textDocument/definition" request.

Defined in:

ls/definition.cr

Constructors

Instance Method Summary

Instance methods inherited from class LSP::RequestMessage

id : Int32 | String id, id=(id : Int32 | String) id=, method : String method, method=(method : String) method=, snippet_support : Bool | Nil snippet_support, snippet_support=(snippet_support : Bool | Nil) snippet_support=

Constructor methods inherited from class LSP::RequestMessage

new(pull : JSON::PullParser) new

Constructor Detail

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

This is the class that handles the "textDocument/definition" request.


[View source]

Instance Method Detail

def execute(server) : Array(LSP::LocationLink) | Array(LSP::Location) | LSP::Location | Nil #

[View source]

[View source]
def params=(params : LSP::TextDocumentPositionParams) #

[View source]
def to_lsp_location(location_link : LSP::LocationLink) : LSP::Location #

[View source]