public static class Translet.TupleParser<A,B,C,D> extends Translet.Parser<Translet.Tuple<A,B,C,D>>
Modifier and Type | Field and Description |
---|---|
protected Translet.Parser<A> |
p1 |
protected Translet.Parser<B> |
p2 |
protected Translet.Parser<C> |
p3 |
protected Translet.Parser<D> |
p4 |
protected Translet.Parser<?> |
sep0 |
protected Translet.Parser<?> |
sep1 |
protected Translet.Parser<?> |
sep2 |
protected Translet.Parser<?> |
sep3 |
protected Translet.Parser<?> |
sep4 |
Constructor and Description |
---|
Translet.TupleParser(Translet.Parser<?> sep0,
Translet.Parser<A> p1,
Translet.Parser<?> sep1,
Translet.Parser<B> p2,
Translet.Parser<?> sep2,
Translet.Parser<C> p3,
Translet.Parser<?> sep3,
Translet.Parser<D> p4,
Translet.Parser<?> sep4) |
Translet.TupleParser(Translet.Parser<A> p1,
Translet.Parser<B> p2,
Translet.Parser<C> p3,
Translet.Parser<D> p4) |
Modifier and Type | Method and Description |
---|---|
Format |
name(boolean full) |
boolean |
noSeps() |
Set<Translet.State<Translet.Tuple<A,B,C,D>>> |
parseOneState(Translet.State<?> inState,
Set<Translet.Alternative> alternatives)
default implementation for terminal symbols, etc.
|
canProduceEpsilon, executeStoring, isExplicitEpsilon, isOpt, isUnaryOperator, mparse, mparse, parseStep, stripOpt, toString, toString
protected Translet.Parser<?> sep0
protected Translet.Parser<A> p1
protected Translet.Parser<?> sep1
protected Translet.Parser<B> p2
protected Translet.Parser<?> sep2
protected Translet.Parser<C> p3
protected Translet.Parser<?> sep3
protected Translet.Parser<D> p4
protected Translet.Parser<?> sep4
public Translet.TupleParser(Translet.Parser<?> sep0, Translet.Parser<A> p1, Translet.Parser<?> sep1, Translet.Parser<B> p2, Translet.Parser<?> sep2, Translet.Parser<C> p3, Translet.Parser<?> sep3, Translet.Parser<D> p4, Translet.Parser<?> sep4)
public Translet.TupleParser(Translet.Parser<A> p1, Translet.Parser<B> p2, Translet.Parser<C> p3, Translet.Parser<D> p4)
public Set<Translet.State<Translet.Tuple<A,B,C,D>>> parseOneState(Translet.State<?> inState, Set<Translet.Alternative> alternatives)
Translet.Parser
parseOneState
in class Translet.Parser<Translet.Tuple<A,B,C,D>>
public boolean noSeps()
public Format name(boolean full)
name
in class Translet.Parser<Translet.Tuple<A,B,C,D>>