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

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

Issue 10786028: Record 'implements' keyword for class declaration nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 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 | « no previous file | lib/compiler/implementation/scanner/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/scanner/listener.dart
diff --git a/lib/compiler/implementation/scanner/listener.dart b/lib/compiler/implementation/scanner/listener.dart
index 7d18d4d8ed3ea36f354eb1bb7fb119a0ae8c23ac..79f6cd595a24d552932272a359bbeeedeedc302f 100644
--- a/lib/compiler/implementation/scanner/listener.dart
+++ b/lib/compiler/implementation/scanner/listener.dart
@@ -898,7 +898,7 @@ class NodeListener extends ElementListener {
Token endToken) {
NodeList body = popNode();
NodeList interfaces =
- makeNodeList(interfacesCount, implementsKeyword, null, ",");
+ makeNodeList(interfacesCount, null, null, ",");
TypeAnnotation supertype = popNode();
NodeList typeParameters = popNode();
Identifier name = popNode();
@@ -919,8 +919,7 @@ class NodeListener extends ElementListener {
Token extendsKeyword, Token endToken) {
NodeList body = popNode();
TypeAnnotation defaultClause = popNode();
- NodeList supertypes = makeNodeList(supertypeCount, extendsKeyword,
- null, ',');
+ NodeList supertypes = makeNodeList(supertypeCount, null, null, ',');
NodeList typeParameters = popNode();
Identifier name = popNode();
pushNode(new ClassNode(name, typeParameters, null, supertypes,
« no previous file with comments | « no previous file | lib/compiler/implementation/scanner/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698