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

Side by Side Diff: pkg/compiler/lib/src/tree/unparser.dart

Issue 1880323002: dart2js cleanup: remove unused imports and variables (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge master Created 4 years, 8 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 import '../tokens/token.dart' show BeginGroupToken, Token; 5 import '../tokens/token.dart' show Token;
6 import '../tokens/token_constants.dart' as Tokens 6 import '../tokens/token_constants.dart' as Tokens
7 show IDENTIFIER_TOKEN, KEYWORD_TOKEN, PLUS_TOKEN; 7 show IDENTIFIER_TOKEN, KEYWORD_TOKEN, PLUS_TOKEN;
8 import '../util/util.dart'; 8 import '../util/util.dart';
9 import 'nodes.dart'; 9 import 'nodes.dart';
10 10
11 String unparse(Node node, {minify: true}) { 11 String unparse(Node node, {minify: true}) {
12 Unparser unparser = new Unparser(minify: minify); 12 Unparser unparser = new Unparser(minify: minify);
13 unparser.unparse(node); 13 unparser.unparse(node);
14 return unparser.result; 14 return unparser.result;
15 } 15 }
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 } 896 }
897 897
898 visitStatement(Statement node) { 898 visitStatement(Statement node) {
899 throw 'internal error'; // Should not be called. 899 throw 'internal error'; // Should not be called.
900 } 900 }
901 901
902 visitStringNode(StringNode node) { 902 visitStringNode(StringNode node) {
903 throw 'internal error'; // Should not be called. 903 throw 'internal error'; // Should not be called.
904 } 904 }
905 } 905 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/tree/prettyprint.dart ('k') | pkg/compiler/lib/src/tree_ir/tree_ir_tracer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698