| OLD | NEW | 
|    1 // Copyright (c) 2015, the Dart project authors.  Please see the AUTHORS file |    1 // Copyright (c) 2015, 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 library related_types; |    5 library related_types; | 
|    6  |    6  | 
|    7 import 'package:compiler/src/commandline_options.dart'; |    7 import 'package:compiler/src/commandline_options.dart'; | 
|    8 import 'package:compiler/src/compiler.dart'; |    8 import 'package:compiler/src/compiler.dart'; | 
|    9 import 'package:compiler/src/core_types.dart'; |    9 import 'package:compiler/src/core_types.dart'; | 
|   10 import 'package:compiler/src/dart_types.dart'; |   10 import 'package:compiler/src/dart_types.dart'; | 
|   11 import 'package:compiler/src/diagnostics/messages.dart'; |   11 import 'package:compiler/src/diagnostics/messages.dart'; | 
|   12 import 'package:compiler/src/elements/elements.dart'; |   12 import 'package:compiler/src/elements/elements.dart'; | 
|   13 import 'package:compiler/src/filenames.dart'; |   13 import 'package:compiler/src/filenames.dart'; | 
|   14 import 'package:compiler/src/resolution/semantic_visitor.dart'; |   14 import 'package:compiler/src/resolution/semantic_visitor.dart'; | 
|   15 import 'package:compiler/src/tree/tree.dart'; |   15 import 'package:compiler/src/tree/tree.dart'; | 
|   16 import 'package:compiler/src/universe/universe.dart'; |   16 import 'package:compiler/src/universe/call_structure.dart'; | 
 |   17 import 'package:compiler/src/universe/selector.dart'; | 
|   17 import 'package:compiler/src/world.dart'; |   18 import 'package:compiler/src/world.dart'; | 
|   18 import 'memory_compiler.dart'; |   19 import 'memory_compiler.dart'; | 
|   19  |   20  | 
|   20 main(List<String> arguments) async { |   21 main(List<String> arguments) async { | 
|   21   if (arguments.isNotEmpty) { |   22   if (arguments.isNotEmpty) { | 
|   22     Uri entryPoint = Uri.base.resolve(nativeToUriPath(arguments.last)); |   23     Uri entryPoint = Uri.base.resolve(nativeToUriPath(arguments.last)); | 
|   23     CompilationResult result = await runCompiler( |   24     CompilationResult result = await runCompiler( | 
|   24         entryPoint: entryPoint, |   25         entryPoint: entryPoint, | 
|   25         options: [Flags.analyzeOnly, '--categories=Client,Server']); |   26         options: [Flags.analyzeOnly, '--categories=Client,Server']); | 
|   26     if (result.isSuccess) { |   27     if (result.isSuccess) { | 
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  421   ClassElement findClass(DartType type) => type.accept(this, null); |  422   ClassElement findClass(DartType type) => type.accept(this, null); | 
|  422  |  423  | 
|  423   @override |  424   @override | 
|  424   ClassElement visitType(DartType type, _) => null; |  425   ClassElement visitType(DartType type, _) => null; | 
|  425  |  426  | 
|  426   @override |  427   @override | 
|  427   ClassElement visitInterfaceType(InterfaceType type, _) { |  428   ClassElement visitInterfaceType(InterfaceType type, _) { | 
|  428     return type.element; |  429     return type.element; | 
|  429   } |  430   } | 
|  430 } |  431 } | 
| OLD | NEW |