OLD | NEW |
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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 source_file_provider.SourceFileProvider sourceFileProvider = null; | 250 source_file_provider.SourceFileProvider sourceFileProvider = null; |
251 sourceFileProvider.getSourceFile(null); | 251 sourceFileProvider.getSourceFile(null); |
252 closedWorld.hasAnyUserDefinedGetter(null, null); | 252 closedWorld.hasAnyUserDefinedGetter(null, null); |
253 closedWorld.subclassesOf(null); | 253 closedWorld.subclassesOf(null); |
254 closedWorld.getClassHierarchyNode(null); | 254 closedWorld.getClassHierarchyNode(null); |
255 closedWorld.getClassSet(null); | 255 closedWorld.getClassSet(null); |
256 closedWorld.haveAnyCommonSubtypes(null, null); | 256 closedWorld.haveAnyCommonSubtypes(null, null); |
257 typeGraphInferrer.getCallersOf(null); | 257 typeGraphInferrer.getCallersOf(null); |
258 dart_types.Types.sorted(null); | 258 dart_types.Types.sorted(null); |
259 new dart_types.Types(null).copy(null); | 259 new dart_types.Types(null).copy(null); |
260 sourceFileProvider.readStringFromUri(null); | |
261 } | 260 } |
262 | 261 |
263 useElements( | 262 useElements( |
264 [elements.ClassElement e, | 263 [elements.ClassElement e, |
265 elements.Name n, | 264 elements.Name n, |
266 modelx.FieldElementX f, | 265 modelx.FieldElementX f, |
267 PartialClassElement pce, | 266 PartialClassElement pce, |
268 PartialFunctionElement pfe, | 267 PartialFunctionElement pfe, |
269 elements.LibraryElement l]) { | 268 elements.LibraryElement l]) { |
270 e.lookupClassMember(null); | 269 e.lookupClassMember(null); |
(...skipping 24 matching lines...) Expand all Loading... |
295 operators.UnaryOperator.fromKind(null); | 294 operators.UnaryOperator.fromKind(null); |
296 operators.BinaryOperator.fromKind(null); | 295 operators.BinaryOperator.fromKind(null); |
297 new semantic_visitor.BulkSendVisitor()..apply(null, null); | 296 new semantic_visitor.BulkSendVisitor()..apply(null, null); |
298 new semantic_visitor.TraversalVisitor(null).apply(null, null); | 297 new semantic_visitor.TraversalVisitor(null).apply(null, null); |
299 new semantic_visitor.BulkDeclarationVisitor().apply(null, null); | 298 new semantic_visitor.BulkDeclarationVisitor().apply(null, null); |
300 } | 299 } |
301 | 300 |
302 useDeferred([deferred_load.DeferredLoadTask task]) { | 301 useDeferred([deferred_load.DeferredLoadTask task]) { |
303 task.dump(); | 302 task.dump(); |
304 } | 303 } |
OLD | NEW |