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 '../js/js.dart' as js show Expression; | 7 import '../js/js.dart' as js show Expression; |
8 import '../constants/values.dart' show ConstantValue; | 8 import '../constants/values.dart' show ConstantValue; |
9 | 9 |
10 class Program { | 10 class Program { |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 final String name; | 178 final String name; |
179 final js.Expression code; | 179 final js.Expression code; |
180 Method(this.name, this.code); | 180 Method(this.name, this.code); |
181 } | 181 } |
182 | 182 |
183 class StaticMethod extends Method { | 183 class StaticMethod extends Method { |
184 final Holder holder; | 184 final Holder holder; |
185 StaticMethod(String name, this.holder, js.Expression code) | 185 StaticMethod(String name, this.holder, js.Expression code) |
186 : super(name, code); | 186 : super(name, code); |
187 } | 187 } |
OLD | NEW |