class LanguageServer::Protocol::Interface::TextDocumentPositionParams

def initialize(text_document:, position:)

def initialize(text_document:, position:)
  @attributes = {}
  @attributes[:textDocument] = text_document
  @attributes[:position] = position
  @attributes.freeze
end

def position

Returns:
  • (Position) -
def position
  attributes.fetch(:position)
end

def text_document

Returns:
  • (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