Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: pkg/analysis_server/lib/src/computer/error.dart

Issue 497393002: Make more use of generated code in analysis server. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/lib/src/computer/error.dart
diff --git a/pkg/analysis_server/lib/src/computer/error.dart b/pkg/analysis_server/lib/src/computer/error.dart
index 59dbdbd960d6b14acc3fabc5241b51b609a13abd..bcffa6fac67045eb98226eab816a964df6ee719d 100644
--- a/pkg/analysis_server/lib/src/computer/error.dart
+++ b/pkg/analysis_server/lib/src/computer/error.dart
@@ -13,14 +13,6 @@ import 'package:analyzer/src/generated/source.dart' as engine;
/**
* Returns a JSON correponding to the given list of Engine errors.
*/
-List<Map<String, Object>> engineErrorInfoToJson(engine.AnalysisErrorInfo info) {
- return engineErrorsToJson(info.lineInfo, info.errors);
-}
-
-
-/**
- * Returns a JSON correponding to the given list of Engine errors.
- */
List<Map<String, Object>> engineErrorsToJson(engine.LineInfo lineInfo,
List<engine.AnalysisError> errors) {
return errors.map((engine.AnalysisError error) {
« no previous file with comments | « pkg/analysis_server/lib/src/computer/computer_navigation.dart ('k') | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698