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 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
821 } | 821 } |
822 | 822 |
823 visitStatement(Statement node) { | 823 visitStatement(Statement node) { |
824 throw 'internal error'; // Should not be called. | 824 throw 'internal error'; // Should not be called. |
825 } | 825 } |
826 | 826 |
827 visitStringNode(StringNode node) { | 827 visitStringNode(StringNode node) { |
828 throw 'internal error'; // Should not be called. | 828 throw 'internal error'; // Should not be called. |
829 } | 829 } |
830 } | 830 } |
OLD | NEW |