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

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

Issue 10990060: Added support for exports and re-exports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. Created 8 years, 2 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 | Annotate | Revision Log
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 String unparse(Node node) { 5 String unparse(Node node) {
6 Unparser unparser = new Unparser(); 6 Unparser unparser = new Unparser();
7 unparser.unparse(node); 7 unparser.unparse(node);
8 return unparser.result; 8 return unparser.result;
9 } 9 }
10 10
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 } 560 }
561 561
562 visitExpression(Expression node) { 562 visitExpression(Expression node) {
563 throw 'internal error'; // Should not be called. 563 throw 'internal error'; // Should not be called.
564 } 564 }
565 565
566 visitLibraryTag(LibraryTag node) { 566 visitLibraryTag(LibraryTag node) {
567 throw 'internal error'; // Should not be called. 567 throw 'internal error'; // Should not be called.
568 } 568 }
569 569
570 visitLibraryDependency(Node node) {
571 throw 'internal error'; // Should not be called.
572 }
573
570 visitLiteral(Literal node) { 574 visitLiteral(Literal node) {
571 throw 'internal error'; // Should not be called. 575 throw 'internal error'; // Should not be called.
572 } 576 }
573 577
574 visitLoop(Loop node) { 578 visitLoop(Loop node) {
575 throw 'internal error'; // Should not be called. 579 throw 'internal error'; // Should not be called.
576 } 580 }
577 581
578 visitPostfix(Postfix node) { 582 visitPostfix(Postfix node) {
579 throw 'internal error'; // Should not be called. 583 throw 'internal error'; // Should not be called.
580 } 584 }
581 585
582 visitPrefix(Prefix node) { 586 visitPrefix(Prefix node) {
583 throw 'internal error'; // Should not be called. 587 throw 'internal error'; // Should not be called.
584 } 588 }
585 589
586 visitStatement(Statement node) { 590 visitStatement(Statement node) {
587 throw 'internal error'; // Should not be called. 591 throw 'internal error'; // Should not be called.
588 } 592 }
589 593
590 visitStringNode(StringNode node) { 594 visitStringNode(StringNode node) {
591 throw 'internal error'; // Should not be called. 595 throw 'internal error'; // Should not be called.
592 } 596 }
593 } 597 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/tree/prettyprint.dart ('k') | lib/compiler/implementation/util/util.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698