| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 code_generator_dependencies; | 5 library code_generator_dependencies; |
| 6 | 6 |
| 7 import '../js_backend.dart'; | 7 import '../js_backend.dart'; |
| 8 import '../../dart2jslib.dart'; | 8 import '../../dart2jslib.dart'; |
| 9 import '../../js_emitter/js_emitter.dart'; | 9 import '../../js_emitter/js_emitter.dart'; |
| 10 import '../../js/js.dart' as js; | 10 import '../../js/js.dart' as js; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 Glue(this._compiler); | 25 Glue(this._compiler); |
| 26 | 26 |
| 27 js.Expression constantReference(ConstantValue value) { | 27 js.Expression constantReference(ConstantValue value) { |
| 28 return _emitter.constantReference(value); | 28 return _emitter.constantReference(value); |
| 29 } | 29 } |
| 30 | 30 |
| 31 js.Expression elementAccess(Element element) { | 31 js.Expression elementAccess(Element element) { |
| 32 return _namer.elementAccess(element); | 32 return _namer.elementAccess(element); |
| 33 } | 33 } |
| 34 | 34 |
| 35 String safeVariableName(String name) { |
| 36 return _namer.safeVariableName(name); |
| 37 } |
| 38 |
| 35 } | 39 } |
| OLD | NEW |