| OLD | NEW | 
|    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 containing identifier, names, and selectors commonly used through |    5 /// Library containing identifier, names, and selectors commonly used through | 
|    6 /// the compiler. |    6 /// the compiler. | 
|    7 library dart2js.common.names; |    7 library dart2js.common.names; | 
|    8  |    8  | 
|    9 import '../elements/elements.dart' show Name, PublicName; |    9 import '../elements/elements.dart' show Name, PublicName; | 
|   10 import '../universe/call_structure.dart' show CallStructure; |   10 import '../universe/call_structure.dart' show CallStructure; | 
|   11 import '../universe/selector.dart' show Selector; |   11 import '../universe/selector.dart' show Selector; | 
|   12  |   12  | 
|   13 /// [String]s commonly used. |   13 /// [String]s commonly used. | 
|   14 class Identifiers { |   14 class Identifiers { | 
|   15   /// The name of the call operator. |   15   /// The name of the call operator. | 
|   16   static const String call = 'call'; |   16   static const String call = 'call'; | 
|   17  |   17  | 
|   18   /// The name of the current element property used on iterators in for-each |   18   /// The name of the current element property used on iterators in for-each | 
|   19   /// loops. |   19   /// loops. | 
|   20   static const String current = 'current'; |   20   static const String current = 'current'; | 
|   21  |   21  | 
|   22   /// The name of the from environment constructors on 'int', 'bool' and |   22   /// The name of the from environment constructors on 'int', 'bool' and | 
|   23   /// 'String'. |   23   /// 'String'. | 
|   24   static const String fromEnvironment = 'fromEnvironment'; |   24   static const String fromEnvironment = 'fromEnvironment'; | 
|   25  |   25  | 
|   26   /// The name of the iterator property used in for-each loops. |   26   /// The name of the iterator property used in for-each loops. | 
|   27   static const String iterator = 'iterator'; |   27   static const String iterator = 'iterator'; | 
|   28  |   28  | 
 |   29   /// The name of the `loadLibrary` getter defined on deferred prefixes. | 
 |   30   static const String loadLibrary = 'loadLibrary'; | 
 |   31  | 
|   29   /// The name of the main method. |   32   /// The name of the main method. | 
|   30   static const String main = 'main'; |   33   static const String main = 'main'; | 
|   31  |   34  | 
|   32   /// The name of the no such method handler on 'Object'. |   35   /// The name of the no such method handler on 'Object'. | 
|   33   static const String noSuchMethod_ = 'noSuchMethod'; |   36   static const String noSuchMethod_ = 'noSuchMethod'; | 
|   34  |   37  | 
|   35   /// The name of the runtime type property on 'Object'. |   38   /// The name of the runtime type property on 'Object'. | 
|   36   static const String runtimeType_ = 'runtimeType'; |   39   static const String runtimeType_ = 'runtimeType'; | 
|   37  |   40  | 
|   38   /// The name of the getter returning the size of containers and strings. |   41   /// The name of the getter returning the size of containers and strings. | 
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  158   /// The URI for 'dart:mirrors'. |  161   /// The URI for 'dart:mirrors'. | 
|  159   static final Uri dart_mirrors = new Uri(scheme: 'dart', path: 'mirrors'); |  162   static final Uri dart_mirrors = new Uri(scheme: 'dart', path: 'mirrors'); | 
|  160  |  163  | 
|  161   /// The URI for 'dart:_internal'. |  164   /// The URI for 'dart:_internal'. | 
|  162   static final Uri dart__internal = new Uri(scheme: 'dart', path: '_internal'); |  165   static final Uri dart__internal = new Uri(scheme: 'dart', path: '_internal'); | 
|  163  |  166  | 
|  164   /// The URI for 'dart:_native_typed_data'. |  167   /// The URI for 'dart:_native_typed_data'. | 
|  165   static final Uri dart__native_typed_data = |  168   static final Uri dart__native_typed_data = | 
|  166       new Uri(scheme: 'dart', path: '_native_typed_data'); |  169       new Uri(scheme: 'dart', path: '_native_typed_data'); | 
|  167 } |  170 } | 
| OLD | NEW |