Package com.io7m.jlexing.core
Interface LexicalPositionType<F>
- Type Parameters:
F- The type of file information
- All Known Implementing Classes:
LexicalPosition,LexicalPositionMutable
@Immutable
@Modifiable
public interface LexicalPositionType<F>
The type of lexical positions.
-
Method Summary
-
Method Details
-
line
@Parameter int line()- Returns:
- The line number
-
column
@Parameter int column()- Returns:
- The column number
-
file
- Returns:
- The file, if any
-
columnEnd
@Default default int columnEnd()The "end" column number. This defines an inclusive span[column, columnEnd]and defaults tocolumnif not specified.- Returns:
- The column end number
- Since:
- 3.1.0
-