class Mint::LS::Server
- Mint::LS::Server
- LSP::Server
- Reference
- Object
Defined in:
ls/server.crInstance Method Summary
-
#debug_stack(stack : Array(Ast::Node))
Logs the given stack.
-
#nodes_at_cursor(path : String, position : LSP::Position) : Array(Ast::Node)
Returns the nodes at the given cursor (position)
- #nodes_at_cursor(params : LSP::TextDocumentPositionParams) : Array(Ast::Node)
- #nodes_at_cursor(params : LSP::CodeActionParams) : Array(Ast::Node)
- #nodes_at_path(path : String)
- #params : LSP::InitializeParams | Nil
- #params=(params : LSP::InitializeParams | Nil)
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
Returns the nodes at the given cursor (position)