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(result = nil, error = nil, id = nil, method = nil, params = nil) send, 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(params : LSP::TextDocumentPositionParams) : Array(Ast::Node) #

Returns the nodes at the given cursor (position)


[View source]