org.parboiled.parserunners
Interface ParseRunner<V>

All Known Implementing Classes:
BasicParseRunner, ProfilingParseRunner, RecordingParseRunner, RecoveringParseRunner, ReportingParseRunner, TracingParseRunner

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(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.
 

Method Detail

run

ParsingResult<V> run(java.lang.String input)
Performs the actual parse and creates a corresponding ParsingResult instance.

Parameters:
input - the input text to parse
Returns:
the ParsingResult for the run

run

ParsingResult<V> run(InputBuffer inputBuffer)
Performs the actual parse and creates a corresponding ParsingResult instance.

Parameters:
inputBuffer - the inputBuffer to use
Returns:
the ParsingResult for the run