| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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.backend_api; | 5 library dart2js.backend_api; |
| 6 | 6 |
| 7 import 'dart:async' show Future; | 7 import 'dart:async' show Future; |
| 8 | 8 |
| 9 import '../compiler.dart' show | 9 import '../compiler.dart' show |
| 10 Compiler; | 10 Compiler; |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 /// Call this method to enable support for `noSuchMethod`. | 205 /// Call this method to enable support for `noSuchMethod`. |
| 206 void enableNoSuchMethod(Enqueuer enqueuer) {} | 206 void enableNoSuchMethod(Enqueuer enqueuer) {} |
| 207 | 207 |
| 208 /// Returns whether or not `noSuchMethod` support has been enabled. | 208 /// Returns whether or not `noSuchMethod` support has been enabled. |
| 209 bool get enabledNoSuchMethod => false; | 209 bool get enabledNoSuchMethod => false; |
| 210 | 210 |
| 211 /// Call this method to enable support for isolates. | 211 /// Call this method to enable support for isolates. |
| 212 void enableIsolateSupport(Enqueuer enqueuer) {} | 212 void enableIsolateSupport(Enqueuer enqueuer) {} |
| 213 | 213 |
| 214 void registerRequiredType(DartType type, Element enclosingElement) {} | 214 void registerRequiredType(DartType type, Element enclosingElement) {} |
| 215 void registerClassUsingVariableExpression(ClassElement cls) {} | |
| 216 | 215 |
| 217 void registerConstSymbol(String name, Registry registry) {} | 216 void registerConstSymbol(String name, Registry registry) {} |
| 218 void registerNewSymbol(Registry registry) {} | 217 void registerNewSymbol(Registry registry) {} |
| 219 | 218 |
| 220 bool isNullImplementation(ClassElement cls) { | 219 bool isNullImplementation(ClassElement cls) { |
| 221 return cls == compiler.nullClass; | 220 return cls == compiler.nullClass; |
| 222 } | 221 } |
| 223 | 222 |
| 224 ClassElement get intImplementation => compiler.intClass; | 223 ClassElement get intImplementation => compiler.intClass; |
| 225 ClassElement get doubleImplementation => compiler.doubleClass; | 224 ClassElement get doubleImplementation => compiler.doubleClass; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 | 361 |
| 363 void forgetElement(Element element) {} | 362 void forgetElement(Element element) {} |
| 364 | 363 |
| 365 void registerMainHasArguments(Enqueuer enqueuer) {} | 364 void registerMainHasArguments(Enqueuer enqueuer) {} |
| 366 | 365 |
| 367 void registerAsyncMarker(FunctionElement element, | 366 void registerAsyncMarker(FunctionElement element, |
| 368 Enqueuer enqueuer, | 367 Enqueuer enqueuer, |
| 369 Registry registry) {} | 368 Registry registry) {} |
| 370 } | 369 } |
| 371 | 370 |
| OLD | NEW |