Class: DSP::InitializeRequestArguments
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface InitializeRequestArguments {
/** The ID of the (frontend) client using this adapter. */
clientID?: string;
/** The human readable name of the (frontend) client using this adapter. */
clientName?: string;
/** The ID of the debug adapter. */
adapterID: string;
/** The ISO-639 locale of the (frontend) client using this adapter, e.g. en-US or de-CH. */
locale?: string;
/** If true all line numbers are 1-based (default). */
linesStartAt1?: boolean;
/** If true all column numbers are 1-based (default). */
columnsStartAt1?: boolean;
/** Determines in what format paths are specified. The default is 'path', which is the native format.
Values: 'path', 'uri', etc.
*/
pathFormat?: string;
/** Client supports the optional type attribute for variables. */
supportsVariableType?: boolean;
/** Client supports the paging of variables. */
supportsVariablePaging?: boolean;
/** Client supports the runInTerminal request. */
supportsRunInTerminalRequest?: boolean;
/** Client supports memory references. */
supportsMemoryReferences?: boolean;
/** Client supports progress reporting. */
supportsProgressReporting?: boolean;
}
Instance Attribute Summary collapse
-
#adapterID ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#clientID ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#clientName ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#columnsStartAt1 ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#linesStartAt1 ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#locale ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#pathFormat ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#supportsMemoryReferences ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#supportsProgressReporting ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#supportsRunInTerminalRequest ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#supportsVariablePaging ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
-
#supportsVariableType ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ InitializeRequestArguments
constructor
A new instance of InitializeRequestArguments.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ InitializeRequestArguments
Returns a new instance of InitializeRequestArguments.
885 886 887 888 |
# File 'lib/dsp/dsp_protocol.rb', line 885 def initialize(initial_hash = nil) super @optional_method_names = %i[clientID clientName locale linesStartAt1 columnsStartAt1 pathFormat supportsVariableType supportsVariablePaging supportsRunInTerminalRequest supportsMemoryReferences supportsProgressReporting] end |
Instance Attribute Details
#adapterID ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def adapterID @adapterID end |
#clientID ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def clientID @clientID end |
#clientName ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def clientName @clientName end |
#columnsStartAt1 ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def columnsStartAt1 @columnsStartAt1 end |
#linesStartAt1 ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def linesStartAt1 @linesStartAt1 end |
#locale ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def locale @locale end |
#pathFormat ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def pathFormat @pathFormat end |
#supportsMemoryReferences ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def supportsMemoryReferences @supportsMemoryReferences end |
#supportsProgressReporting ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def supportsProgressReporting @supportsProgressReporting end |
#supportsRunInTerminalRequest ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def supportsRunInTerminalRequest @supportsRunInTerminalRequest end |
#supportsVariablePaging ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def supportsVariablePaging @supportsVariablePaging end |
#supportsVariableType ⇒ Object
type: string # type: string # type: string # type: string # type: boolean # type: boolean # type: string # type: boolean # type: boolean # type: boolean # type: boolean # type: boolean
883 884 885 |
# File 'lib/dsp/dsp_protocol.rb', line 883 def supportsVariableType @supportsVariableType end |
Instance Method Details
#from_h!(value) ⇒ Object
890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 |
# File 'lib/dsp/dsp_protocol.rb', line 890 def from_h!(value) value = {} if value.nil? self.clientID = value['clientID'] self.clientName = value['clientName'] self.adapterID = value['adapterID'] self.locale = value['locale'] self.linesStartAt1 = value['linesStartAt1'] # Unknown type self.columnsStartAt1 = value['columnsStartAt1'] # Unknown type self.pathFormat = value['pathFormat'] self.supportsVariableType = value['supportsVariableType'] # Unknown type self.supportsVariablePaging = value['supportsVariablePaging'] # Unknown type self.supportsRunInTerminalRequest = value['supportsRunInTerminalRequest'] # Unknown type self.supportsMemoryReferences = value['supportsMemoryReferences'] # Unknown type self.supportsProgressReporting = value['supportsProgressReporting'] # Unknown type self end |