| OLD | NEW | 
|---|
| 1 // Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 /// Summary of error messages produced by a `SummaryReporter`. | 5 /// Summary of error messages produced by a `SummaryReporter`. | 
| 6 library dev_compiler.src.summary; |  | 
| 7 | 6 | 
| 8 import 'dart:collection' show HashSet; | 7 import 'dart:collection' show HashSet; | 
| 9 | 8 | 
| 10 import 'package:source_span/source_span.dart'; | 9 import 'package:source_span/source_span.dart'; | 
| 11 | 10 | 
| 12 /// Summary information computed by the DDC checker. | 11 /// Summary information computed by the DDC checker. | 
| 13 abstract class Summary { | 12 abstract class Summary { | 
| 14   Map toJsonMap(); | 13   Map toJsonMap(); | 
| 15 | 14 | 
| 16   void accept(SummaryVisitor visitor); | 15   void accept(SummaryVisitor visitor); | 
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 239   } | 238   } | 
| 240 | 239 | 
| 241   void visitHtml(HtmlSummary html) { | 240   void visitHtml(HtmlSummary html) { | 
| 242     for (var msg in html.messages) { | 241     for (var msg in html.messages) { | 
| 243       msg.accept(this); | 242       msg.accept(this); | 
| 244     } | 243     } | 
| 245   } | 244   } | 
| 246 | 245 | 
| 247   void visitMessage(MessageSummary message) {} | 246   void visitMessage(MessageSummary message) {} | 
| 248 } | 247 } | 
| OLD | NEW | 
|---|