Class: LSP::SignatureHelp
Overview
export interface SignatureHelp
/**
* One or more signatures.
*/
signatures: SignatureInformation[];
/**
* The active signature. Set to `null` if no
* signatures exist.
*/
activeSignature: number | null;
/**
* The active parameter of the active signature. Set to `null`
* if the active signature has no parameters.
*/
activeParameter: number | null;
Instance Attribute Summary collapse
-
#activeParameter ⇒ Object
type: SignatureInformation[] # type: number | null # type: number | null.
-
#activeSignature ⇒ Object
type: SignatureInformation[] # type: number | null # type: number | null.
-
#signatures ⇒ Object
type: SignatureInformation[] # type: number | null # type: number | null.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#activeParameter ⇒ Object
type: SignatureInformation[] # type: number | null # type: number | null
1018 1019 1020 |
# File 'lib/lsp/lsp_types.rb', line 1018 def activeParameter @activeParameter end |
#activeSignature ⇒ Object
type: SignatureInformation[] # type: number | null # type: number | null
1018 1019 1020 |
# File 'lib/lsp/lsp_types.rb', line 1018 def activeSignature @activeSignature end |
#signatures ⇒ Object
type: SignatureInformation[] # type: number | null # type: number | null
1018 1019 1020 |
# File 'lib/lsp/lsp_types.rb', line 1018 def signatures @signatures end |
Instance Method Details
#from_h!(value) ⇒ Object
1020 1021 1022 1023 1024 1025 1026 |
# File 'lib/lsp/lsp_types.rb', line 1020 def from_h!(value) value = {} if value.nil? self.signatures = to_typed_aray(value['signatures'], SignatureInformation) self.activeSignature = value['activeSignature'] # Unknown type self.activeParameter = value['activeParameter'] # Unknown type self end |