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

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

Issue 1348063002: Make the universe parts into small libraries. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
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 dart2js.semantics_visitor.resolver; 5 library dart2js.semantics_visitor.resolver;
6 6
7 import '../constants/expressions.dart'; 7 import '../constants/expressions.dart';
8 import '../dart_types.dart'; 8 import '../dart_types.dart';
9 import '../diagnostics/messages.dart' show 9 import '../diagnostics/messages.dart' show
10 MessageKind; 10 MessageKind;
11 import '../diagnostics/spannable.dart' show 11 import '../diagnostics/spannable.dart' show
12 Spannable, 12 Spannable,
13 SpannableAssertionFailure; 13 SpannableAssertionFailure;
14 import '../elements/elements.dart'; 14 import '../elements/elements.dart';
15 import '../tree/tree.dart'; 15 import '../tree/tree.dart';
16 import '../universe/universe.dart'; 16 import '../universe/call_structure.dart' show
17 CallStructure;
18 import '../universe/selector.dart' show
19 Selector;
17 20
18 import 'access_semantics.dart'; 21 import 'access_semantics.dart';
19 import 'semantic_visitor.dart'; 22 import 'semantic_visitor.dart';
20 import 'send_structure.dart'; 23 import 'send_structure.dart';
21 import 'tree_elements.dart'; 24 import 'tree_elements.dart';
22 25
23 abstract class SendResolverMixin { 26 abstract class SendResolverMixin {
24 TreeElements get elements; 27 TreeElements get elements;
25 28
26 internalError(Spannable spannable, String message); 29 internalError(Spannable spannable, String message);
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 return internalError(node, "Unexpected variable $element."); 472 return internalError(node, "Unexpected variable $element.");
470 } 473 }
471 if (element.isConst) { 474 if (element.isConst) {
472 ConstantExpression constant = elements.getConstant(element.initializer); 475 ConstantExpression constant = elements.getConstant(element.initializer);
473 return new ConstantVariableStructure(kind, node, element, constant); 476 return new ConstantVariableStructure(kind, node, element, constant);
474 } else { 477 } else {
475 return new NonConstantVariableStructure(kind, node, element); 478 return new NonConstantVariableStructure(kind, node, element);
476 } 479 }
477 } 480 }
478 } 481 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/semantic_visitor.dart ('k') | pkg/compiler/lib/src/resolution/send_structure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698