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

Side by Side Diff: pkg/analyzer/lib/task/dart.dart

Issue 1693083004: Move scanner out of generated and clean up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: clean up Created 4 years, 10 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 | « pkg/analyzer/lib/src/task/yaml.dart ('k') | pkg/analyzer/test/dart/ast/ast_test.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.task.dart; 5 library analyzer.task.dart;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/ast/token.dart';
8 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
9 import 'package:analyzer/src/generated/error.dart'; 10 import 'package:analyzer/src/generated/error.dart';
10 import 'package:analyzer/src/generated/scanner.dart';
11 import 'package:analyzer/src/generated/source.dart'; 11 import 'package:analyzer/src/generated/source.dart';
12 import 'package:analyzer/src/generated/utilities_general.dart'; 12 import 'package:analyzer/src/generated/utilities_general.dart';
13 import 'package:analyzer/src/task/dart.dart'; 13 import 'package:analyzer/src/task/dart.dart';
14 import 'package:analyzer/task/model.dart'; 14 import 'package:analyzer/task/model.dart';
15 15
16 /** 16 /**
17 * The analysis errors associated with a [Source] representing a compilation 17 * The analysis errors associated with a [Source] representing a compilation
18 * unit. 18 * unit.
19 */ 19 */
20 final ListResultDescriptor<AnalysisError> DART_ERRORS = 20 final ListResultDescriptor<AnalysisError> DART_ERRORS =
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 @override 172 @override
173 bool operator ==(other) { 173 bool operator ==(other) {
174 return other is LibrarySpecificUnit && 174 return other is LibrarySpecificUnit &&
175 other.library == library && 175 other.library == library &&
176 other.unit == unit; 176 other.unit == unit;
177 } 177 }
178 178
179 @override 179 @override
180 String toString() => '$unit in $library'; 180 String toString() => '$unit in $library';
181 } 181 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/yaml.dart ('k') | pkg/analyzer/test/dart/ast/ast_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698