public static class Translet.StarParser<D> extends Translet.RepParser<D>
Modifier and Type | Field and Description |
---|---|
protected Translet.PlusParser<D> |
plus |
greedy, isStar, sep, sub
Constructor and Description |
---|
StarParser(Translet.Parser<D> sub,
Translet.Parser<?> sep,
boolean greedy) |
Modifier and Type | Method and Description |
---|---|
Translet.Parser<List<D>> |
stripOpt()
Returns the first nested parser which is NOT an
Translet.OptionParser . |
name, parseOneState, parseProlongation, unparse
executeStoring, isTerminal, mparse, name, parseEpsilon, toString, toString, wrapResult
protected Translet.PlusParser<D> plus
public StarParser(Translet.Parser<D> sub, Translet.Parser<?> sep, boolean greedy)
public Translet.Parser<List<D>> stripOpt()
Translet.Parser
Translet.OptionParser
.stripOpt
in class Translet.Parser<List<D>>