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

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

Issue 1034493004: Add UNITS and CLASS_ELEMENTS results. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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') | pkg/analyzer/test/src/task/dart_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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 /** 118 /**
119 * The token stream produced while scanning a compilation unit. 119 * The token stream produced while scanning a compilation unit.
120 * 120 *
121 * The value is the first token in the file, or the special end-of-file marker 121 * The value is the first token in the file, or the special end-of-file marker
122 * at the end of the stream if the file does not contain any tokens. 122 * at the end of the stream if the file does not contain any tokens.
123 * 123 *
124 * The result is only available for targets representing a Dart compilation unit . 124 * The result is only available for targets representing a Dart compilation unit .
125 */ 125 */
126 final ResultDescriptor<Token> TOKEN_STREAM = 126 final ResultDescriptor<Token> TOKEN_STREAM =
127 new ResultDescriptor<Token>('TOKEN_STREAM', null); 127 new ResultDescriptor<Token>('TOKEN_STREAM', null);
128
129 /**
130 * The sources of the Dart files that a library consists of.
131 *
132 * The list will include the source of the defining unit and [INCLUDED_PARTS].
133 * So, it is never empty or `null`.
134 *
135 * The result is only available for targets representing a Dart library.
136 */
137 final ResultDescriptor<List<Source>> UNITS =
138 new ResultDescriptor<List<Source>>('UNITS', Source.EMPTY_ARRAY);
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | pkg/analyzer/test/src/task/dart_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698