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 CodeEmitterTask get task => emitter.task; | 14 CodeEmitterTask get task => emitter.task; |
15 | 15 |
16 Compiler get compiler => emitter.compiler; | 16 Compiler get compiler => emitter.compiler; |
17 | 17 |
| 18 DiagnosticReporter get reporter => compiler.reporter; |
| 19 |
18 String get n => emitter.n; | 20 String get n => emitter.n; |
19 | 21 |
20 String get _ => emitter._; | 22 String get _ => emitter._; |
21 | 23 |
22 String get N => emitter.N; | 24 String get N => emitter.N; |
23 } | 25 } |
OLD | NEW |