Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: pkg/analyzer_cli/lib/src/analyzer_impl.dart

Issue 2364643002: Replace using reprecated 'package:analyzer/src/generated/error.dart'. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/analyzer_cli/lib/src/build_mode.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 analyzer_cli.src.analyzer_impl; 5 library analyzer_cli.src.analyzer_impl;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import 'package:analyzer/dart/element/element.dart'; 10 import 'package:analyzer/dart/element/element.dart';
11 import 'package:analyzer/error/error.dart';
11 import 'package:analyzer/exception/exception.dart'; 12 import 'package:analyzer/exception/exception.dart';
12 import 'package:analyzer/source/error_processor.dart'; 13 import 'package:analyzer/source/error_processor.dart';
14 import 'package:analyzer/src/error/codes.dart';
13 import 'package:analyzer/src/generated/engine.dart'; 15 import 'package:analyzer/src/generated/engine.dart';
14 import 'package:analyzer/src/generated/error.dart';
15 import 'package:analyzer/src/generated/java_io.dart'; 16 import 'package:analyzer/src/generated/java_io.dart';
16 import 'package:analyzer/src/generated/source.dart'; 17 import 'package:analyzer/src/generated/source.dart';
17 import 'package:analyzer/src/generated/source_io.dart'; 18 import 'package:analyzer/src/generated/source_io.dart';
18 import 'package:analyzer/src/generated/utilities_general.dart'; 19 import 'package:analyzer/src/generated/utilities_general.dart';
19 import 'package:analyzer_cli/src/driver.dart'; 20 import 'package:analyzer_cli/src/driver.dart';
20 import 'package:analyzer_cli/src/error_formatter.dart'; 21 import 'package:analyzer_cli/src/error_formatter.dart';
21 import 'package:analyzer_cli/src/options.dart'; 22 import 'package:analyzer_cli/src/options.dart';
22 import 'package:path/path.dart' as pathos; 23 import 'package:path/path.dart' as pathos;
23 24
24 /// The maximum number of sources for which AST structures should be kept in the cache. 25 /// The maximum number of sources for which AST structures should be kept in the cache.
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 } 354 }
354 355
355 @override 356 @override
356 void logInformation(String message, [CaughtException exception]) { 357 void logInformation(String message, [CaughtException exception]) {
357 outSink.writeln(message); 358 outSink.writeln(message);
358 if (exception != null) { 359 if (exception != null) {
359 outSink.writeln(exception); 360 outSink.writeln(exception);
360 } 361 }
361 } 362 }
362 } 363 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer_cli/lib/src/build_mode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698