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

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

Issue 2567133002: Add support for the new function-type syntax. (Closed)
Patch Set: Remove obsolete named argument. Created 3 years, 11 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 ..asReturn() 150 ..asReturn()
151 ..asStatement() 151 ..asStatement()
152 ..asStringInterpolation() 152 ..asStringInterpolation()
153 ..asStringInterpolationPart() 153 ..asStringInterpolationPart()
154 ..asStringJuxtaposition() 154 ..asStringJuxtaposition()
155 ..asStringNode() 155 ..asStringNode()
156 ..asSwitchCase() 156 ..asSwitchCase()
157 ..asSwitchStatement() 157 ..asSwitchStatement()
158 ..asSyncForIn() 158 ..asSyncForIn()
159 ..asTryStatement() 159 ..asTryStatement()
160 ..asTypeAnnotation() 160 ..asNominalTypeAnnotation()
161 ..asTypeVariable() 161 ..asTypeVariable()
162 ..asTypedef() 162 ..asTypedef()
163 ..asWhile() 163 ..asWhile()
164 ..asYield(); 164 ..asYield();
165 } 165 }
166 166
167 void useUtil(util.Link link) { 167 void useUtil(util.Link link) {
168 link.reversePrependAll(link); 168 link.reversePrependAll(link);
169 link.copyWithout(link); 169 link.copyWithout(link);
170 util.longestCommonPrefixLength(null, null); 170 util.longestCommonPrefixLength(null, null);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 operators.UnaryOperator.fromKind(null); 309 operators.UnaryOperator.fromKind(null);
310 operators.BinaryOperator.fromKind(null); 310 operators.BinaryOperator.fromKind(null);
311 new semantic_visitor.BulkSendVisitor()..apply(null, null); 311 new semantic_visitor.BulkSendVisitor()..apply(null, null);
312 new semantic_visitor.TraversalVisitor(null).apply(null, null); 312 new semantic_visitor.TraversalVisitor(null).apply(null, null);
313 new semantic_visitor.BulkDeclarationVisitor().apply(null, null); 313 new semantic_visitor.BulkDeclarationVisitor().apply(null, null);
314 } 314 }
315 315
316 useDeferred([deferred.DeferredLoadTask task]) { 316 useDeferred([deferred.DeferredLoadTask task]) {
317 task.dump(); 317 task.dump();
318 } 318 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698