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 part of tree; | 5 part of tree; |
6 | 6 |
7 String unparse(Node node, {minify: true}) { | 7 String unparse(Node node, {minify: true}) { |
8 Unparser unparser = new Unparser(minify: minify); | 8 Unparser unparser = new Unparser(minify: minify); |
9 unparser.unparse(node); | 9 unparser.unparse(node); |
10 return unparser.result; | 10 return unparser.result; |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
794 } | 794 } |
795 | 795 |
796 visitStatement(Statement node) { | 796 visitStatement(Statement node) { |
797 throw 'internal error'; // Should not be called. | 797 throw 'internal error'; // Should not be called. |
798 } | 798 } |
799 | 799 |
800 visitStringNode(StringNode node) { | 800 visitStringNode(StringNode node) { |
801 throw 'internal error'; // Should not be called. | 801 throw 'internal error'; // Should not be called. |
802 } | 802 } |
803 } | 803 } |
OLD | NEW |