|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParseRunner<V>
A ParseRunner performs the actual parsing run of a given parser rule on a given input text.
Method Summary | |
---|---|
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. |
Method Detail |
---|
ParseRunner<V> withParseErrors(java.util.List<ParseError> parseErrors)
parseErrors
- the error list to start off with
ParseRunner<V> withValueStack(ValueStack<V> valueStack)
valueStack
- the ValueStack to use
ParsingResult<V> run(java.lang.String input)
input
- the input text to parse
ParsingResult<V> run(char[] input)
input
- the input text to parse
ParsingResult<V> run(InputBuffer inputBuffer)
inputBuffer
- the inputBuffer to use
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |