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

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

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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;
6
5 abstract class ResolvedVisitor<R> extends Visitor<R> { 7 abstract class ResolvedVisitor<R> extends Visitor<R> {
6 TreeElements elements; 8 TreeElements elements;
7 9
8 ResolvedVisitor(this.elements); 10 ResolvedVisitor(this.elements);
9 11
10 R visitSend(Send node) { 12 R visitSend(Send node) {
11 if (node.isSuperCall) { 13 if (node.isSuperCall) {
12 return visitSuperSend(node); 14 return visitSuperSend(node);
13 } else if (node.isOperator) { 15 } else if (node.isOperator) {
14 return visitOperatorSend(node); 16 return visitOperatorSend(node);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 abstract R visitDynamicSend(Send node); 53 abstract R visitDynamicSend(Send node);
52 abstract R visitForeignSend(Send node); 54 abstract R visitForeignSend(Send node);
53 abstract R visitStaticSend(Send node); 55 abstract R visitStaticSend(Send node);
54 56
55 abstract void internalError(String reason, {Node node}); 57 abstract void internalError(String reason, {Node node});
56 58
57 R visitNode(Node node) { 59 R visitNode(Node node) {
58 internalError("Unhandled node", node: node); 60 internalError("Unhandled node", node: node);
59 } 61 }
60 } 62 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/resolution/members.dart ('k') | lib/compiler/implementation/scanner/array_based_scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698