public interface ParseRunner<V>
Note: if you want to use a parser on a String
input, use the
run(CharSequence)
method, since String implements
CharSequence
(and so does CharBuffer
; see also for large files).
Modifier and Type | Method and Description |
---|---|
ParsingResult<V> |
run(CharSequence 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(CharSequence input)
input
- the input text to parseParsingResult<V> run(InputBuffer inputBuffer)
inputBuffer
- the inputBuffer to use