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

Side by Side Diff: pkg/compiler/lib/src/use_unused_api.dart

Issue 2710973002: Revert "Add support for the new function-type syntax." (Closed)
Patch Set: Created 3 years, 10 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
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 /// This file use methods that aren't used by dart2js.dart, but that we wish to 5 /// This file use methods that aren't used by dart2js.dart, but that we wish to
6 /// keep anyway. This might be general API that isn't currently in use, 6 /// keep anyway. This might be general API that isn't currently in use,
7 /// debugging aids, or API only used for testing (see TODO below). 7 /// debugging aids, or API only used for testing (see TODO below).
8 8
9 library dart2js.use_unused_api; 9 library dart2js.use_unused_api;
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 ..asReturn() 148 ..asReturn()
149 ..asStatement() 149 ..asStatement()
150 ..asStringInterpolation() 150 ..asStringInterpolation()
151 ..asStringInterpolationPart() 151 ..asStringInterpolationPart()
152 ..asStringJuxtaposition() 152 ..asStringJuxtaposition()
153 ..asStringNode() 153 ..asStringNode()
154 ..asSwitchCase() 154 ..asSwitchCase()
155 ..asSwitchStatement() 155 ..asSwitchStatement()
156 ..asSyncForIn() 156 ..asSyncForIn()
157 ..asTryStatement() 157 ..asTryStatement()
158 ..asNominalTypeAnnotation() 158 ..asTypeAnnotation()
159 ..asTypeVariable() 159 ..asTypeVariable()
160 ..asTypedef() 160 ..asTypedef()
161 ..asWhile() 161 ..asWhile()
162 ..asYield(); 162 ..asYield();
163 } 163 }
164 164
165 void useUtil(util.Link link) { 165 void useUtil(util.Link link) {
166 link.reversePrependAll(link); 166 link.reversePrependAll(link);
167 link.copyWithout(link); 167 link.copyWithout(link);
168 util.longestCommonPrefixLength(null, null); 168 util.longestCommonPrefixLength(null, null);
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 operators.UnaryOperator.fromKind(null); 295 operators.UnaryOperator.fromKind(null);
296 operators.BinaryOperator.fromKind(null); 296 operators.BinaryOperator.fromKind(null);
297 new semantic_visitor.BulkSendVisitor()..apply(null, null); 297 new semantic_visitor.BulkSendVisitor()..apply(null, null);
298 new semantic_visitor.TraversalVisitor(null).apply(null, null); 298 new semantic_visitor.TraversalVisitor(null).apply(null, null);
299 new semantic_visitor.BulkDeclarationVisitor().apply(null, null); 299 new semantic_visitor.BulkDeclarationVisitor().apply(null, null);
300 } 300 }
301 301
302 useDeferred([deferred.DeferredLoadTask task]) { 302 useDeferred([deferred.DeferredLoadTask task]) {
303 task.dump(); 303 task.dump();
304 } 304 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/tree/unparser.dart ('k') | pkg/front_end/lib/src/fasta/analyzer/ast_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698