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

Unified Diff: lib/compiler/implementation/tree/visitors.dart

Issue 9958009: Implement cascaded calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/compiler/implementation/tree/nodes.dart ('k') | lib/compiler/implementation/typechecker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/tree/visitors.dart
diff --git a/lib/compiler/implementation/tree/visitors.dart b/lib/compiler/implementation/tree/visitors.dart
index cda20e508e01ccc7ad228ed4d58cb354f56bfde9..3c0d88720c9049f5f47b8cab1a58233fce7ff008 100644
--- a/lib/compiler/implementation/tree/visitors.dart
+++ b/lib/compiler/implementation/tree/visitors.dart
@@ -9,6 +9,8 @@ class AbstractVisitor<R> implements Visitor<R> {
R visitBlock(Block node) => visitStatement(node);
R visitBreakStatement(BreakStatement node) => visitGotoStatement(node);
+ R visitCascade(Cascade node) => visitExpression(node);
+ R visitCascadeReceiver(CascadeReceiver node) => visitExpression(node);
R visitCatchBlock(CatchBlock node) => visitNode(node);
R visitClassNode(ClassNode node) => visitNode(node);
R visitConditional(Conditional node) => visitExpression(node);
« no previous file with comments | « lib/compiler/implementation/tree/nodes.dart ('k') | lib/compiler/implementation/typechecker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698