OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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; | 5 library js; |
6 | 6 |
7 import 'package:js_ast/js_ast.dart'; | 7 import 'package:js_ast/js_ast.dart'; |
8 export 'package:js_ast/js_ast.dart'; | 8 export 'package:js_ast/js_ast.dart'; |
9 | 9 |
| 10 import '../common.dart'; |
10 import '../compiler.dart' show | 11 import '../compiler.dart' show |
11 Compiler; | 12 Compiler; |
12 import '../diagnostics/diagnostic_listener.dart' show | |
13 DiagnosticReporter; | |
14 import '../diagnostics/spannable.dart' show | |
15 NO_LOCATION_SPANNABLE; | |
16 import '../dump_info.dart' show | 13 import '../dump_info.dart' show |
17 DumpInfoTask; | 14 DumpInfoTask; |
18 import '../io/code_output.dart' show | 15 import '../io/code_output.dart' show |
19 CodeBuffer, | 16 CodeBuffer, |
20 CodeOutput; | 17 CodeOutput; |
21 import '../js_emitter/js_emitter.dart' show | 18 import '../js_emitter/js_emitter.dart' show |
22 USE_LAZY_EMITTER; | 19 USE_LAZY_EMITTER; |
23 | 20 |
24 import 'js_source_mapping.dart'; | 21 import 'js_source_mapping.dart'; |
25 | 22 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } | 156 } |
160 } | 157 } |
161 _cachedLiteral = js.escapedString(text); | 158 _cachedLiteral = js.escapedString(text); |
162 } | 159 } |
163 return _cachedLiteral; | 160 return _cachedLiteral; |
164 } | 161 } |
165 | 162 |
166 @override | 163 @override |
167 String get value => _literal.value; | 164 String get value => _literal.value; |
168 } | 165 } |
OLD | NEW |