class LanguageServer::Protocol::Interface::InlayHintParams
A parameter literal used in inlay hint requests.
def initialize(work_done_token: nil, text_document:, range:)
def initialize(work_done_token: nil, text_document:, range:) @attributes = {} @attributes[:workDoneToken] = work_done_token if work_done_token @attributes[:textDocument] = text_document @attributes[:range] = range @attributes.freeze end
def range
-
(Range)
-
def range attributes.fetch(:range) end
def text_document
-
(TextDocumentIdentifier)
-
def text_document attributes.fetch(:textDocument) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end
def work_done_token
-
(ProgressToken)
-
def work_done_token attributes.fetch(:workDoneToken) end