class LSProtocol::LocationLink

Overview

Represents the connection of two locations. Provides additional metadata over normal Location, including an origin range.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(target_range : Range | Nil, target_selection_range : Range | Nil, target_uri : URI | Nil, origin_selection_range : Range | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def origin_selection_range : Range | Nil #

[View source]
def target_range : Range #

[View source]
def target_selection_range : Range #

[View source]
def target_uri : URI #

[View source]