Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Side by Side Diff: pkg/compiler/lib/src/js_emitter/full_emitter/code_emitter_helper.dart

Issue 1383483006: Extract DiagnosticReporter implementation from Compiler. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fixes after rebase. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698