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

Unified Diff: dart/frog/leg/tree/nodes.dart

Issue 9567041: Implement prefixes in NewExpression. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebased Created 8 years, 9 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 | « dart/frog/leg/resolver.dart ('k') | dart/tests/language/language-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/tree/nodes.dart
diff --git a/dart/frog/leg/tree/nodes.dart b/dart/frog/leg/tree/nodes.dart
index c8bba1500a58b7bc29dfc2819b79bccfbfc35a01..79a7929d49201dae9d5e9a9e9a96eea6010e4844 100644
--- a/dart/frog/leg/tree/nodes.dart
+++ b/dart/frog/leg/tree/nodes.dart
@@ -552,10 +552,12 @@ class FunctionExpression extends Expression {
accept(Visitor visitor) => visitor.visitFunctionExpression(this);
visitChildren(Visitor visitor) {
+ if (modifiers !== null) modifiers.accept(visitor);
+ if (returnType !== null) returnType.accept(visitor);
if (name !== null) name.accept(visitor);
if (parameters !== null) parameters.accept(visitor);
+ if (initializers !== null) initializers.accept(visitor);
if (body !== null) body.accept(visitor);
- if (returnType !== null) returnType.accept(visitor);
}
bool hasBody() {
« no previous file with comments | « dart/frog/leg/resolver.dart ('k') | dart/tests/language/language-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698