Class: DSP::GotoTargetsArguments
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface GotoTargetsArguments {
/** The source location for which the goto targets are determined. */
source: Source;
/** The line location for which the goto targets are determined. */
line: number;
/** An optional column location for which the goto targets are determined. */
column?: number;
}
Instance Attribute Summary collapse
-
#column ⇒ Object
type: Source # type: number # type: number.
-
#line ⇒ Object
type: Source # type: number # type: number.
-
#source ⇒ Object
type: Source # type: number # type: number.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ GotoTargetsArguments
constructor
A new instance of GotoTargetsArguments.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ GotoTargetsArguments
Returns a new instance of GotoTargetsArguments.
3220 3221 3222 3223 |
# File 'lib/dsp/dsp_protocol.rb', line 3220 def initialize(initial_hash = nil) super @optional_method_names = %i[column] end |
Instance Attribute Details
#column ⇒ Object
type: Source # type: number # type: number
3218 3219 3220 |
# File 'lib/dsp/dsp_protocol.rb', line 3218 def column @column end |
#line ⇒ Object
type: Source # type: number # type: number
3218 3219 3220 |
# File 'lib/dsp/dsp_protocol.rb', line 3218 def line @line end |
#source ⇒ Object
type: Source # type: number # type: number
3218 3219 3220 |
# File 'lib/dsp/dsp_protocol.rb', line 3218 def source @source end |