| 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 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 Loading... |
| 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 } |
| OLD | NEW |