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

Side by Side Diff: lib/compiler/implementation/tree/prettyprint.dart

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « lib/compiler/implementation/tree/nodes.dart ('k') | lib/compiler/implementation/tree/tree.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 part of tree;
6
5 /** 7 /**
6 * Pretty-prints Node tree in XML-like format. 8 * Pretty-prints Node tree in XML-like format.
7 * 9 *
8 * TODO(smok): Add main() to run from command-line to print out tree for given 10 * TODO(smok): Add main() to run from command-line to print out tree for given
9 * .dart file. 11 * .dart file.
10 */ 12 */
11 class PrettyPrinter implements Visitor { 13 class PrettyPrinter implements Visitor {
12 14
13 /** String used to represent one level of indent. */ 15 /** String used to represent one level of indent. */
14 static const String INDENT = " "; 16 static const String INDENT = " ";
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 } 463 }
462 464
463 visitStringNode(StringNode node) { 465 visitStringNode(StringNode node) {
464 unimplemented('visitNode', node: node); 466 unimplemented('visitNode', node: node);
465 } 467 }
466 468
467 unimplemented(String message, {Node node}) { 469 unimplemented(String message, {Node node}) {
468 throw message; 470 throw message;
469 } 471 }
470 } 472 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/tree/nodes.dart ('k') | lib/compiler/implementation/tree/tree.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698