org.antlr.runtime.debug
Class Tracer
java.lang.Object
org.antlr.runtime.debug.BlankDebugEventListener
org.antlr.runtime.debug.Tracer
- All Implemented Interfaces:
- DebugEventListener
public class Tracer
- extends BlankDebugEventListener
The default tracer mimics the traceParser behavior of ANTLR 2.x.
This listens for debugging events from the parser and implies
that you cannot debug and trace at the same time.
Methods inherited from class org.antlr.runtime.debug.BlankDebugEventListener |
addChild, becomeRoot, beginBacktrack, beginResync, commence, consumeHiddenToken, consumeNode, consumeToken, createNode, createNode, endBacktrack, endResync, enterAlt, enterDecision, enterRule, enterSubRule, errorNode, exitDecision, exitRule, exitSubRule, location, LT, LT, mark, nilNode, recognitionException, rewind, rewind, semanticPredicate, setTokenBoundaries, terminate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
input
public IntStream input
level
protected int level
Tracer
public Tracer(IntStream input)
enterRule
public void enterRule(String ruleName)
exitRule
public void exitRule(String ruleName)
getInputSymbol
public Object getInputSymbol(int k)
Copyright © 2011. All Rights Reserved.