5#ifndef HOSHI_LANG_LSP_SERVER_H
6#define HOSHI_LANG_LSP_SERVER_H
30 void sendError(
const json &
id,
int code,
const std::string &message);
void handleDidOpen(const json ¶ms)
void writeMessage(const std::string &content)
void handleShutdown(const json &id)
void handleDefinition(const json &id, const json ¶ms)
void handleDidChange(const json ¶ms)
void sendNotification(const std::string &method, const json ¶ms)
void sendResponse(const json &id, const json &result)
void handleReferences(const json &id, const json ¶ms)
void handleDidClose(const json ¶ms)
std::string readMessage()
std::string workspaceRoot
void sendError(const json &id, int code, const std::string &message)
std::shared_ptr< yoi::compilerContext > compilerCtx
void handleHover(const json &id, const json ¶ms)
ProjectIndex projectIndex
void handleMessage(const json &msg)
void handleCompletion(const json &id, const json ¶ms)
void handleInitialize(const json &id, const json ¶ms)
void handleInitialized(const json ¶ms)
void handleDocumentSymbol(const json &id, const json ¶ms)
void publishDiagnostics(const std::string &uri, int version)