| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 engine.sdk; | 5 library analyzer.src.generated.sdk; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'ast.dart'; | 9 import 'package:analyzer/src/generated/ast.dart'; |
| 10 import 'engine.dart' show AnalysisContext; | 10 import 'package:analyzer/src/generated/engine.dart' show AnalysisContext; |
| 11 import 'source.dart' show ContentCache, Source, UriKind; | 11 import 'package:analyzer/src/generated/source.dart' |
| 12 show ContentCache, Source, UriKind; |
| 12 | 13 |
| 13 /** | 14 /** |
| 14 * A Dart SDK installed in a specified location. | 15 * A Dart SDK installed in a specified location. |
| 15 */ | 16 */ |
| 16 abstract class DartSdk { | 17 abstract class DartSdk { |
| 17 /** | 18 /** |
| 18 * The short name of the dart SDK 'async' library. | 19 * The short name of the dart SDK 'async' library. |
| 19 */ | 20 */ |
| 20 static final String DART_ASYNC = "dart:async"; | 21 static final String DART_ASYNC = "dart:async"; |
| 21 | 22 |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 _platforms |= DART2JS_PLATFORM; | 391 _platforms |= DART2JS_PLATFORM; |
| 391 } | 392 } |
| 392 | 393 |
| 393 /** | 394 /** |
| 394 * Record that this library can be run on the VM. | 395 * Record that this library can be run on the VM. |
| 395 */ | 396 */ |
| 396 void setVmLibrary() { | 397 void setVmLibrary() { |
| 397 _platforms |= VM_PLATFORM; | 398 _platforms |= VM_PLATFORM; |
| 398 } | 399 } |
| 399 } | 400 } |
| OLD | NEW |