1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
namespace antlr.debug
{
using System;
public class InputBufferReporter : InputBufferListenerBase, InputBufferListener
{
public virtual void inputBufferChanged(object source, InputBufferEventArgs e)
{
System.Console.Out.WriteLine(e);
}
/// <summary> charBufferConsume method comment.
/// </summary>
public override void inputBufferConsume(object source, InputBufferEventArgs e)
{
System.Console.Out.WriteLine(e);
}
/// <summary> charBufferLA method comment.
/// </summary>
public override void inputBufferLA(object source, InputBufferEventArgs e)
{
System.Console.Out.WriteLine(e);
}
public override void inputBufferMark(object source, InputBufferEventArgs e)
{
System.Console.Out.WriteLine(e);
}
public override void inputBufferRewind(object source, InputBufferEventArgs e)
{
System.Console.Out.WriteLine(e);
}
}
}
|