| Package | Description |
|---|---|
| se.l4.lect.location |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TextOffsetLocation
Location representing an offset and a text location in the source.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MutableOffsetLocation
OffsetLocation that is mutable. |
class |
MutableTextOffsetLocation
Mutable
TextOffsetLocation for use in cases where both offset, line
and column is important. |
| Modifier and Type | Method and Description |
|---|---|
OffsetLocation |
OffsetLocation.copy()
Create a copy of this location.
|
OffsetLocation |
MutableOffsetLocation.copy() |
OffsetLocation |
OffsetLocation.moveTextIndex(CharSequence sequence)
Move the text index according to the given sequence of characters.
|
OffsetLocation |
OffsetLocation.moveTextIndex(CharSequence sequence,
int offset,
int length)
Move the text index according to the given sequence of characters.
|
OffsetLocation |
OffsetLocation.moveTextIndex(int amount)
Create a version of this
Location that has moved a number of
positions in a text. |
static OffsetLocation |
Location.offset(int index)
Quickly create a new
MutableOffsetLocation. |
Copyright © 2018. All rights reserved.