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

Unified Diff: pkg/analyzer/lib/src/task/task_dart.dart

Issue 725143004: Format and sort analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/string_source.dart ('k') | pkg/analyzer/lib/src/util/utilities_timing.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/task_dart.dart
diff --git a/pkg/analyzer/lib/src/task/task_dart.dart b/pkg/analyzer/lib/src/task/task_dart.dart
index 8e123b3b8cfeb5701a6ca18c72a078117acd3096..2ea6b9a845a8af4f639b1e5867b0d89d2d6f03a4 100644
--- a/pkg/analyzer/lib/src/task/task_dart.dart
+++ b/pkg/analyzer/lib/src/task/task_dart.dart
@@ -40,10 +40,19 @@ class BuildUnitElementTask extends AnalysisTask {
* the given [source] in the given [library] based on the compilation [unit]
* that was parsed.
*/
- BuildUnitElementTask(InternalAnalysisContext context, this.source, this.library, this.unit)
+ BuildUnitElementTask(InternalAnalysisContext context, this.source,
+ this.library, this.unit)
: super(context);
@override
+ String get taskDescription {
+ if (source == null) {
+ return "build the unit element model for null source";
+ }
+ return "build the unit element model for " + source.fullName;
+ }
+
+ @override
accept(AnalysisTaskVisitor visitor) {
return visitor.visitBuildUnitElementTask(this);
}
@@ -75,12 +84,4 @@ class BuildUnitElementTask extends AnalysisTask {
CompilationUnitBuilder builder = new CompilationUnitBuilder();
unitElement = builder.buildCompilationUnit(source, unit);
}
-
- @override
- String get taskDescription {
- if (source == null) {
- return "build the unit element model for null source";
- }
- return "build the unit element model for " + source.fullName;
- }
}
« no previous file with comments | « pkg/analyzer/lib/src/string_source.dart ('k') | pkg/analyzer/lib/src/util/utilities_timing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698