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

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

Issue 1127423005: Move CONSTANT_DEPENDENCIES out of the analyzer public API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | no next file » | 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/src/generated/ast.dart'; 7 import 'package:analyzer/src/generated/ast.dart';
8 import 'package:analyzer/src/generated/element.dart'; 8 import 'package:analyzer/src/generated/element.dart';
9 import 'package:analyzer/src/generated/error.dart'; 9 import 'package:analyzer/src/generated/error.dart';
10 import 'package:analyzer/src/generated/scanner.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 list of [Element]s which a given constant element depends on.
18 *
19 * The result is only available for targets representing a constant [Element]
20 * (i.e. a constant variable declaration, a constant constructor, or a
21 * parameter element with a default value).
22 */
23 final ListResultDescriptor<Element> CONSTANT_DEPENDENCIES =
24 new ListResultDescriptor<Element>('CONSTANT_DEPENDENCIES', <Element>[]);
25
26 /**
27 * The analysis errors associated with a target. 17 * The analysis errors associated with a target.
28 * 18 *
29 * The result is only available for targets representing a Dart compilation unit . 19 * The result is only available for targets representing a Dart compilation unit .
30 */ 20 */
31 final ListResultDescriptor<AnalysisError> DART_ERRORS = 21 final ListResultDescriptor<AnalysisError> DART_ERRORS =
32 new ListResultDescriptor<AnalysisError>( 22 new ListResultDescriptor<AnalysisError>(
33 'DART_ERRORS', AnalysisError.NO_ERRORS); 23 'DART_ERRORS', AnalysisError.NO_ERRORS);
34 24
35 /** 25 /**
36 * The sources of the libraries that are explicitly imported into a library. 26 * The sources of the libraries that are explicitly imported into a library.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 @override 171 @override
182 bool operator ==(other) { 172 bool operator ==(other) {
183 return other is LibrarySpecificUnit && 173 return other is LibrarySpecificUnit &&
184 other.library == library && 174 other.library == library &&
185 other.unit == unit; 175 other.unit == unit;
186 } 176 }
187 177
188 @override 178 @override
189 String toString() => '$unit in $library'; 179 String toString() => '$unit in $library';
190 } 180 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698