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

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

Issue 1762723002: Cleanup 1: split parts into their own libraries, remove unused imports (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 /// 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 22 matching lines...) Expand all
33 import 'io/source_map_builder.dart' as io; 33 import 'io/source_map_builder.dart' as io;
34 import 'js/js.dart' as js; 34 import 'js/js.dart' as js;
35 import 'js_backend/js_backend.dart' as js_backend; 35 import 'js_backend/js_backend.dart' as js_backend;
36 import 'js_emitter/js_emitter.dart' as js_emitter; 36 import 'js_emitter/js_emitter.dart' as js_emitter;
37 import 'js_emitter/full_emitter/emitter.dart' as full; 37 import 'js_emitter/full_emitter/emitter.dart' as full;
38 import 'js_emitter/program_builder/program_builder.dart' as program_builder; 38 import 'js_emitter/program_builder/program_builder.dart' as program_builder;
39 import 'resolution/semantic_visitor.dart' as semantic_visitor; 39 import 'resolution/semantic_visitor.dart' as semantic_visitor;
40 import 'resolution/operators.dart' as operators; 40 import 'resolution/operators.dart' as operators;
41 import 'script.dart'; 41 import 'script.dart';
42 import 'source_file_provider.dart' as source_file_provider; 42 import 'source_file_provider.dart' as source_file_provider;
43 import 'ssa/ssa.dart' as ssa; 43 import 'ssa/nodes.dart' as ssa;
44 import 'tree/tree.dart' as tree; 44 import 'tree/tree.dart' as tree;
45 import 'util/util.dart' as util; 45 import 'util/util.dart' as util;
46 import 'world.dart'; 46 import 'world.dart';
47 47
48 import 'parser/partial_elements.dart' show 48 import 'parser/partial_elements.dart' show
49 PartialClassElement, 49 PartialClassElement,
50 PartialFunctionElement; 50 PartialFunctionElement;
51 51
52 class ElementVisitor extends elements_visitor.BaseElementVisitor { 52 class ElementVisitor extends elements_visitor.BaseElementVisitor {
53 visitElement(e, a) {} 53 visitElement(e, a) {}
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 noSuchMethod(inv) {} 336 noSuchMethod(inv) {}
337 } 337 }
338 338
339 useTreeVisitors() { 339 useTreeVisitors() {
340 new TreeVisitor1().visitExpression(null, null); 340 new TreeVisitor1().visitExpression(null, null);
341 new TreeVisitor1().visitStatement(null, null); 341 new TreeVisitor1().visitStatement(null, null);
342 } 342 }
343 343
344 useDeferred([deferred.DeferredLoadTask task]) { 344 useDeferred([deferred.DeferredLoadTask task]) {
345 task.dump(); 345 task.dump();
346 } 346 }
OLDNEW
« pkg/compiler/lib/src/ssa/validate.dart ('K') | « pkg/compiler/lib/src/universe/world_impact.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698