class LSProtocol::SelectionRange
- LSProtocol::SelectionRange
- Reference
- Object
Overview
A selection range represents a part of a selection hierarchy. A selection range may have a parent selection range that contains it.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
-
#parent : SelectionRange | Nil
The parent selection range containing this range.
-
#range : Range
The
Range
of this selection range.
Constructor Detail
Instance Method Detail
def parent : SelectionRange | Nil
#
The parent selection range containing this range. Therefore parent.range
must contain this.range
.