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

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

Issue 812733004: Initial task support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 library analyzer.task.dart;
6
7 import 'package:analyzer/src/generated/ast.dart';
8 import 'package:analyzer/src/generated/error.dart';
9 import 'package:analyzer/src/generated/scanner.dart';
10 import 'package:analyzer/src/generated/source.dart';
11 import 'package:analyzer/task/general.dart';
12 import 'package:analyzer/task/model.dart';
13
14 /**
15 * The sources of the libraries that are exported from a library.
16 *
17 * The list will be empty if there are no exported libraries, but will not be
18 * `null`.
19 *
20 * The result is only available for targets representing a Dart library.
21 */
22 final ResultDescriptor<List<Source>> EXPORTED_LIBRARIES =
23 new ResultDescriptor<List<Source>>('EXPORTED_LIBRARIES');
24
25 /**
26 * The sources of the libraries that are imported into a library.
27 *
28 * The list will be empty if there are no imported libraries, but will not be
29 * `null`.
30 *
31 * The result is only available for targets representing a Dart library.
32 */
33 final ResultDescriptor<List<Source>> IMPORTED_LIBRARIES =
34 new ResultDescriptor<List<Source>>('IMPORTED_LIBRARIES');
35
36 /**
37 * The sources of the parts that are included in a library.
38 *
39 * The list will be empty if there are no parts, but will not be `null`. The
40 * list does *not* include the source for the defining compilation unit.
41 *
42 * The result is only available for targets representing a Dart library.
43 */
44 final ResultDescriptor<List<Source>> INCLUDED_PARTS =
45 new ResultDescriptor<List<Source>>('INCLUDED_PARTS');
46
47 /**
48 * The errors produced while parsing a compilation unit.
49 *
50 * The list will be empty if there were no errors, but will not be `null`.
51 *
52 * The result is only available for targets representing a Dart compilation unit .
53 */
54 final ResultDescriptor<List<AnalysisError>> PARSE_ERRORS =
55 new ResultDescriptor<List<AnalysisError>>(
56 'PARSE_ERRORS',
57 contributesTo: ANALYSIS_ERRORS);
58
59 /**
60 * The compilation unit AST produced while parsing a compilation unit.
61 *
62 * The AST structure will not have resolution information associated with it.
63 *
64 * The result is only available for targets representing a Dart compilation unit .
65 */
66 final ResultDescriptor<CompilationUnit> PARSED_UNIT =
67 new ResultDescriptor<CompilationUnit>('PARSED_UNIT');
68
69 /**
70 * The errors produced while scanning a compilation unit.
71 *
72 * The list will be empty if there were no errors, but will not be `null`.
73 *
74 * The result is only available for targets representing a Dart compilation unit .
75 */
76 final ResultDescriptor<List<AnalysisError>> SCAN_ERRORS =
77 new ResultDescriptor<List<AnalysisError>>(
78 'SCAN_ERRORS',
79 contributesTo: ANALYSIS_ERRORS);
80
81 /**
82 * The token stream produced while scanning a compilation unit.
83 *
84 * The value is the first token in the file, or the special end-of-file marker
85 * at the end of the stream if the file does not contain any tokens.
86 *
87 * The result is only available for targets representing a Dart compilation unit .
88 */
89 final ResultDescriptor<Token> TOKEN_STREAM =
90 new ResultDescriptor<Token>('TOKEN_STREAM');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698