| 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 library engine.incremental_resolver; | 5 library analyzer.src.generated.incremental_resolver; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:math' as math; | 8 import 'dart:math' as math; |
| 9 | 9 |
| 10 import 'package:analyzer/src/context/cache.dart'; | 10 import 'package:analyzer/src/context/cache.dart'; |
| 11 import 'package:analyzer/src/generated/ast.dart'; |
| 11 import 'package:analyzer/src/generated/constant.dart'; | 12 import 'package:analyzer/src/generated/constant.dart'; |
| 13 import 'package:analyzer/src/generated/element.dart'; |
| 14 import 'package:analyzer/src/generated/engine.dart'; |
| 15 import 'package:analyzer/src/generated/error.dart'; |
| 16 import 'package:analyzer/src/generated/error_verifier.dart'; |
| 17 import 'package:analyzer/src/generated/incremental_logger.dart' |
| 18 show logger, LoggingTimer; |
| 19 import 'package:analyzer/src/generated/java_engine.dart'; |
| 20 import 'package:analyzer/src/generated/parser.dart'; |
| 21 import 'package:analyzer/src/generated/resolver.dart'; |
| 22 import 'package:analyzer/src/generated/scanner.dart'; |
| 23 import 'package:analyzer/src/generated/source.dart'; |
| 24 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 12 import 'package:analyzer/src/task/dart.dart'; | 25 import 'package:analyzer/src/task/dart.dart'; |
| 13 import 'package:analyzer/task/dart.dart'; | 26 import 'package:analyzer/task/dart.dart'; |
| 14 import 'package:analyzer/task/general.dart' show CONTENT, LINE_INFO; | 27 import 'package:analyzer/task/general.dart' show CONTENT, LINE_INFO; |
| 15 import 'package:analyzer/task/model.dart'; | 28 import 'package:analyzer/task/model.dart'; |
| 16 | 29 |
| 17 import 'ast.dart'; | |
| 18 import 'element.dart'; | |
| 19 import 'engine.dart'; | |
| 20 import 'error.dart'; | |
| 21 import 'error_verifier.dart'; | |
| 22 import 'incremental_logger.dart' show logger, LoggingTimer; | |
| 23 import 'java_engine.dart'; | |
| 24 import 'parser.dart'; | |
| 25 import 'resolver.dart'; | |
| 26 import 'scanner.dart'; | |
| 27 import 'source.dart'; | |
| 28 import 'utilities_dart.dart'; | |
| 29 | |
| 30 /** | 30 /** |
| 31 * If `true`, an attempt to resolve API-changing modifications is made. | 31 * If `true`, an attempt to resolve API-changing modifications is made. |
| 32 */ | 32 */ |
| 33 bool _resolveApiChanges = false; | 33 bool _resolveApiChanges = false; |
| 34 | 34 |
| 35 /** | 35 /** |
| 36 * This method is used to enable/disable API-changing modifications resolution. | 36 * This method is used to enable/disable API-changing modifications resolution. |
| 37 */ | 37 */ |
| 38 void set test_resolveApiChanges(bool value) { | 38 void set test_resolveApiChanges(bool value) { |
| 39 _resolveApiChanges = value; | 39 _resolveApiChanges = value; |
| (...skipping 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2073 @override | 2073 @override |
| 2074 String toString() => name; | 2074 String toString() => name; |
| 2075 } | 2075 } |
| 2076 | 2076 |
| 2077 class _TokenPair { | 2077 class _TokenPair { |
| 2078 final _TokenDifferenceKind kind; | 2078 final _TokenDifferenceKind kind; |
| 2079 final Token oldToken; | 2079 final Token oldToken; |
| 2080 final Token newToken; | 2080 final Token newToken; |
| 2081 _TokenPair(this.kind, this.oldToken, this.newToken); | 2081 _TokenPair(this.kind, this.oldToken, this.newToken); |
| 2082 } | 2082 } |
| OLD | NEW |