OLD | NEW |
1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
3 library engine; | 3 library engine; |
4 import 'dart:collection' show HasNextIterator; | 4 import 'dart:collection' show HasNextIterator; |
5 import 'java_core.dart'; | 5 import 'java_core.dart'; |
6 import 'java_engine.dart'; | 6 import 'java_engine.dart'; |
7 import 'instrumentation.dart'; | 7 import 'instrumentation.dart'; |
8 import 'error.dart'; | 8 import 'error.dart'; |
9 import 'source.dart'; | 9 import 'source.dart'; |
10 import 'scanner.dart' show Token, CharBufferScanner, StringScanner; | 10 import 'scanner.dart' show Token, CharBufferScanner, StringScanner; |
(...skipping 3393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3404 static final List<CacheState> values = [ERROR, FLUSHED, IN_PROCESS, INVALID, V
ALID]; | 3404 static final List<CacheState> values = [ERROR, FLUSHED, IN_PROCESS, INVALID, V
ALID]; |
3405 | 3405 |
3406 /// The name of this enum constant, as declared in the enum declaration. | 3406 /// The name of this enum constant, as declared in the enum declaration. |
3407 final String name; | 3407 final String name; |
3408 | 3408 |
3409 /// The position in the enum declaration. | 3409 /// The position in the enum declaration. |
3410 final int ordinal; | 3410 final int ordinal; |
3411 CacheState(this.name, this.ordinal) { | 3411 CacheState(this.name, this.ordinal) { |
3412 } | 3412 } |
3413 int compareTo(CacheState other) => ordinal - other.ordinal; | 3413 int compareTo(CacheState other) => ordinal - other.ordinal; |
| 3414 int get hashCode => ordinal; |
3414 String toString() => name; | 3415 String toString() => name; |
3415 } | 3416 } |
3416 /** | 3417 /** |
3417 * Instances of the class {@code ChangeNoticeImpl} represent a change to the ana
lysis results | 3418 * Instances of the class {@code ChangeNoticeImpl} represent a change to the ana
lysis results |
3418 * associated with a given source. | 3419 * associated with a given source. |
3419 * @coverage dart.engine | 3420 * @coverage dart.engine |
3420 */ | 3421 */ |
3421 class ChangeNoticeImpl implements ChangeNotice { | 3422 class ChangeNoticeImpl implements ChangeNotice { |
3422 | 3423 |
3423 /** | 3424 /** |
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4446 } | 4447 } |
4447 void logError2(String message, Exception exception) { | 4448 void logError2(String message, Exception exception) { |
4448 } | 4449 } |
4449 void logError3(Exception exception) { | 4450 void logError3(Exception exception) { |
4450 } | 4451 } |
4451 void logInformation(String message) { | 4452 void logInformation(String message) { |
4452 } | 4453 } |
4453 void logInformation2(String message, Exception exception) { | 4454 void logInformation2(String message, Exception exception) { |
4454 } | 4455 } |
4455 } | 4456 } |
OLD | NEW |