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

Side by Side Diff: pkg/analyzer/lib/src/generated/sdk.dart

Issue 2043963004: Package map processing abstraction. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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) 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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698