| Package | Description |
|---|---|
| com.io7m.jlexing.core |
Core types and functions.
|
| Modifier and Type | Method | Description |
|---|---|---|
LexicalPosition<F> |
LexicalPosition.Builder.build() |
Builds a new
LexicalPosition. |
static <F> LexicalPosition<F> |
LexicalPosition.copyOf(LexicalPositionType<F> instance) |
Creates an immutable copy of a
LexicalPositionType value. |
LexicalPosition<F> |
LexicalType.lexical() |
|
static <F> LexicalPosition<F> |
LexicalPosition.of(int line,
int column,
Optional<? extends F> file) |
Construct a new immutable
LexicalPosition instance. |
LexicalPosition<F> |
LexicalPositionMutable.toImmutable() |
Converts to
LexicalPosition. |
LexicalPosition<F> |
LexicalPosition.withColumn(int value) |
Copy the current immutable object by setting a value for the
column attribute. |
LexicalPosition<F> |
LexicalPosition.withFile(F value) |
Copy the current immutable object by setting a present value for the optional
file attribute. |
LexicalPosition<F> |
LexicalPosition.withFile(Optional<? extends F> optional) |
Copy the current immutable object by setting an optional value for the
file attribute. |
LexicalPosition<F> |
LexicalPosition.withLine(int value) |
Copy the current immutable object by setting a value for the
line attribute. |
static <F> LexicalPosition<F> |
LexicalPositions.zero() |
Construct a lexical position at line 0, column 0, with no file.
|
static <F> LexicalPosition<F> |
LexicalPositions.zeroWithFile(F file) |
Construct a lexical position at line 0, column 0, with the given file.
|
Copyright © 2017 <code@io7m.com> http://io7m.com