-
Field Summary
Fields
static final int
static final int
-
Method Summary
int
The column number at the specified line.
int
The column offset at the specified line.
boolean
boolean
int
The line number in a file.
int
The line offset in a file.
-
Field Details
-
TREE_START_POSITION_COMPARATOR
-
FIRST_LINE
static final int FIRST_LINE
- See Also:
-
-
FIRST_COLUMN
static final int FIRST_COLUMN
- See Also:
-
-
Method Details
-
line
int line()
The line number in a file. First line number is 1.
-
lineOffset
int lineOffset()
The line offset in a file. First line offset is 0. (lineOffset() == line() - 1)
-
column
int column()
The column number at the specified line. First column number is 1. (column() == columnOffset() + 1)
-
columnOffset
int columnOffset()
The column offset at the specified line. First column offset is 0. (columnOffset() == column() - 1)
-
at
static Position at(int line,
int column)
-
-
-
-
-
-
-
-