public class Production2
extends java.lang.Object
Constructor and Description |
---|
Production2() |
Modifier and Type | Method and Description |
---|---|
<T> Production<T> |
action(java.util.function.Function<SymbolsIn,T> in,
java.util.function.BiConsumer<SymbolsOut,T> out) |
static Production2 |
empty() |
Production2 |
not() |
Production2 |
not(Production2 production) |
static Production2 |
produce2(Symbol... symbols) |
Production2 |
repeat() |
Production2 |
repeat(int minimum) |
Production2 |
repeat(int minimum,
int maximum) |
Production2 |
then(Production2 symbol) |
Production2 |
then(Symbol symbol) |
public static Production2 empty()
public static Production2 produce2(Symbol... symbols)
public Production2 repeat()
public Production2 not()
public Production2 not(Production2 production)
public Production2 repeat(int minimum)
public Production2 repeat(int minimum, int maximum)
public Production2 then(Symbol symbol)
public Production2 then(Production2 symbol)
public <T> Production<T> action(java.util.function.Function<SymbolsIn,T> in, java.util.function.BiConsumer<SymbolsOut,T> out)