| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 interface DiagnosticListener { | |
| 6 // TODO(karlklose): replace cancel with better error reporting mechanism. | |
| 7 void cancel([String reason, node, token, instruction, element]); | |
| 8 // TODO(karlklose): rename log to something like reportInfo. | |
| 9 void log(message); | |
| 10 // TODO(karlklose): add reportWarning and reportError to this interface. | |
| 11 } | |
| OLD | NEW |