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

Side by Side Diff: pkg/compiler/lib/src/js_backend/js_backend.dart

Issue 1383483006: Extract DiagnosticReporter implementation from Compiler. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 js_backend; 5 library js_backend;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:collection' show HashMap; 8 import 'dart:collection' show HashMap;
9 9
10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames; 10 import 'package:js_runtime/shared/embedded_names.dart' as embeddedNames;
(...skipping 20 matching lines...) Expand all
31 import '../common/work.dart' show 31 import '../common/work.dart' show
32 ItemCompilationContext; 32 ItemCompilationContext;
33 import '../compiler.dart' show 33 import '../compiler.dart' show
34 Compiler; 34 Compiler;
35 import '../compile_time_constants.dart'; 35 import '../compile_time_constants.dart';
36 import '../constants/constant_system.dart'; 36 import '../constants/constant_system.dart';
37 import '../constants/expressions.dart'; 37 import '../constants/expressions.dart';
38 import '../constants/values.dart'; 38 import '../constants/values.dart';
39 import '../dart_types.dart'; 39 import '../dart_types.dart';
40 import '../diagnostics/diagnostic_listener.dart' show 40 import '../diagnostics/diagnostic_listener.dart' show
41 DiagnosticMessage; 41 DiagnosticMessage,
42 DiagnosticReporter;
42 import '../diagnostics/invariant.dart' show 43 import '../diagnostics/invariant.dart' show
43 invariant; 44 invariant;
44 import '../diagnostics/messages.dart' show MessageKind; 45 import '../diagnostics/messages.dart' show MessageKind;
45 import '../diagnostics/spannable.dart' show 46 import '../diagnostics/spannable.dart' show
47 CURRENT_ELEMENT_SPANNABLE,
46 NO_LOCATION_SPANNABLE, 48 NO_LOCATION_SPANNABLE,
47 Spannable, 49 Spannable,
48 SpannableAssertionFailure; 50 SpannableAssertionFailure;
49 import '../elements/elements.dart'; 51 import '../elements/elements.dart';
50 import '../elements/visitor.dart' show 52 import '../elements/visitor.dart' show
51 BaseElementVisitor; 53 BaseElementVisitor;
52 import '../enqueue.dart' show 54 import '../enqueue.dart' show
53 Enqueuer, 55 Enqueuer,
54 ResolutionEnqueuer, 56 ResolutionEnqueuer,
55 WorldImpact; 57 WorldImpact;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 part 'constant_handler_javascript.dart'; 105 part 'constant_handler_javascript.dart';
104 part 'custom_elements_analysis.dart'; 106 part 'custom_elements_analysis.dart';
105 part 'frequency_namer.dart'; 107 part 'frequency_namer.dart';
106 part 'field_naming_mixin.dart'; 108 part 'field_naming_mixin.dart';
107 part 'minify_namer.dart'; 109 part 'minify_namer.dart';
108 part 'namer.dart'; 110 part 'namer.dart';
109 part 'namer_names.dart'; 111 part 'namer_names.dart';
110 part 'no_such_method_registry.dart'; 112 part 'no_such_method_registry.dart';
111 part 'runtime_types.dart'; 113 part 'runtime_types.dart';
112 part 'type_variable_handler.dart'; 114 part 'type_variable_handler.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698