Class: LSP::FileEvent
Overview
export interface FileEvent { /** * The file's uri. / uri: DocumentUri; /* * The change type. */ type: FileChangeType; }
Instance Attribute Summary collapse
-
#type ⇒ Object
type: DocumentUri # type: FileChangeType.
-
#uri ⇒ Object
type: DocumentUri # type: FileChangeType.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#type ⇒ Object
type: DocumentUri # type: FileChangeType
739 740 741 |
# File 'lib/lsp/lsp_protocol.rb', line 739 def type @type end |
#uri ⇒ Object
type: DocumentUri # type: FileChangeType
739 740 741 |
# File 'lib/lsp/lsp_protocol.rb', line 739 def uri @uri end |
Instance Method Details
#from_h!(value) ⇒ Object
741 742 743 744 745 746 |
# File 'lib/lsp/lsp_protocol.rb', line 741 def from_h!(value) value = {} if value.nil? self.uri = value['uri'] # Unknown type self.type = value['type'] # Unknown type self end |