Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(325)

Side by Side Diff: sdk/lib/_internal/compiler/implementation/resolved_visitor.dart

Issue 11299009: Support type literals as compile-time constants. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698