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

Side by Side Diff: pkg/compiler/lib/src/serialization/element_serialization.dart

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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.serialization.elements; 5 library dart2js.serialization.elements;
6 6
7 import '../constants/constructors.dart'; 7 import '../constants/constructors.dart';
8 import '../constants/expressions.dart'; 8 import '../constants/expressions.dart';
9 import '../dart_types.dart'; 9 import '../dart_types.dart';
10 import '../dart2jslib.dart' show SourceSpan; 10 import '../diagnostics/source_span.dart' show
11 SourceSpan;
11 import '../elements/elements.dart'; 12 import '../elements/elements.dart';
12 import '../tree/tree.dart'; 13 import '../tree/tree.dart';
13 import 'constant_serialization.dart'; 14 import 'constant_serialization.dart';
14 import 'keys.dart'; 15 import 'keys.dart';
15 import 'modelz.dart'; 16 import 'modelz.dart';
16 import 'serialization.dart'; 17 import 'serialization.dart';
17 18
18 /// Enum kinds used for encoding [Element]s. 19 /// Enum kinds used for encoding [Element]s.
19 enum SerializedElementKind { 20 enum SerializedElementKind {
20 LIBRARY, 21 LIBRARY,
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 case SerializedElementKind.TYPEVARIABLE: 479 case SerializedElementKind.TYPEVARIABLE:
479 return new TypeVariableElementZ(decoder); 480 return new TypeVariableElementZ(decoder);
480 case SerializedElementKind.PARAMETER: 481 case SerializedElementKind.PARAMETER:
481 return new ParameterElementZ(decoder); 482 return new ParameterElementZ(decoder);
482 case SerializedElementKind.INITIALIZING_FORMAL: 483 case SerializedElementKind.INITIALIZING_FORMAL:
483 return new InitializingFormalElementZ(decoder); 484 return new InitializingFormalElementZ(decoder);
484 } 485 }
485 throw new UnsupportedError("Unexpected element kind '${elementKind}."); 486 throw new UnsupportedError("Unexpected element kind '${elementKind}.");
486 } 487 }
487 } 488 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/scanner/token_map.dart ('k') | pkg/compiler/lib/src/serialization/modelz.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698