| OLD | NEW |
| 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 library dart2js.new_js_emitter.model; | 5 library dart2js.new_js_emitter.model; |
| 6 | 6 |
| 7 import '../constants/values.dart' show ConstantValue; | 7 import '../constants/values.dart' show ConstantValue; |
| 8 import '../deferred_load.dart' show OutputUnit; | 8 import '../deferred_load.dart' show OutputUnit; |
| 9 import '../elements/elements.dart' show Element; | 9 import '../elements/elements.dart' show Element; |
| 10 import '../js/js.dart' as js | 10 import '../js/js.dart' as js show Expression, Name, Statement, TokenFinalizer; |
| 11 show Expression, Literal, Name, Statement, TokenFinalizer; | |
| 12 | |
| 13 import 'js_emitter.dart' show MetadataCollector; | 11 import 'js_emitter.dart' show MetadataCollector; |
| 14 | 12 |
| 15 class Program { | 13 class Program { |
| 16 final List<Fragment> fragments; | 14 final List<Fragment> fragments; |
| 17 final List<Holder> holders; | 15 final List<Holder> holders; |
| 18 final bool outputContainsConstantList; | 16 final bool outputContainsConstantList; |
| 19 final bool needsNativeSupport; | 17 final bool needsNativeSupport; |
| 20 final bool hasIsolateSupport; | 18 final bool hasIsolateSupport; |
| 21 | 19 |
| 22 /// A map from load id to the list of fragments that need to be loaded. | 20 /// A map from load id to the list of fragments that need to be loaded. |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 functionType: functionType); | 525 functionType: functionType); |
| 528 | 526 |
| 529 bool get isStatic => true; | 527 bool get isStatic => true; |
| 530 } | 528 } |
| 531 | 529 |
| 532 class StaticStubMethod extends StubMethod implements StaticMethod { | 530 class StaticStubMethod extends StubMethod implements StaticMethod { |
| 533 Holder holder; | 531 Holder holder; |
| 534 StaticStubMethod(js.Name name, this.holder, js.Expression code) | 532 StaticStubMethod(js.Name name, this.holder, js.Expression code) |
| 535 : super(name, code); | 533 : super(name, code); |
| 536 } | 534 } |
| OLD | NEW |