public interface ParseRunner<V>
Modifier and Type | Method and Description |
---|---|
ParsingResult<V> |
run(char[] input)
Performs the actual parse and creates a corresponding ParsingResult instance.
|
ParsingResult<V> |
run(InputBuffer inputBuffer)
Performs the actual parse and creates a corresponding ParsingResult instance.
|
ParsingResult<V> |
run(java.lang.String input)
Performs the actual parse and creates a corresponding ParsingResult instance.
|
ParseRunner<V> |
withParseErrors(java.util.List<ParseError> parseErrors)
Initializes the parse runner with the given error list.
|
ParseRunner<V> |
withValueStack(ValueStack<V> valueStack)
Initializes the parse runner with the given ValueStack instance.
|
ParseRunner<V> withParseErrors(java.util.List<ParseError> parseErrors)
parseErrors
- the error list to start off withParseRunner<V> withValueStack(ValueStack<V> valueStack)
valueStack
- the ValueStack to useParsingResult<V> run(java.lang.String input)
input
- the input text to parseParsingResult<V> run(char[] input)
input
- the input text to parseParsingResult<V> run(InputBuffer inputBuffer)
inputBuffer
- the inputBuffer to use