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

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

Issue 2808763005: Extract OrderedTypeSetBuilderBase from OrderedTypeSetBuilder (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.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) 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 closureToClassMapper; 5 library closureToClassMapper;
6 6
7 import 'common/names.dart' show Identifiers; 7 import 'common/names.dart' show Identifiers;
8 import 'common/resolution.dart' show ParsingContext, Resolution; 8 import 'common/resolution.dart' show ParsingContext, Resolution;
9 import 'common/tasks.dart' show CompilerTask; 9 import 'common/tasks.dart' show CompilerTask;
10 import 'common.dart'; 10 import 'common.dart';
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 @override 191 @override
192 bool get hasConstant => false; 192 bool get hasConstant => false;
193 193
194 @override 194 @override
195 ConstantExpression get constant => null; 195 ConstantExpression get constant => null;
196 } 196 }
197 197
198 // TODO(ahe): These classes continuously cause problems. We need to find 198 // TODO(ahe): These classes continuously cause problems. We need to find
199 // a more general solution. 199 // a more general solution.
200 class ClosureClassElement extends ClassElementX { 200 class ClosureClassElement extends ClassElementX {
201 ResolutionDartType rawType; 201 ResolutionInterfaceType rawType;
202 ResolutionDartType thisType; 202 ResolutionInterfaceType thisType;
203 ResolutionFunctionType callType; 203 ResolutionFunctionType callType;
204 204
205 /// Node that corresponds to this closure, used for source position. 205 /// Node that corresponds to this closure, used for source position.
206 final FunctionExpression node; 206 final FunctionExpression node;
207 207
208 /** 208 /**
209 * The element for the declaration of the function expression. 209 * The element for the declaration of the function expression.
210 */ 210 */
211 final LocalFunctionElement methodElement; 211 final LocalFunctionElement methodElement;
212 212
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 /// 1224 ///
1225 /// Move the below classes to a JS model eventually. 1225 /// Move the below classes to a JS model eventually.
1226 /// 1226 ///
1227 abstract class JSEntity implements Entity { 1227 abstract class JSEntity implements Entity {
1228 Entity get declaredEntity; 1228 Entity get declaredEntity;
1229 } 1229 }
1230 1230
1231 abstract class PrivatelyNamedJSEntity implements JSEntity { 1231 abstract class PrivatelyNamedJSEntity implements JSEntity {
1232 Entity get rootOfScope; 1232 Entity get rootOfScope;
1233 } 1233 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698