Spinach.Test_Core.ReportError C# (CSharp) Method

ReportError() public method

public ReportError ( RecognitionException e ) : void
e Antlr.Runtime.RecognitionException
return void
        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()