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 givenMatcherContext
. Many times it wraps the actual call to the matcher with some custom logic, e.g. for error handling.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
match(MatcherContext<?> context)
Runs the given MatcherContext.
-
-
-
Method Detail
-
match
boolean match(MatcherContext<?> context)
Runs the given MatcherContext.- Parameters:
context
- the MatcherContext- Returns:
- true if matched
-
-