Index
All Classes and Interfaces|All Packages
B
- build() - Method in class com.io7m.jlexing.core.LexicalPosition.Builder
-
Builds a new
LexicalPosition. - builder() - Static method in class com.io7m.jlexing.core.LexicalPosition
-
Creates a builder for
LexicalPosition.
C
- clear() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Clears the object by setting all attributes to their initial values.
- column() - Method in class com.io7m.jlexing.core.LexicalPosition
- column() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
- column() - Method in interface com.io7m.jlexing.core.LexicalPositionType
- columnIsSet() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Returns
trueif the required attributecolumnis set. - com.io7m.jlexing.core - package com.io7m.jlexing.core
-
Core types and functions.
- copyOf(LexicalPositionType<F>) - Static method in class com.io7m.jlexing.core.LexicalPosition
-
Creates an immutable copy of a
LexicalPositionTypevalue. - create() - Static method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Construct a modifiable instance of
LexicalPositionType. - create(int, int, Optional<F>) - Static method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Construct a modifiable instance of
LexicalPositionType.
E
- equals(Object) - Method in class com.io7m.jlexing.core.LexicalPosition
-
This instance is equal to all instances of
LexicalPositionthat have equal attribute values. - equals(Object) - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
This instance is equal to all instances of
LexicalPositionMutablethat have equal attribute values.
F
- file() - Method in class com.io7m.jlexing.core.LexicalPosition
- file() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
- file() - Method in interface com.io7m.jlexing.core.LexicalPositionType
- from(LexicalPositionType<F>) - Method in class com.io7m.jlexing.core.LexicalPosition.Builder
-
Fill a builder with attribute values from the provided
LexicalPositionTypeinstance. - from(LexicalPositionType<F>) - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Fill this modifiable instance with attribute values from the provided
LexicalPositionTypeinstance.
H
- hashCode() - Method in class com.io7m.jlexing.core.LexicalPosition
-
Computes a hash code from attributes:
line,column,file. - hashCode() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Computes a hash code from attributes:
line,column,file.
I
- isInitialized() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Returns
trueif all required attributes are set, indicating that the object is initialized.
L
- lexical() - Method in interface com.io7m.jlexing.core.LexicalType
- LexicalPosition<F> - Class in com.io7m.jlexing.core
-
The type of lexical positions.
- LexicalPosition.Builder<F> - Class in com.io7m.jlexing.core
-
Builds instances of type
LexicalPosition. - LexicalPositionMutable<F> - Class in com.io7m.jlexing.core
-
A modifiable implementation of the
LexicalPositionTypetype. - LexicalPositions - Class in com.io7m.jlexing.core
-
Convenience functions over lexical positions.
- LexicalPositionType<F> - Interface in com.io7m.jlexing.core
-
The type of lexical positions.
- LexicalType<F> - Interface in com.io7m.jlexing.core
-
Types that have lexical information.
- line() - Method in class com.io7m.jlexing.core.LexicalPosition
- line() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
- line() - Method in interface com.io7m.jlexing.core.LexicalPositionType
- lineIsSet() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Returns
trueif the required attributelineis set.
O
- of(int, int, Optional<? extends F>) - Static method in class com.io7m.jlexing.core.LexicalPosition
-
Construct a new immutable
LexicalPositioninstance.
S
- setColumn(int) - Method in class com.io7m.jlexing.core.LexicalPosition.Builder
-
Initializes the value for the
columnattribute. - setColumn(int) - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Assigns a value to the
columnattribute. - setFile(F) - Method in class com.io7m.jlexing.core.LexicalPosition.Builder
-
Initializes the optional value
fileto file. - setFile(F) - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Assigns a present value for the optional
fileattribute. - setFile(Optional<? extends F>) - Method in class com.io7m.jlexing.core.LexicalPosition.Builder
-
Initializes the optional value
fileto file. - setFile(Optional<F>) - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Assigns an optional value for
file. - setLine(int) - Method in class com.io7m.jlexing.core.LexicalPosition.Builder
-
Initializes the value for the
lineattribute. - setLine(int) - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Assigns a value to the
lineattribute.
T
- toImmutable() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Converts to
LexicalPosition. - toString() - Method in class com.io7m.jlexing.core.LexicalPosition
-
Prints the immutable value
LexicalPositionwith attribute values. - toString() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Generates a string representation of this
LexicalPositionType.
U
- unsetColumn() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Reset an attribute to its initial value.
- unsetLine() - Method in class com.io7m.jlexing.core.LexicalPositionMutable
-
Reset an attribute to its initial value.
W
- withColumn(int) - Method in class com.io7m.jlexing.core.LexicalPosition
-
Copy the current immutable object by setting a value for the
columnattribute. - withFile(F) - Method in class com.io7m.jlexing.core.LexicalPosition
-
Copy the current immutable object by setting a present value for the optional
fileattribute. - withFile(Optional<? extends F>) - Method in class com.io7m.jlexing.core.LexicalPosition
-
Copy the current immutable object by setting an optional value for the
fileattribute. - withLine(int) - Method in class com.io7m.jlexing.core.LexicalPosition
-
Copy the current immutable object by setting a value for the
lineattribute.
Z
- zero() - Static method in class com.io7m.jlexing.core.LexicalPositions
-
Construct a lexical position at line 0, column 0, with no file.
- zeroWithFile(F) - Static method in class com.io7m.jlexing.core.LexicalPositions
-
Construct a lexical position at line 0, column 0, with the given file.
All Classes and Interfaces|All Packages