namespace Spring.Expressions.Parser.antlr.debug{
using System;
public class ParserReporter : Tracer, ParserListener
{
public virtual void parserConsume(object source, TokenEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void parserLA(object source, TokenEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void parserMatch(object source, MatchEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void parserMatchNot(object source, MatchEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void parserMismatch(object source, MatchEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void parserMismatchNot(object source, MatchEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void reportError(object source, MessageEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void reportWarning(object source, MessageEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void semanticPredicateEvaluated(object source, SemanticPredicateEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void syntacticPredicateFailed(object source, SyntacticPredicateEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void syntacticPredicateStarted(object source, SyntacticPredicateEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
public virtual void syntacticPredicateSucceeded(object source, SyntacticPredicateEventArgs e)
{
System.Console.Out.WriteLine(indentString + e);
}
}
}
|