Class: LSP::DidCloseTextDocumentParams

Inherits:
LSPBase
  • Object
show all
Defined in:
lib/lsp/lsp_protocol.rb

Overview

export interface DidCloseTextDocumentParams

/**
 * The document that was closed.
 */
textDocument: TextDocumentIdentifier;

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from LSP::LSPBase

Instance Attribute Details

#textDocumentObject

type: TextDocumentIdentifier



614
615
616
# File 'lib/lsp/lsp_protocol.rb', line 614

def textDocument
  @textDocument
end

Instance Method Details

#from_h!(value) ⇒ Object



616
617
618
619
620
# File 'lib/lsp/lsp_protocol.rb', line 616

def from_h!(value)
  value = {} if value.nil?
  self.textDocument = value['textDocument'] # Unknown type
  self
end