Top Description Fields Constructors Methods
org.antlr.runtime.debug

public Class Tracer

extends BlankDebugEventListener
Class Inheritance
Imports
org.antlr.runtime.IntStream, .TokenStream

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 Summary

Modifier and TypeField and Description
public IntStream
protected int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
enterRule(String ruleName)

public void
exitRule(String ruleName)

public Object
Inherited from org.antlr.runtime.debug.BlankDebugEventListener:
addChildbecomeRootbeginBacktrackbeginResynccommenceconsumeHiddenTokenconsumeNodeconsumeTokencreateNodecreateNodeendBacktrackendResyncenterAltenterDecisionenterRuleenterSubRuleerrorNodeexitDecisionexitRuleexitSubRulelocationLTLTmarknilNoderecognitionExceptionrewindrewindsemanticPredicatesetTokenBoundariesterminate

Field Detail

inputback to summary
public IntStream input
levelback to summary
protected int level

Constructor Detail

Tracerback to summary
public Tracer(IntStream input)

Method Detail

enterRuleback to summary
public void enterRule(String ruleName)
exitRuleback to summary
public void exitRule(String ruleName)
getInputSymbolback to summary
public Object getInputSymbol(int k)