Interface SyTextLocationType
- All Superinterfaces:
Comparable<SyTextLocationType>
A text location.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA caret.static final recordInformation about a character at a location. -
Method Summary
Methods inherited from interface Comparable
compareTo
-
Method Details
-
lineNumber
SyTextLineNumber lineNumber()- Returns:
- The line number of the text
-
characterAt
SyTextLocationType.SyCharacter characterAt()- Returns:
- The character at the location
-
caret
SyTextLocationType.SyCaret caret()- Returns:
- The caret for this location
-