//Constructs the error message in situation when parser has no available action for current input. // override this method if you want to change this message protected virtual string ConstructParserErrorMessage(ParsingContext context, StringSet expectedTerms) { if (expectedTerms.Count > 0) { return(string.Format(Resources.ErrSyntaxErrorExpected, expectedTerms.ToString(", "))); } return(Resources.ErrParserUnexpectedInput); }
//Constructs the error message in situation when parser has no available action for current input. // override this method if you want to change this message public virtual string ConstructParserErrorMessage(ParsingContext context, StringSet expectedTerms) { return(string.Format(Resources.ErrParserUnexpInput, expectedTerms.ToString(" "))); }
//Constructs the error message in situation when parser has no available action for current input. // override this method if you want to change this message public virtual string ConstructParserErrorMessage(ParsingContext context, StringSet expectedTerms) { return(string.Format(O2_Misc_Microsoft_MPL_Libs.Irony_Parser.Resources.ErrParserUnexpInput, expectedTerms.ToString(" "))); }