class Mint::LS::Server

Defined in:

ls/server.cr

Instance Method Summary

Instance methods inherited from class LSP::Server

log(message : String, type = 4) log, prepend_header(content : String) prepend_header, read read, send(content : String) send, send_request(id, method, params) send_request, send_response(id, result) send_response, show_message_request(message : String, type = 4) show_message_request

Constructor methods inherited from class LSP::Server

new(in __arg0 : IO, out __arg1 : IO) new

Instance Method Detail

def debug_stack(stack : Array(Ast::Node)) #

Logs the given stack.


[View source]
def nodes_at_cursor(path : String, position : LSP::Position) : Array(Ast::Node) #

Returns the nodes at the given cursor (position)


[View source]
def nodes_at_cursor(params : LSP::TextDocumentPositionParams) : Array(Ast::Node) #

[View source]
def nodes_at_cursor(params : LSP::CodeActionParams) : Array(Ast::Node) #

[View source]
def nodes_at_path(path : String) #

[View source]
def params : LSP::InitializeParams | Nil #

[View source]
def params=(params : LSP::InitializeParams | Nil) #

[View source]