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

Side by Side Diff: pkg/compiler/lib/src/resolution/resolution.dart

Issue 2557313002: dartfmt dart2js and unittests (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 dart2js.resolution; 5 library dart2js.resolution;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../common/names.dart' show Identifiers; 10 import '../common/names.dart' show Identifiers;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 import 'registry.dart'; 58 import 'registry.dart';
59 import 'resolution_result.dart'; 59 import 'resolution_result.dart';
60 import 'signatures.dart'; 60 import 'signatures.dart';
61 import 'tree_elements.dart'; 61 import 'tree_elements.dart';
62 import 'typedefs.dart'; 62 import 'typedefs.dart';
63 63
64 class ResolverTask extends CompilerTask { 64 class ResolverTask extends CompilerTask {
65 final ConstantCompiler constantCompiler; 65 final ConstantCompiler constantCompiler;
66 final Resolution resolution; 66 final Resolution resolution;
67 67
68 ResolverTask( 68 ResolverTask(this.resolution, this.constantCompiler, Measurer measurer)
69 this.resolution, this.constantCompiler, Measurer measurer)
70 : super(measurer); 69 : super(measurer);
71 70
72 String get name => 'Resolver'; 71 String get name => 'Resolver';
73 72
74 DiagnosticReporter get reporter => resolution.reporter; 73 DiagnosticReporter get reporter => resolution.reporter;
75 Target get target => resolution.target; 74 Target get target => resolution.target;
76 CoreTypes get coreTypes => resolution.coreTypes; 75 CoreTypes get coreTypes => resolution.coreTypes;
77 CoreClasses get coreClasses => resolution.coreClasses; 76 CoreClasses get coreClasses => resolution.coreClasses;
78 CommonElements get commonElements => resolution.commonElements; 77 CommonElements get commonElements => resolution.commonElements;
79 ParsingContext get parsingContext => resolution.parsingContext; 78 ParsingContext get parsingContext => resolution.parsingContext;
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1136 TreeElements get treeElements { 1135 TreeElements get treeElements {
1137 assert(invariant(this, _treeElements != null, 1136 assert(invariant(this, _treeElements != null,
1138 message: "TreeElements have not been computed for $this.")); 1137 message: "TreeElements have not been computed for $this."));
1139 return _treeElements; 1138 return _treeElements;
1140 } 1139 }
1141 1140
1142 void reuseElement() { 1141 void reuseElement() {
1143 _treeElements = null; 1142 _treeElements = null;
1144 } 1143 }
1145 } 1144 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/operators.dart ('k') | pkg/compiler/lib/src/resolution/resolution_result.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698