private static List <CompileError> GetCompilerErrors(ParserMessageList syntaxErrors) { if (syntaxErrors.IsEmpty()) { return(null); } return(syntaxErrors.Select(e => new CompileError() { Text = TranslateMessage(e) }).ToList()); }
private static List<CompileError> GetCompilerErrors(ParserMessageList syntaxErrors) { if (syntaxErrors.IsEmpty()) { return null; } return syntaxErrors.Select(e => new CompileError() { Text = TranslateMessage(e) }).ToList(); }