class LSProtocol::LocationLink
- LSProtocol::LocationLink
- Reference
- Object
Overview
Represents the connection of two locations. Provides additional metadata over normal Location
,
including an origin range.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(target_range : Range | Nil, target_selection_range : Range | Nil, target_uri : URI | Nil, origin_selection_range : Range | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #origin_selection_range : Range | Nil
- #target_range : Range
- #target_selection_range : Range
- #target_uri : URI
Constructor Detail
def self.new(target_range : Range | Nil, target_selection_range : Range | Nil, target_uri : URI | Nil, origin_selection_range : Range | Nil = nil)
#