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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/dart_backend/utils.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: Support modifiers. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart_backend; 5 part of dart_backend;
6 6
7 class CloningVisitor implements Visitor<Node> { 7 class CloningVisitor implements Visitor<Node> {
8 final TreeElements originalTreeElements; 8 final TreeElements originalTreeElements;
9 final TreeElementMapping cloneTreeElements; 9 final TreeElementMapping cloneTreeElements;
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 visitMixinApplication(MixinApplication node) => new MixinApplication( 120 visitMixinApplication(MixinApplication node) => new MixinApplication(
121 visit(node.superclass), visit(node.mixins)); 121 visit(node.superclass), visit(node.mixins));
122 122
123 visitNamedMixinApplication(NamedMixinApplication node) => 123 visitNamedMixinApplication(NamedMixinApplication node) =>
124 new NamedMixinApplication(visit(node.name), 124 new NamedMixinApplication(visit(node.name),
125 visit(node.typeParameters), 125 visit(node.typeParameters),
126 visit(node.modifiers), 126 visit(node.modifiers),
127 visit(node.mixinApplication), 127 visit(node.mixinApplication),
128 visit(node.interfaces), 128 visit(node.interfaces),
129 node.typedefKeyword, 129 node.classKeyword,
130 node.endToken); 130 node.endToken);
131 131
132 visitModifiers(Modifiers node) => new Modifiers(visit(node.nodes)); 132 visitModifiers(Modifiers node) => new Modifiers(visit(node.nodes));
133 133
134 visitNamedArgument(NamedArgument node) => new NamedArgument( 134 visitNamedArgument(NamedArgument node) => new NamedArgument(
135 visit(node.name), node.colonToken, visit(node.expression)); 135 visit(node.name), node.colonToken, visit(node.expression));
136 136
137 visitNewExpression(NewExpression node) => new NewExpression( 137 visitNewExpression(NewExpression node) => new NewExpression(
138 node.newToken, visit(node.send)); 138 node.newToken, visit(node.send));
139 139
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 } 284 }
285 285
286 Node visitStringNode(StringNode node) { 286 Node visitStringNode(StringNode node) {
287 unimplemented('visitNode', node: node); 287 unimplemented('visitNode', node: node);
288 } 288 }
289 289
290 unimplemented(String message, {Node node}) { 290 unimplemented(String message, {Node node}) {
291 throw message; 291 throw message;
292 } 292 }
293 } 293 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698