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

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

Issue 2301953003: Rerun formatter on dartjs except kernel and shared_messages (Closed)
Patch Set: Created 4 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.serialization.elements; 5 library dart2js.serialization.elements;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../constants/constructors.dart'; 8 import '../constants/constructors.dart';
9 import '../constants/expressions.dart'; 9 import '../constants/expressions.dart';
10 import '../dart_types.dart'; 10 import '../dart_types.dart';
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 WrappedMessage info = deserializeWrappedMessage(decoder, Key.INFO); 938 WrappedMessage info = deserializeWrappedMessage(decoder, Key.INFO);
939 return new WarnOnUseElementX(warning, info, enclosing, element); 939 return new WarnOnUseElementX(warning, info, enclosing, element);
940 case SerializedElementKind.AMBIGUOUS: 940 case SerializedElementKind.AMBIGUOUS:
941 Element enclosingElement = decoder.getElement(Key.ENCLOSING); 941 Element enclosingElement = decoder.getElement(Key.ENCLOSING);
942 Element existingElement = decoder.getElement(Key.EXISTING); 942 Element existingElement = decoder.getElement(Key.EXISTING);
943 Element newElement = decoder.getElement(Key.NEW); 943 Element newElement = decoder.getElement(Key.NEW);
944 MessageKind messageKind = 944 MessageKind messageKind =
945 decoder.getEnum(Key.MESSAGE_KIND, MessageKind.values); 945 decoder.getEnum(Key.MESSAGE_KIND, MessageKind.values);
946 Map messageArguments = 946 Map messageArguments =
947 deserializeMessageArguments(decoder, Key.ARGUMENTS); 947 deserializeMessageArguments(decoder, Key.ARGUMENTS);
948 return new AmbiguousImportX( 948 return new AmbiguousImportX(messageKind, messageArguments,
949 messageKind, messageArguments,
950 enclosingElement, existingElement, newElement); 949 enclosingElement, existingElement, newElement);
951 case SerializedElementKind.EXTERNAL_LIBRARY: 950 case SerializedElementKind.EXTERNAL_LIBRARY:
952 case SerializedElementKind.EXTERNAL_LIBRARY_MEMBER: 951 case SerializedElementKind.EXTERNAL_LIBRARY_MEMBER:
953 case SerializedElementKind.EXTERNAL_CLASS_MEMBER: 952 case SerializedElementKind.EXTERNAL_CLASS_MEMBER:
954 case SerializedElementKind.EXTERNAL_CONSTRUCTOR: 953 case SerializedElementKind.EXTERNAL_CONSTRUCTOR:
955 break; 954 break;
956 } 955 }
957 throw new UnsupportedError("Unexpected element kind '${elementKind}."); 956 throw new UnsupportedError("Unexpected element kind '${elementKind}.");
958 } 957 }
959 } 958 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/constructors.dart ('k') | pkg/compiler/lib/src/ssa/graph_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698