Class: LSP::CompletionList
Overview
export interface CompletionList
/**
* This list it not complete. Further typing results in recomputing this list.
*/
isIncomplete: boolean;
/**
* The completion items.
*/
items: CompletionItem[];
Instance Attribute Summary collapse
-
#isIncomplete ⇒ Object
type: boolean # type: CompletionItem[].
-
#items ⇒ Object
type: boolean # type: CompletionItem[].
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#isIncomplete ⇒ Object
type: boolean # type: CompletionItem[]
898 899 900 |
# File 'lib/lsp/lsp_types.rb', line 898 def isIncomplete @isIncomplete end |
#items ⇒ Object
type: boolean # type: CompletionItem[]
898 899 900 |
# File 'lib/lsp/lsp_types.rb', line 898 def items @items end |
Instance Method Details
#from_h!(value) ⇒ Object
900 901 902 903 904 905 |
# File 'lib/lsp/lsp_types.rb', line 900 def from_h!(value) value = {} if value.nil? self.isIncomplete = value['isIncomplete'] # Unknown type self.items = to_typed_aray(value['items'], CompletionItem) self end |