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

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

Issue 26651006: Switch dart2js 'typedef name = mixinApplication' to 'class name = mixinApplication'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: sdk/lib/_internal/compiler/implementation/scanner/listener.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/listener.dart b/sdk/lib/_internal/compiler/implementation/scanner/listener.dart
index 6b955ba17e7cc9e4002fb49d149b9f6ddd72add8..bb77a50e289b3be55cb440d0b10c0333d37bc42c 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/listener.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/listener.dart
@@ -157,7 +157,7 @@ class Listener {
void beginNamedMixinApplication(Token token) {
}
- void endNamedMixinApplication(Token typedefKeyword,
+ void endNamedMixinApplication(Token classKeyword,
Token implementsKeyword,
Token endToken) {
}
@@ -799,7 +799,7 @@ class ElementListener extends Listener {
rejectBuiltInIdentifier(name);
}
- void endNamedMixinApplication(Token typedefKeyword,
+ void endNamedMixinApplication(Token classKeyword,
Token implementsKeyword,
Token endToken) {
NodeList interfaces = (implementsKeyword != null) ? popNode() : null;
@@ -809,7 +809,7 @@ class ElementListener extends Listener {
Identifier name = popNode();
NamedMixinApplication namedMixinApplication = new NamedMixinApplication(
name, typeParameters, modifiers, mixinApplication, interfaces,
- typedefKeyword, endToken);
+ classKeyword, endToken);
int id = idGenerator();
Element enclosing = compilationUnitElement;
@@ -1196,7 +1196,7 @@ class NodeListener extends ElementListener {
typedefKeyword, endToken));
}
- void endNamedMixinApplication(Token typedefKeyword,
+ void endNamedMixinApplication(Token classKeyword,
Token implementsKeyword,
Token endToken) {
NodeList interfaces = (implementsKeyword != null) ? popNode() : null;
@@ -1207,7 +1207,7 @@ class NodeListener extends ElementListener {
pushNode(new NamedMixinApplication(name, typeParameters,
modifiers, mixinApplication,
interfaces,
- typedefKeyword, endToken));
+ classKeyword, endToken));
}
void endClassBody(int memberCount, Token beginToken, Token endToken) {

Powered by Google App Engine
This is Rietveld 408576698