org.parboiled.parserunners
Class ProfilingParseRunner.Handler

java.lang.Object
  extended by org.parboiled.parserunners.ProfilingParseRunner.Handler
All Implemented Interfaces:
MatchHandler
Enclosing class:
ProfilingParseRunner<V>

public class ProfilingParseRunner.Handler
extends java.lang.Object
implements MatchHandler


Constructor Summary
ProfilingParseRunner.Handler()
           
 
Method Summary
 boolean match(MatcherContext<?> context)
          Runs the given MatcherContext.
 boolean matchRoot(MatcherContext<?> rootContext)
          Runs the root MatcherContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilingParseRunner.Handler

public ProfilingParseRunner.Handler()
Method Detail

matchRoot

public boolean matchRoot(MatcherContext<?> rootContext)
Description copied from interface: MatchHandler
Runs the root MatcherContext.

Specified by:
matchRoot in interface MatchHandler
Parameters:
rootContext - the root MatcherContext.
Returns:
true if matched

match

public boolean match(MatcherContext<?> context)
Description copied from interface: MatchHandler
Runs the given MatcherContext.

Specified by:
match in interface MatchHandler
Parameters:
context - the MatcherContext
Returns:
true if matched