class

LSP::SelectionRange

Inherits JSON::Serializable < LSP::Initializer < Reference < Object

A selection range: a range and its parents, from the innermost to the outermost. Every parent contains its child.

A class rather than a struct: the parent is another selection range.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

parent
Source
parent=(parent : SelectionRange | Nil)
Source
range
Source
range=(range : Range)
Source