(package private) static int |
SourceLocator.binarySearch(IntList ascendingInts,
int value) |
Uses binary search to look up the index of the first element in ascendingInts that's
greater than or equal to value .
|
(package private) static void |
Terminals.checkDup(java.lang.Iterable<java.lang.String> a,
java.lang.Iterable<java.lang.String> b) |
|
(package private) Location |
SourceLocator.lookup(int index) |
Looks up the location identified by ind using the cached indices of line break
characters.
|
(package private) OperatorTable.Operator[] |
OperatorTable.operators() |
|
(package private) void |
ParseContext.raise(ParseContext.ErrorType type,
java.lang.Object subject) |
|
(package private) static java.lang.StringBuilder |
Parser.read(java.lang.Readable from) |
Copies all content from from to to .
|
(package private) Location |
SourceLocator.scanTo(int index) |
Scans from nextIndex to ind and saves all indices of line break characters
into lineBreakIndices and adjusts the current column number as it goes.
|
(package private) static java.lang.String[] |
Operators.sort(java.lang.String... names) |
Sorts names into a new array by putting short string first, unless a shorter string is
a prefix of a longer string, in which case, the longer string is before the prefix string.
|
(package private) static <T> Parser<T>[] |
Parsers.toArray(java.lang.Iterable<? extends Parser<? extends T>> parsers) |
We always convert Iterable to an array to avoid the cost of creating
a new object each time the parser runs.
|
(package private) static <T> Parser<T>[] |
Parsers.toArrayWithIteration(java.lang.Iterable<? extends Parser<? extends T>> parsers) |
|
(package private) static java.lang.String[] |
Keywords.unique(java.util.Comparator<java.lang.String> c,
java.lang.String... names) |
|
(package private) java.lang.Object |
Lexicon.word(java.lang.String name) |
Gets the token value identified by the token text.
|