| OLD | NEW |
| 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 /// This file use methods that aren't used by dart2js.dart, but that we wish to | 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to |
| 6 /// keep anyway. This might be general API that isn't currently in use, | 6 /// keep anyway. This might be general API that isn't currently in use, |
| 7 /// debugging aids, or API only used for testing (see TODO below). | 7 /// debugging aids, or API only used for testing (see TODO below). |
| 8 | 8 |
| 9 library dart2js.use_unused_api; | 9 library dart2js.use_unused_api; |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 import 'elements/modelx.dart' as modelx; | 24 import 'elements/modelx.dart' as modelx; |
| 25 import 'elements/visitor.dart' as elements_visitor; | 25 import 'elements/visitor.dart' as elements_visitor; |
| 26 import 'filenames.dart' as filenames; | 26 import 'filenames.dart' as filenames; |
| 27 import 'inferrer/concrete_types_inferrer.dart' as concrete_types_inferrer; | 27 import 'inferrer/concrete_types_inferrer.dart' as concrete_types_inferrer; |
| 28 import 'inferrer/type_graph_inferrer.dart' as type_graph_inferrer; | 28 import 'inferrer/type_graph_inferrer.dart' as type_graph_inferrer; |
| 29 import 'io/line_column_provider.dart' as io; | 29 import 'io/line_column_provider.dart' as io; |
| 30 import 'io/source_map_builder.dart' as io; | 30 import 'io/source_map_builder.dart' as io; |
| 31 import 'js/js.dart' as js; | 31 import 'js/js.dart' as js; |
| 32 import 'js_backend/js_backend.dart' as js_backend; | 32 import 'js_backend/js_backend.dart' as js_backend; |
| 33 import 'js_emitter/js_emitter.dart' as js_emitter; | 33 import 'js_emitter/js_emitter.dart' as js_emitter; |
| 34 import 'js_emitter/program_builder.dart' as program_builder; | 34 import 'js_emitter/program_builder/program_builder.dart' as program_builder; |
| 35 import 'resolution/semantic_visitor.dart' as semantic_visitor; | 35 import 'resolution/semantic_visitor.dart' as semantic_visitor; |
| 36 import 'resolution/operators.dart' as operators; | 36 import 'resolution/operators.dart' as operators; |
| 37 import 'source_file_provider.dart' as source_file_provider; | 37 import 'source_file_provider.dart' as source_file_provider; |
| 38 import 'ssa/ssa.dart' as ssa; | 38 import 'ssa/ssa.dart' as ssa; |
| 39 import 'tree/tree.dart' as tree; | 39 import 'tree/tree.dart' as tree; |
| 40 import 'util/util.dart' as util; | 40 import 'util/util.dart' as util; |
| 41 | 41 |
| 42 import 'scanner/scannerlib.dart' show | 42 import 'scanner/scannerlib.dart' show |
| 43 PartialClassElement, | 43 PartialClassElement, |
| 44 PartialFunctionElement; | 44 PartialFunctionElement; |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 | 327 |
| 328 class TreeVisitor1 extends tree_ir.ExpressionVisitor1 | 328 class TreeVisitor1 extends tree_ir.ExpressionVisitor1 |
| 329 with tree_ir.StatementVisitor1 { | 329 with tree_ir.StatementVisitor1 { |
| 330 noSuchMethod(inv) {} | 330 noSuchMethod(inv) {} |
| 331 } | 331 } |
| 332 | 332 |
| 333 useTreeVisitors() { | 333 useTreeVisitors() { |
| 334 new TreeVisitor1().visitExpression(null, null); | 334 new TreeVisitor1().visitExpression(null, null); |
| 335 new TreeVisitor1().visitStatement(null, null); | 335 new TreeVisitor1().visitStatement(null, null); |
| 336 } | 336 } |
| OLD | NEW |