package org.antlr.runtime.debug;
import org.antlr.runtime.Token;
import org.antlr.runtime.RecognitionException;
public class DebugEventRepeater implements DebugEventListener {
protected DebugEventListener listener;
public DebugEventRepeater(DebugEventListener listener) {
this.listener = listener;
}
@Override public void enterRule(String grammarFileName, String ruleName) { listener.enterRule(grammarFileName, ruleName); }
@Override public void exitRule(String grammarFileName, String ruleName) { listener.exitRule(grammarFileName, ruleName); }
@Override public void enterAlt(int alt) { listener.enterAlt(alt); }
@Override public void enterSubRule(int decisionNumber) { listener.enterSubRule(decisionNumber); }
@Override public void exitSubRule(int decisionNumber) { listener.exitSubRule(decisionNumber); }
@Override public void enterDecision(int decisionNumber, boolean couldBacktrack) { listener.enterDecision(decisionNumber, couldBacktrack); }
@Override public void exitDecision(int decisionNumber) { listener.exitDecision(decisionNumber); }
@Override public void location(int line, int pos) { listener.location(line, pos); }
@Override public void consumeToken(Token token) { listener.consumeToken(token); }
@Override public void consumeHiddenToken(Token token) { listener.consumeHiddenToken(token); }
@Override public void LT(int i, Token t) { listener.LT(i, t); }
@Override public void mark(int i) { listener.mark(i); }
@Override public void rewind(int i) { listener.rewind(i); }
@Override public void rewind() { listener.rewind(); }
@Override public void beginBacktrack(int level) { listener.beginBacktrack(level); }
@Override public void endBacktrack(int level, boolean successful) { listener.endBacktrack(level, successful); }
@Override public void recognitionException(RecognitionException e) { listener.recognitionException(e); }
@Override public void beginResync() { listener.beginResync(); }
@Override public void endResync() { listener.endResync(); }
@Override public void semanticPredicate(boolean result, String predicate) { listener.semanticPredicate(result, predicate); }
@Override public void commence() { listener.commence(); }
@Override public void terminate() { listener.terminate(); }
@Override public void consumeNode(Object t) { listener.consumeNode(t); }
@Override public void LT(int i, Object t) { listener.LT(i, t); }
@Override public void nilNode(Object t) { listener.nilNode(t); }
@Override public void errorNode(Object t) { listener.errorNode(t); }
@Override public void createNode(Object t) { listener.createNode(t); }
@Override public void createNode(Object node, Token token) { listener.createNode(node, token); }
@Override public void becomeRoot(Object newRoot, Object oldRoot) { listener.becomeRoot(newRoot, oldRoot); }
@Override public void addChild(Object root, Object child) { listener.addChild(root, child); }
@Override public void setTokenBoundaries(Object t, int tokenStartIndex, int tokenStopIndex) {
listener.setTokenBoundaries(t, tokenStartIndex, tokenStopIndex);
}
}