OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 sourcemap.diff_view; | 5 library sourcemap.diff_view; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:convert'; | 8 import 'dart:convert'; |
9 import 'dart:io'; | 9 import 'dart:io'; |
10 | 10 |
11 import 'package:compiler/src/common.dart'; | |
12 import 'package:compiler/src/commandline_options.dart'; | 11 import 'package:compiler/src/commandline_options.dart'; |
13 import 'package:compiler/src/diagnostics/invariant.dart'; | 12 import 'package:compiler/src/diagnostics/invariant.dart'; |
14 import 'package:compiler/src/elements/elements.dart'; | 13 import 'package:compiler/src/elements/elements.dart'; |
15 import 'package:compiler/src/io/position_information.dart'; | 14 import 'package:compiler/src/io/position_information.dart'; |
16 import 'package:compiler/src/io/source_information.dart'; | 15 import 'package:compiler/src/io/source_information.dart'; |
17 import 'package:compiler/src/io/source_file.dart'; | 16 import 'package:compiler/src/io/source_file.dart'; |
18 import 'package:compiler/src/js/js.dart' as js; | 17 import 'package:compiler/src/js/js.dart' as js; |
19 import 'package:compiler/src/js/js_debug.dart'; | |
20 | 18 |
21 import 'diff.dart'; | 19 import 'diff.dart'; |
22 import 'html_parts.dart'; | 20 import 'html_parts.dart'; |
23 import 'js_tracer.dart'; | 21 import 'js_tracer.dart'; |
24 import 'output_structure.dart'; | 22 import 'output_structure.dart'; |
25 import 'sourcemap_helper.dart'; | 23 import 'sourcemap_helper.dart'; |
26 import 'sourcemap_html_helper.dart'; | 24 import 'sourcemap_html_helper.dart'; |
27 import 'trace_graph.dart'; | 25 import 'trace_graph.dart'; |
28 | 26 |
29 main(List<String> args) async { | 27 main(List<String> args) async { |
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 if (data.annotationType == AnnotationType.WITHOUT_SOURCE_INFO) { | 954 if (data.annotationType == AnnotationType.WITHOUT_SOURCE_INFO) { |
957 return new AnnotationData(tag: 'span', properties: { | 955 return new AnnotationData(tag: 'span', properties: { |
958 'title': annotation.title, | 956 'title': annotation.title, |
959 'class': '${ClassNames.marker} ' | 957 'class': '${ClassNames.marker} ' |
960 '${data.annotationType.className}' | 958 '${data.annotationType.className}' |
961 }); | 959 }); |
962 } | 960 } |
963 } | 961 } |
964 return null; | 962 return null; |
965 } | 963 } |
OLD | NEW |