class LanguageServer::Protocol::Interface::SelectionRange
def initialize(range:, parent: nil)
def initialize(range:, parent: nil) @attributes = {} @attributes[:range] = range @attributes[:parent] = parent if parent @attributes.freeze end
def parent
-
(SelectionRange)
-
def parent attributes.fetch(:parent) end
def range
-
(Range)
-
def range attributes.fetch(:range) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end