Class SelectionRange
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.SelectionRange
A selection range represents a part of a selection hierarchy. A selection range may have a parent
selection range that contains it.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SelectionRangecreate(Range range, SelectionRange parent) Creates a new SelectionRange.booleanThe parent selection range containing this range.getRange()The [range](#Range) of this selection range.inthashCode()setParent(SelectionRange parent)
-
Method Details
-
getRange
The [range](#Range) of this selection range. -
setRange
-
getParent
The parent selection range containing this range. Therefore `parent.range` must contain `this.range`. -
setParent
-
equals
-
hashCode
public int hashCode() -
create
Creates a new SelectionRange.- Parameters:
range- the range.parent- an optional parent.
-