| 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 analyzer.src.generated.sdk; | 5 library analyzer.src.generated.sdk; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'package:analyzer/dart/ast/ast.dart'; | 9 import 'package:analyzer/dart/ast/ast.dart'; |
| 10 import 'package:analyzer/dart/ast/visitor.dart'; | 10 import 'package:analyzer/dart/ast/visitor.dart'; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 * The short name of the dart SDK 'core' library. | 31 * The short name of the dart SDK 'core' library. |
| 32 */ | 32 */ |
| 33 static const String DART_CORE = "dart:core"; | 33 static const String DART_CORE = "dart:core"; |
| 34 | 34 |
| 35 /** | 35 /** |
| 36 * The short name of the dart SDK 'html' library. | 36 * The short name of the dart SDK 'html' library. |
| 37 */ | 37 */ |
| 38 static const String DART_HTML = "dart:html"; | 38 static const String DART_HTML = "dart:html"; |
| 39 | 39 |
| 40 /** | 40 /** |
| 41 * The prefix shared by all dart library URIs. |
| 42 */ |
| 43 static const String DART_LIBRARY_PREFIX = "dart:"; |
| 44 |
| 45 /** |
| 41 * The version number that is returned when the real version number could not | 46 * The version number that is returned when the real version number could not |
| 42 * be determined. | 47 * be determined. |
| 43 */ | 48 */ |
| 44 static const String DEFAULT_VERSION = "0"; | 49 static const String DEFAULT_VERSION = "0"; |
| 45 | 50 |
| 46 /** | 51 /** |
| 47 * Return the analysis context used for all of the sources in this [DartSdk]. | 52 * Return the analysis context used for all of the sources in this [DartSdk]. |
| 48 */ | 53 */ |
| 49 AnalysisContext get context; | 54 AnalysisContext get context; |
| 50 | 55 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 _platforms |= DART2JS_PLATFORM; | 448 _platforms |= DART2JS_PLATFORM; |
| 444 } | 449 } |
| 445 | 450 |
| 446 /** | 451 /** |
| 447 * Record that this library can be run on the VM. | 452 * Record that this library can be run on the VM. |
| 448 */ | 453 */ |
| 449 void setVmLibrary() { | 454 void setVmLibrary() { |
| 450 _platforms |= VM_PLATFORM; | 455 _platforms |= VM_PLATFORM; |
| 451 } | 456 } |
| 452 } | 457 } |
| OLD | NEW |