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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
Sourcenew
SourceInstance methods
parent
Sourceparent=(parent : SelectionRange | Nil)
Sourcerange
Sourcerange=(range : Range)
Source