protected abstract class NonTerminalConsumer.ElementConsumer<Element extends AbstractElement> extends Object implements IElementConsumer, IParsedTokenSource
| Modifier | Constructor and Description |
|---|---|
protected |
NonTerminalConsumer.ElementConsumer(Element element) |
| Modifier and Type | Method and Description |
|---|---|
int |
consume()
Scan the configured input source for a consumable element at the current offset.
|
protected abstract int |
doConsume(boolean optional) |
protected Element |
getElement() |
protected String |
getErrorMessage() |
int |
parseAgain(ParsedToken token) |
protected NonTerminalConsumer.ElementConsumer(Element element)
public int consume()
throws Exception
IElementConsumerconsume in interface IElementConsumerExceptionpublic int parseAgain(ParsedToken token) throws Exception
parseAgain in interface IParsedTokenSourceExceptionprotected final Element getElement()
protected String getErrorMessage()
Copyright © 2015. All Rights Reserved.