Parser implementations.
| Modifier and Type | Field and Description |
|---|---|
| private static final Parser | |
| public static final Parser | |
| public static final Parser | |
| pack-priv static final Parser | |
| public static final Parser | INDEX
Deprecated
Use A SOURCE_LOCATION instead.
Parser that retrieves the current index in the source.
|
| private static final Parser | |
| public static final Parser | SOURCE_LOCATION
A |
| pack-priv static final Parser |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Parser | |
| public static <T> Parser | |
| public static Parser | |
| public static <T> Parser | between(Parser<?> before, Parser<T> parser, Parser<?> after)
Equivalent to |
| public static <T> Parser | |
| pack-priv static Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| pack-priv static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <A, B> Parser | |
| public static Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <A, B, T> Parser | sequence(final Parser<A> p1, final Parser<B> p2, final BiFunction<? super A, ? super B, ? extends T> map)
A |
| public static <A, B, C, T> Parser | |
| public static <A, B, C, D, T> Parser | |
| public static <A, B, C, D, E, T> Parser | |
| public static <A, B, C, D, E, F, T> Parser | sequence(final Parser<A> p1, final Parser<B> p2, final Parser<C> p3, final Parser<D> p4, final Parser<E> p5, final Parser<F> p6, final Map6<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? extends T> map)
A |
| public static <A, B, C, D, E, F, G, T> Parser | sequence(final Parser<A> p1, final Parser<B> p2, final Parser<C> p3, final Parser<D> p4, final Parser<E> p5, final Parser<F> p6, final Parser<G> p7, final Map7<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? extends T> map)
A |
| public static <A, B, C, D, E, F, G, H, T> Parser | sequence(final Parser<A> p1, final Parser<B> p2, final Parser<C> p3, final Parser<D> p4, final Parser<E> p5, final Parser<F> p6, final Parser<G> p7, final Parser<H> p8, final Map8<? super A, ? super B, ? super C, ? super D, ? super E, ? super F, ? super G, ? super H, ? extends T> map)
A |
| public static Parser | |
| public static Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| public static <T> Parser | |
| pack-priv static <T> Parser | toArray(Iterable<? extends Parser<? extends T>> parsers)
We always convert |
| private static <T> Parser | |
| pack-priv static <T> Parser | |
| public static <T> Parser | |
| pack-priv static Parser | tokens(final Parser<? extends Collection<Token>> parser)
Converts a parser of a collection of |
| public static <T> Parser | |
| public static <A, B> Parser | |
| public static <A, B, C> Parser | |
| public static <A, B, C, D> Parser | |
| public static <A, B, C, D, E> Parser | |
| public static <T> Parser |
| ALWAYS | back to summary |
|---|---|
private static final Parser<T> ALWAYS
| |
| ANY_TOKEN | back to summary |
|---|---|
| public static final Parser<Object> ANY_TOKEN A | |
| EOF | back to summary |
|---|---|
| public static final Parser<?> EOF
| |
| FALSE | back to summary |
|---|---|
| pack-priv static final Parser<Boolean> FALSE | |
| INDEX | back to summary |
|---|---|
| public static final Parser<Integer> INDEX
Deprecated Use A | |
| NEVER | back to summary |
|---|---|
private static final Parser<T> NEVER
| |
| SOURCE_LOCATION | back to summary |
|---|---|
| public static final Parser<SourceLocation> SOURCE_LOCATION A Because
| |
| TRUE | back to summary |
|---|---|
| pack-priv static final Parser<Boolean> TRUE | |
| Parsers | back to summary |
|---|---|
| private Parsers() | |
| alt | back to summary |
|---|---|
| private static Parser Allows the overloads of "or()" to call the varargs version of "or" with no ambiguity. | |
| always | back to summary |
|---|---|
| public static <T> Parser
| |
| array | back to summary |
|---|---|
| public static Parser A | |
| between | back to summary |
|---|---|
| public static <T> Parser Equivalent to | |
| constant | back to summary |
|---|---|
| public static <T> Parser A | |
| eof | back to summary |
|---|---|
| pack-priv static Parser A | |
| expect | back to summary |
|---|---|
| public static <T> Parser A | |
| fail | back to summary |
|---|---|
| public static <T> Parser A | |
| list | back to summary |
|---|---|
| public static <T> Parser A | |
| longer | back to summary |
|---|---|
| public static <T> Parser A
| |
| longest | back to summary |
|---|---|
| public static <T> Parser A | |
| longest | back to summary |
|---|---|
| public static <T> Parser A | |
| nested | back to summary |
|---|---|
| pack-priv static <T> Parser A It fails if either | |
| never | back to summary |
|---|---|
| public static <T> Parser
| |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| or | back to summary |
|---|---|
| public static <T> Parser A Different than | |
| or | back to summary |
|---|---|
| public static <T> Parser A | |
| pair | back to summary |
|---|---|
| public static <A, B> Parser Deprecated Prefer to converting to your own object with a lambda. A
| |
| runnable | back to summary |
|---|---|
| public static Parser Deprecated
A
| |
| sequence | back to summary |
|---|---|
| public static <T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <A, B, T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <A, B, C, T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <A, B, C, D, T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <A, B, C, D, E, T> Parser A | |
| sequence | back to summary |
|---|---|
| public static <A, B, C, D, E, F, T> Parser A
| |
| sequence | back to summary |
|---|---|
| public static <A, B, C, D, E, F, G, T> Parser A
| |
| sequence | back to summary |
|---|---|
| public static <A, B, C, D, E, F, G, H, T> Parser A
| |
| sequence | back to summary |
|---|---|
| public static Parser A | |
| sequence | back to summary |
|---|---|
| public static Parser A | |
| shorter | back to summary |
|---|---|
| public static <T> Parser A
| |
| shortest | back to summary |
|---|---|
| public static <T> Parser A | |
| shortest | back to summary |
|---|---|
| public static <T> Parser A | |
| toArray | back to summary |
|---|---|
| pack-priv static <T> Parser We always convert
| |
| toArray | back to summary |
|---|---|
private static <T> Parser
| |
| toArrayWithIteration | back to summary |
|---|---|
pack-priv static <T> Parser
| |
| token | back to summary |
|---|---|
| public static <T> Parser Checks the current token with the | |
| tokens | back to summary |
|---|---|
| pack-priv static Parser Converts a parser of a collection of | |
| tokenType | back to summary |
|---|---|
| public static <T> Parser Checks whether the current token value is of | |
| tuple | back to summary |
|---|---|
| public static <A, B> Parser Deprecated Prefer to converting to your own object with a lambda. A
| |
| tuple | back to summary |
|---|---|
| public static <A, B, C> Parser Deprecated Prefer to converting to your own object with a lambda. A
| |
| tuple | back to summary |
|---|---|
| public static <A, B, C, D> Parser Deprecated Prefer to converting to your own object with a lambda. A
| |
| tuple | back to summary |
|---|---|
| public static <A, B, C, D, E> Parser Deprecated Prefer to converting to your own object with a lambda. A
| |
| unexpected | back to summary |
|---|---|
| public static <T> Parser A | |