class LanguageServer::Protocol::Interface::DocumentRangeFormattingParams
def initialize(work_done_token: nil, text_document:, range:, options:)
def initialize(work_done_token: nil, text_document:, range:, options:) @attributes = {} @attributes[:workDoneToken] = work_done_token if work_done_token @attributes[:textDocument] = text_document @attributes[:range] = range @attributes[:options] = options @attributes.freeze end
def options
-
(FormattingOptions)
-
def options attributes.fetch(:options) 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