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

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

Issue 10990108: Handle modifiers (abstract) on class nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: TODO added Created 8 years, 2 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/scanner/parser.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/tree/nodes.dart
diff --git a/lib/compiler/implementation/tree/nodes.dart b/lib/compiler/implementation/tree/nodes.dart
index 72467acf9edb737f639d35ab13a9a95ef5871f0a..fe9beb13edef1f911209dddee9df156db7170c03 100644
--- a/lib/compiler/implementation/tree/nodes.dart
+++ b/lib/compiler/implementation/tree/nodes.dart
@@ -201,6 +201,7 @@ abstract class Node implements Spannable {
}
class ClassNode extends Node {
+ final Modifiers modifiers;
final Identifier name;
final TypeAnnotation superclass;
final NodeList interfaces;
@@ -214,9 +215,9 @@ class ClassNode extends Node {
final Token extendsKeyword;
final Token endToken;
- ClassNode(this.name, this.typeParameters, this.superclass, this.interfaces,
- this.defaultClause, this.beginToken, this.extendsKeyword,
- this.body, this.endToken);
+ ClassNode(this.modifiers, this.name, this.typeParameters, this.superclass,
+ this.interfaces, this.defaultClause, this.beginToken,
+ this.extendsKeyword, this.body, this.endToken);
ClassNode asClassNode() => this;
« no previous file with comments | « lib/compiler/implementation/scanner/parser.dart ('k') | tests/compiler/dart2js/unparser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698