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 dart2js; | 5 part of dart2js; |
6 | 6 |
7 abstract class ResolvedVisitor<R> extends Visitor<R> { | 7 abstract class ResolvedVisitor<R> extends Visitor<R> { |
8 TreeElements elements; | 8 TreeElements elements; |
9 | 9 |
10 ResolvedVisitor(this.elements); | 10 ResolvedVisitor(this.elements); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 R visitAssert(Send node); | 71 R visitAssert(Send node); |
72 | 72 |
73 void internalError(String reason, {Node node}); | 73 void internalError(String reason, {Node node}); |
74 | 74 |
75 R visitNode(Node node) { | 75 R visitNode(Node node) { |
76 internalError("Unhandled node", node: node); | 76 internalError("Unhandled node", node: node); |
77 return null; | 77 return null; |
78 } | 78 } |
79 } | 79 } |
OLD | NEW |