Package org.parboiled
Interface MatchHandler
- All Known Implementing Classes:
BasicParseRunner
,ErrorLocatingParseRunner
,ErrorReportingParseRunner
,ProfilingParseRunner
,TracingParseRunner
public interface MatchHandler
A MatchHandler is responsible for actually running the match of a given
MatcherContext
.
Many times it wraps the actual call to the matcher with some custom logic, e.g. for error handling.-
Method Summary
Modifier and TypeMethodDescriptionboolean
match
(MatcherContext<?> context) Runs the given MatcherContext.
-
Method Details
-
match
Runs the given MatcherContext.- Parameters:
context
- the MatcherContext- Returns:
- true if matched
-