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

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

Issue 428303004: Breaking changes in 'analyzer' package. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename Source.resolveRelative to resolveRelativeUri, soften version constraints Created 6 years, 4 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 | Annotate | Revision Log
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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.sdk; 8 library engine.sdk;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 19 matching lines...) Expand all
30 * The short name of the dart SDK html library. 30 * The short name of the dart SDK html library.
31 */ 31 */
32 static final String DART_HTML = "dart:html"; 32 static final String DART_HTML = "dart:html";
33 33
34 /** 34 /**
35 * The version number that is returned when the real version number could not be determined. 35 * The version number that is returned when the real version number could not be determined.
36 */ 36 */
37 static final String DEFAULT_VERSION = "0"; 37 static final String DEFAULT_VERSION = "0";
38 38
39 /** 39 /**
40 * Return the source representing the file with the given URI. 40 * Return a source representing the given file: URI if the file is in this SDK , or `null` if
41 * the file is not in this SDK.
41 * 42 *
42 * @param kind the kind of URI that was originally resolved in order to produc e an encoding with 43 * @param uri the file URI for which a source is to be returned
43 * the given URI 44 * @return the source representing the given URI
44 * @param uri the URI of the file to be returned 45 * @throws
45 * @return the source representing the specified file
46 */ 46 */
47 Source fromEncoding(UriKind kind, Uri uri); 47 Source fromFileUri(Uri uri);
48 48
49 /** 49 /**
50 * Return the [AnalysisContext] used for all of the sources in this [DartSdk]. 50 * Return the [AnalysisContext] used for all of the sources in this [DartSdk].
51 * 51 *
52 * @return the [AnalysisContext] used for all of the sources in this [DartSdk] 52 * @return the [AnalysisContext] used for all of the sources in this [DartSdk]
53 */ 53 */
54 AnalysisContext get context; 54 AnalysisContext get context;
55 55
56 /** 56 /**
57 * Return an array containing all of the libraries defined in this SDK. 57 * Return an array containing all of the libraries defined in this SDK.
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 this._implementation = implementation; 437 this._implementation = implementation;
438 } 438 }
439 439
440 /** 440 /**
441 * Record that this library can be run on the VM. 441 * Record that this library can be run on the VM.
442 */ 442 */
443 void setVmLibrary() { 443 void setVmLibrary() {
444 _platforms |= VM_PLATFORM; 444 _platforms |= VM_PLATFORM;
445 } 445 }
446 } 446 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/generated/sdk_io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698