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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 } | 53 } |
54 } | 54 } |
55 | 55 |
56 R visitSuperSend(Send node); | 56 R visitSuperSend(Send node); |
57 R visitOperatorSend(Send node); | 57 R visitOperatorSend(Send node); |
58 R visitGetterSend(Send node); | 58 R visitGetterSend(Send node); |
59 R visitClosureSend(Send node); | 59 R visitClosureSend(Send node); |
60 R visitDynamicSend(Send node); | 60 R visitDynamicSend(Send node); |
61 R visitForeignSend(Send node); | 61 R visitForeignSend(Send node); |
62 R visitStaticSend(Send node); | 62 R visitStaticSend(Send node); |
63 abstract R visitTypeReferenceSend(Send node); | 63 R visitTypeReferenceSend(Send node); |
64 | 64 |
65 void internalError(String reason, {Node node}); | 65 void internalError(String reason, {Node node}); |
66 | 66 |
67 R visitNode(Node node) { | 67 R visitNode(Node node) { |
68 internalError("Unhandled node", node: node); | 68 internalError("Unhandled node", node: node); |
69 } | 69 } |
70 } | 70 } |
OLD | NEW |