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 Type
    Method
    Description
    boolean
    match(MatcherContext<?> context)
    Runs the given MatcherContext.
  • Method Details

    • match

      boolean match(MatcherContext<?> context)
      Runs the given MatcherContext.
      Parameters:
      context - the MatcherContext
      Returns:
      true if matched