class LanguageServer::Protocol::Interface::LocationLink
def initialize(origin_selection_range: nil, target_uri:, target_range:, target_selection_range:)
def initialize(origin_selection_range: nil, target_uri:, target_range:, target_selection_range:) @attributes = {} @attributes[:originSelectionRange] = origin_selection_range if origin_selection_range @attributes[:targetUri] = target_uri @attributes[:targetRange] = target_range @attributes[:targetSelectionRange] = target_selection_range @attributes.freeze end
def origin_selection_range
-
(Range)
-
def origin_selection_range attributes.fetch(:originSelectionRange) end
def target_range
-
(Range)
-
def target_range attributes.fetch(:targetRange) end
def target_selection_range
-
(Range)
-
def target_selection_range attributes.fetch(:targetSelectionRange) end
def target_uri
-
(string)
-
def target_uri attributes.fetch(:targetUri) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end