- All Known Implementing Classes:
ASTMarkersImpl
public interface ASTMarkers<T>
rewrite of ASTMarkers.kt
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interface -
Method Summary
Modifier and TypeMethodDescription@NotNull AtomicReference<T>chameleonAt(int lexemeIndex) @NotNull List<Pair<Integer,AtomicReference<T>>> static voidmimic check() function in kotlinbooleancollapsed(int i) static voiddownTo(int upper, int lower, @NotNull IntConsumer consumer) mimic downTo() function in kotlin@NotNull IElementTypeelementType(int i) static <T> Tmimic error() function in kotlin@Nullable StringerrorMessage(int i) default intfirstChild(int markerIndex) intgetSize()bytekind(int i) default intlastChild(int markerIndex) intlexemeCount(int i) intlexemeRelOffset(int i) intmarkersCount(int i) @NotNull ASTMarkers<T>mutate(@NotNull Function<ASTMarkers.MutableContext<T>, kala.tuple.Unit> mutator) default intnextSibling(int markerIndex) default intprevSibling(int markerIndex) static voidrepeat(int times, @NotNull IntConsumer consumer) mimic repeat() function in kotlinstatic voidmimic require() function in kotlin
-
Method Details
-
getSize
int getSize() -
kind
byte kind(int i) -
errorMessage
-
lexemeCount
int lexemeCount(int i) -
lexemeRelOffset
int lexemeRelOffset(int i) -
collapsed
boolean collapsed(int i) -
markersCount
int markersCount(int i) -
elementType
-
chameleonAt
-
chameleons
-
mutate
@NotNull @NotNull ASTMarkers<T> mutate(@NotNull @NotNull Function<ASTMarkers.MutableContext<T>, kala.tuple.Unit> mutator) -
prevSibling
default int prevSibling(int markerIndex) -
nextSibling
default int nextSibling(int markerIndex) -
lastChild
default int lastChild(int markerIndex) -
firstChild
default int firstChild(int markerIndex) -
require
mimic require() function in kotlin -
check
mimic check() function in kotlin -
repeat
mimic repeat() function in kotlin -
downTo
mimic downTo() function in kotlin -
error
mimic error() function in kotlin
-