Module: Holistic::LanguageServer

Defined in:
lib/holistic/language_server/router.rb,
lib/holistic/language_server/current.rb,
lib/holistic/language_server/message.rb,
lib/holistic/language_server/request.rb,
lib/holistic/language_server/response.rb,
lib/holistic/language_server/lifecycle.rb,
lib/holistic/language_server/stdio/start.rb,
lib/holistic/language_server/stdio/parser.rb,
lib/holistic/language_server/requests/lifecycle/exit.rb,
lib/holistic/language_server/requests/lifecycle/shutdown.rb,
lib/holistic/language_server/requests/lifecycle/initialize.rb,
lib/holistic/language_server/requests/lifecycle/initialized.rb,
lib/holistic/language_server/requests/text_document/did_open.rb,
lib/holistic/language_server/requests/text_document/did_save.rb,
lib/holistic/language_server/requests/text_document/did_close.rb,
lib/holistic/language_server/requests/text_document/completion.rb,
lib/holistic/language_server/requests/text_document/did_change.rb,
lib/holistic/language_server/requests/text_document/find_references.rb,
lib/holistic/language_server/requests/text_document/go_to_definition.rb

Defined Under Namespace

Modules: Format, Protocol, Response, Router, Stdio Classes: Current, Lifecycle, Request

Constant Summary collapse

Message =
::Data.define(:data) do
  def params
    data["params"]
  end

  def param(*keys)
    data["params"].dig(*keys)
  end

  def method
    data["method"]
  end

  def id
    data["id"]
  end
end