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

Unified Diff: lib/compiler/implementation/scanner/listener.dart

Issue 10834374: Add a field to ClassNode that holds a NodeList of its members. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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
Index: lib/compiler/implementation/scanner/listener.dart
===================================================================
--- lib/compiler/implementation/scanner/listener.dart (revision 11052)
+++ lib/compiler/implementation/scanner/listener.dart (working copy)
@@ -932,7 +932,7 @@
NodeList typeParameters = popNode();
Identifier name = popNode();
pushNode(new ClassNode(name, typeParameters, supertype, interfaces, null,
- beginToken, extendsKeyword, endToken));
+ beginToken, extendsKeyword, body, endToken));
}
void endFunctionTypeAlias(Token typedefKeyword, Token endToken) {
@@ -953,7 +953,8 @@
NodeList typeParameters = popNode();
Identifier name = popNode();
pushNode(new ClassNode(name, typeParameters, null, supertypes,
- defaultClause, interfaceKeyword, null, endToken));
+ defaultClause, interfaceKeyword, null, body,
+ endToken));
}
void endClassBody(int memberCount, Token beginToken, Token endToken) {
« no previous file with comments | « no previous file | lib/compiler/implementation/tree/nodes.dart » ('j') | lib/compiler/implementation/tree/unparser.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698