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

Side by Side Diff: tests/compiler/dart2js/backend_dart/sexpr_unstringifier.dart

Issue 693183006: Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler" (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // SExpressionUnstringifier implements the inverse operation to 5 // SExpressionUnstringifier implements the inverse operation to
6 // [SExpressionStringifier]. 6 // [SExpressionStringifier].
7 7
8 library sexpr_unstringifier; 8 library sexpr_unstringifier;
9 9
10 import 'package:compiler/src/constants/expressions.dart' 10 import 'package:compiler/implementation/constants/expressions.dart'
11 show PrimitiveConstantExpression; 11 show PrimitiveConstantExpression;
12 import 'package:compiler/src/constants/values.dart'; 12 import 'package:compiler/implementation/constants/values.dart';
13 import 'package:compiler/src/dart2jslib.dart' as dart2js 13 import 'package:compiler/implementation/dart2jslib.dart' as dart2js
14 show MessageKind; 14 show MessageKind;
15 import 'package:compiler/src/dart_types.dart' as dart_types 15 import 'package:compiler/implementation/dart_types.dart' as dart_types
16 show DartType; 16 show DartType;
17 import 'package:compiler/src/elements/elements.dart' 17 import 'package:compiler/implementation/elements/elements.dart'
18 show Entity, Element, Elements, Local, TypeVariableElement, ErroneousElement, 18 show Entity, Element, Elements, Local, TypeVariableElement, ErroneousElement,
19 TypeDeclarationElement, ExecutableElement; 19 TypeDeclarationElement, ExecutableElement;
20 import 'package:compiler/src/elements/modelx.dart' 20 import 'package:compiler/implementation/elements/modelx.dart'
21 show ErroneousElementX, TypeVariableElementX; 21 show ErroneousElementX, TypeVariableElementX;
22 import 'package:compiler/src/tree/tree.dart' show LiteralDartString; 22 import 'package:compiler/implementation/tree/tree.dart' show LiteralDartString;
23 import 'package:compiler/src/universe/universe.dart' 23 import 'package:compiler/implementation/universe/universe.dart'
24 show Selector, SelectorKind; 24 show Selector, SelectorKind;
25 import 'package:compiler/src/cps_ir/cps_ir_nodes.dart'; 25 import 'package:compiler/implementation/cps_ir/cps_ir_nodes.dart';
26 26
27 /// Used whenever a node constructed by [SExpressionUnstringifier] needs a 27 /// Used whenever a node constructed by [SExpressionUnstringifier] needs a
28 /// named entity. 28 /// named entity.
29 class DummyEntity extends Entity { 29 class DummyEntity extends Entity {
30 final String name; 30 final String name;
31 DummyEntity(this.name); 31 DummyEntity(this.name);
32 } 32 }
33 33
34 /// Used whenever a node constructed by [SExpressionUnstringifier] needs a 34 /// Used whenever a node constructed by [SExpressionUnstringifier] needs a
35 /// local. 35 /// local.
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 return new ReifyTypeVar(type); 678 return new ReifyTypeVar(type);
679 } 679 }
680 680
681 /// (This) 681 /// (This)
682 This parseThis() { 682 This parseThis() {
683 tokens.consumeStart(THIS); 683 tokens.consumeStart(THIS);
684 tokens.consumeEnd(); 684 tokens.consumeEnd();
685 return new This(); 685 return new This();
686 } 686 }
687 } 687 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/backend_dart/sexpr_test.dart ('k') | tests/compiler/dart2js/backend_dart/test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698