OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of dart2js.js_emitter.full_emitter; | 5 part of dart2js.js_emitter.full_emitter; |
6 | 6 |
7 class CodeEmitterHelper { | 7 class CodeEmitterHelper { |
8 Emitter emitter; | 8 Emitter emitter; |
9 | 9 |
10 Namer get namer => emitter.namer; | 10 Namer get namer => emitter.namer; |
11 | 11 |
12 JavaScriptBackend get backend => emitter.backend; | 12 JavaScriptBackend get backend => emitter.backend; |
13 | 13 |
| 14 BackendHelpers get helpers => backend.helpers; |
| 15 |
14 CodeEmitterTask get task => emitter.task; | 16 CodeEmitterTask get task => emitter.task; |
15 | 17 |
16 Compiler get compiler => emitter.compiler; | 18 Compiler get compiler => emitter.compiler; |
17 | 19 |
18 DiagnosticReporter get reporter => compiler.reporter; | 20 DiagnosticReporter get reporter => compiler.reporter; |
19 | 21 |
20 String get n => emitter.n; | 22 String get n => emitter.n; |
21 | 23 |
22 String get _ => emitter._; | 24 String get _ => emitter._; |
23 | 25 |
24 String get N => emitter.N; | 26 String get N => emitter.N; |
25 } | 27 } |
OLD | NEW |