Class 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.
  • Field Details

    • input

      public IntStream input
    • level

      protected int level
  • Constructor Details

  • Method Details

    • enterRule

      public void enterRule(String ruleName)
    • exitRule

      public void exitRule(String ruleName)
    • getInputSymbol

      public Object getInputSymbol(int k)