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

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

Issue 1417143003: Remove IMPORT_EXPORT_SOURCE_CLOSURE and IS_CLIENT results. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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/driver.dart ('k') | pkg/analyzer/test/src/context/context_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/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';
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 * 61 *
62 * The list will be empty if there are no parts, but will not be `null`. The 62 * The list will be empty if there are no parts, but will not be `null`. The
63 * list does *not* include the source for the defining compilation unit. 63 * list does *not* include the source for the defining compilation unit.
64 * 64 *
65 * The result is only available for [Source]s representing a library. 65 * The result is only available for [Source]s representing a library.
66 */ 66 */
67 final ListResultDescriptor<Source> INCLUDED_PARTS = 67 final ListResultDescriptor<Source> INCLUDED_PARTS =
68 new ListResultDescriptor<Source>('INCLUDED_PARTS', Source.EMPTY_LIST); 68 new ListResultDescriptor<Source>('INCLUDED_PARTS', Source.EMPTY_LIST);
69 69
70 /** 70 /**
71 * A flag specifying whether a library is dependent on code that is only
72 * available in a client.
73 *
74 * The result is only available for [Source]s representing a library.
75 */
76 final ResultDescriptor<bool> IS_CLIENT =
77 new ResultDescriptor<bool>('IS_CLIENT', false);
78
79 /**
80 * A flag specifying whether a library is launchable. 71 * A flag specifying whether a library is launchable.
81 * 72 *
82 * The result is only available for [Source]s representing a library. 73 * The result is only available for [Source]s representing a library.
83 */ 74 */
84 final ResultDescriptor<bool> IS_LAUNCHABLE = 75 final ResultDescriptor<bool> IS_LAUNCHABLE =
85 new ResultDescriptor<bool>('IS_LAUNCHABLE', false); 76 new ResultDescriptor<bool>('IS_LAUNCHABLE', false);
86 77
87 /** 78 /**
88 * The fully built [LibraryElement] associated with a library. 79 * The fully built [LibraryElement] associated with a library.
89 * 80 *
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 @override 172 @override
182 bool operator ==(other) { 173 bool operator ==(other) {
183 return other is LibrarySpecificUnit && 174 return other is LibrarySpecificUnit &&
184 other.library == library && 175 other.library == library &&
185 other.unit == unit; 176 other.unit == unit;
186 } 177 }
187 178
188 @override 179 @override
189 String toString() => '$unit in $library'; 180 String toString() => '$unit in $library';
190 } 181 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/driver.dart ('k') | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698