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

Side by Side Diff: pkg/analyzer_experimental/lib/src/generated/source.dart

Issue 19590006: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 library engine.source; 3 library engine.source;
4 import 'java_core.dart'; 4 import 'java_core.dart';
5 import 'sdk.dart' show DartSdk; 5 import 'sdk.dart' show DartSdk;
6 import 'engine.dart' show AnalysisContext; 6 import 'engine.dart' show AnalysisContext;
7 /** 7 /**
8 * Instances of the class `SourceFactory` resolve possibly relative URI's agains t an existing 8 * Instances of the class `SourceFactory` resolve possibly relative URI's agains t an existing
9 * [Source]. 9 * [Source].
10 * 10 *
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 /** 730 /**
731 * Return the [DartSdk] against which URIs are to be resolved. 731 * Return the [DartSdk] against which URIs are to be resolved.
732 * 732 *
733 * @return the [DartSdk] against which URIs are to be resolved. 733 * @return the [DartSdk] against which URIs are to be resolved.
734 */ 734 */
735 DartSdk get dartSdk => _sdk; 735 DartSdk get dartSdk => _sdk;
736 Source resolveAbsolute(ContentCache contentCache, Uri uri) { 736 Source resolveAbsolute(ContentCache contentCache, Uri uri) {
737 if (!isDartUri(uri)) { 737 if (!isDartUri(uri)) {
738 return null; 738 return null;
739 } 739 }
740 return _sdk.mapDartUri(contentCache, uri.toString()); 740 return _sdk.mapDartUri(uri.toString());
741 } 741 }
742 } 742 }
743 /** 743 /**
744 * Instances of the class `LineInfo` encapsulate information about line and colu mn information 744 * Instances of the class `LineInfo` encapsulate information about line and colu mn information
745 * within a source file. 745 * within a source file.
746 * 746 *
747 * @coverage dart.engine.utilities 747 * @coverage dart.engine.utilities
748 */ 748 */
749 class LineInfo { 749 class LineInfo {
750 750
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 void setContents(Source source, String contents) { 881 void setContents(Source source, String contents) {
882 if (contents == null) { 882 if (contents == null) {
883 _contentMap.remove(source); 883 _contentMap.remove(source);
884 _stampMap.remove(source); 884 _stampMap.remove(source);
885 } else { 885 } else {
886 _contentMap[source] = contents; 886 _contentMap[source] = contents;
887 _stampMap[source] = JavaSystem.currentTimeMillis(); 887 _stampMap[source] = JavaSystem.currentTimeMillis();
888 } 888 }
889 } 889 }
890 } 890 }
OLDNEW
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/sdk_io.dart ('k') | pkg/analyzer_experimental/test/generated/ast_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698