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 services.status; | 5 library services.status; |
6 | 6 |
7 import 'package:analysis_services/search/search_engine.dart'; | 7 import 'package:analysis_server/src/services/search/search_engine.dart'; |
8 import 'package:analysis_services/src/correction/source_range.dart'; | 8 import 'package:analysis_server/src/services/correction/source_range.dart'; |
9 import 'package:analyzer/src/generated/ast.dart'; | 9 import 'package:analyzer/src/generated/ast.dart'; |
10 import 'package:analyzer/src/generated/element.dart'; | 10 import 'package:analyzer/src/generated/element.dart'; |
11 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
12 import 'package:analyzer/src/generated/java_core.dart'; | 12 import 'package:analyzer/src/generated/java_core.dart'; |
13 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
14 | 14 |
15 | 15 |
16 /** | 16 /** |
17 * An outcome of a condition checking operation. | 17 * An outcome of a condition checking operation. |
18 */ | 18 */ |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 * Returns the most severe [RefactoringStatusSeverity]. | 390 * Returns the most severe [RefactoringStatusSeverity]. |
391 */ | 391 */ |
392 static RefactoringStatusSeverity _max(RefactoringStatusSeverity a, | 392 static RefactoringStatusSeverity _max(RefactoringStatusSeverity a, |
393 RefactoringStatusSeverity b) { | 393 RefactoringStatusSeverity b) { |
394 if (b.ordinal > a.ordinal) { | 394 if (b.ordinal > a.ordinal) { |
395 return b; | 395 return b; |
396 } | 396 } |
397 return a; | 397 return a; |
398 } | 398 } |
399 } | 399 } |
OLD | NEW |