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

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

Issue 1038963002: Task: Resolve References. (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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 * The compilation unit AST produced while parsing a compilation unit. 96 * The compilation unit AST produced while parsing a compilation unit.
97 * 97 *
98 * The AST structure will not have resolution information associated with it. 98 * The AST structure will not have resolution information associated with it.
99 * 99 *
100 * The result is only available for targets representing a Dart compilation unit . 100 * The result is only available for targets representing a Dart compilation unit .
101 */ 101 */
102 final ResultDescriptor<CompilationUnit> PARSED_UNIT = 102 final ResultDescriptor<CompilationUnit> PARSED_UNIT =
103 new ResultDescriptor<CompilationUnit>('PARSED_UNIT', null); 103 new ResultDescriptor<CompilationUnit>('PARSED_UNIT', null);
104 104
105 /** 105 /**
106 * The resolved [CompilationUnit] associated with a unit.
107 *
108 * The result is only available for targets representing a unit.
109 */
110 final ResultDescriptor<CompilationUnit> RESOLVED_UNIT =
111 new ResultDescriptor<CompilationUnit>('RESOLVED_UNIT', null);
112
113 /**
106 * The errors produced while scanning a compilation unit. 114 * The errors produced while scanning a compilation unit.
107 * 115 *
108 * The list will be empty if there were no errors, but will not be `null`. 116 * The list will be empty if there were no errors, but will not be `null`.
109 * 117 *
110 * The result is only available for targets representing a Dart compilation unit . 118 * The result is only available for targets representing a Dart compilation unit .
111 */ 119 */
112 final ResultDescriptor<List<AnalysisError>> SCAN_ERRORS = 120 final ResultDescriptor<List<AnalysisError>> SCAN_ERRORS =
113 new ResultDescriptor<List<AnalysisError>>( 121 new ResultDescriptor<List<AnalysisError>>(
114 'SCAN_ERRORS', AnalysisError.NO_ERRORS, contributesTo: DART_ERRORS); 122 'SCAN_ERRORS', AnalysisError.NO_ERRORS, contributesTo: DART_ERRORS);
115 123
(...skipping 11 matching lines...) Expand all
127 /** 135 /**
128 * The sources of the Dart files that a library consists of. 136 * The sources of the Dart files that a library consists of.
129 * 137 *
130 * The list will include the source of the defining unit and [INCLUDED_PARTS]. 138 * The list will include the source of the defining unit and [INCLUDED_PARTS].
131 * So, it is never empty or `null`. 139 * So, it is never empty or `null`.
132 * 140 *
133 * The result is only available for targets representing a Dart library. 141 * The result is only available for targets representing a Dart library.
134 */ 142 */
135 final ListResultDescriptor<Source> UNITS = 143 final ListResultDescriptor<Source> UNITS =
136 new ListResultDescriptor<Source>('UNITS', Source.EMPTY_ARRAY); 144 new ListResultDescriptor<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