public override void ReportError(RecognitionException e)
{
if (getEx() == null)
{
string[] arr = TokenNames;
string str1 = GetErrorHeader(e);
string str2 = GetErrorMessage(e, arr);
strBuilder.Append(str1 + " " + str2 + "\n");
setException(e);
}
else
{
string str = e.Line.ToString() + e.CharPositionInLine.ToString();
if (str != getEx())
{
string[] arr = TokenNames;
string str1 = GetErrorHeader(e);
string str2 = GetErrorMessage(e, arr);
strBuilder.Append(str1 + " " + str2 + "\n");
setException(e);
}
}
}
public string returnError()