R - the first input type of parsing resultsS - the second input type of parsing resultsT - the output type of parsing resultsM - the type of diagnostic messages@FunctionalInterface public static interface Action.BiContinuation<R,S,T,M,O> extends BiFunction<R,S,Action<T,M,O>>
| Modifier and Type | Method and Description |
|---|---|
default Action<T,M,O> |
apply(R arg1,
S arg2) |
Action<T,M,O> |
apply(R arg1,
S arg2,
Success<?,M,O> recyclable)
Applies this continuation, possibly using a recyclable leaf
node.
|
static <R,S,T,M,O> |
forget(BiFunction<? super R,? super S,? extends Action<T,M,O>> fun)
Lifts a monadic function on parsing results to a continuation.
|
andThenAction<T,M,O> apply(R arg1, S arg2, Success<?,M,O> recyclable)
arg1 - the first input parsing resultarg2 - the second input parsing resultrecyclable - a recyclable leaf node, or null if
not availablerecyclable if available or new.Action.succeed(Object, Success)static <R,S,T,M,O> Action.BiContinuation<R,S,T,M,O> forget(BiFunction<? super R,? super S,? extends Action<T,M,O>> fun)
fun - the functionIllegalArgumentException - if fun == nullsee also the complete user documentation .