| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine; | 8 library engine; |
| 9 | 9 |
| 10 import 'java_core.dart'; | 10 import 'java_core.dart'; |
| (...skipping 9851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9862 | 9862 |
| 9863 /** | 9863 /** |
| 9864 * The [TimeCounter] for time spent in error verifier. | 9864 * The [TimeCounter] for time spent in error verifier. |
| 9865 */ | 9865 */ |
| 9866 static TimeCounter errors = new TimeCounter(); | 9866 static TimeCounter errors = new TimeCounter(); |
| 9867 | 9867 |
| 9868 /** | 9868 /** |
| 9869 * The [TimeCounter] for time spent in hints generator. | 9869 * The [TimeCounter] for time spent in hints generator. |
| 9870 */ | 9870 */ |
| 9871 static TimeCounter hints = new TimeCounter(); | 9871 static TimeCounter hints = new TimeCounter(); |
| 9872 |
| 9873 /** |
| 9874 * Reset all of the time counters to zero. |
| 9875 */ |
| 9876 static void reset() { |
| 9877 io = new TimeCounter(); |
| 9878 scan = new TimeCounter(); |
| 9879 parse = new TimeCounter(); |
| 9880 resolve = new TimeCounter(); |
| 9881 angular = new TimeCounter(); |
| 9882 errors = new TimeCounter(); |
| 9883 hints = new TimeCounter(); |
| 9884 } |
| 9872 } | 9885 } |
| 9873 | 9886 |
| 9874 /** | 9887 /** |
| 9875 * Instances of the class `RecordingErrorListener` implement an error listener t
hat will | 9888 * Instances of the class `RecordingErrorListener` implement an error listener t
hat will |
| 9876 * record the errors that are reported to it in a way that is appropriate for ca
ching those errors | 9889 * record the errors that are reported to it in a way that is appropriate for ca
ching those errors |
| 9877 * within an analysis context. | 9890 * within an analysis context. |
| 9878 */ | 9891 */ |
| 9879 class RecordingErrorListener implements AnalysisErrorListener { | 9892 class RecordingErrorListener implements AnalysisErrorListener { |
| 9880 /** | 9893 /** |
| 9881 * A HashMap of lists containing the errors that were collected, keyed by each
[Source]. | 9894 * A HashMap of lists containing the errors that were collected, keyed by each
[Source]. |
| (...skipping 3403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13285 } | 13298 } |
| 13286 | 13299 |
| 13287 @override | 13300 @override |
| 13288 void logInformation(String message) { | 13301 void logInformation(String message) { |
| 13289 } | 13302 } |
| 13290 | 13303 |
| 13291 @override | 13304 @override |
| 13292 void logInformation2(String message, Exception exception) { | 13305 void logInformation2(String message, Exception exception) { |
| 13293 } | 13306 } |
| 13294 } | 13307 } |
| OLD | NEW |