protected abstract class NonTerminalConsumer.OptionalAlternativesConsumer extends NonTerminalConsumer.OptionalElementConsumer<Alternatives> implements IFurtherParsable.Source<AlternativesToken>
Modifier | Constructor and Description |
---|---|
protected |
NonTerminalConsumer.OptionalAlternativesConsumer(Alternatives element) |
Modifier and Type | Method and Description |
---|---|
protected int |
doConsume(boolean optional) |
protected abstract void |
doGetConsumers(NonTerminalConsumer.ConsumerAcceptor acceptor) |
protected IElementConsumer[] |
getConsumers() |
int |
parseFurther(IFurtherParsable<AlternativesToken> token) |
consume
getElement, getErrorMessage, parseAgain
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parseAgain
protected NonTerminalConsumer.OptionalAlternativesConsumer(Alternatives element)
protected final int doConsume(boolean optional) throws java.lang.Exception
doConsume
in class NonTerminalConsumer.ElementConsumer<Alternatives>
java.lang.Exception
protected final IElementConsumer[] getConsumers()
public int parseFurther(IFurtherParsable<AlternativesToken> token) throws java.lang.Exception
parseFurther
in interface IFurtherParsable.Source<AlternativesToken>
java.lang.Exception
protected abstract void doGetConsumers(NonTerminalConsumer.ConsumerAcceptor acceptor)